summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorFabrizio Castro <fabrizio.castro@bp.renesas.com>2017-12-20 06:15:43 -0500
committerThierry Reding <thierry.reding@gmail.com>2018-03-27 17:58:19 -0400
commit9d7e72858d9d84abbbb49e98e2dafeee2f7fd9b6 (patch)
tree0cfbbdddc638aa97b493ad9233fc160d7f839526 /Documentation
parent3ba111a0182265b65e303c969294b8033ce9d122 (diff)
dt-bindings: pwm: rcar: Document r8a774[35] PWM bindings
This patch adds compatible strings specific to r8a774[35], no driver change is needed as the fallback compatible string will activate the right code. Also, this patch replaces the example with a DT snippet used for adding PWM0 support to an r8a7743 based platform as the r8a7743 is now the first platform fully compatible with this driver and its PWM DT nodes refer to up-to-date code. Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com> Reviewed-by: Biju Das <biju.das@bp.renesas.com> Reviewed-by: Rob Herring <robh@kernel.org> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Simon Horman <horms+renesas@verge.net.au> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/pwm/renesas,pwm-rcar.txt10
1 files changed, 7 insertions, 3 deletions
diff --git a/Documentation/devicetree/bindings/pwm/renesas,pwm-rcar.txt b/Documentation/devicetree/bindings/pwm/renesas,pwm-rcar.txt
index 74c118015980..f3bba592d419 100644
--- a/Documentation/devicetree/bindings/pwm/renesas,pwm-rcar.txt
+++ b/Documentation/devicetree/bindings/pwm/renesas,pwm-rcar.txt
@@ -2,6 +2,8 @@
2 2
3Required Properties: 3Required Properties:
4- compatible: should be "renesas,pwm-rcar" and one of the following. 4- compatible: should be "renesas,pwm-rcar" and one of the following.
5 - "renesas,pwm-r8a7743": for RZ/G1M
6 - "renesas,pwm-r8a7745": for RZ/G1E
5 - "renesas,pwm-r8a7778": for R-Car M1A 7 - "renesas,pwm-r8a7778": for R-Car M1A
6 - "renesas,pwm-r8a7779": for R-Car H1 8 - "renesas,pwm-r8a7779": for R-Car H1
7 - "renesas,pwm-r8a7790": for R-Car H2 9 - "renesas,pwm-r8a7790": for R-Car H2
@@ -17,13 +19,15 @@ Required Properties:
17- pinctrl-0: phandle, referring to a default pin configuration node. 19- pinctrl-0: phandle, referring to a default pin configuration node.
18- pinctrl-names: Set to "default". 20- pinctrl-names: Set to "default".
19 21
20Example: R8A7790 (R-Car H2) PWM Timer node 22Example: R8A7743 (RZ/G1M) PWM Timer node
21 23
22 pwm0: pwm@e6e30000 { 24 pwm0: pwm@e6e30000 {
23 compatible = "renesas,pwm-r8a7790", "renesas,pwm-rcar"; 25 compatible = "renesas,pwm-r8a7743", "renesas,pwm-rcar";
24 reg = <0 0xe6e30000 0 0x8>; 26 reg = <0 0xe6e30000 0 0x8>;
27 clocks = <&cpg CPG_MOD 523>;
28 power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
29 resets = <&cpg 523>;
25 #pwm-cells = <2>; 30 #pwm-cells = <2>;
26 clocks = <&mstp5_clks R8A7790_CLK_PWM>;
27 pinctrl-0 = <&pwm0_pins>; 31 pinctrl-0 = <&pwm0_pins>;
28 pinctrl-names = "default"; 32 pinctrl-names = "default";
29 }; 33 };