diff mbox series

[1/4] dt-bindings: pwm: Document the pwm compatible for ipq5332 & ipq9574

Message ID 20231006045317.1056625-2-quic_devipriy@quicinc.com (mailing list archive)
State Not Applicable
Headers show
Series Enable pwm support for IPQ5332 & IPQ9574 SoCs | expand

Commit Message

Devi Priya Oct. 6, 2023, 4:53 a.m. UTC
Use ipq6018 as the fallback for ipq5332 & ipq9574 and document its compatibles.

Signed-off-by: Devi Priya <quic_devipriy@quicinc.com>
---
 .../devicetree/bindings/pwm/qcom,ipq6018-pwm.yaml        | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

Comments

Krzysztof Kozlowski Oct. 6, 2023, 6:08 a.m. UTC | #1
On 06/10/2023 06:53, Devi Priya wrote:
> Use ipq6018 as the fallback for ipq5332 & ipq9574 and document its compatibles.
> 
> Signed-off-by: Devi Priya <quic_devipriy@quicinc.com>
> ---
>  .../devicetree/bindings/pwm/qcom,ipq6018-pwm.yaml        | 9 ++++++++-
>  1 file changed, 8 insertions(+), 1 deletion(-)
> 

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

Best regards,
Krzysztof
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/pwm/qcom,ipq6018-pwm.yaml b/Documentation/devicetree/bindings/pwm/qcom,ipq6018-pwm.yaml
index 6d0d7ed271f7..8335c2952c2a 100644
--- a/Documentation/devicetree/bindings/pwm/qcom,ipq6018-pwm.yaml
+++ b/Documentation/devicetree/bindings/pwm/qcom,ipq6018-pwm.yaml
@@ -11,7 +11,14 @@  maintainers:
 
 properties:
   compatible:
-    const: qcom,ipq6018-pwm
+    oneOf:
+      - items:
+          - enum:
+              - qcom,ipq5332-pwm
+              - qcom,ipq9574-pwm
+          - const: qcom,ipq6018-pwm
+      - enum:
+          - qcom,ipq6018-pwm
 
   reg:
     description: Offset of PWM register in the TCSR block.