mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 10:09:10 +02:00
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>
This commit is contained in:
parent
c9e6602545
commit
a8cd1a1baa
51
Documentation/devicetree/bindings/pwm/qcom,ipq6018-pwm.yaml
Normal file
51
Documentation/devicetree/bindings/pwm/qcom,ipq6018-pwm.yaml
Normal file
|
|
@ -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>;
|
||||
};
|
||||
Loading…
Reference in New Issue
Block a user