Skip to contentSkip to conversation

Add device tree support for i.mx51/53 boards

PATCH New Shawn Guo 5 participants 9 messages Oct 17, 2011 – Oct 25, 2011

Subsystems (4)
lore
Share & tools
lore

Shawn Guo

author
#0 lore raw

v6 cover Add device tree support for i.mx51/53 boards

Changes since v5:
* Retrieve fixed clock frequency from device tree

Changes since v4:
* Rebase onto imx-features branch
* Have devices in soc dtsi as "disabled" and explicitly enable the ones in board dts as "okay"
* Utilize of_irq_init() infrastructure added by Rob Herring recently

Shawn Guo (2):
arm/mx5: add device tree support for imx53 boards arm/mx5: add device tree support for imx51 babbage

 Documentation/devicetree/bindings/arm/fsl.txt |   19 ++
 arch/arm/boot/dts/imx51-babbage.dts           |  135 +++++++++++
 arch/arm/boot/dts/imx51.dtsi                  |  246 ++++++++++++++++++++
 arch/arm/boot/dts/imx53-ard.dts               |  113 +++++++++
 arch/arm/boot/dts/imx53-evk.dts               |  120 ++++++++++
 arch/arm/boot/dts/imx53-qsb.dts               |  125 ++++++++++
 arch/arm/boot/dts/imx53-smd.dts               |  169 ++++++++++++++
 arch/arm/boot/dts/imx53.dtsi                  |  301 +++++++++++++++++++++++++
 arch/arm/mach-mx5/Kconfig                     |   21 ++
 arch/arm/mach-mx5/Makefile                    |    3 +
 arch/arm/mach-mx5/board-mx51_babbage.c        |    9 +-
 arch/arm/mach-mx5/board-mx53_ard.c            |   12 +-
 arch/arm/mach-mx5/board-mx53_evk.c            |    9 +-
 arch/arm/mach-mx5/board-mx53_loco.c           |    9 +-
 arch/arm/mach-mx5/board-mx53_smd.c            |    9 +-
 arch/arm/mach-mx5/clock-mx51-mx53.c           |   39 ++++
 arch/arm/mach-mx5/imx51-dt.c                  |  116 ++++++++++
 arch/arm/mach-mx5/imx53-dt.c                  |  126 +++++++++++
 arch/arm/plat-mxc/include/mach/common.h       |    8 +
 19 files changed, 1577 insertions(+), 12 deletions(-)
author
#1 lore raw

PATCH v6 1/2 arm/mx5: add device tree support for imx53 boards

From: Shawn Guo <[email protected]>

It adds device tree support for imx53 boards.

---
 Documentation/devicetree/bindings/arm/fsl.txt |   15 ++
 arch/arm/boot/dts/imx53-ard.dts               |  113 +++++++++
 arch/arm/boot/dts/imx53-evk.dts               |  120 ++++++++++
 arch/arm/boot/dts/imx53-qsb.dts               |  125 ++++++++++
 arch/arm/boot/dts/imx53-smd.dts               |  169 ++++++++++++++
 arch/arm/boot/dts/imx53.dtsi                  |  301 +++++++++++++++++++++++++
 arch/arm/mach-mx5/Kconfig                     |   12 +
 arch/arm/mach-mx5/Makefile                    |    2 +
 arch/arm/mach-mx5/board-mx53_ard.c            |   12 +-
 arch/arm/mach-mx5/board-mx53_evk.c            |    9 +-
 arch/arm/mach-mx5/board-mx53_loco.c           |    9 +-
 arch/arm/mach-mx5/board-mx53_smd.c            |    9 +-
 arch/arm/mach-mx5/clock-mx51-mx53.c           |   31 +++
 arch/arm/mach-mx5/imx53-dt.c                  |  126 +++++++++++
 arch/arm/plat-mxc/include/mach/common.h       |    6 +
 15 files changed, 1049 insertions(+), 10 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/arm/fsl.txt
 create mode 100644 arch/arm/boot/dts/imx53-ard.dts
 create mode 100644 arch/arm/boot/dts/imx53-evk.dts
 create mode 100644 arch/arm/boot/dts/imx53-qsb.dts
 create mode 100644 arch/arm/boot/dts/imx53-smd.dts
 create mode 100644 arch/arm/boot/dts/imx53.dtsi
 create mode 100644 arch/arm/mach-mx5/imx53-dt.c
