^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) %YAML 1.2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) ---
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) $id: http://devicetree.org/schemas/pwm/pwm.yaml#
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) $schema: http://devicetree.org/meta-schemas/core.yaml#
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) title: PWM controllers (providers)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) maintainers:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) - Thierry Reding <thierry.reding@gmail.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) $nodename:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) pattern: "^pwm(@.*|-[0-9a-f])*$"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) "#pwm-cells":
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) Number of cells in a PWM specifier.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) required:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) - "#pwm-cells"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) additionalProperties: true
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) examples:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) - |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) pwm: pwm@7000a000 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) compatible = "nvidia,tegra20-pwm";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) reg = <0x7000a000 0x100>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) #pwm-cells = <2>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) };