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

Devi Priya
2023-10-06T04:54:03Z

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(-)

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.
--
2.34.1