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

dt-bindings: clock: apple,nco: Add t6020-nco compatible

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

The block found on Apple's M2 Pro/Max/Ultra SoCs is compatible with
"apple,t8103-nco" 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/clock/apple,nco.yaml
··· 19 19 20 20 properties: 21 21 compatible: 22 - items: 23 - - enum: 24 - - apple,t6000-nco 25 - - apple,t8103-nco 26 - - apple,t8112-nco 27 - - const: apple,nco 22 + oneOf: 23 + - items: 24 + - const: apple,t6020-nco 25 + - const: apple,t8103-nco 26 + - items: 27 + - enum: 28 + # Do not add additional SoC to this list. 29 + - apple,t6000-nco 30 + - apple,t8103-nco 31 + - apple,t8112-nco 32 + - const: apple,nco 28 33 29 34 clocks: 30 35 description: