Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

spi: dt-bindings: apple,spi: Add t6020-spi compatible

After discussion with the devicetree maintainers we agreed to not extend
lists with the generic compatible "apple,spi" anymore [1]. Use
"apple,t8103-spi" as base compatible as it is the SoC the driver and
bindings were written for.

The SPI controller on Apple M2 Pro/Max/Ultra SoCs is compatible with
"apple,t8103-spi" so add its per-SoC compatible with the former as
fallback used by the existing driver.

[1]: https://lore.kernel.org/asahi/12ab93b7-1fc2-4ce0-926e-c8141cfe81bf@kernel.org/

Acked-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Janne Grunau <j@jannau.net>

+10 -6
+10 -6
Documentation/devicetree/bindings/spi/apple,spi.yaml
··· 14 14 15 15 properties: 16 16 compatible: 17 - items: 18 - - enum: 19 - - apple,t8103-spi 20 - - apple,t8112-spi 21 - - apple,t6000-spi 22 - - const: apple,spi 17 + oneOf: 18 + - items: 19 + - const: apple,t6020-spi 20 + - const: apple,t8103-spi 21 + - items: 22 + - enum: 23 + - apple,t8103-spi 24 + - apple,t8112-spi 25 + - apple,t6000-spi 26 + - const: apple,spi 23 27 24 28 reg: 25 29 maxItems: 1