dt-bindings: leds: qcom-lpg: Drop redundant qcom,pm8550-pwm in if:then:
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 26 Feb 2024 07:37:12 +0000 (08:37 +0100)
committerLee Jones <lee@kernel.org>
Thu, 7 Mar 2024 08:48:13 +0000 (08:48 +0000)
"qcom,pm8550-pwm" is compatible with "qcom,pm8350c-pwm" (latter used as
fallback), thus it is enough for the "if:then:" clause to check for the
presence of the fallback "qcom,pm8350c-pwm".

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20240226073713.19045-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Lee Jones <lee@kernel.org>
Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml

index 6649ca2ec80502dec27aff45a0c92edf93428802..699db7995dd52612eaa50b4275894f0d87682299 100644 (file)
@@ -141,13 +141,13 @@ allOf:
           maxItems: 1
         nvmem-names:
           maxItems: 1
+
   - if:
       properties:
         compatible:
           contains:
             enum:
               - qcom,pm8350c-pwm
-              - qcom,pm8550-pwm
     then:
       properties:
         nvmem: