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

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

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

This block is compatible with t8103, so just add the new per-SoC
compatible using apple,t8103-i2c as base.

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

Signed-off-by: Janne Grunau <j@jannau.net>
Acked-by: Andi Shyti <andi.shyti@kernel.org>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>

authored by

Janne Grunau and committed by
Wolfram Sang
f77a13df 947e2d64

+16 -11
+16 -11
Documentation/devicetree/bindings/i2c/apple,i2c.yaml
··· 20 20 21 21 properties: 22 22 compatible: 23 - items: 24 - - enum: 25 - - apple,s5l8960x-i2c 26 - - apple,t7000-i2c 27 - - apple,s8000-i2c 28 - - apple,t8010-i2c 29 - - apple,t8015-i2c 30 - - apple,t8103-i2c 31 - - apple,t8112-i2c 32 - - apple,t6000-i2c 33 - - const: apple,i2c 23 + oneOf: 24 + - items: 25 + - const: apple,t6020-i2c 26 + - const: apple,t8103-i2c 27 + - items: 28 + - enum: 29 + # Do not add additional SoC to this list. 30 + - apple,s5l8960x-i2c 31 + - apple,t7000-i2c 32 + - apple,s8000-i2c 33 + - apple,t8010-i2c 34 + - apple,t8015-i2c 35 + - apple,t8103-i2c 36 + - apple,t8112-i2c 37 + - apple,t6000-i2c 38 + - const: apple,i2c 34 39 35 40 reg: 36 41 maxItems: 1