[PATCH 1/3] TDM: Add maxim ds26522 document to bindings

Subsystems: open firmware and flattened device tree bindings, the rest

STALE3802d

5 messages, 3 authors, 2016-03-08 · open the first message on its own page

[PATCH 1/3] TDM: Add maxim ds26522 document to bindings

From: Zhao Qiang <qiang.zhao@nxp.com>
Date: 2016-01-08 02:55:01

Add maxim ds26522 document to
Documentation/devicetree/bindings/tdm/maxim,ds26522.txt

Signed-off-by: Zhao Qiang <qiang.zhao@nxp.com>
---
 Documentation/devicetree/bindings/tdm/maxim,ds26522.txt | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/tdm/maxim,ds26522.txt
diff --git a/Documentation/devicetree/bindings/tdm/maxim,ds26522.txt b/Documentation/devicetree/bindings/tdm/maxim,ds26522.txt
new file mode 100644
index 0000000..3548c51
--- /dev/null
+++ b/Documentation/devicetree/bindings/tdm/maxim,ds26522.txt
@@ -0,0 +1,13 @@
+* Maxim (Dallas) DS26522 Octal T1/E1/J1 Transceiver
+
+Required properties:
+- compatible: Should contain "maxim,ds26522".
+- reg: SPI CS
+- spi-max-frequency: SPI bus max frequency.
+
+Example:
+	slic@2 {
+		compatible = "maxim,ds26522";
+		reg = <2>;
+		spi-max-frequency = <2000000>;
+	};
-- 
2.1.0.27.g96db324

[PATCH 2/3] T1040RDB: add tdm riser card node to t1040rdb

From: Zhao Qiang <qiang.zhao@nxp.com>
Date: 2016-01-08 02:55:17

add tdm riser card node to t1040rdb.dts

Signed-off-by: Zhao Qiang <qiang.zhao@nxp.com>
---
 arch/powerpc/boot/dts/fsl/t1040rdb.dts | 10 ++++++++++
 1 file changed, 10 insertions(+)
diff --git a/arch/powerpc/boot/dts/fsl/t1040rdb.dts b/arch/powerpc/boot/dts/fsl/t1040rdb.dts
index cf19415..d52b011 100644
--- a/arch/powerpc/boot/dts/fsl/t1040rdb.dts
+++ b/arch/powerpc/boot/dts/fsl/t1040rdb.dts
@@ -43,6 +43,16 @@
 			compatible = "fsl,t1040rdb-cpld";
 		};
 	};
+
+	soc: soc@ffe000000 {
+		spi@110000 {
+			slic@3 {
+				compatible = "maxim,ds26522";
+				reg = <3>;
+				spi-max-frequency = <2000000>; /* input clock */
+			};
+		};
+	};
 };
 
 #include "t1040si-post.dtsi"
-- 
2.1.0.27.g96db324

[PATCH 3/3] T1040D4RDB: add tdm riser card node to t1040d4rdb

From: Zhao Qiang <qiang.zhao@nxp.com>
Date: 2016-01-08 02:55:20

add tdm riser card node to t1040d4rdb.dts

Signed-off-by: Zhao Qiang <qiang.zhao@nxp.com>
---
 arch/powerpc/boot/dts/fsl/t1040d4rdb.dts | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
diff --git a/arch/powerpc/boot/dts/fsl/t1040d4rdb.dts b/arch/powerpc/boot/dts/fsl/t1040d4rdb.dts
index fb6bc02..ee3d1ec 100644
--- a/arch/powerpc/boot/dts/fsl/t1040d4rdb.dts
+++ b/arch/powerpc/boot/dts/fsl/t1040d4rdb.dts
@@ -41,6 +41,22 @@
 	#address-cells = <2>;
 	#size-cells = <2>;
 	interrupt-parent = <&mpic>;
+
+	soc: soc@ffe000000 {
+		spi@110000 {
+			slic@1 {
+				compatible = "maxim,ds26522";
+				reg = <1>;
+				spi-max-frequency = <2000000>;
+			};
+
+			slic@2 {
+				compatible = "maxim,ds26522";
+				reg = <2>;
+				spi-max-frequency = <2000000>;
+			};
+		};
+	};
 };
 
 #include "t1040si-post.dtsi"
-- 
2.1.0.27.g96db324

Re: [PATCH 1/3] TDM: Add maxim ds26522 document to bindings

From: Rob Herring <robh@kernel.org>
Date: 2016-01-08 20:58:50

On Fri, Jan 08, 2016 at 10:46:53AM +0800, Zhao Qiang wrote:
Add maxim ds26522 document to
Documentation/devicetree/bindings/tdm/maxim,ds26522.txt

Signed-off-by: Zhao Qiang <qiang.zhao@nxp.com>
---
 Documentation/devicetree/bindings/tdm/maxim,ds26522.txt | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/tdm/maxim,ds26522.txt
Acked-by: Rob Herring <robh@kernel.org>

Re: [1/3] TDM: Add maxim ds26522 document to bindings

From: Scott Wood <oss@buserror.net>
Date: 2016-03-08 23:37:31

On Fri, Jan 08, 2016 at 10:46:53AM +0800, Zhao Qiang wrote:
quoted hunk
Add maxim ds26522 document to
Documentation/devicetree/bindings/tdm/maxim,ds26522.txt

Signed-off-by: Zhao Qiang <qiang.zhao@nxp.com>
Acked-by: Rob Herring <robh@kernel.org>
---
 Documentation/devicetree/bindings/tdm/maxim,ds26522.txt | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/tdm/maxim,ds26522.txt
diff --git a/Documentation/devicetree/bindings/tdm/maxim,ds26522.txt b/Documentation/devicetree/bindings/tdm/maxim,ds26522.txt
new file mode 100644
index 0000000..3548c51
--- /dev/null
+++ b/Documentation/devicetree/bindings/tdm/maxim,ds26522.txt
@@ -0,0 +1,13 @@
+* Maxim (Dallas) DS26522 Octal T1/E1/J1 Transceiver
+
+Required properties:
+- compatible: Should contain "maxim,ds26522".
+- reg: SPI CS
+- spi-max-frequency: SPI bus max frequency.
+
+Example:
+	slic@2 {
+		compatible = "maxim,ds26522";
+		reg = <2>;
+		spi-max-frequency = <2000000>;
+	};
An almost identical file was added by you in commit
a109752ea6a55c3682b6ac9114a125c5ce7e5353

There is also overlap in the later patches of this set.

Why did you send this again?  What tree are you basing your patches on?

-Scott
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help