mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-22 14:41:27 +00:00
dt-bindings: pwm: Add bindings for Meson PWM Controller
Add bindings for the Amlogic PWM Controller in Meson8b and GXBB SoCs. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
This commit is contained in:
parent
04d68dea26
commit
89394cc7c2
1 changed files with 23 additions and 0 deletions
23
Documentation/devicetree/bindings/pwm/pwm-meson.txt
Normal file
23
Documentation/devicetree/bindings/pwm/pwm-meson.txt
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
Amlogic Meson PWM Controller
|
||||||
|
============================
|
||||||
|
|
||||||
|
Required properties:
|
||||||
|
- compatible: Shall contain "amlogic,meson8b-pwm" or "amlogic,meson-gxbb-pwm".
|
||||||
|
- #pwm-cells: Should be 3. See pwm.txt in this directory for a description of
|
||||||
|
the cells format.
|
||||||
|
|
||||||
|
Optional properties:
|
||||||
|
- clocks: Could contain one or two parents clocks phandle for each of the two
|
||||||
|
PWM channels.
|
||||||
|
- clock-names: Could contain at least the "clkin0" and/or "clkin1" names.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
pwm_ab: pwm@8550 {
|
||||||
|
compatible = "amlogic,meson-gxbb-pwm";
|
||||||
|
reg = <0x0 0x08550 0x0 0x10>;
|
||||||
|
#pwm-cells = <3>;
|
||||||
|
status = "disabled";
|
||||||
|
clocks = <&xtal>, <&xtal>;
|
||||||
|
clock-names = "clkin0", "clkin1";
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue