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

Configure Feed

Select the types of activity you want to include in your feed.

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

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

The SPMI controller on Apple M2 Pro/Max/Ultra is compatible to
"apple,t8103-spmi" 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/

Reviewed-by: Neal Gompa <neal@gompa.dev>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Janne Grunau <j@jannau.net>

+11 -6
+11 -6
Documentation/devicetree/bindings/spmi/apple,spmi.yaml
··· 16 16 17 17 properties: 18 18 compatible: 19 - items: 20 - - enum: 21 - - apple,t8103-spmi 22 - - apple,t6000-spmi 23 - - apple,t8112-spmi 24 - - const: apple,spmi 19 + oneOf: 20 + - items: 21 + - const: apple,t6020-spmi 22 + - const: apple,t8103-spmi 23 + - items: 24 + - enum: 25 + # Do not add additional SoC to this list. 26 + - apple,t8103-spmi 27 + - apple,t6000-spmi 28 + - apple,t8112-spmi 29 + - const: apple,spmi 25 30 26 31 reg: 27 32 maxItems: 1