[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
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
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
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
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>
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