This is an automatically generated commit which aids following Kernel patch history, as git will see the move and copy as a rename thus defeating the purpose. For the original discussion see: https://lists.openwrt.org/pipermail/openwrt-devel/2023-October/041673.html Signed-off-by: Julius Bairaktaris <julius@bairaktaris.de> Link: https://github.com/openwrt/openwrt/pull/24031 Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
74 lines
2.1 KiB
Diff
74 lines
2.1 KiB
Diff
From a8cd1a1baadbfed43ac214f0bf3e26c90e3b521e Mon Sep 17 00:00:00 2001
|
|
From: Devi Priya <quic_devipriy@quicinc.com>
|
|
Date: Mon, 6 Apr 2026 22:24:38 +0200
|
|
Subject: [PATCH] dt-bindings: pwm: add IPQ6018 binding
|
|
|
|
DT binding for the PWM block in Qualcomm IPQ6018 SoC.
|
|
|
|
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
|
|
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
|
|
Co-developed-by: Baruch Siach <baruch.siach@siklu.com>
|
|
Signed-off-by: Baruch Siach <baruch.siach@siklu.com>
|
|
Signed-off-by: Devi Priya <quic_devipriy@quicinc.com>
|
|
Signed-off-by: George Moussalem <george.moussalem@outlook.com>
|
|
Link: https://patch.msgid.link/20260406-ipq-pwm-v21-1-6ed1e868e4c2@outlook.com
|
|
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
|
|
---
|
|
.../bindings/pwm/qcom,ipq6018-pwm.yaml | 51 +++++++++++++++++++
|
|
1 file changed, 51 insertions(+)
|
|
create mode 100644 Documentation/devicetree/bindings/pwm/qcom,ipq6018-pwm.yaml
|
|
|
|
--- /dev/null
|
|
+++ b/Documentation/devicetree/bindings/pwm/qcom,ipq6018-pwm.yaml
|
|
@@ -0,0 +1,51 @@
|
|
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
+%YAML 1.2
|
|
+---
|
|
+$id: http://devicetree.org/schemas/pwm/qcom,ipq6018-pwm.yaml#
|
|
+$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
+
|
|
+title: Qualcomm IPQ6018 PWM controller
|
|
+
|
|
+maintainers:
|
|
+ - George Moussalem <george.moussalem@outlook.com>
|
|
+
|
|
+properties:
|
|
+ compatible:
|
|
+ oneOf:
|
|
+ - items:
|
|
+ - enum:
|
|
+ - qcom,ipq5018-pwm
|
|
+ - qcom,ipq5332-pwm
|
|
+ - qcom,ipq9574-pwm
|
|
+ - const: qcom,ipq6018-pwm
|
|
+ - const: qcom,ipq6018-pwm
|
|
+
|
|
+ reg:
|
|
+ maxItems: 1
|
|
+
|
|
+ clocks:
|
|
+ maxItems: 1
|
|
+
|
|
+ "#pwm-cells":
|
|
+ const: 3
|
|
+
|
|
+required:
|
|
+ - compatible
|
|
+ - reg
|
|
+ - clocks
|
|
+ - "#pwm-cells"
|
|
+
|
|
+additionalProperties: false
|
|
+
|
|
+examples:
|
|
+ - |
|
|
+ #include <dt-bindings/clock/qcom,gcc-ipq6018.h>
|
|
+
|
|
+ pwm: pwm@1941010 {
|
|
+ compatible = "qcom,ipq6018-pwm";
|
|
+ reg = <0x01941010 0x20>;
|
|
+ clocks = <&gcc GCC_ADSS_PWM_CLK>;
|
|
+ assigned-clocks = <&gcc GCC_ADSS_PWM_CLK>;
|
|
+ assigned-clock-rates = <100000000>;
|
|
+ #pwm-cells = <3>;
|
|
+ };
|