From: Krzysztof Kozlowski Date: Mon, 26 Feb 2024 07:37:12 +0000 (+0100) Subject: dt-bindings: leds: qcom-lpg: Drop redundant qcom,pm8550-pwm in if:then: X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=615d49f55262fa1d140a5c9b7ebf52c1f00d2a90;p=linux.git dt-bindings: leds: qcom-lpg: Drop redundant qcom,pm8550-pwm in if:then: "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 Acked-by: Rob Herring Link: https://lore.kernel.org/r/20240226073713.19045-1-krzysztof.kozlowski@linaro.org Signed-off-by: Lee Jones --- diff --git a/Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml b/Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml index 6649ca2ec8050..699db7995dd52 100644 --- a/Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml +++ b/Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml @@ -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: