1 From: Devi Priya <quic_devipriy@quicinc.com>
2 Subject: [PATCH] dt-bindings: mfd: qcom,tcsr: Add simple-mfd support for IPQ6018
3 Date: Thu, 5 Oct 2023 21:35:49 +0530
5 Update the binding to include pwm as the child node to TCSR block and
6 add simple-mfd support for IPQ6018.
8 Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
9 Signed-off-by: Devi Priya <quic_devipriy@quicinc.com>
11 .../devicetree/bindings/mfd/qcom,tcsr.yaml | 112 +++++++++++++-----
12 1 file changed, 81 insertions(+), 31 deletions(-)
14 --- a/Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml
15 +++ b/Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml
16 @@ -15,49 +15,101 @@ description:
27 - - qcom,sc8280xp-tcsr
58 + - qcom,sc8280xp-tcsr
82 + - const: qcom,tcsr-ipq6018
100 + $ref: /schemas/pwm/qcom,ipq6018-pwm.yaml
114 + - qcom,tcsr-ipq6018
117 + "pwm@[a-f0-9]+$": false
119 additionalProperties: false
122 + # Example 1 - Syscon node found on MSM8960
125 compatible = "qcom,tcsr-msm8960", "syscon";
126 reg = <0x1a400000 0x100>;
128 + # Example 2 - Syscon node found on IPQ6018
130 + #include <dt-bindings/clock/qcom,gcc-ipq6018.h>
133 + compatible = "qcom,tcsr-ipq6018", "syscon", "simple-mfd";
134 + reg = <0x01937000 0x21000>;
135 + ranges = <0 0x1937000 0x21000>;
136 + #address-cells = <1>;
140 + compatible = "qcom,ipq6018-pwm";
141 + reg = <0xa010 0x20>;
142 + clocks = <&gcc GCC_ADSS_PWM_CLK>;
143 + assigned-clocks = <&gcc GCC_ADSS_PWM_CLK>;
144 + assigned-clock-rates = <100000000>;
148 \ No newline at end of file