Documentation/devicetree/bindings/arm/fsl.txt new file +15 -0
new file mode 100644
index 0000000..d1e8d6f
@@ -0,0 +1,15 @@
+i.MX53 Automotive Reference Design Board
+Required root node properties:
+    - compatible = "fsl,imx53-ard", "fsl,imx53";
+
+i.MX53 Evaluation Kit
+Required root node properties:
+    - compatible = "fsl,imx53-evk", "fsl,imx53";
+
+i.MX53 Quick Start Board
+Required root node properties:
+    - compatible = "fsl,imx53-qsb", "fsl,imx53";
+
+i.MX53 Smart Mobile Reference Design Board
+Required root node properties:
+    - compatible = "fsl,imx53-smd", "fsl,imx53";
arch/arm/boot/dts/imx53-ard.dts new file +113 -0

113 lines not on this page · raw message

arch/arm/boot/dts/imx53-evk.dts new file +120 -0

120 lines not on this page · raw message

arch/arm/boot/dts/imx53-qsb.dts new file +125 -0

125 lines not on this page · raw message

arch/arm/boot/dts/imx53-smd.dts new file +169 -0

169 lines not on this page · raw message

arch/arm/boot/dts/imx53.dtsi new file +301 -0

301 lines not on this page · raw message

arch/arm/mach-mx5/Kconfig +12 -0
index 3d4c313..08c32a4 100644
@@ -171,6 +171,18 @@ config MACH_MX51_EFIKASB
 
 comment "i.MX53 machines:"
 
+config MACH_IMX53_DT
+	bool "Support i.MX53 platforms from device tree"
+	select SOC_IMX53
+	select USE_OF
+	select MACH_MX53_ARD
+	select MACH_MX53_EVK
+	select MACH_MX53_LOCO
+	select MACH_MX53_SMD
+	help
+	  Include support for Freescale i.MX53 based platforms
+	  using the device tree for discovery
+
 config MACH_MX53_EVK
 	bool "Support MX53 EVK platforms"
 	select SOC_IMX53
arch/arm/mach-mx5/Makefile +2 -0
index 9565304..cf9d461 100644
@@ -21,3 +21,5 @@ obj-$(CONFIG_MX51_EFIKA_COMMON) += mx51_efika.o
 obj-$(CONFIG_MACH_MX51_EFIKAMX) += board-mx51_efikamx.o
 obj-$(CONFIG_MACH_MX51_EFIKASB) += board-mx51_efikasb.o
 obj-$(CONFIG_MACH_MX50_RDP) += board-mx50_rdp.o
