Documentation / devicetree / bindings / pwm / qcom,ipq6018-pwm.yaml


Based on kernel version 7.2. Page generated on 2026-08-20 08:41 EST.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 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>;
    };