Skip to contentSkip to conversation

ARM: dts: Add NFC support for i.MX27 Phytec PCM038 module

PATCH Superseded Alexander Shiyan 2 participants 6 messages Apr 7, 2013 – Apr 8, 2013

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 ARM: dts: Add NFC support for i.MX27 Phytec PCM038 module

Added NFC node to imx27-phytec-phycore DT file.

---
 arch/arm/boot/dts/imx27-phytec-phycore.dtsp | 6 ++++++
 1 file changed, 6 insertions(+)
arch/arm/boot/dts/imx27-phytec-phycore.dtsp +6 -0
index 924097a..7228153 100644
@@ -71,3 +71,9 @@
 		#size-cells = <1>;
 	};
 };
+
+&nfc {
+	nand-bus-width = <8>;
+	nand-ecc-mode = "hw";
+	status = "okay";
+};
Signature · 1 line
1.8.1.5
#1 lore raw

PATCH 2/3 ARM: dts: Add SPI support for i.MX27 Phytec PCM038 module

Added SPI node to imx27-phytec-phycore DT file.

---
 arch/arm/boot/dts/imx27-phytec-phycore.dtsp | 6 ++++++
 1 file changed, 6 insertions(+)
arch/arm/boot/dts/imx27-phytec-phycore.dtsp +6 -0
index 7228153..354dc77 100644
@@ -77,3 +77,9 @@
 	nand-ecc-mode = "hw";
 	status = "okay";
 };
+
+&cspi1 {
+	fsl,spi-num-chipselects = <1>;
+	cs-gpios = <&gpio4 28 0>;
+	status = "okay";
+};
Signature · 1 line
1.8.1.5
#3 lore raw

PATCH 3/3 ARM: dts: Add missing imx27-phytec-phycore dtb target

In reply to Alexander Shiyan

The patch adds missing imx27-phytec-phycore dtb target into Makefile.

---
 arch/arm/boot/dts/Makefile | 1 +
 1 file changed, 1 insertion(+)
arch/arm/boot/dts/Makefile +1 -0
index 35976f0..a06d9f1 100644
@@ -98,6 +98,7 @@ dtb-$(CONFIG_ARCH_MXC) += \
 	imx27-apf27.dtb \
 	imx27-apf27dev.dtb \
 	imx27-pdk.dtb \
+	imx27-phytec-phycore.dtb \
 	imx31-bug.dtb \
 	imx51-apf51.dtb \
 	imx51-apf51dev.dtb \
Signature · 1 line
1.8.1.5
Applied
#5 lore raw

PATCH 1/3 ARM: dts: Add NFC support for i.MX27 Phytec PCM038 module

In reply to Alexander Shiyan
Quoted 3 lines · Alexander Shiyan

Added NFC node to imx27-phytec-phycore DT file.

Applied, thanks.

Quoted 25 lines
---
 arch/arm/boot/dts/imx27-phytec-phycore.dtsp | 6 ++++++
 1 file changed, 6 insertions(+)
arch/arm/boot/dts/imx27-phytec-phycore.dtsp +6 -0
index 924097a..7228153 100644
@@ -71,3 +71,9 @@
 		#size-cells = <1>;
 	};
 };
+
+&nfc {
+	nand-bus-width = <8>;
+	nand-ecc-mode = "hw";
+	status = "okay";
+};
Signature · 6 lines
1.8.1.5

_______________________________________________
devicetree-discuss mailing list
devicetree-discuss at lists.ozlabs.org
https://lists.ozlabs.org/listinfo/devicetree-discuss
#2 lore raw

PATCH 2/3 ARM: dts: Add SPI support for i.MX27 Phytec PCM038 module

In reply to Alexander Shiyan
Quoted 12 lines · Alexander Shiyan

Added SPI node to imx27-phytec-phycore DT file.

---
 arch/arm/boot/dts/imx27-phytec-phycore.dtsp | 6 ++++++
 1 file changed, 6 insertions(+)
arch/arm/boot/dts/imx27-phytec-phycore.dtsp +0 -0
index 7228153..354dc77 100644

arch/arm/boot/dts/imx27-phytec-phycore.dtsp line 85

Quoted 9 lines
arch/arm/boot/dts/imx27-phytec-phycore.dtsp +6 -0
@@ -77,3 +77,9 @@
 	nand-ecc-mode = "hw";
 	status = "okay";
 };
+
+&cspi1 {
+	fsl,spi-num-chipselects = <1>;
+	cs-gpios = <&gpio4 28 0>;
+	status = "okay";
+};

I would suggest these codes be sorted in alphabet order of label name. IOW, &cspi1 should be put before &nfc.

Shawn

Quoted 7 lines
Signature · 6 lines
1.8.1.5

_______________________________________________
devicetree-discuss mailing list
devicetree-discuss at lists.ozlabs.org
https://lists.ozlabs.org/listinfo/devicetree-discuss
Applied
#4 lore raw

PATCH 3/3 ARM: dts: Add missing imx27-phytec-phycore dtb target

In reply to Alexander Shiyan
Quoted 3 lines · Alexander Shiyan

The patch adds missing imx27-phytec-phycore dtb target into Makefile.

Applied, thanks.

Quoted 23 lines
---
 arch/arm/boot/dts/Makefile | 1 +
 1 file changed, 1 insertion(+)
arch/arm/boot/dts/Makefile +1 -0
index 35976f0..a06d9f1 100644
@@ -98,6 +98,7 @@ dtb-$(CONFIG_ARCH_MXC) += \
 	imx27-apf27.dtb \
 	imx27-apf27dev.dtb \
 	imx27-pdk.dtb \
+	imx27-phytec-phycore.dtb \
 	imx31-bug.dtb \
 	imx51-apf51.dtb \
 	imx51-apf51dev.dtb \
Signature · 6 lines
1.8.1.5

_______________________________________________
devicetree-discuss mailing list
devicetree-discuss at lists.ozlabs.org
https://lists.ozlabs.org/listinfo/devicetree-discuss