Skip to contentSkip to conversation

dt-bindings: pwm: renesas: pwm-rcar: convert bindings to json-schema

PATCH Applied Yoshihiro Kaneko 3 participants 3 messages Sep 20, 2019 – Oct 1, 2019

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dt-bindings: pwm: renesas: pwm-rcar: convert bindings to json-schema

Convert Renesas R-Car PWM Timer Controller bindings documentation to json-schema.

---
 .../devicetree/bindings/pwm/renesas,pwm-rcar.txt   | 40 -----------
 .../devicetree/bindings/pwm/renesas,pwm-rcar.yaml  | 77 ++++++++++++++++++++++
 2 files changed, 77 insertions(+), 40 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/pwm/renesas,pwm-rcar.txt
 create mode 100644 Documentation/devicetree/bindings/pwm/renesas,pwm-rcar.yaml
Documentation/devicetree/bindings/pwm/renesas,pwm-rcar.txt deleted +0 -40
deleted file mode 100644
index fbd6a4f..0000000
@@ -1,40 +0,0 @@
-* Renesas R-Car PWM Timer Controller
-
-Required Properties:
-- compatible: should be "renesas,pwm-rcar" and one of the following.
- - "renesas,pwm-r8a7743": for RZ/G1M
- - "renesas,pwm-r8a7744": for RZ/G1N
- - "renesas,pwm-r8a7745": for RZ/G1E
- - "renesas,pwm-r8a774a1": for RZ/G2M
- - "renesas,pwm-r8a774c0": for RZ/G2E
- - "renesas,pwm-r8a7778": for R-Car M1A
- - "renesas,pwm-r8a7779": for R-Car H1
- - "renesas,pwm-r8a7790": for R-Car H2
- - "renesas,pwm-r8a7791": for R-Car M2-W
- - "renesas,pwm-r8a7794": for R-Car E2
- - "renesas,pwm-r8a7795": for R-Car H3
- - "renesas,pwm-r8a7796": for R-Car M3-W
- - "renesas,pwm-r8a77965": for R-Car M3-N
- - "renesas,pwm-r8a77970": for R-Car V3M
- - "renesas,pwm-r8a77980": for R-Car V3H
- - "renesas,pwm-r8a77990": for R-Car E3
- - "renesas,pwm-r8a77995": for R-Car D3
-- reg: base address and length of the registers block for the PWM.
-- #pwm-cells: should be 2. See pwm.txt in this directory for a description of
-  the cells format.
-- clocks: clock phandle and specifier pair.
-- pinctrl-0: phandle, referring to a default pin configuration node.
-- pinctrl-names: Set to "default".
-
-Example: R8A7743 (RZ/G1M) PWM Timer node
-
-	pwm0: pwm@e6e30000 {
-		compatible = "renesas,pwm-r8a7743", "renesas,pwm-rcar";
-		reg = <0 0xe6e30000 0 0x8>;
-		clocks = <&cpg CPG_MOD 523>;
-		power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
-		resets = <&cpg 523>;
-		#pwm-cells = <2>;
-		pinctrl-0 = <&pwm0_pins>;
-		pinctrl-names = "default";
-	};
Documentation/devicetree/bindings/pwm/renesas,pwm-rcar.yaml new file +77 -0

77 lines not on this page · raw message

Signature · 1 line
1.9.1
maintainer Applied
#2 lore raw
In reply to Yoshihiro Kaneko
Quoted 11 lines · Yoshihiro Kaneko

Convert Renesas R-Car PWM Timer Controller bindings documentation to json-schema.

---
 .../devicetree/bindings/pwm/renesas,pwm-rcar.txt   | 40 -----------
 .../devicetree/bindings/pwm/renesas,pwm-rcar.yaml  | 77 ++++++++++++++++++++++
 2 files changed, 77 insertions(+), 40 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/pwm/renesas,pwm-rcar.txt
 create mode 100644 Documentation/devicetree/bindings/pwm/renesas,pwm-rcar.yaml

Applied, thanks.

Rob