]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blob - Documentation/devicetree/bindings/pwm/pwm-meson.txt
Merge tag 'apparmor-pr-2018-04-10' of git://git.kernel.org/pub/scm/linux/kernel/git...
[mirror_ubuntu-hirsute-kernel.git] / Documentation / devicetree / bindings / pwm / pwm-meson.txt
1 Amlogic Meson PWM Controller
2 ============================
3
4 Required properties:
5 - compatible: Shall contain "amlogic,meson8b-pwm"
6 or "amlogic,meson-gxbb-pwm"
7 or "amlogic,meson-gxbb-ao-pwm"
8 or "amlogic,meson-axg-ee-pwm"
9 or "amlogic,meson-axg-ao-pwm"
10 - #pwm-cells: Should be 3. See pwm.txt in this directory for a description of
11 the cells format.
12
13 Optional properties:
14 - clocks: Could contain one or two parents clocks phandle for each of the two
15 PWM channels.
16 - clock-names: Could contain at least the "clkin0" and/or "clkin1" names.
17
18 Example:
19
20 pwm_ab: pwm@8550 {
21 compatible = "amlogic,meson-gxbb-pwm";
22 reg = <0x0 0x08550 0x0 0x10>;
23 #pwm-cells = <3>;
24 clocks = <&xtal>, <&xtal>;
25 clock-names = "clkin0", "clkin1";
26 }