+
+obj-$(CONFIG_MACH_IMX53_DT) += imx53-dt.o
arch/arm/mach-mx5/board-mx53_ard.c +8 -4
index cb4d753..39a6bc3 100644
@@ -171,9 +171,6 @@ static struct imxi2c_platform_data mx53_ard_i2c3_data = {
 
 static void __init mx53_ard_io_init(void)
 {
-	mxc_iomux_v3_setup_multiple_pads(mx53_ard_pads,
-				ARRAY_SIZE(mx53_ard_pads));
-
 	gpio_request(ARD_ETHERNET_INT_B, "eth-int-b");
 	gpio_direction_input(ARD_ETHERNET_INT_B);
 
@@ -216,6 +213,13 @@ static int weim_cs_config(void)
 	return 0;
 }
 
+void __init imx53_ard_common_init(void)
+{
+	mxc_iomux_v3_setup_multiple_pads(mx53_ard_pads,
+					 ARRAY_SIZE(mx53_ard_pads));
+	weim_cs_config();
+}
+
 static struct platform_device *devices[] __initdata = {
 	&ard_smsc_lan9220_device,
 };
@@ -225,8 +229,8 @@ static void __init mx53_ard_board_init(void)
 	imx53_soc_init();
 	imx53_add_imx_uart(0, NULL);
 
+	imx53_ard_common_init();
 	mx53_ard_io_init();
-	weim_cs_config();
 	platform_add_devices(devices, ARRAY_SIZE(devices));
 
 	imx53_add_sdhci_esdhc_imx(0, &mx53_ard_sd1_data);
arch/arm/mach-mx5/board-mx53_evk.c +7 -2
index 6a3e616..6bea31a 100644
@@ -131,12 +131,17 @@ static const struct spi_imx_master mx53_evk_spi_data __initconst = {
 	.num_chipselect = ARRAY_SIZE(mx53_evk_spi_cs),
 };
 
+void __init imx53_evk_common_init(void)
+{
+	mxc_iomux_v3_setup_multiple_pads(mx53_evk_pads,
+					 ARRAY_SIZE(mx53_evk_pads));
+}
+
 static void __init mx53_evk_board_init(void)
 {
 	imx53_soc_init();
+	imx53_evk_common_init();
 
-	mxc_iomux_v3_setup_multiple_pads(mx53_evk_pads,
-					ARRAY_SIZE(mx53_evk_pads));
 	mx53_evk_init_uart();
 	mx53_evk_fec_reset();
 	imx53_add_fec(&mx53_evk_fec_pdata);
arch/arm/mach-mx5/board-mx53_loco.c +7 -2
index 7149416..7cbb0d5 100644
@@ -269,13 +269,18 @@ static struct i2c_board_info mx53loco_i2c_devices[] = {
 	},
 };
 
+void __init imx53_qsb_common_init(void)
+{
+	mxc_iomux_v3_setup_multiple_pads(mx53_loco_pads,
+					 ARRAY_SIZE(mx53_loco_pads));
+}
+
 static void __init mx53_loco_board_init(void)
 {
 	int ret;
 	imx53_soc_init();
+	imx53_qsb_common_init();
 
-	mxc_iomux_v3_setup_multiple_pads(mx53_loco_pads,
-					ARRAY_SIZE(mx53_loco_pads));
 	imx53_add_imx_uart(0, NULL);
 	mx53_loco_fec_reset();
 	imx53_add_fec(&mx53_loco_fec_data);
arch/arm/mach-mx5/board-mx53_smd.c +7 -2
index e64fd2c..9a895a2 100644
@@ -111,12 +111,17 @@ static const struct imxi2c_platform_data mx53_smd_i2c_data __initconst = {
 	.bitrate = 100000,
 };
 
+void __init imx53_smd_common_init(void)
+{
+	mxc_iomux_v3_setup_multiple_pads(mx53_smd_pads,
+					 ARRAY_SIZE(mx53_smd_pads));
+}
+
 static void __init mx53_smd_board_init(void)
 {
 	imx53_soc_init();
+	imx53_smd_common_init();
 
-	mxc_iomux_v3_setup_multiple_pads(mx53_smd_pads,
-					ARRAY_SIZE(mx53_smd_pads));
 	mx53_smd_init_uart();
 	mx53_smd_fec_reset();
 	imx53_add_fec(&mx53_smd_fec_data);
arch/arm/mach-mx5/clock-mx51-mx53.c +31 -0
index 2b9bd1f..34a6427 100644
@@ -15,6 +15,7 @@
 #include <linux/clk.h>
 #include <linux/io.h>
 #include <linux/clkdev.h>
+#include <linux/of.h>
 
 #include <asm/div64.h>
 
@@ -1613,3 +1614,33 @@ int __init mx53_clocks_init(unsigned long ckil, unsigned long osc,
 		MX53_INT_GPT);
 	return 0;
 }
+
+static void __init clk_get_freq_dt(unsigned long *ckil, unsigned long *osc,
+				   unsigned long *ckih1, unsigned long *ckih2)
+{
+	struct device_node *np;
+
+	/* retrieve the freqency of fixed clocks from device tree */
+	for_each_compatible_node(np, NULL, "fixed-clock") {
+		u32 rate;
+		if (of_property_read_u32(np, "clock-frequency", &rate))
+			continue;
+
+		if (of_device_is_compatible(np, "fsl,imx-ckil"))
+			*ckil = rate;
+		else if (of_device_is_compatible(np, "fsl,imx-osc"))
+			*osc = rate;
+		else if (of_device_is_compatible(np, "fsl,imx-ckih1"))
+			*ckih1 = rate;
+		else if (of_device_is_compatible(np, "fsl,imx-ckih2"))
+			*ckih2 = rate;
+	}
+}
+
+int __init mx53_clocks_init_dt(void)
+{
+	unsigned long ckil, osc, ckih1, ckih2;
+
+	clk_get_freq_dt(&ckil, &osc, &ckih1, &ckih2);
+	return mx53_clocks_init(ckil, osc, ckih1, ckih2);
+}
arch/arm/mach-mx5/imx53-dt.c new file +126 -0

126 lines not on this page · raw message

arch/arm/plat-mxc/include/mach/common.h +6 -0
index ace4bb5..bd14035 100644
@@ -64,6 +64,7 @@ extern int mx51_clocks_init(unsigned long ckil, unsigned long osc,
 			unsigned long ckih1, unsigned long ckih2);
 extern int mx53_clocks_init(unsigned long ckil, unsigned long osc,
 			unsigned long ckih1, unsigned long ckih2);
+extern int mx53_clocks_init_dt(void);
 extern struct platform_device *mxc_register_gpio(char *name, int id,
 	resource_size_t iobase, resource_size_t iosize, int irq, int irq_high);
 extern void mxc_set_cpu_type(unsigned int type);
@@ -72,6 +73,11 @@ extern void mx51_efikamx_reset(void);
 extern int mx53_revision(void);
 extern int mx53_display_revision(void);
 
+extern void imx53_ard_common_init(void);
+extern void imx53_evk_common_init(void);
+extern void imx53_qsb_common_init(void);
+extern void imx53_smd_common_init(void);
+
 enum mxc_cpu_pwr_mode {
 	WAIT_CLOCKED,		/* wfi only */
 	WAIT_UNCLOCKED,		/* WAIT */
Signature · 1 line
1.7.4.1
author
#2 lore raw

PATCH v6 2/2 arm/mx5: add device tree support for imx51 babbage

In reply to Shawn Guo

It adds device tree support for imx51 babbage board.

---
 Documentation/devicetree/bindings/arm/fsl.txt |    4 +
 arch/arm/boot/dts/imx51-babbage.dts           |  135 ++++++++++++++
 arch/arm/boot/dts/imx51.dtsi                  |  246 +++++++++++++++++++++++++
 arch/arm/mach-mx5/Kconfig                     |    9 +
 arch/arm/mach-mx5/Makefile                    |    1 +
 arch/arm/mach-mx5/board-mx51_babbage.c        |    9 +-
 arch/arm/mach-mx5/clock-mx51-mx53.c           |    8 +
 arch/arm/mach-mx5/imx51-dt.c                  |  116 ++++++++++++
 arch/arm/plat-mxc/include/mach/common.h       |    2 +
 9 files changed, 528 insertions(+), 2 deletions(-)
 create mode 100644 arch/arm/boot/dts/imx51-babbage.dts
 create mode 100644 arch/arm/boot/dts/imx51.dtsi
 create mode 100644 arch/arm/mach-mx5/imx51-dt.c
Documentation/devicetree/bindings/arm/fsl.txt +4 -0
index d1e8d6f..e2401cd 100644
@@ -1,3 +1,7 @@
+i.MX51 Babbage Board
+Required root node properties:
+    - compatible = "fsl,imx51-babbage", "fsl,imx51";
+
 i.MX53 Automotive Reference Design Board
 Required root node properties:
     - compatible = "fsl,imx53-ard", "fsl,imx53";
arch/arm/boot/dts/imx51-babbage.dts new file +135 -0

135 lines not on this page · raw message

arch/arm/boot/dts/imx51.dtsi new file +246 -0

246 lines not on this page · raw message

arch/arm/mach-mx5/Kconfig +9 -0
index 08c32a4..af0c212 100644
@@ -56,6 +56,15 @@ config MACH_MX50_RDP
 
 comment "i.MX51 machines:"
 
+config MACH_IMX51_DT
+	bool "Support i.MX51 platforms from device tree"
+	select SOC_IMX51
+	select USE_OF
+	select MACH_MX51_BABBAGE
+	help
+	  Include support for Freescale i.MX51 based platforms
+	  using the device tree for discovery
+
 config MACH_MX51_BABBAGE
 	bool "Support MX51 BABBAGE platforms"
 	select SOC_IMX51
arch/arm/mach-mx5/Makefile +1 -0
index cf9d461..0fc6080 100644
@@ -22,4 +22,5 @@ obj-$(CONFIG_MACH_MX51_EFIKAMX) += board-mx51_efikamx.o
 obj-$(CONFIG_MACH_MX51_EFIKASB) += board-mx51_efikasb.o
 obj-$(CONFIG_MACH_MX50_RDP) += board-mx50_rdp.o
 
+obj-$(CONFIG_MACH_IMX51_DT) += imx51-dt.o
 obj-$(CONFIG_MACH_IMX53_DT) += imx53-dt.o
arch/arm/mach-mx5/board-mx51_babbage.c +7 -2
index 5993208..5c83760 100644
@@ -349,6 +349,12 @@ static const struct esdhc_platform_data mx51_babbage_sd2_data __initconst = {
 	.wp_type = ESDHC_WP_GPIO,
 };
 
+void __init imx51_babbage_common_init(void)
+{
+	mxc_iomux_v3_setup_multiple_pads(mx51babbage_pads,
+					 ARRAY_SIZE(mx51babbage_pads));
+}
+
 /*
  * Board specific initialization.
  */
@@ -363,8 +369,7 @@ static void __init mx51_babbage_init(void)
 #if defined(CONFIG_CPU_FREQ_IMX)
 	get_cpu_op = mx51_get_cpu_op;
 #endif
-	mxc_iomux_v3_setup_multiple_pads(mx51babbage_pads,
-					ARRAY_SIZE(mx51babbage_pads));
+	imx51_babbage_common_init();
 
 	imx51_add_imx_uart(0, &uart_pdata);
 	imx51_add_imx_uart(1, NULL);
arch/arm/mach-mx5/clock-mx51-mx53.c +8 -0
index 34a6427..3882c2b 100644
@@ -1637,6 +1637,14 @@ static void __init clk_get_freq_dt(unsigned long *ckil, unsigned long *osc,
 	}
 }
 
+int __init mx51_clocks_init_dt(void)
+{
+	unsigned long ckil, osc, ckih1, ckih2;
+
+	clk_get_freq_dt(&ckil, &osc, &ckih1, &ckih2);
+	return mx51_clocks_init(ckil, osc, ckih1, ckih2);
+}
+
 int __init mx53_clocks_init_dt(void)
 {
 	unsigned long ckil, osc, ckih1, ckih2;
arch/arm/mach-mx5/imx51-dt.c new file +116 -0

116 lines not on this page · raw message

arch/arm/plat-mxc/include/mach/common.h +2 -0
index bd14035..533c622 100644
@@ -64,6 +64,7 @@ extern int mx51_clocks_init(unsigned long ckil, unsigned long osc,
 			unsigned long ckih1, unsigned long ckih2);
 extern int mx53_clocks_init(unsigned long ckil, unsigned long osc,
 			unsigned long ckih1, unsigned long ckih2);
+extern int mx51_clocks_init_dt(void);
 extern int mx53_clocks_init_dt(void);
 extern struct platform_device *mxc_register_gpio(char *name, int id,
 	resource_size_t iobase, resource_size_t iosize, int irq, int irq_high);
@@ -73,6 +74,7 @@ extern void mx51_efikamx_reset(void);
 extern int mx53_revision(void);
 extern int mx53_display_revision(void);
 
+extern void imx51_babbage_common_init(void);
 extern void imx53_ard_common_init(void);
 extern void imx53_evk_common_init(void);
 extern void imx53_qsb_common_init(void);
Signature · 1 line
1.7.4.1
maintainer
#3 lore raw

v6 cover Add device tree support for i.mx51/53 boards

In reply to Shawn Guo

Shawn,

Quoted 9 lines · Shawn Guo

Changes since v5:
* Retrieve fixed clock frequency from device tree

Changes since v4:
* Rebase onto imx-features branch
* Have devices in soc dtsi as "disabled" and explicitly enable the ones in board dts as "okay"
* Utilize of_irq_init() infrastructure added by Rob Herring recently

Quoted 3 lines

Shawn Guo (2):
arm/mx5: add device tree support for imx53 boards arm/mx5: add device tree support for imx51 babbage

You sent this patches to Arnd but without saying what he should do with them. Shall I queue them up or does Arnd handle them? Same with the include cleanup series.

Sascha

Quoted 22 lines
 Documentation/devicetree/bindings/arm/fsl.txt |   19 ++
 arch/arm/boot/dts/imx51-babbage.dts           |  135 +++++++++++
 arch/arm/boot/dts/imx51.dtsi                  |  246 ++++++++++++++++++++
 arch/arm/boot/dts/imx53-ard.dts               |  113 +++++++++
 arch/arm/boot/dts/imx53-evk.dts               |  120 ++++++++++
 arch/arm/boot/dts/imx53-qsb.dts               |  125 ++++++++++
 arch/arm/boot/dts/imx53-smd.dts               |  169 ++++++++++++++
 arch/arm/boot/dts/imx53.dtsi                  |  301 +++++++++++++++++++++++++
 arch/arm/mach-mx5/Kconfig                     |   21 ++
 arch/arm/mach-mx5/Makefile                    |    3 +
 arch/arm/mach-mx5/board-mx51_babbage.c        |    9 +-
 arch/arm/mach-mx5/board-mx53_ard.c            |   12 +-
 arch/arm/mach-mx5/board-mx53_evk.c            |    9 +-
 arch/arm/mach-mx5/board-mx53_loco.c           |    9 +-
 arch/arm/mach-mx5/board-mx53_smd.c            |    9 +-
 arch/arm/mach-mx5/clock-mx51-mx53.c           |   39 ++++
 arch/arm/mach-mx5/imx51-dt.c                  |  116 ++++++++++
 arch/arm/mach-mx5/imx53-dt.c                  |  126 +++++++++++
 arch/arm/plat-mxc/include/mach/common.h       |    8 +
 19 files changed, 1577 insertions(+), 12 deletions(-)
Signature · 4 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
#4 lore raw

v6 cover Add device tree support for i.mx51/53 boards

Quoted 12 lines · Sascha Hauer

Shawn,

Quoted 9 lines · Shawn Guo

Changes since v5:
* Retrieve fixed clock frequency from device tree

Changes since v4:
* Rebase onto imx-features branch
* Have devices in soc dtsi as "disabled" and explicitly enable the ones in board dts as "okay"
* Utilize of_irq_init() infrastructure added by Rob Herring recently

Quoted 7 lines
Quoted 3 lines

Shawn Guo (2):
arm/mx5: add device tree support for imx53 boards arm/mx5: add device tree support for imx51 babbage

You sent this patches to Arnd but without saying what he should do with them. Shall I queue them up or does Arnd handle them? Same with the include cleanup series.

I think you should - the arm-soc tree is there to act as an integration tree for the various SoC maintainers. Patches for SoCs where there's an active maintainer should still be handled by the SoC maintainer (and either applied to their git tree or forwarded upstream) unless there is agreement to do otherwise.

#5 lore raw

v6 cover Add device tree support for i.mx51/53 boards

Quoted 21 lines · Russell King - ARM Linux
Quoted 12 lines · Sascha Hauer

Shawn,

Quoted 9 lines · Shawn Guo

Changes since v5:
* Retrieve fixed clock frequency from device tree

Changes since v4:
* Rebase onto imx-features branch
* Have devices in soc dtsi as "disabled" and explicitly enable the ones in board dts as "okay"
* Utilize of_irq_init() infrastructure added by Rob Herring recently

Quoted 7 lines
Quoted 3 lines

Shawn Guo (2):
arm/mx5: add device tree support for imx53 boards arm/mx5: add device tree support for imx51 babbage

You sent this patches to Arnd but without saying what he should do with them. Shall I queue them up or does Arnd handle them? Same with the include cleanup series.

Quoted 6 lines

I think you should - the arm-soc tree is there to act as an integration tree for the various SoC maintainers. Patches for SoCs where there's an active maintainer should still be handled by the SoC maintainer (and either applied to their git tree or forwarded upstream) unless there is agreement to do otherwise.

I agree on this point. But for imx6 support, I expect I can send pull request directly to Arnd, as I sent a patch to add myself as imx6 maintainer a couple of weeks back and have not seen any objection there.

Signature · 2 lines
Regards,
Shawn
#6 lore raw

v6 cover Add device tree support for i.mx51/53 boards

In reply to Russell King - ARM Linux
Quoted 21 lines · Russell King - ARM Linux
Quoted 11 lines · Sascha Hauer
Quoted 9 lines · Shawn Guo

Changes since v5:
* Retrieve fixed clock frequency from device tree

Changes since v4:
* Rebase onto imx-features branch
* Have devices in soc dtsi as "disabled" and explicitly enable the ones in board dts as "okay"
* Utilize of_irq_init() infrastructure added by Rob Herring recently

Quoted 7 lines
Quoted 3 lines

Shawn Guo (2):
arm/mx5: add device tree support for imx53 boards arm/mx5: add device tree support for imx51 babbage

You sent this patches to Arnd but without saying what he should do with them. Shall I queue them up or does Arnd handle them? Same with the include cleanup series.

Quoted 5 lines

I think you should - the arm-soc tree is there to act as an integration tree for the various SoC maintainers. Patches for SoCs where there's an active maintainer should still be handled by the SoC maintainer (and either applied to their git tree or forwarded upstream) unless there is agreement to do otherwise.

Yes, definitely. I don't mind getting occasional pull requests from backup maintainers when the main person is not available or when there is a distinct area being worked on by one particular person, but please always communicate very clearly what is going on. The last thing I want is overriding a maintainer or having to decide between two people giving me conflicting messages over the same code.

Shawn, if you want me to apply patches, please be more specific in the introductory mail with something like "As agreed with Sascha, please merge these into the arm-soc tree", or put Sascha in the To field and address him when the patches should go through the imx tree. If you don't address either of us directly, the likely outcome is that we will both ignore the series.

Arnd

#7 lore raw

v6 cover Add device tree support for i.mx51/53 boards

In reply to Sascha Hauer
Quoted 12 lines · Sascha Hauer

Shawn,

Quoted 9 lines · Shawn Guo

Changes since v5:
* Retrieve fixed clock frequency from device tree

Changes since v4:
* Rebase onto imx-features branch
* Have devices in soc dtsi as "disabled" and explicitly enable the ones in board dts as "okay"
* Utilize of_irq_init() infrastructure added by Rob Herring recently

Quoted 8 lines
Quoted 3 lines

Shawn Guo (2):
arm/mx5: add device tree support for imx53 boards arm/mx5: add device tree support for imx51 babbage

You sent this patches to Arnd but without saying what he should do with them. Shall I queue them up or does Arnd handle them? Same with the include cleanup series.

I sent them for review and planned to send a pull-request later. But if you want to get them forwarded to Arnd, sure, please do.

The reason I sent these series to Arnd is they have some dependencies which are easier to resolve based on Arnd's tree than yours. But I'm fine with either way, send to Arnd directly or forwarded by you.

Signature · 2 lines
Regards,
Shawn
#8 lore raw

v6 cover Add device tree support for i.mx51/53 boards

Hi Sascha,

Quoted 17 lines · Shawn Guo
Quoted 16 lines · Sascha Hauer

Shawn,

Quoted 12 lines · Shawn Guo

Changes since v5:
* Retrieve fixed clock frequency from device tree

Changes since v4:
* Rebase onto imx-features branch
* Have devices in soc dtsi as "disabled" and explicitly enable the ones in board dts as "okay"
* Utilize of_irq_init() infrastructure added by Rob Herring recently

Shawn Guo (2):
arm/mx5: add device tree support for imx53 boards arm/mx5: add device tree support for imx51 babbage

Quoted 7 lines
Quoted 4 lines

You sent this patches to Arnd but without saying what he should do with them. Shall I queue them up or does Arnd handle them? Same with the include cleanup series.

I sent them for review and planned to send a pull-request later. But if you want to get them forwarded to Arnd, sure, please do.

We need to get the patches showing up on linux-next before they are going to Linus. Have you got them ready for Arnd's for-next branch? Please let me know if you expect I send pull-request to you to ease your job.

Signature · 2 lines
Regards,
Shawn