Skip to contentSkip to conversation

dt-bindings: w1: Convert i.MX to json-schema

PATCH Applied Anson Huang 2 participants 2 messages Aug 5, 2020 – Aug 17, 2020

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

PATCH 1/1 dt-bindings: w1: Convert i.MX to json-schema

Convert the i.MX one wire binding to DT schema format using json-schema.

---
 .../devicetree/bindings/w1/fsl-imx-owire.txt       | 18 ----------
 .../devicetree/bindings/w1/fsl-imx-owire.yaml      | 42 ++++++++++++++++++++++
 2 files changed, 42 insertions(+), 18 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/w1/fsl-imx-owire.txt
 create mode 100644 Documentation/devicetree/bindings/w1/fsl-imx-owire.yaml
Documentation/devicetree/bindings/w1/fsl-imx-owire.txt deleted +0 -18
deleted file mode 100644
index cbaa646..0000000
@@ -1,18 +0,0 @@
-* Freescale i.MX One wire bus master controller
-
-Required properties:
-- compatible : should be "fsl,imx21-owire"
-- reg : Address and length of the register set for the device
-
-Optional properties:
-- clocks : phandle of clock that supplies the module (required if platform
-		clock bindings use device tree)
-
-Example:
-
-- From imx53.dtsi:
-owire: owire@63fa4000 {
-	compatible = "fsl,imx53-owire", "fsl,imx21-owire";
-	reg = <0x63fa4000 0x4000>;
-	clocks = <&clks 159>;
-};
Documentation/devicetree/bindings/w1/fsl-imx-owire.yaml new file +42 -0

42 lines not on this page · raw message

Signature · 1 line
2.7.4
maintainer Applied
#1 lore raw
Quoted 10 lines · Anson Huang

Convert the i.MX one wire binding to DT schema format using json-schema.

---
 .../devicetree/bindings/w1/fsl-imx-owire.txt       | 18 ----------
 .../devicetree/bindings/w1/fsl-imx-owire.yaml      | 42 ++++++++++++++++++++++
 2 files changed, 42 insertions(+), 18 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/w1/fsl-imx-owire.txt
 create mode 100644 Documentation/devicetree/bindings/w1/fsl-imx-owire.yaml

Applied, thanks!