Commit ec8c1f35 authored by Pierre-Henry Moussay's avatar Pierre-Henry Moussay Committed by Claudiu Beznea
Browse files

dt-bindings: clock: mpfs-clkcfg: Add pic64gx compatibility



pic64gx has a clock controller compatible with mpfs-clkcfg. Don't permit
the deprecated configuration that was never supported for this SoC.

Signed-off-by: default avatarPierre-Henry Moussay <pierre-henry.moussay@microchip.com>
Acked-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Reviewed-by: default avatarClaudiu Beznea <claudiu.beznea@tuxon.dev>
Co-developed-by: default avatarConor Dooley <conor.dooley@microchip.com>
Signed-off-by: default avatarConor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20260113-glue-justifier-566ffab2ffd3@spud


Signed-off-by: default avatarClaudiu Beznea <claudiu.beznea@tuxon.dev>
parent e6584bda
Loading
Loading
Loading
Loading
+15 −1
Original line number Diff line number Diff line
@@ -19,7 +19,11 @@ description: |

properties:
  compatible:
    const: microchip,mpfs-clkcfg
    oneOf:
      - items:
          - const: microchip,pic64gx-clkcfg
          - const: microchip,mpfs-clkcfg
      - const: microchip,mpfs-clkcfg

  reg:
    oneOf:
@@ -69,6 +73,16 @@ required:
  - clocks
  - '#clock-cells'

if:
  properties:
    compatible:
      contains:
        const: microchip,pic64gx-clkcfg
then:
  properties:
    reg:
      maxItems: 1

additionalProperties: false

examples: