diff mbox series

[v2,1/3] dt-bindings: leds: qcom-lpg: Document PM8937 PWM compatible

Message ID 20250213-pm8937-pwm-v2-1-49ea59801a33@mainlining.org (mailing list archive)
State Not Applicable
Headers show
Series Add PM8937 PWM and display backlight for Redmi 5A | expand

Commit Message

Barnabás Czémán Feb. 13, 2025, 7:54 p.m. UTC
The PM8937 PWM modules are compatible with the PM8916 PWM modules,
document the PM8937 PWM compatible as fallback for the PM8916 PWM.

Signed-off-by: Barnabás Czémán <barnabas.czeman@mainlining.org>
---
 Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Krzysztof Kozlowski Feb. 14, 2025, 8:33 a.m. UTC | #1
On Thu, Feb 13, 2025 at 08:54:47PM +0100, Barnabás Czémán wrote:
> The PM8937 PWM modules are compatible with the PM8916 PWM modules,
> document the PM8937 PWM compatible as fallback for the PM8916 PWM.
> 
> Signed-off-by: Barnabás Czémán <barnabas.czeman@mainlining.org>
> ---
>  Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml | 4 ++++
>  1 file changed, 4 insertions(+)

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml b/Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml
index 8b82c45d1a48be6ff63193aae9d67625a943a72b..841a0229c472a4764426d25d9dbb900adc20fc11 100644
--- a/Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml
+++ b/Documentation/devicetree/bindings/leds/leds-qcom-lpg.yaml
@@ -39,6 +39,10 @@  properties:
           - enum:
               - qcom,pm8550-pwm
           - const: qcom,pm8350c-pwm
+      - items:
+          - enum:
+              - qcom,pm8937-pwm
+          - const: qcom,pm8916-pwm
 
   "#pwm-cells":
     const: 2