diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-24 13:11:24 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-24 13:11:24 -0400 |
commit | 06b45f2aa703837163496f5db6a53575665cc6b4 (patch) | |
tree | 8ab499b2926e64a53ae43905f5b838f97e7643af /Documentation | |
parent | b3f4ef0bf21da37e4dfc1cdfa0288ba39186fb56 (diff) | |
parent | c264f1110d27185f8531602f5fce400a6bbce946 (diff) |
Merge tag 'pwm/for-4.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm
Pull pwm changes from Thierry Reding:
"Not much has been happening in PWM land lately, so this contains
mostly minor fixes that didn't seem urgent enough for a late
pull-request last cycle"
* tag 'pwm/for-4.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm:
pwm: Remove __init initializer for pwm_add_table()
pwm: samsung: Fix output race on disabling
pwm: mxs: Fix period divider computation
pwm: atmel-hlcdc: Add errata handling for sama5d4
pwm: pca9685: Constify struct regmap_config
pwm: imx-pwm: add explicit compatible strings and required clock properties
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/pwm/imx-pwm.txt | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/pwm/imx-pwm.txt b/Documentation/devicetree/bindings/pwm/imx-pwm.txt index b50d7a6d9d7f..e00c2e9f484d 100644 --- a/Documentation/devicetree/bindings/pwm/imx-pwm.txt +++ b/Documentation/devicetree/bindings/pwm/imx-pwm.txt | |||
@@ -1,10 +1,17 @@ | |||
1 | Freescale i.MX PWM controller | 1 | Freescale i.MX PWM controller |
2 | 2 | ||
3 | Required properties: | 3 | Required properties: |
4 | - compatible: should be "fsl,<soc>-pwm" | 4 | - compatible : should be "fsl,<soc>-pwm" and one of the following |
5 | compatible strings: | ||
6 | - "fsl,imx1-pwm" for PWM compatible with the one integrated on i.MX1 | ||
7 | - "fsl,imx27-pwm" for PWM compatible with the one integrated on i.MX27 | ||
5 | - reg: physical base address and length of the controller's registers | 8 | - reg: physical base address and length of the controller's registers |
6 | - #pwm-cells: should be 2. See pwm.txt in this directory for a description of | 9 | - #pwm-cells: should be 2. See pwm.txt in this directory for a description of |
7 | the cells format. | 10 | the cells format. |
11 | - clocks : Clock specifiers for both ipg and per clocks. | ||
12 | - clock-names : Clock names should include both "ipg" and "per" | ||
13 | See the clock consumer binding, | ||
14 | Documentation/devicetree/bindings/clock/clock-bindings.txt | ||
8 | - interrupts: The interrupt for the pwm controller | 15 | - interrupts: The interrupt for the pwm controller |
9 | 16 | ||
10 | Example: | 17 | Example: |
@@ -13,5 +20,8 @@ pwm1: pwm@53fb4000 { | |||
13 | #pwm-cells = <2>; | 20 | #pwm-cells = <2>; |
14 | compatible = "fsl,imx53-pwm", "fsl,imx27-pwm"; | 21 | compatible = "fsl,imx53-pwm", "fsl,imx27-pwm"; |
15 | reg = <0x53fb4000 0x4000>; | 22 | reg = <0x53fb4000 0x4000>; |
23 | clocks = <&clks IMX5_CLK_PWM1_IPG_GATE>, | ||
24 | <&clks IMX5_CLK_PWM1_HF_GATE>; | ||
25 | clock-names = "ipg", "per"; | ||
16 | interrupts = <61>; | 26 | interrupts = <61>; |
17 | }; | 27 | }; |