linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/11] ARM: dts: sbc-t3x: add support for more boards
@ 2014-01-12 13:22 Dmitry Lifshitz
  2014-01-12 13:22 ` [PATCH 01/12] ARM: dts: sbc-t3x: use omap specific pinctrl defines Dmitry Lifshitz
                   ` (13 more replies)
  0 siblings, 14 replies; 19+ messages in thread
From: Dmitry Lifshitz @ 2014-01-12 13:22 UTC (permalink / raw)
  To: linux-arm-kernel

Add support for CompuLab SBC-T3530 and SBC-T3517 boards:

https://compulab.co.il/products/sbcs/sbc-t3530/
https://compulab.co.il/products/sbcs/sbc-t3517/

along with respective CoMs - CM-T3530 and CM-T3517:

https://compulab.co.il/products/computer-on-modules/cm-t3530/
https://compulab.co.il/products/computer-on-modules/cm-t3517/

The device tree files have the following structure:

omap3-cm-t3x.dtsi
 |
 |<-- omap3-cm-t3x30.dtsi
 |     |
 |     |
 |     |     -----                  -------          ------------
 |     |    | CoM |                | Board |        | Base board |
 |     |     -----                  -------          ------------
 |     |                                            omap3-sb-t35.dtsi
 |     |                                                  |
 |     |<-- omap3-cm-t3730.dts <-- omap3-sbc-t3730.dts -->|
 |     |                                                  |
 |     |<-- omap3-cm-t3530.dts <-- omap3-sbc-t3530.dts -->|
 |                                                        |
 |<-------- omap3-cm-t3517.dts <-- omap3-sbc-t3517.dts -->|


where omap3-cm-t3730.dts, omap3-cm-t3530.dts, omap3-cm-t3517.dts
contain CoMs specific data, while omap3-sbc-t3730.dts, omap3-sbc-t3530.dts,
omap3-sbc-t3517.dts represent eval boards with respective core modules.

This series is based on Tony's omap-for-v3.14/dt branch

Dmitry Lifshitz (11):
  ARM: dts: sbc-t3x: refactor DT support
  ARM: dts: sbc-t3x: disable mmc3
  ARM: dts: sb-t35: fix Ethernet power supply
  ARM: dts: cm-t3x: add gpio-led pinmux
  ARM: dts: cm-t3x30: add twl4030 gpio pullups
  ARM: dts: cm-t3x30: add HS USB Host support
  ARM: dts: sbc-t3730: add pinmux for usb hub reset
  ARM: dts: cm-t3x30: add USB OTG support
  ARM: dts: sbc-t3530: add support for sbc-t3530
  ARM: dts: sbc-t3517: add support for sbc-t3517
  ARM: OMAP2+: make reset pulse for sbc-t3x usb hubs

 arch/arm/boot/dts/Makefile            |    4 +
 arch/arm/boot/dts/omap3-cm-t3517.dts  |  137 +++++++++++++++++++++++++++++++++
 arch/arm/boot/dts/omap3-cm-t3530.dts  |   13 +++
 arch/arm/boot/dts/omap3-cm-t3730.dts  |   40 ----------
 arch/arm/boot/dts/omap3-cm-t3x.dtsi   |  112 +++++++++++++++++++++++++++
 arch/arm/boot/dts/omap3-cm-t3x30.dtsi |   74 +++++++++++++-----
 arch/arm/boot/dts/omap3-sb-t35.dtsi   |   30 +++++++-
 arch/arm/boot/dts/omap3-sbc-t3517.dts |   44 +++++++++++
 arch/arm/boot/dts/omap3-sbc-t3530.dts |   37 +++++++++
 arch/arm/boot/dts/omap3-sbc-t3730.dts |   24 +++---
 arch/arm/mach-omap2/pdata-quirks.c    |   67 ++++++++++++++++-
 11 files changed, 506 insertions(+), 76 deletions(-)
 create mode 100644 arch/arm/boot/dts/omap3-cm-t3517.dts
 create mode 100644 arch/arm/boot/dts/omap3-cm-t3530.dts
 create mode 100644 arch/arm/boot/dts/omap3-cm-t3x.dtsi
 create mode 100644 arch/arm/boot/dts/omap3-sbc-t3517.dts
 create mode 100644 arch/arm/boot/dts/omap3-sbc-t3530.dts

-- 
1.7.5.4

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [PATCH 01/12] ARM: dts: sbc-t3x: use omap specific pinctrl defines
  2014-01-12 13:22 [PATCH 00/11] ARM: dts: sbc-t3x: add support for more boards Dmitry Lifshitz
@ 2014-01-12 13:22 ` Dmitry Lifshitz
  2014-01-12 13:22 ` [PATCH 02/12] ARM: dts: sbc-t3x: refactor DT support Dmitry Lifshitz
                   ` (12 subsequent siblings)
  13 siblings, 0 replies; 19+ messages in thread
From: Dmitry Lifshitz @ 2014-01-12 13:22 UTC (permalink / raw)
  To: linux-arm-kernel

Use omap specific pinctrl defines (OMAP3_CORE1_IOPAD) to configure
the padconf register offset.

This simplify further support of CompuLab's boards based on omap36xx,
omap34xx and am35x.

Signed-off-by: Dmitry Lifshitz <lifshitz@compulab.co.il>
---
 arch/arm/boot/dts/omap3-cm-t3730.dts  |   36 ++++++++++++++++----------------
 arch/arm/boot/dts/omap3-sbc-t3730.dts |    6 ++--
 2 files changed, 21 insertions(+), 21 deletions(-)

diff --git a/arch/arm/boot/dts/omap3-cm-t3730.dts b/arch/arm/boot/dts/omap3-cm-t3730.dts
index 486f4d6..508cd9b 100644
--- a/arch/arm/boot/dts/omap3-cm-t3730.dts
+++ b/arch/arm/boot/dts/omap3-cm-t3730.dts
@@ -34,44 +34,44 @@
 &omap3_pmx_core {
 	mmc1_pins: pinmux_mmc1_pins {
 		pinctrl-single,pins = <
-			0x114 (PIN_OUTPUT_PULLUP | MUX_MODE0)	/* sdmmc1_clk.sdmmc1_clk */
-			0x116 (PIN_INPUT_PULLUP | MUX_MODE0)	/* sdmmc1_cmd.sdmmc1_cmd */
-			0x118 (PIN_INPUT_PULLUP | MUX_MODE0) 	/* sdmmc1_dat0.sdmmc1_dat0 */
-			0x11a (PIN_INPUT_PULLUP | MUX_MODE0) 	/* sdmmc1_dat1.sdmmc1_dat1 */
-			0x11c (PIN_INPUT_PULLUP | MUX_MODE0) 	/* sdmmc1_dat2.sdmmc1_dat2 */
-			0x11e (PIN_INPUT_PULLUP | MUX_MODE0) 	/* sdmmc1_dat3.sdmmc1_dat3 */
+			OMAP3_CORE1_IOPAD(0x2144, PIN_OUTPUT_PULLUP | MUX_MODE0)/* sdmmc1_clk.sdmmc1_clk */
+			OMAP3_CORE1_IOPAD(0x2146, PIN_INPUT_PULLUP | MUX_MODE0)	/* sdmmc1_cmd.sdmmc1_cmd */
+			OMAP3_CORE1_IOPAD(0x2148, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat0.sdmmc1_dat0 */
+			OMAP3_CORE1_IOPAD(0x214a, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat1.sdmmc1_dat1 */
+			OMAP3_CORE1_IOPAD(0x214c, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat2.sdmmc1_dat2 */
+			OMAP3_CORE1_IOPAD(0x214e, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat3.sdmmc1_dat3 */
 		>;
 	};
 
 	mmc2_pins: pinmux_mmc2_pins {
 		pinctrl-single,pins = <
-			0x128 (PIN_INPUT_PULLUP | MUX_MODE0)	/* sdmmc2_clk.sdmmc2_clk */
-			0x12a (PIN_INPUT_PULLUP | MUX_MODE0)	/* sdmmc2_cmd.sdmmc2_cmd */
-			0x12c (PIN_INPUT_PULLUP | MUX_MODE0)	/* sdmmc2_dat0.sdmmc2_dat0 */
-			0x12e (PIN_INPUT_PULLUP | MUX_MODE0)	/* sdmmc2_dat1.sdmmc2_dat1 */
-			0x130 (PIN_INPUT_PULLUP | MUX_MODE0)	/* sdmmc2_dat2.sdmmc2_dat2 */
-			0x132 (PIN_INPUT_PULLUP | MUX_MODE0)	/* sdmmc2_dat3.sdmmc2_dat3 */
+			OMAP3_CORE1_IOPAD(0x2158, PIN_INPUT_PULLUP | MUX_MODE0)	/* sdmmc2_clk.sdmmc2_clk */
+			OMAP3_CORE1_IOPAD(0x215a, PIN_INPUT_PULLUP | MUX_MODE0)	/* sdmmc2_cmd.sdmmc2_cmd */
+			OMAP3_CORE1_IOPAD(0x215c, PIN_INPUT_PULLUP | MUX_MODE0)	/* sdmmc2_dat0.sdmmc2_dat0 */
+			OMAP3_CORE1_IOPAD(0x215e, PIN_INPUT_PULLUP | MUX_MODE0)	/* sdmmc2_dat1.sdmmc2_dat1 */
+			OMAP3_CORE1_IOPAD(0x2160, PIN_INPUT_PULLUP | MUX_MODE0)	/* sdmmc2_dat2.sdmmc2_dat2 */
+			OMAP3_CORE1_IOPAD(0x2162, PIN_INPUT_PULLUP | MUX_MODE0)	/* sdmmc2_dat3.sdmmc2_dat3 */
 		>;
 	};
 
 	smsc1_pins: pinmux_smsc1_pins {
 		pinctrl-single,pins = <
-			0x88 (PIN_OUTPUT | MUX_MODE0)		/* gpmc_ncs5.gpmc_ncs5 */
-			0x16a (PIN_INPUT_PULLUP | MUX_MODE4)	/* uart3_cts_rctx.gpio_163 */
+			OMAP3_CORE1_IOPAD(0x20b8, PIN_OUTPUT | MUX_MODE0)	/* gpmc_ncs5.gpmc_ncs5 */
+			OMAP3_CORE1_IOPAD(0x219a, PIN_INPUT_PULLUP | MUX_MODE4)	/* uart3_cts_rctx.gpio_163 */
 		>;
 	};
 
 	uart3_pins: pinmux_uart3_pins {
 		pinctrl-single,pins = <
-			0x16e (PIN_INPUT | MUX_MODE0)		/* uart3_rx_irrx.uart3_rx_irrx */
-			0x170 (PIN_OUTPUT | MUX_MODE0)		/* uart3_tx_irtx.uart3_tx_irtx */
+			OMAP3_CORE1_IOPAD(0x219e, PIN_INPUT | MUX_MODE0)	/* uart3_rx_irrx.uart3_rx_irrx */
+			OMAP3_CORE1_IOPAD(0x21a0, PIN_OUTPUT | MUX_MODE0)	/* uart3_tx_irtx.uart3_tx_irtx */
 		>;
 	};
 
 	wl12xx_gpio: pinmux_wl12xx_gpio {
 		pinctrl-single,pins = <
-			0xb2 (PIN_OUTPUT | MUX_MODE4)		/* dss_data3.gpio_73 */
-			0x134 (PIN_INPUT | MUX_MODE4)		/* sdmmc2_dat4.gpio_136 */
+			OMAP3_CORE1_IOPAD(0x20e2, PIN_OUTPUT | MUX_MODE4)	/* dss_data3.gpio_73 */
+			OMAP3_CORE1_IOPAD(0x2164, PIN_INPUT | MUX_MODE4)	/* sdmmc2_dat4.gpio_136 */
 		>;
 	};
 };
diff --git a/arch/arm/boot/dts/omap3-sbc-t3730.dts b/arch/arm/boot/dts/omap3-sbc-t3730.dts
index c119bd5..0a8849f 100644
--- a/arch/arm/boot/dts/omap3-sbc-t3730.dts
+++ b/arch/arm/boot/dts/omap3-sbc-t3730.dts
@@ -23,8 +23,8 @@
 &omap3_pmx_core {
 	smsc2_pins: pinmux_smsc2_pins {
 		pinctrl-single,pins = <
-			0x86 (PIN_OUTPUT | MUX_MODE0)		/* gpmc_ncs4.gpmc_ncs4 */
-			0xa2 (PIN_INPUT_PULLUP | MUX_MODE4)	/* gpmc_wait3.gpio_65 */
+			OMAP3_CORE1_IOPAD(0x20b6, PIN_OUTPUT | MUX_MODE0)	/* gpmc_ncs4.gpmc_ncs4 */
+			OMAP3_CORE1_IOPAD(0x20d2, PIN_INPUT_PULLUP | MUX_MODE4)	/* gpmc_wait3.gpio_65 */
 		>;
 	};
-};
\ No newline at end of file
+};
-- 
1.7.5.4

^ permalink raw reply related	[flat|nested] 19+ messages in thread

* [PATCH 02/12] ARM: dts: sbc-t3x: refactor DT support
  2014-01-12 13:22 [PATCH 00/11] ARM: dts: sbc-t3x: add support for more boards Dmitry Lifshitz
  2014-01-12 13:22 ` [PATCH 01/12] ARM: dts: sbc-t3x: use omap specific pinctrl defines Dmitry Lifshitz
@ 2014-01-12 13:22 ` Dmitry Lifshitz
  2014-01-12 13:22 ` [PATCH 03/12] ARM: dts: sbc-t3x: disable mmc3 Dmitry Lifshitz
                   ` (11 subsequent siblings)
  13 siblings, 0 replies; 19+ messages in thread
From: Dmitry Lifshitz @ 2014-01-12 13:22 UTC (permalink / raw)
  To: linux-arm-kernel

Refactor the sbc-t3x device tree as a preparation for additional
(sbc-t3530, sbc-t3517, etc.) boards support.

No functional changes.

The device tree will have the following structure:

omap3-cm-t3x.dtsi
 |
 |<-- omap3-cm-t3x30.dtsi
 |     |
 |     |
 |     |     -----                  -------          ------------
 |     |    | CoM |                | Board |        | Base board |
 |     |     -----                  -------          ------------
 |     |                                            omap3-sb-t35.dtsi
 |     |                                                  |
 |     |<-- omap3-cm-t3730.dts <-- omap3-sbc-t3730.dts -->|
 |     |                                                  |
 |     |<-- omap3-cm-t3530.dts <-- omap3-sbc-t3530.dts -->|
 |                                                        |
 |<-------- omap3-cm-t3517.dts <-- omap3-sbc-t3517.dts -->|

Signed-off-by: Dmitry Lifshitz <lifshitz@compulab.co.il>
---
 arch/arm/boot/dts/omap3-cm-t3730.dts  |   41 ----------------------
 arch/arm/boot/dts/omap3-cm-t3x.dtsi   |   60 +++++++++++++++++++++++++++++++++
 arch/arm/boot/dts/omap3-cm-t3x30.dtsi |   36 +++++++++----------
 arch/arm/boot/dts/omap3-sb-t35.dtsi   |   11 ++++++
 arch/arm/boot/dts/omap3-sbc-t3730.dts |   14 --------
 arch/arm/mach-omap2/pdata-quirks.c    |    2 +-
 6 files changed, 89 insertions(+), 75 deletions(-)
 create mode 100644 arch/arm/boot/dts/omap3-cm-t3x.dtsi

diff --git a/arch/arm/boot/dts/omap3-cm-t3730.dts b/arch/arm/boot/dts/omap3-cm-t3730.dts
index 508cd9b..b3f9a50 100644
--- a/arch/arm/boot/dts/omap3-cm-t3730.dts
+++ b/arch/arm/boot/dts/omap3-cm-t3730.dts
@@ -32,16 +32,6 @@
 };
 
 &omap3_pmx_core {
-	mmc1_pins: pinmux_mmc1_pins {
-		pinctrl-single,pins = <
-			OMAP3_CORE1_IOPAD(0x2144, PIN_OUTPUT_PULLUP | MUX_MODE0)/* sdmmc1_clk.sdmmc1_clk */
-			OMAP3_CORE1_IOPAD(0x2146, PIN_INPUT_PULLUP | MUX_MODE0)	/* sdmmc1_cmd.sdmmc1_cmd */
-			OMAP3_CORE1_IOPAD(0x2148, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat0.sdmmc1_dat0 */
-			OMAP3_CORE1_IOPAD(0x214a, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat1.sdmmc1_dat1 */
-			OMAP3_CORE1_IOPAD(0x214c, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat2.sdmmc1_dat2 */
-			OMAP3_CORE1_IOPAD(0x214e, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat3.sdmmc1_dat3 */
-		>;
-	};
 
 	mmc2_pins: pinmux_mmc2_pins {
 		pinctrl-single,pins = <
@@ -54,20 +44,6 @@
 		>;
 	};
 
-	smsc1_pins: pinmux_smsc1_pins {
-		pinctrl-single,pins = <
-			OMAP3_CORE1_IOPAD(0x20b8, PIN_OUTPUT | MUX_MODE0)	/* gpmc_ncs5.gpmc_ncs5 */
-			OMAP3_CORE1_IOPAD(0x219a, PIN_INPUT_PULLUP | MUX_MODE4)	/* uart3_cts_rctx.gpio_163 */
-		>;
-	};
-
-	uart3_pins: pinmux_uart3_pins {
-		pinctrl-single,pins = <
-			OMAP3_CORE1_IOPAD(0x219e, PIN_INPUT | MUX_MODE0)	/* uart3_rx_irrx.uart3_rx_irrx */
-			OMAP3_CORE1_IOPAD(0x21a0, PIN_OUTPUT | MUX_MODE0)	/* uart3_tx_irtx.uart3_tx_irtx */
-		>;
-	};
-
 	wl12xx_gpio: pinmux_wl12xx_gpio {
 		pinctrl-single,pins = <
 			OMAP3_CORE1_IOPAD(0x20e2, PIN_OUTPUT | MUX_MODE4)	/* dss_data3.gpio_73 */
@@ -76,13 +52,6 @@
 	};
 };
 
-&mmc1 {
-	vmmc-supply = <&vmmc1>;
-	bus-width = <4>;
-	pinctrl-names = "default";
-	pinctrl-0 = <&mmc1_pins>;
-};
-
 &mmc2 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&mmc2_pins>;
@@ -92,13 +61,3 @@
 	bus-width = <4>;
 	cap-power-off-card;
 };
-
-&smsc1 {
-	pinctrl-names = "default";
-	pinctrl-0 = <&smsc1_pins>;
-};
-
-&uart3 {
-	pinctrl-names = "default";
-	pinctrl-0 = <&uart3_pins>;
-};
diff --git a/arch/arm/boot/dts/omap3-cm-t3x.dtsi b/arch/arm/boot/dts/omap3-cm-t3x.dtsi
new file mode 100644
index 0000000..ca6090d
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-cm-t3x.dtsi
@@ -0,0 +1,60 @@
+/*
+ * Common support for CompuLab CM-T3x CoMs
+ */
+
+/ {
+
+	memory {
+		device_type = "memory";
+		reg = <0x80000000 0x10000000>; /* 256 MB */
+	};
+
+	leds {
+		compatible = "gpio-leds";
+		ledb {
+			label = "cm-t3x:green";
+			gpios = <&gpio6 26 GPIO_ACTIVE_HIGH>;  /* gpio186 */
+			linux,default-trigger = "heartbeat";
+		};
+	};
+};
+
+&omap3_pmx_core {
+
+	uart3_pins: pinmux_uart3_pins {
+		pinctrl-single,pins = <
+			OMAP3_CORE1_IOPAD(0x219e, PIN_INPUT  | MUX_MODE0)	/* uart3_rx_irrx.uart3_rx_irrx */
+			OMAP3_CORE1_IOPAD(0x21a0, PIN_OUTPUT | MUX_MODE0)	/* uart3_tx_irtx.uart3_tx_irtx */
+		>;
+	};
+
+	mmc1_pins: pinmux_mmc1_pins {
+		pinctrl-single,pins = <
+			OMAP3_CORE1_IOPAD(0x2144, PIN_INPUT_PULLUP | MUX_MODE0)	/* sdmmc1_clk.sdmmc1_clk */
+			OMAP3_CORE1_IOPAD(0x2146, PIN_INPUT_PULLUP | MUX_MODE0)	/* sdmmc1_cmd.sdmmc1_cmd */
+			OMAP3_CORE1_IOPAD(0x2148, PIN_INPUT_PULLUP | MUX_MODE0)	/* sdmmc1_dat0.sdmmc1_dat0 */
+			OMAP3_CORE1_IOPAD(0x214a, PIN_INPUT_PULLUP | MUX_MODE0)	/* sdmmc1_dat1.sdmmc1_dat1 */
+			OMAP3_CORE1_IOPAD(0x214c, PIN_INPUT_PULLUP | MUX_MODE0)	/* sdmmc1_dat2.sdmmc1_dat2 */
+			OMAP3_CORE1_IOPAD(0x214e, PIN_INPUT_PULLUP | MUX_MODE0)	/* sdmmc1_dat3.sdmmc1_dat3 */
+		>;
+	};
+};
+
+&uart3 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&uart3_pins>;
+};
+
+&mmc1 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&mmc1_pins>;
+	bus-width = <4>;
+};
+
+&i2c1 {
+	clock-frequency = <400000>;
+};
+
+&i2c3 {
+	clock-frequency = <400000>;
+};
diff --git a/arch/arm/boot/dts/omap3-cm-t3x30.dtsi b/arch/arm/boot/dts/omap3-cm-t3x30.dtsi
index 3a9f004..4bcc639 100644
--- a/arch/arm/boot/dts/omap3-cm-t3x30.dtsi
+++ b/arch/arm/boot/dts/omap3-cm-t3x30.dtsi
@@ -1,28 +1,16 @@
 /*
- * Common support for CompuLab CM-T3530 and  CM-T3730
+ * Common support for CompuLab CM-T3x30 CoMs
  */
 
-/ {
-	memory {
-		device_type = "memory";
-		reg = <0x80000000 0x10000000>; /* 256 MB */
-	};
+#include "omap3-cm-t3x.dtsi"
 
+/ {
 	cpus {
 		cpu at 0 {
 			cpu0-supply = <&vcc>;
 		};
 	};
 
-	leds {
-		compatible = "gpio-leds";
-		ledb {
-			label = "cm-t35:green";
-			gpios = <&gpio6 26 GPIO_ACTIVE_HIGH>;  /* gpio186 */
-			linux,default-trigger = "heartbeat";
-		};
-	};
-
 	vddvario: regulator-vddvario {
 		compatible = "regulator-fixed";
 		regulator-name = "vddvario";
@@ -36,11 +24,23 @@
 	};
 };
 
+&omap3_pmx_core {
+
+	smsc1_pins: pinmux_smsc1_pins {
+		pinctrl-single,pins = <
+			OMAP3_CORE1_IOPAD(0x20b8, PIN_OUTPUT | MUX_MODE0)	/* gpmc_ncs5.gpmc_ncs5 */
+			OMAP3_CORE1_IOPAD(0x219a, PIN_INPUT_PULLUP | MUX_MODE4)	/* uart3_cts_rctx.gpio_163 */
+		>;
+	};
+};
+
 &gpmc {
 	ranges = <5 0 0x2c000000 0x01000000>;
 
 	smsc1: ethernet at 5,0 {
 		compatible = "smsc,lan9221", "smsc,lan9115";
+		pinctrl-names = "default";
+		pinctrl-0 = <&smsc1_pins>;
 		interrupt-parent = <&gpio6>;
 		interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
 		reg = <5 0 0xff>;
@@ -74,8 +74,6 @@
 };
 
 &i2c1 {
-	clock-frequency = <400000>;
-
 	twl: twl at 48 {
 		reg = <0x48>;
 		interrupts = <7>; /* SYS_NIRQ cascaded to intc */
@@ -86,8 +84,8 @@
 #include "twl4030.dtsi"
 #include "twl4030_omap3.dtsi"
 
-&i2c3 {
-	clock-frequency = <400000>;
+&mmc1 {
+	vmmc-supply = <&vmmc1>;
 };
 
 &twl_gpio {
diff --git a/arch/arm/boot/dts/omap3-sb-t35.dtsi b/arch/arm/boot/dts/omap3-sb-t35.dtsi
index b9a2fed..b3b6e43 100644
--- a/arch/arm/boot/dts/omap3-sb-t35.dtsi
+++ b/arch/arm/boot/dts/omap3-sb-t35.dtsi
@@ -2,11 +2,22 @@
  * Common support for CompuLab SB-T35 used on SBC-T3530, SBC-T3517 and SBC-T3730
  */
 
+&omap3_pmx_core {
+	smsc2_pins: pinmux_smsc2_pins {
+		pinctrl-single,pins = <
+			OMAP3_CORE1_IOPAD(0x20b6, PIN_OUTPUT | MUX_MODE0)	/* gpmc_ncs4.gpmc_ncs4 */
+			OMAP3_CORE1_IOPAD(0x20d2, PIN_INPUT_PULLUP | MUX_MODE4)	/* gpmc_wait3.gpio_65 */
+		>;
+	};
+};
+
 &gpmc {
 	ranges = <4 0 0x2d000000 0x01000000>;
 
 	smsc2: ethernet at 4,0 {
 		compatible = "smsc,lan9221", "smsc,lan9115";
+		pinctrl-names = "default";
+		pinctrl-0 = <&smsc2_pins>;
 		interrupt-parent = <&gpio3>;
 		interrupts = <1 IRQ_TYPE_LEVEL_LOW>;
 		reg = <4 0 0xff>;
diff --git a/arch/arm/boot/dts/omap3-sbc-t3730.dts b/arch/arm/boot/dts/omap3-sbc-t3730.dts
index 0a8849f..565099c 100644
--- a/arch/arm/boot/dts/omap3-sbc-t3730.dts
+++ b/arch/arm/boot/dts/omap3-sbc-t3730.dts
@@ -14,17 +14,3 @@
 	ranges = <5 0 0x2c000000 0x01000000>,
 		 <4 0 0x2d000000 0x01000000>;
 };
-
-&smsc2 {
-	pinctrl-names = "default";
-	pinctrl-0 = <&smsc2_pins>;
-};
-
-&omap3_pmx_core {
-	smsc2_pins: pinmux_smsc2_pins {
-		pinctrl-single,pins = <
-			OMAP3_CORE1_IOPAD(0x20b6, PIN_OUTPUT | MUX_MODE0)	/* gpmc_ncs4.gpmc_ncs4 */
-			OMAP3_CORE1_IOPAD(0x20d2, PIN_INPUT_PULLUP | MUX_MODE4)	/* gpmc_wait3.gpio_65 */
-		>;
-	};
-};
diff --git a/arch/arm/mach-omap2/pdata-quirks.c b/arch/arm/mach-omap2/pdata-quirks.c
index 3d5b24d..0748ade 100644
--- a/arch/arm/mach-omap2/pdata-quirks.c
+++ b/arch/arm/mach-omap2/pdata-quirks.c
@@ -99,7 +99,7 @@ static int omap3_sbc_t3730_twl_callback(struct device *dev,
 	int res;
 
 	res = gpio_request_one(gpio + 2, GPIOF_OUT_INIT_HIGH,
-			       "wlan rst");
+			       "wlan pwr");
 	if (res)
 		return res;
 
-- 
1.7.5.4

^ permalink raw reply related	[flat|nested] 19+ messages in thread

* [PATCH 03/12] ARM: dts: sbc-t3x: disable mmc3
  2014-01-12 13:22 [PATCH 00/11] ARM: dts: sbc-t3x: add support for more boards Dmitry Lifshitz
  2014-01-12 13:22 ` [PATCH 01/12] ARM: dts: sbc-t3x: use omap specific pinctrl defines Dmitry Lifshitz
  2014-01-12 13:22 ` [PATCH 02/12] ARM: dts: sbc-t3x: refactor DT support Dmitry Lifshitz
@ 2014-01-12 13:22 ` Dmitry Lifshitz
  2014-01-12 13:22 ` [PATCH 04/12] ARM: dts: sb-t35: fix Ethernet power supply Dmitry Lifshitz
                   ` (10 subsequent siblings)
  13 siblings, 0 replies; 19+ messages in thread
From: Dmitry Lifshitz @ 2014-01-12 13:22 UTC (permalink / raw)
  To: linux-arm-kernel

Disable mmc3 interface, since is not used on sbc-t3x boards.

Signed-off-by: Dmitry Lifshitz <lifshitz@compulab.co.il>
---
 arch/arm/boot/dts/omap3-cm-t3x.dtsi |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/arch/arm/boot/dts/omap3-cm-t3x.dtsi b/arch/arm/boot/dts/omap3-cm-t3x.dtsi
index ca6090d..842201c 100644
--- a/arch/arm/boot/dts/omap3-cm-t3x.dtsi
+++ b/arch/arm/boot/dts/omap3-cm-t3x.dtsi
@@ -51,6 +51,10 @@
 	bus-width = <4>;
 };
 
+&mmc3 {
+	status = "disabled";
+};
+
 &i2c1 {
 	clock-frequency = <400000>;
 };
-- 
1.7.5.4

^ permalink raw reply related	[flat|nested] 19+ messages in thread

* [PATCH 04/12] ARM: dts: sb-t35: fix Ethernet power supply
  2014-01-12 13:22 [PATCH 00/11] ARM: dts: sbc-t3x: add support for more boards Dmitry Lifshitz
                   ` (2 preceding siblings ...)
  2014-01-12 13:22 ` [PATCH 03/12] ARM: dts: sbc-t3x: disable mmc3 Dmitry Lifshitz
@ 2014-01-12 13:22 ` Dmitry Lifshitz
  2014-01-12 13:22 ` [PATCH 05/12] ARM: dts: cm-t3x: add gpio-led pinmux Dmitry Lifshitz
                   ` (9 subsequent siblings)
  13 siblings, 0 replies; 19+ messages in thread
From: Dmitry Lifshitz @ 2014-01-12 13:22 UTC (permalink / raw)
  To: linux-arm-kernel

SB-T35 baseboard features SMSC9220 Ethernet chip which requires
its own power supply regulators.

Add baseboard specific regulators for the SB-T35 Ethernet chip.

Signed-off-by: Dmitry Lifshitz <lifshitz@compulab.co.il>
---
 arch/arm/boot/dts/omap3-sb-t35.dtsi |   18 ++++++++++++++++--
 1 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/omap3-sb-t35.dtsi b/arch/arm/boot/dts/omap3-sb-t35.dtsi
index b3b6e43..7909c51 100644
--- a/arch/arm/boot/dts/omap3-sb-t35.dtsi
+++ b/arch/arm/boot/dts/omap3-sb-t35.dtsi
@@ -2,6 +2,20 @@
  * Common support for CompuLab SB-T35 used on SBC-T3530, SBC-T3517 and SBC-T3730
  */
 
+/ {
+	vddvario_sb_t35: regulator-vddvario-sb-t35 {
+		compatible = "regulator-fixed";
+		regulator-name = "vddvario";
+		regulator-always-on;
+	};
+
+	vdd33a_sb_t35: regulator-vdd33a-sb-t35 {
+		compatible = "regulator-fixed";
+		regulator-name = "vdd33a";
+		regulator-always-on;
+	};
+};
+
 &omap3_pmx_core {
 	smsc2_pins: pinmux_smsc2_pins {
 		pinctrl-single,pins = <
@@ -43,8 +57,8 @@
 		gpmc,wr-access-ns = <186>;
 		gpmc,cycle2cycle-samecsen;
 		gpmc,cycle2cycle-diffcsen;
-		vddvario-supply = <&vddvario>;
-		vdd33a-supply = <&vdd33a>;
+		vddvario-supply = <&vddvario_sb_t35>;
+		vdd33a-supply = <&vdd33a_sb_t35>;
 		reg-io-width = <4>;
 		smsc,save-mac-address;
 	};
-- 
1.7.5.4

^ permalink raw reply related	[flat|nested] 19+ messages in thread

* [PATCH 05/12] ARM: dts: cm-t3x: add gpio-led pinmux
  2014-01-12 13:22 [PATCH 00/11] ARM: dts: sbc-t3x: add support for more boards Dmitry Lifshitz
                   ` (3 preceding siblings ...)
  2014-01-12 13:22 ` [PATCH 04/12] ARM: dts: sb-t35: fix Ethernet power supply Dmitry Lifshitz
@ 2014-01-12 13:22 ` Dmitry Lifshitz
  2014-01-12 13:22 ` [PATCH 06/12] ARM: dts: cm-t3x30: add twl4030 gpio pullups Dmitry Lifshitz
                   ` (8 subsequent siblings)
  13 siblings, 0 replies; 19+ messages in thread
From: Dmitry Lifshitz @ 2014-01-12 13:22 UTC (permalink / raw)
  To: linux-arm-kernel

GPIO186 is used for the heartbeat led.
Setup the pinmux for the GPIO186.

Signed-off-by: Dmitry Lifshitz <lifshitz@compulab.co.il>
---
 arch/arm/boot/dts/omap3-cm-t3x.dtsi |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/arch/arm/boot/dts/omap3-cm-t3x.dtsi b/arch/arm/boot/dts/omap3-cm-t3x.dtsi
index 842201c..abda493 100644
--- a/arch/arm/boot/dts/omap3-cm-t3x.dtsi
+++ b/arch/arm/boot/dts/omap3-cm-t3x.dtsi
@@ -11,6 +11,8 @@
 
 	leds {
 		compatible = "gpio-leds";
+		pinctrl-names = "default";
+		pinctrl-0 = <&green_led_pins>;
 		ledb {
 			label = "cm-t3x:green";
 			gpios = <&gpio6 26 GPIO_ACTIVE_HIGH>;  /* gpio186 */
@@ -38,6 +40,12 @@
 			OMAP3_CORE1_IOPAD(0x214e, PIN_INPUT_PULLUP | MUX_MODE0)	/* sdmmc1_dat3.sdmmc1_dat3 */
 		>;
 	};
+
+	green_led_pins: pinmux_green_led_pins {
+		pinctrl-single,pins = <
+			OMAP3_CORE1_IOPAD(0x21e2, PIN_OUTPUT | MUX_MODE4)	/* sys_clkout2.gpio_186 */
+		>;
+	};
 };
 
 &uart3 {
-- 
1.7.5.4

^ permalink raw reply related	[flat|nested] 19+ messages in thread

* [PATCH 06/12] ARM: dts: cm-t3x30: add twl4030 gpio pullups
  2014-01-12 13:22 [PATCH 00/11] ARM: dts: sbc-t3x: add support for more boards Dmitry Lifshitz
                   ` (4 preceding siblings ...)
  2014-01-12 13:22 ` [PATCH 05/12] ARM: dts: cm-t3x: add gpio-led pinmux Dmitry Lifshitz
@ 2014-01-12 13:22 ` Dmitry Lifshitz
  2014-01-12 13:22 ` [PATCH 07/12] ARM: dts: cm-t3x30: add HS USB Host support Dmitry Lifshitz
                   ` (7 subsequent siblings)
  13 siblings, 0 replies; 19+ messages in thread
From: Dmitry Lifshitz @ 2014-01-12 13:22 UTC (permalink / raw)
  To: linux-arm-kernel

Add pullup for twl4030 GPIO_0 used as MMC1 card detect signal.

Signed-off-by: Dmitry Lifshitz <lifshitz@compulab.co.il>
---
 arch/arm/boot/dts/omap3-cm-t3x30.dtsi |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/arm/boot/dts/omap3-cm-t3x30.dtsi b/arch/arm/boot/dts/omap3-cm-t3x30.dtsi
index 4bcc639..a56d082 100644
--- a/arch/arm/boot/dts/omap3-cm-t3x30.dtsi
+++ b/arch/arm/boot/dts/omap3-cm-t3x30.dtsi
@@ -90,4 +90,6 @@
 
 &twl_gpio {
 	ti,use-leds;
+	/* pullups: BIT(0) */
+	ti,pullups = <0x000001>;
 };
-- 
1.7.5.4

^ permalink raw reply related	[flat|nested] 19+ messages in thread

* [PATCH 07/12] ARM: dts: cm-t3x30: add HS USB Host support
  2014-01-12 13:22 [PATCH 00/11] ARM: dts: sbc-t3x: add support for more boards Dmitry Lifshitz
                   ` (5 preceding siblings ...)
  2014-01-12 13:22 ` [PATCH 06/12] ARM: dts: cm-t3x30: add twl4030 gpio pullups Dmitry Lifshitz
@ 2014-01-12 13:22 ` Dmitry Lifshitz
  2014-01-12 13:22 ` [PATCH 08/12] ARM: dts: sbc-t3730: add pinmux for usb hub reset Dmitry Lifshitz
                   ` (6 subsequent siblings)
  13 siblings, 0 replies; 19+ messages in thread
From: Dmitry Lifshitz @ 2014-01-12 13:22 UTC (permalink / raw)
  To: linux-arm-kernel

Add HS USB Host support along with USB PHYs and power supply regulators

Signed-off-by: Dmitry Lifshitz <lifshitz@compulab.co.il>
---
 arch/arm/boot/dts/omap3-cm-t3x.dtsi   |   38 +++++++++++++++++++++++++++++++++
 arch/arm/boot/dts/omap3-cm-t3x30.dtsi |    8 +++++++
 2 files changed, 46 insertions(+), 0 deletions(-)

diff --git a/arch/arm/boot/dts/omap3-cm-t3x.dtsi b/arch/arm/boot/dts/omap3-cm-t3x.dtsi
index abda493..c671a22 100644
--- a/arch/arm/boot/dts/omap3-cm-t3x.dtsi
+++ b/arch/arm/boot/dts/omap3-cm-t3x.dtsi
@@ -19,6 +19,36 @@
 			linux,default-trigger = "heartbeat";
 		};
 	};
+
+	/* HS USB Port 1 Power */
+	hsusb1_power: hsusb1_power_reg {
+		compatible = "regulator-fixed";
+		regulator-name = "hsusb1_vbus";
+		regulator-min-microvolt = <3300000>;
+		regulator-max-microvolt = <3300000>;
+		startup-delay-us = <70000>;
+	};
+
+	/* HS USB Port 2 Power */
+	hsusb2_power: hsusb2_power_reg {
+		compatible = "regulator-fixed";
+		regulator-name = "hsusb2_vbus";
+		regulator-min-microvolt = <3300000>;
+		regulator-max-microvolt = <3300000>;
+		startup-delay-us = <70000>;
+	};
+
+	/* HS USB Host PHY on PORT 1 */
+	hsusb1_phy: hsusb1_phy {
+		compatible = "usb-nop-xceiv";
+		vcc-supply = <&hsusb1_power>;
+	};
+
+	/* HS USB Host PHY on PORT 2 */
+	hsusb2_phy: hsusb2_phy {
+		compatible = "usb-nop-xceiv";
+		vcc-supply = <&hsusb2_power>;
+	};
 };
 
 &omap3_pmx_core {
@@ -70,3 +100,11 @@
 &i2c3 {
 	clock-frequency = <400000>;
 };
+&usbhshost {
+	port1-mode = "ehci-phy";
+	port2-mode = "ehci-phy";
+};
+
+&usbhsehci {
+	phys = <&hsusb1_phy &hsusb2_phy>;
+};
diff --git a/arch/arm/boot/dts/omap3-cm-t3x30.dtsi b/arch/arm/boot/dts/omap3-cm-t3x30.dtsi
index a56d082..cb43929 100644
--- a/arch/arm/boot/dts/omap3-cm-t3x30.dtsi
+++ b/arch/arm/boot/dts/omap3-cm-t3x30.dtsi
@@ -93,3 +93,11 @@
 	/* pullups: BIT(0) */
 	ti,pullups = <0x000001>;
 };
+
+&hsusb1_phy {
+	reset-gpios = <&twl_gpio 6 GPIO_ACTIVE_LOW>;
+};
+
+&hsusb2_phy {
+	reset-gpios = <&twl_gpio 7 GPIO_ACTIVE_LOW>;
+};
-- 
1.7.5.4

^ permalink raw reply related	[flat|nested] 19+ messages in thread

* [PATCH 08/12] ARM: dts: sbc-t3730: add pinmux for usb hub reset
  2014-01-12 13:22 [PATCH 00/11] ARM: dts: sbc-t3x: add support for more boards Dmitry Lifshitz
                   ` (6 preceding siblings ...)
  2014-01-12 13:22 ` [PATCH 07/12] ARM: dts: cm-t3x30: add HS USB Host support Dmitry Lifshitz
@ 2014-01-12 13:22 ` Dmitry Lifshitz
  2014-01-12 13:22 ` [PATCH 09/12] ARM: dts: cm-t3x30: add USB OTG support Dmitry Lifshitz
                   ` (5 subsequent siblings)
  13 siblings, 0 replies; 19+ messages in thread
From: Dmitry Lifshitz @ 2014-01-12 13:22 UTC (permalink / raw)
  To: linux-arm-kernel

GPIO167 is used as SB-T35 baseboard USB Hub reset.
Add GPIO167 pinmux.

Signed-off-by: Dmitry Lifshitz <lifshitz@compulab.co.il>
---
 arch/arm/boot/dts/omap3-sbc-t3730.dts |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/arch/arm/boot/dts/omap3-sbc-t3730.dts b/arch/arm/boot/dts/omap3-sbc-t3730.dts
index 565099c..08e4a70 100644
--- a/arch/arm/boot/dts/omap3-sbc-t3730.dts
+++ b/arch/arm/boot/dts/omap3-sbc-t3730.dts
@@ -10,6 +10,17 @@
 	compatible = "compulab,omap3-sbc-t3730", "compulab,omap3-cm-t3730", "ti,omap36xx", "ti,omap3";
 };
 
+&omap3_pmx_core {
+	pinctrl-names = "default";
+	pinctrl-0 = <&sb_t35_usb_hub_pins>;
+
+	sb_t35_usb_hub_pins: pinmux_sb_t35_usb_hub_pins {
+		pinctrl-single,pins = <
+			OMAP3_CORE1_IOPAD(0x2130, PIN_OUTPUT | MUX_MODE4) /* ccdc_wen.gpio_167 - SB-T35 USB HUB RST */
+		>;
+	};
+};
+
 &gpmc {
 	ranges = <5 0 0x2c000000 0x01000000>,
 		 <4 0 0x2d000000 0x01000000>;
-- 
1.7.5.4

^ permalink raw reply related	[flat|nested] 19+ messages in thread

* [PATCH 09/12] ARM: dts: cm-t3x30: add USB OTG support
  2014-01-12 13:22 [PATCH 00/11] ARM: dts: sbc-t3x: add support for more boards Dmitry Lifshitz
                   ` (7 preceding siblings ...)
  2014-01-12 13:22 ` [PATCH 08/12] ARM: dts: sbc-t3730: add pinmux for usb hub reset Dmitry Lifshitz
@ 2014-01-12 13:22 ` Dmitry Lifshitz
  2014-01-12 13:22 ` [PATCH 10/12] ARM: dts: sbc-t3530: add support for sbc-t3530 Dmitry Lifshitz
                   ` (4 subsequent siblings)
  13 siblings, 0 replies; 19+ messages in thread
From: Dmitry Lifshitz @ 2014-01-12 13:22 UTC (permalink / raw)
  To: linux-arm-kernel

Add USB OTG support for cm-t3x30 CoMs.

Signed-off-by: Dmitry Lifshitz <lifshitz@compulab.co.il>
---
 arch/arm/boot/dts/omap3-cm-t3x30.dtsi |   28 ++++++++++++++++++++++++++++
 1 files changed, 28 insertions(+), 0 deletions(-)

diff --git a/arch/arm/boot/dts/omap3-cm-t3x30.dtsi b/arch/arm/boot/dts/omap3-cm-t3x30.dtsi
index cb43929..d000558 100644
--- a/arch/arm/boot/dts/omap3-cm-t3x30.dtsi
+++ b/arch/arm/boot/dts/omap3-cm-t3x30.dtsi
@@ -32,6 +32,23 @@
 			OMAP3_CORE1_IOPAD(0x219a, PIN_INPUT_PULLUP | MUX_MODE4)	/* uart3_cts_rctx.gpio_163 */
 		>;
 	};
+
+ 	hsusb0_pins: pinmux_hsusb0_pins {
+		pinctrl-single,pins = <
+			OMAP3_CORE1_IOPAD(0x21a0, PIN_OUTPUT | MUX_MODE0)		/* hsusb0_clk.hsusb0_clk */
+			OMAP3_CORE1_IOPAD(0x21a2, PIN_OUTPUT | MUX_MODE0)		/* hsusb0_stp.hsusb0_stp */
+			OMAP3_CORE1_IOPAD(0x21a4, PIN_INPUT_PULLDOWN | MUX_MODE0)	/* hsusb0_dir.hsusb0_dir */
+			OMAP3_CORE1_IOPAD(0x21a6, PIN_INPUT_PULLDOWN | MUX_MODE0)	/* hsusb0_nxt.hsusb0_nxt */
+			OMAP3_CORE1_IOPAD(0x21a8, PIN_INPUT_PULLDOWN | MUX_MODE0)	/* hsusb0_data0.hsusb2_data0 */
+			OMAP3_CORE1_IOPAD(0x21aa, PIN_INPUT_PULLDOWN | MUX_MODE0)	/* hsusb0_data1.hsusb0_data1 */
+			OMAP3_CORE1_IOPAD(0x21ac, PIN_INPUT_PULLDOWN | MUX_MODE0)	/* hsusb0_data2.hsusb0_data2 */
+			OMAP3_CORE1_IOPAD(0x21ae, PIN_INPUT_PULLDOWN | MUX_MODE0)	/* hsusb0_data7.hsusb0_data3 */
+			OMAP3_CORE1_IOPAD(0x21b0, PIN_INPUT_PULLDOWN | MUX_MODE0)	/* hsusb0_data7.hsusb0_data4 */
+			OMAP3_CORE1_IOPAD(0x21b2, PIN_INPUT_PULLDOWN | MUX_MODE0)	/* hsusb0_data7.hsusb0_data5 */
+			OMAP3_CORE1_IOPAD(0x21b4, PIN_INPUT_PULLDOWN | MUX_MODE0)	/* hsusb0_data7.hsusb0_data6 */
+			OMAP3_CORE1_IOPAD(0x21b6, PIN_INPUT_PULLDOWN | MUX_MODE0)	/* hsusb0_data7.hsusb0_data7 */
+		>;
+	};
 };
 
 &gpmc {
@@ -101,3 +118,14 @@
 &hsusb2_phy {
 	reset-gpios = <&twl_gpio 7 GPIO_ACTIVE_LOW>;
 };
+
+&usb_otg_hs {
+	pinctrl-names = "default";
+	pinctrl-0 = <&hsusb0_pins>;
+	interface-type = <0>;
+	usb-phy = <&usb2_phy>;
+	phys = <&usb2_phy>;
+	phy-names = "usb2-phy";
+	mode = <3>;
+	power = <50>;
+};
-- 
1.7.5.4

^ permalink raw reply related	[flat|nested] 19+ messages in thread

* [PATCH 10/12] ARM: dts: sbc-t3530: add support for sbc-t3530
  2014-01-12 13:22 [PATCH 00/11] ARM: dts: sbc-t3x: add support for more boards Dmitry Lifshitz
                   ` (8 preceding siblings ...)
  2014-01-12 13:22 ` [PATCH 09/12] ARM: dts: cm-t3x30: add USB OTG support Dmitry Lifshitz
@ 2014-01-12 13:22 ` Dmitry Lifshitz
  2014-01-12 13:22 ` [PATCH 11/12] ARM: dts: sbc-t3517: add support for sbc-t3517 Dmitry Lifshitz
                   ` (3 subsequent siblings)
  13 siblings, 0 replies; 19+ messages in thread
From: Dmitry Lifshitz @ 2014-01-12 13:22 UTC (permalink / raw)
  To: linux-arm-kernel

Add support for CM-T3530 CoM and SBC-T3530 board.

Signed-off-by: Dmitry Lifshitz <lifshitz@compulab.co.il>
---
 arch/arm/boot/dts/Makefile            |    2 +
 arch/arm/boot/dts/omap3-cm-t3530.dts  |   12 +++++++++++
 arch/arm/boot/dts/omap3-sbc-t3530.dts |   36 +++++++++++++++++++++++++++++++++
 arch/arm/mach-omap2/pdata-quirks.c    |    6 +++++
 4 files changed, 56 insertions(+), 0 deletions(-)
 create mode 100644 arch/arm/boot/dts/omap3-cm-t3530.dts
 create mode 100644 arch/arm/boot/dts/omap3-sbc-t3530.dts

diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index b7af502..fb8c397 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -179,6 +179,8 @@ dtb-$(CONFIG_ARCH_OMAP2PLUS) += omap2420-h4.dtb \
 	omap2420-n810-wimax.dtb \
 	omap3430-sdp.dtb \
 	omap3-beagle.dtb \
+	omap3-cm-t3530.dtb \
+	omap3-sbc-t3530.dtb \
 	omap3-cm-t3730.dtb \
 	omap3-sbc-t3730.dtb \
 	omap3-devkit8000.dtb \
diff --git a/arch/arm/boot/dts/omap3-cm-t3530.dts b/arch/arm/boot/dts/omap3-cm-t3530.dts
new file mode 100644
index 0000000..9faf1cd
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-cm-t3530.dts
@@ -0,0 +1,12 @@
+/*
+ * Support for CompuLab CM-T3530
+ */
+/dts-v1/;
+
+#include "omap34xx.dtsi"
+#include "omap3-cm-t3x30.dtsi"
+
+/ {
+	model = "CompuLab CM-T3530";
+	compatible = "compulab,omap3-cm-t3530", "ti,omap34xx", "ti,omap3";
+};
diff --git a/arch/arm/boot/dts/omap3-sbc-t3530.dts b/arch/arm/boot/dts/omap3-sbc-t3530.dts
new file mode 100644
index 0000000..bbbeea6
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-sbc-t3530.dts
@@ -0,0 +1,36 @@
+/*
+ * Suppport for CompuLab SBC-T3530 with CM-T3530
+ */
+
+#include "omap3-cm-t3530.dts"
+#include "omap3-sb-t35.dtsi"
+
+/ {
+	model = "CompuLab SBC-T3530 with CM-T3530";
+	compatible = "compulab,omap3-sbc-t3530", "compulab,omap3-cm-t3530", "ti,omap34xx", "ti,omap3";
+};
+
+&omap3_pmx_core {
+	pinctrl-names = "default";
+	pinctrl-0 = <&sb_t35_usb_hub_pins>;
+
+	sb_t35_usb_hub_pins: pinmux_sb_t35_usb_hub_pins {
+		pinctrl-single,pins = <
+			OMAP3_CORE1_IOPAD(0x2130, PIN_OUTPUT | MUX_MODE4) /* ccdc_wen.gpio_167 - SB-T35 USB HUB RST */
+		>;
+	};
+};
+
+/*
+ * The following ranges correspond to SMSC9x eth chips on CM-T3530 CoM and
+ * SB-T35 baseboard respectively.
+ * This setting includes both chips in SBC-T3530 board device tree.
+ */
+&gpmc {
+	ranges = <5 0 0x2c000000 0x01000000>,
+		 <4 0 0x2d000000 0x01000000>;
+};
+
+&mmc1 {
+	cd-gpios =  <&twl_gpio 0 GPIO_ACTIVE_HIGH>;
+};
diff --git a/arch/arm/mach-omap2/pdata-quirks.c b/arch/arm/mach-omap2/pdata-quirks.c
index 0748ade..4f2591e 100644
--- a/arch/arm/mach-omap2/pdata-quirks.c
+++ b/arch/arm/mach-omap2/pdata-quirks.c
@@ -119,6 +119,11 @@ static void __init omap3_sbc_t3730_legacy_init(void)
 	omap_ads7846_init(1, 57, 0, NULL);
 }
 
+static void __init omap3_sbc_t3530_legacy_init(void)
+{
+	omap_ads7846_init(1, 57, 0, NULL);
+}
+
 static void __init omap3_igep0020_legacy_init(void)
 {
 	omap3_igep2_display_init_of();
@@ -258,6 +263,7 @@ struct of_dev_auxdata omap_auxdata_lookup[] __initdata = {
  */
 static struct pdata_init pdata_quirks[] __initdata = {
 #ifdef CONFIG_ARCH_OMAP3
+	{ "compulab,omap3-sbc-t3530", omap3_sbc_t3530_legacy_init, },
 	{ "compulab,omap3-sbc-t3730", omap3_sbc_t3730_legacy_init, },
 	{ "nokia,omap3-n900", hsmmc2_internal_input_clk, },
 	{ "nokia,omap3-n9", hsmmc2_internal_input_clk, },
-- 
1.7.5.4

^ permalink raw reply related	[flat|nested] 19+ messages in thread

* [PATCH 11/12] ARM: dts: sbc-t3517: add support for sbc-t3517
  2014-01-12 13:22 [PATCH 00/11] ARM: dts: sbc-t3x: add support for more boards Dmitry Lifshitz
                   ` (9 preceding siblings ...)
  2014-01-12 13:22 ` [PATCH 10/12] ARM: dts: sbc-t3530: add support for sbc-t3530 Dmitry Lifshitz
@ 2014-01-12 13:22 ` Dmitry Lifshitz
  2014-01-12 13:22 ` [PATCH 12/12] ARM: OMAP2+: make reset pulse for sbc-t3x usb hubs Dmitry Lifshitz
                   ` (2 subsequent siblings)
  13 siblings, 0 replies; 19+ messages in thread
From: Dmitry Lifshitz @ 2014-01-12 13:22 UTC (permalink / raw)
  To: linux-arm-kernel

Add support for CM-T3517 CoM and SBC-T3517 board.

reused common support for sbc-t3x boards
(omap3-cm-t3x.dtsi, omap3-sb-t35.dtsi):

* SB-T35 baseboard eth
* MMC1, UART3
* HS USB Port 1/2
* I2C1/3
* Heartbit led

Added basic support for:

* MMC1 wp/cd signals
* CM-T3517 Usb Hub
* WL12xx WiFi chip
* Davinci EMAC
* AM35X OTG

Signed-off-by: Dmitry Lifshitz <lifshitz@compulab.co.il>
---
 arch/arm/boot/dts/Makefile            |    2 +
 arch/arm/boot/dts/omap3-cm-t3517.dts  |  136 +++++++++++++++++++++++++++++++++
 arch/arm/boot/dts/omap3-sbc-t3517.dts |   43 ++++++++++
 arch/arm/mach-omap2/pdata-quirks.c    |   38 +++++++++-
 4 files changed, 218 insertions(+), 1 deletions(-)
 create mode 100644 arch/arm/boot/dts/omap3-cm-t3517.dts
 create mode 100644 arch/arm/boot/dts/omap3-sbc-t3517.dts

diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index fb8c397..afa9698 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -179,6 +179,8 @@ dtb-$(CONFIG_ARCH_OMAP2PLUS) += omap2420-h4.dtb \
 	omap2420-n810-wimax.dtb \
 	omap3430-sdp.dtb \
 	omap3-beagle.dtb \
+	omap3-cm-t3517.dtb \
+	omap3-sbc-t3517.dtb \
 	omap3-cm-t3530.dtb \
 	omap3-sbc-t3530.dtb \
 	omap3-cm-t3730.dtb \
diff --git a/arch/arm/boot/dts/omap3-cm-t3517.dts b/arch/arm/boot/dts/omap3-cm-t3517.dts
new file mode 100644
index 0000000..d00502f
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-cm-t3517.dts
@@ -0,0 +1,136 @@
+/*
+ * Support for CompuLab CM-T3517
+ */
+/dts-v1/;
+
+#include "am3517.dtsi"
+#include "omap3-cm-t3x.dtsi"
+
+/ {
+	model = "CompuLab CM-T3517";
+	compatible = "compulab,omap3-cm-t3517", "ti,am3517", "ti,omap3";
+
+	vmmc:  regulator-vmmc {
+                compatible = "regulator-fixed";
+                regulator-name = "vmmc";
+                regulator-min-microvolt = <3300000>;
+                regulator-max-microvolt = <3300000>;
+        };
+
+	wl12xx_vmmc2: wl12xx_vmmc2 {
+		compatible = "regulator-fixed";
+		regulator-name = "vw1271";
+		pinctrl-names = "default";
+		pinctrl-0 = <
+				&wl12xx_wkup_pins
+				&wl12xx_core_pins
+			    >;
+		regulator-min-microvolt = <1800000>;
+		regulator-max-microvolt = <1800000>;
+		gpio = <&gpio1 6 GPIO_ACTIVE_HIGH >; /* gpio6 */
+		startup-delay-us = <20000>;
+		enable-active-high;
+	};
+
+	wl12xx_vaux2: wl12xx_vaux2 {
+		compatible = "regulator-fixed";
+		regulator-name = "vwl1271_vaux2";
+		regulator-min-microvolt = <1800000>;
+		regulator-max-microvolt = <1800000>;
+	};
+};
+
+&omap3_pmx_wkup {
+
+	wl12xx_wkup_pins: pinmux_wl12xx_wkup_pins {
+		pinctrl-single,pins = <
+			OMAP3_WKUP_IOPAD(0x2a0e, PIN_OUTPUT | MUX_MODE4)	/* sys_boot2.gpio_4 */
+			OMAP3_WKUP_IOPAD(0x2a12, PIN_OUTPUT | MUX_MODE4)	/* sys_boot4.gpio_6 */
+		>;
+	};
+};
+
+&omap3_pmx_core {
+
+	phy1_reset_pins: pinmux_hsusb1_phy_reset_pins {
+		pinctrl-single,pins = <
+			OMAP3_CORE1_IOPAD(0x2178, PIN_OUTPUT | MUX_MODE4)	/* uart2_tx.gpio_146 */
+		>;
+	};
+
+	phy2_reset_pins: pinmux_hsusb2_phy_reset_pins {
+		pinctrl-single,pins = <
+			OMAP3_CORE1_IOPAD(0x217a, PIN_OUTPUT | MUX_MODE4)	/* uart2_rx.gpio_147 */
+		>;
+	};
+
+	otg_drv_vbus: pinmux_otg_drv_vbus {
+		pinctrl-single,pins = <
+			OMAP3_CORE1_IOPAD(0x2210, PIN_INPUT_PULLDOWN | MUX_MODE0) /* rmii_50Mhz_clk.usb0_drvvbus */
+		>;
+	};
+
+	mmc2_pins: pinmux_mmc2_pins {
+		pinctrl-single,pins = <
+			OMAP3_CORE1_IOPAD(0x2158, PIN_INPUT_PULLUP | MUX_MODE0)	/* sdmmc2_clk.sdmmc2_clk */
+			OMAP3_CORE1_IOPAD(0x215a, PIN_INPUT_PULLUP | MUX_MODE0)	/* sdmmc2_cmd.sdmmc2_cmd */
+			OMAP3_CORE1_IOPAD(0x215c, PIN_INPUT_PULLUP | MUX_MODE0)	/* sdmmc2_dat0.sdmmc2_dat0 */
+			OMAP3_CORE1_IOPAD(0x215e, PIN_INPUT_PULLUP | MUX_MODE0)	/* sdmmc2_dat1.sdmmc2_dat1 */
+			OMAP3_CORE1_IOPAD(0x2160, PIN_INPUT_PULLUP | MUX_MODE0)	/* sdmmc2_dat2.sdmmc2_dat2 */
+			OMAP3_CORE1_IOPAD(0x2162, PIN_INPUT_PULLUP | MUX_MODE0)	/* sdmmc2_dat3.sdmmc2_dat3 */
+		>;
+	};
+
+	wl12xx_core_pins: pinmux_wl12xx_core_pins {
+		pinctrl-single,pins = <
+			OMAP3_CORE1_IOPAD(0x20b8, PIN_OUTPUT | MUX_MODE4)	/* gpmc_ncs5.gpio_56 */
+			OMAP3_CORE1_IOPAD(0x2176, PIN_INPUT_PULLUP | MUX_MODE4)	/* uart2_rts.gpio_145 */
+		>;
+	};
+
+	usb_hub_pins: pinmux_usb_hub_pins {
+		pinctrl-single,pins = <
+			OMAP3_CORE1_IOPAD(0x2184, PIN_OUTPUT | MUX_MODE4)	/* mcbsp4_clkx.gpio_152 - USB HUB RST */
+		>;
+	};
+};
+
+&hsusb1_phy {
+	pinctrl-names = "default";
+	pinctrl-0 = <&phy1_reset_pins>;
+	reset-gpios = <&gpio5 18 GPIO_ACTIVE_LOW>;
+};
+
+&hsusb2_phy {
+	pinctrl-names = "default";
+	pinctrl-0 = <&phy2_reset_pins>;
+	reset-gpios = <&gpio5 19 GPIO_ACTIVE_LOW>;
+};
+
+&davinci_emac {
+	status = "okay";
+};
+
+&davinci_mdio {
+	status = "okay";
+};
+
+&am35x_otg_hs {
+	status = "okay";
+	pinctrl-names = "default";
+	pinctrl-0 = <&otg_drv_vbus>;
+};
+
+&mmc1 {
+	vmmc-supply = <&vmmc>;
+};
+
+&mmc2 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&mmc2_pins>;
+	vmmc-supply = <&wl12xx_vmmc2>;
+	vmmc_aux-supply = <&wl12xx_vaux2>;
+	non-removable;
+	bus-width = <4>;
+	cap-power-off-card;
+};
diff --git a/arch/arm/boot/dts/omap3-sbc-t3517.dts b/arch/arm/boot/dts/omap3-sbc-t3517.dts
new file mode 100644
index 0000000..024c9c6
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-sbc-t3517.dts
@@ -0,0 +1,43 @@
+/*
+ * Suppport for CompuLab SBC-T3517 with CM-T3517
+ */
+
+#include "omap3-cm-t3517.dts"
+#include "omap3-sb-t35.dtsi"
+
+/ {
+	model = "CompuLab SBC-T3517 with CM-T3517";
+	compatible = "compulab,omap3-sbc-t3517", "compulab,omap3-cm-t3517", "ti,am3517", "ti,omap3";
+};
+
+&omap3_pmx_core {
+	pinctrl-names = "default";
+	pinctrl-0 = <
+			&sb_t35_usb_hub_pins
+			&usb_hub_pins
+		    >;
+
+	mmc1_aux_pins: pinmux_mmc1_aux_pins {
+		pinctrl-single,pins = <
+			OMAP3_CORE1_IOPAD(0x20c0, PIN_INPUT_PULLUP | MUX_MODE4) /* gpmc_clk.gpio_59   */
+			OMAP3_CORE1_IOPAD(0x2174, PIN_INPUT_PULLUP | MUX_MODE4) /* uart2_cts.gpio_144 */
+		>;
+	};
+
+	sb_t35_usb_hub_pins: pinmux_sb_t35_usb_hub_pins {
+		pinctrl-single,pins = <
+			OMAP3_CORE1_IOPAD(0x21ec, PIN_OUTPUT | MUX_MODE4) /* ccdc_wen.gpio_98 - SB-T35 USB HUB RST */
+		>;
+	};
+};
+
+&mmc1 {
+	pinctrl-names = "default";
+	pinctrl-0 = <
+		&mmc1_pins
+		&mmc1_aux_pins
+	>;
+
+	wp-gpios =  <&gpio2 27 GPIO_ACTIVE_HIGH>; /* gpio_59  */
+	cd-gpios =  <&gpio5 16 GPIO_ACTIVE_HIGH>; /* gpio_144 */
+};
diff --git a/arch/arm/mach-omap2/pdata-quirks.c b/arch/arm/mach-omap2/pdata-quirks.c
index 4f2591e..1ee831f 100644
--- a/arch/arm/mach-omap2/pdata-quirks.c
+++ b/arch/arm/mach-omap2/pdata-quirks.c
@@ -165,7 +165,7 @@ static struct emac_platform_data am35xx_emac_pdata = {
 	.interrupt_disable	= am35xx_disable_emac_int,
 };
 
-static void __init am3517_evm_legacy_init(void)
+static void __init am35xx_emac_reset(void)
 {
 	u32 v;
 
@@ -174,6 +174,41 @@ static void __init am3517_evm_legacy_init(void)
 	omap_ctrl_writel(v, AM35XX_CONTROL_IP_SW_RESET);
 	omap_ctrl_readl(AM35XX_CONTROL_IP_SW_RESET); /* OCP barrier */
 }
+
+static struct gpio cm_t3517_wlan_gpios[] __initdata = {
+	{ 56,	GPIOF_OUT_INIT_HIGH,	"wlan pwr" },
+	{ 4,	GPIOF_OUT_INIT_HIGH,	"xcvr noe" },
+};
+
+static void __init omap3_sbc_t3517_wifi_init(void)
+{
+	int err = gpio_request_array(cm_t3517_wlan_gpios,
+				ARRAY_SIZE(cm_t3517_wlan_gpios));
+	if (err) {
+		pr_err("SBC-T3517: wl12xx gpios request failed: %d\n", err);
+		return;
+	}
+
+	gpio_export(cm_t3517_wlan_gpios[0].gpio, 0);
+	gpio_export(cm_t3517_wlan_gpios[1].gpio, 0);
+
+	msleep(100);
+	gpio_set_value(cm_t3517_wlan_gpios[1].gpio, 0);
+}
+
+static void __init omap3_sbc_t3517_legacy_init(void)
+{
+	am35xx_emac_reset();
+	hsmmc2_internal_input_clk();
+	omap3_sbc_t3517_wifi_init();
+	legacy_init_wl12xx(WL12XX_REFCLOCK_38, 0, 145);
+	omap_ads7846_init(1, 57, 0, NULL);
+}
+
+static void __init am3517_evm_legacy_init(void)
+{
+	am35xx_emac_reset();
+}
 #endif /* CONFIG_ARCH_OMAP3 */
 
 #ifdef CONFIG_ARCH_OMAP4
@@ -263,6 +298,7 @@ struct of_dev_auxdata omap_auxdata_lookup[] __initdata = {
  */
 static struct pdata_init pdata_quirks[] __initdata = {
 #ifdef CONFIG_ARCH_OMAP3
+	{ "compulab,omap3-sbc-t3517", omap3_sbc_t3517_legacy_init, },
 	{ "compulab,omap3-sbc-t3530", omap3_sbc_t3530_legacy_init, },
 	{ "compulab,omap3-sbc-t3730", omap3_sbc_t3730_legacy_init, },
 	{ "nokia,omap3-n900", hsmmc2_internal_input_clk, },
-- 
1.7.5.4

^ permalink raw reply related	[flat|nested] 19+ messages in thread

* [PATCH 12/12] ARM: OMAP2+: make reset pulse for sbc-t3x usb hubs
  2014-01-12 13:22 [PATCH 00/11] ARM: dts: sbc-t3x: add support for more boards Dmitry Lifshitz
                   ` (10 preceding siblings ...)
  2014-01-12 13:22 ` [PATCH 11/12] ARM: dts: sbc-t3517: add support for sbc-t3517 Dmitry Lifshitz
@ 2014-01-12 13:22 ` Dmitry Lifshitz
  2014-01-19  8:48 ` [PATCH 00/12] ARM: dts: sbc-t3x: add support for more boards Dmitry Lifshitz
  2014-02-12 12:38 ` [PATCH 00/11] " Igor Grinberg
  13 siblings, 0 replies; 19+ messages in thread
From: Dmitry Lifshitz @ 2014-01-12 13:22 UTC (permalink / raw)
  To: linux-arm-kernel

sbc-t3x boards features two external USB ports on SB-T35 baseboard.
The baseboardi USB hub reset signal should be de-asserted to make
those ports functional.

sbc-t3517 features additional (assembled on CoM) USB hub which also
requires reset signal handling.

Add quirks code to handle proper reset pulse signal.

Signed-off-by: Dmitry Lifshitz <lifshitz@compulab.co.il>
---
 arch/arm/mach-omap2/pdata-quirks.c |   21 +++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-omap2/pdata-quirks.c b/arch/arm/mach-omap2/pdata-quirks.c
index 1ee831f..3e1407c 100644
--- a/arch/arm/mach-omap2/pdata-quirks.c
+++ b/arch/arm/mach-omap2/pdata-quirks.c
@@ -108,6 +108,23 @@ static int omap3_sbc_t3730_twl_callback(struct device *dev,
 	return 0;
 }
 
+static void __init omap3_sbc_t3x_usb_hub_init(int gpio, char *hub_name)
+{
+	int err = gpio_request_one(gpio, GPIOF_OUT_INIT_LOW, hub_name);
+
+	if (err) {
+		pr_err("SBC-T3x: %s reset gpio request failed: %d\n",
+			hub_name, err);
+		return;
+	}
+
+	gpio_export(gpio, 0);
+
+	udelay(10);
+	gpio_set_value(gpio, 1);
+	msleep(1);
+}
+
 static void __init omap3_sbc_t3730_twl_init(void)
 {
 	twl_gpio_auxdata.setup = omap3_sbc_t3730_twl_callback;
@@ -115,12 +132,14 @@ static void __init omap3_sbc_t3730_twl_init(void)
 
 static void __init omap3_sbc_t3730_legacy_init(void)
 {
+	omap3_sbc_t3x_usb_hub_init(167, "sb-t35 usb hub");
 	legacy_init_wl12xx(WL12XX_REFCLOCK_38, 0, 136);
 	omap_ads7846_init(1, 57, 0, NULL);
 }
 
 static void __init omap3_sbc_t3530_legacy_init(void)
 {
+	omap3_sbc_t3x_usb_hub_init(167, "sb-t35 usb hub");
 	omap_ads7846_init(1, 57, 0, NULL);
 }
 
@@ -198,6 +217,8 @@ static void __init omap3_sbc_t3517_wifi_init(void)
 
 static void __init omap3_sbc_t3517_legacy_init(void)
 {
+	omap3_sbc_t3x_usb_hub_init(152, "cm-t3517 usb hub");
+	omap3_sbc_t3x_usb_hub_init(98, "sb-t35 usb hub");
 	am35xx_emac_reset();
 	hsmmc2_internal_input_clk();
 	omap3_sbc_t3517_wifi_init();
-- 
1.7.5.4

^ permalink raw reply related	[flat|nested] 19+ messages in thread

* [PATCH 00/12] ARM: dts: sbc-t3x: add support for more boards
  2014-01-12 13:22 [PATCH 00/11] ARM: dts: sbc-t3x: add support for more boards Dmitry Lifshitz
                   ` (11 preceding siblings ...)
  2014-01-12 13:22 ` [PATCH 12/12] ARM: OMAP2+: make reset pulse for sbc-t3x usb hubs Dmitry Lifshitz
@ 2014-01-19  8:48 ` Dmitry Lifshitz
  2014-02-12 12:38 ` [PATCH 00/11] " Igor Grinberg
  13 siblings, 0 replies; 19+ messages in thread
From: Dmitry Lifshitz @ 2014-01-19  8:48 UTC (permalink / raw)
  To: linux-arm-kernel

This is the fixed cover letter.
The previous one was not consistent with respect to the actual path set.

Add support for CompuLab SBC-T3530 and SBC-T3517 boards:

https://compulab.co.il/products/sbcs/sbc-t3530/
https://compulab.co.il/products/sbcs/sbc-t3517/

along with respective CoMs - CM-T3530 and CM-T3517:

https://compulab.co.il/products/computer-on-modules/cm-t3530/
https://compulab.co.il/products/computer-on-modules/cm-t3517/

The device tree files have the following structure:

omap3-cm-t3x.dtsi
 |
 |<-- omap3-cm-t3x30.dtsi
 |     |
 |     |
 |     |     -----                  -------          ------------
 |     |    | CoM |                | Board |        | Base board |
 |     |     -----                  -------          ------------
 |     |                                            omap3-sb-t35.dtsi
 |     |                                                  |
 |     |<-- omap3-cm-t3730.dts <-- omap3-sbc-t3730.dts -->|
 |     |                                                  |
 |     |<-- omap3-cm-t3530.dts <-- omap3-sbc-t3530.dts -->|
 |                                                        |
 |<-------- omap3-cm-t3517.dts <-- omap3-sbc-t3517.dts -->|


where omap3-cm-t3730.dts, omap3-cm-t3530.dts, omap3-cm-t3517.dts
contain CoMs specific data, while omap3-sbc-t3730.dts, omap3-sbc-t3530.dts,
omap3-sbc-t3517.dts represent eval boards with respective core modules.

This series is based on Tony's omap-for-v3.14/dt branch

Dmitry Lifshitz (12):
  ARM: dts: sbc-t3x: use omap specific pinctrl defines
  ARM: dts: sbc-t3x: refactor DT support
  ARM: dts: sbc-t3x: disable mmc3
  ARM: dts: sb-t35: fix Ethernet power supply
  ARM: dts: cm-t3x: add gpio-led pinmux
  ARM: dts: cm-t3x30: add twl4030 gpio pullups
  ARM: dts: cm-t3x30: add HS USB Host support
  ARM: dts: sbc-t3730: add pinmux for usb hub reset
  ARM: dts: cm-t3x30: add USB OTG support
  ARM: dts: sbc-t3530: add support for sbc-t3530
  ARM: dts: sbc-t3517: add support for sbc-t3517
  ARM: OMAP2+: make reset pulse for sbc-t3x usb hubs

 arch/arm/boot/dts/Makefile            |    4 +
 arch/arm/boot/dts/omap3-cm-t3517.dts  |  136 +++++++++++++++++++++++++++++++++
 arch/arm/boot/dts/omap3-cm-t3530.dts  |   12 +++
 arch/arm/boot/dts/omap3-cm-t3730.dts  |   57 ++------------
 arch/arm/boot/dts/omap3-cm-t3x.dtsi   |  110 ++++++++++++++++++++++++++
 arch/arm/boot/dts/omap3-cm-t3x30.dtsi |   74 +++++++++++++-----
 arch/arm/boot/dts/omap3-sb-t35.dtsi   |   29 +++++++-
 arch/arm/boot/dts/omap3-sbc-t3517.dts |   43 ++++++++++
 arch/arm/boot/dts/omap3-sbc-t3530.dts |   36 +++++++++
 arch/arm/boot/dts/omap3-sbc-t3730.dts |   23 +++---
 arch/arm/mach-omap2/pdata-quirks.c    |   67 ++++++++++++++++-
 11 files changed, 506 insertions(+), 85 deletions(-)
 create mode 100644 arch/arm/boot/dts/omap3-cm-t3517.dts
 create mode 100644 arch/arm/boot/dts/omap3-cm-t3530.dts
 create mode 100644 arch/arm/boot/dts/omap3-cm-t3x.dtsi
 create mode 100644 arch/arm/boot/dts/omap3-sbc-t3517.dts
 create mode 100644 arch/arm/boot/dts/omap3-sbc-t3530.dts

-- 
1.7.5.4

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [PATCH 00/11] ARM: dts: sbc-t3x: add support for more boards
  2014-01-12 13:22 [PATCH 00/11] ARM: dts: sbc-t3x: add support for more boards Dmitry Lifshitz
                   ` (12 preceding siblings ...)
  2014-01-19  8:48 ` [PATCH 00/12] ARM: dts: sbc-t3x: add support for more boards Dmitry Lifshitz
@ 2014-02-12 12:38 ` Igor Grinberg
  2014-02-23 12:30   ` Igor Grinberg
  13 siblings, 1 reply; 19+ messages in thread
From: Igor Grinberg @ 2014-02-12 12:38 UTC (permalink / raw)
  To: linux-arm-kernel

ping!

On 01/12/14 15:22, Dmitry Lifshitz wrote:
> Add support for CompuLab SBC-T3530 and SBC-T3517 boards:
> 
> https://compulab.co.il/products/sbcs/sbc-t3530/
> https://compulab.co.il/products/sbcs/sbc-t3517/
> 
> along with respective CoMs - CM-T3530 and CM-T3517:
> 
> https://compulab.co.il/products/computer-on-modules/cm-t3530/
> https://compulab.co.il/products/computer-on-modules/cm-t3517/
> 
> The device tree files have the following structure:
> 
> omap3-cm-t3x.dtsi
>  |
>  |<-- omap3-cm-t3x30.dtsi
>  |     |
>  |     |
>  |     |     -----                  -------          ------------
>  |     |    | CoM |                | Board |        | Base board |
>  |     |     -----                  -------          ------------
>  |     |                                            omap3-sb-t35.dtsi
>  |     |                                                  |
>  |     |<-- omap3-cm-t3730.dts <-- omap3-sbc-t3730.dts -->|
>  |     |                                                  |
>  |     |<-- omap3-cm-t3530.dts <-- omap3-sbc-t3530.dts -->|
>  |                                                        |
>  |<-------- omap3-cm-t3517.dts <-- omap3-sbc-t3517.dts -->|
> 
> 
> where omap3-cm-t3730.dts, omap3-cm-t3530.dts, omap3-cm-t3517.dts
> contain CoMs specific data, while omap3-sbc-t3730.dts, omap3-sbc-t3530.dts,
> omap3-sbc-t3517.dts represent eval boards with respective core modules.
> 
> This series is based on Tony's omap-for-v3.14/dt branch
> 
> Dmitry Lifshitz (11):
>   ARM: dts: sbc-t3x: refactor DT support
>   ARM: dts: sbc-t3x: disable mmc3
>   ARM: dts: sb-t35: fix Ethernet power supply
>   ARM: dts: cm-t3x: add gpio-led pinmux
>   ARM: dts: cm-t3x30: add twl4030 gpio pullups
>   ARM: dts: cm-t3x30: add HS USB Host support
>   ARM: dts: sbc-t3730: add pinmux for usb hub reset
>   ARM: dts: cm-t3x30: add USB OTG support
>   ARM: dts: sbc-t3530: add support for sbc-t3530
>   ARM: dts: sbc-t3517: add support for sbc-t3517
>   ARM: OMAP2+: make reset pulse for sbc-t3x usb hubs
> 
>  arch/arm/boot/dts/Makefile            |    4 +
>  arch/arm/boot/dts/omap3-cm-t3517.dts  |  137 +++++++++++++++++++++++++++++++++
>  arch/arm/boot/dts/omap3-cm-t3530.dts  |   13 +++
>  arch/arm/boot/dts/omap3-cm-t3730.dts  |   40 ----------
>  arch/arm/boot/dts/omap3-cm-t3x.dtsi   |  112 +++++++++++++++++++++++++++
>  arch/arm/boot/dts/omap3-cm-t3x30.dtsi |   74 +++++++++++++-----
>  arch/arm/boot/dts/omap3-sb-t35.dtsi   |   30 +++++++-
>  arch/arm/boot/dts/omap3-sbc-t3517.dts |   44 +++++++++++
>  arch/arm/boot/dts/omap3-sbc-t3530.dts |   37 +++++++++
>  arch/arm/boot/dts/omap3-sbc-t3730.dts |   24 +++---
>  arch/arm/mach-omap2/pdata-quirks.c    |   67 ++++++++++++++++-
>  11 files changed, 506 insertions(+), 76 deletions(-)
>  create mode 100644 arch/arm/boot/dts/omap3-cm-t3517.dts
>  create mode 100644 arch/arm/boot/dts/omap3-cm-t3530.dts
>  create mode 100644 arch/arm/boot/dts/omap3-cm-t3x.dtsi
>  create mode 100644 arch/arm/boot/dts/omap3-sbc-t3517.dts
>  create mode 100644 arch/arm/boot/dts/omap3-sbc-t3530.dts
> 

-- 
Regards,
Igor.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [PATCH 00/11] ARM: dts: sbc-t3x: add support for more boards
  2014-02-12 12:38 ` [PATCH 00/11] " Igor Grinberg
@ 2014-02-23 12:30   ` Igor Grinberg
  2014-02-28 22:12     ` Tony Lindgren
  0 siblings, 1 reply; 19+ messages in thread
From: Igor Grinberg @ 2014-02-23 12:30 UTC (permalink / raw)
  To: linux-arm-kernel

ping x2!

On 02/12/14 14:38, Igor Grinberg wrote:
> ping!
> 
> On 01/12/14 15:22, Dmitry Lifshitz wrote:
>> Add support for CompuLab SBC-T3530 and SBC-T3517 boards:
>>
>> https://compulab.co.il/products/sbcs/sbc-t3530/
>> https://compulab.co.il/products/sbcs/sbc-t3517/
>>
>> along with respective CoMs - CM-T3530 and CM-T3517:
>>
>> https://compulab.co.il/products/computer-on-modules/cm-t3530/
>> https://compulab.co.il/products/computer-on-modules/cm-t3517/
>>
>> The device tree files have the following structure:
>>
>> omap3-cm-t3x.dtsi
>>  |
>>  |<-- omap3-cm-t3x30.dtsi
>>  |     |
>>  |     |
>>  |     |     -----                  -------          ------------
>>  |     |    | CoM |                | Board |        | Base board |
>>  |     |     -----                  -------          ------------
>>  |     |                                            omap3-sb-t35.dtsi
>>  |     |                                                  |
>>  |     |<-- omap3-cm-t3730.dts <-- omap3-sbc-t3730.dts -->|
>>  |     |                                                  |
>>  |     |<-- omap3-cm-t3530.dts <-- omap3-sbc-t3530.dts -->|
>>  |                                                        |
>>  |<-------- omap3-cm-t3517.dts <-- omap3-sbc-t3517.dts -->|
>>
>>
>> where omap3-cm-t3730.dts, omap3-cm-t3530.dts, omap3-cm-t3517.dts
>> contain CoMs specific data, while omap3-sbc-t3730.dts, omap3-sbc-t3530.dts,
>> omap3-sbc-t3517.dts represent eval boards with respective core modules.
>>
>> This series is based on Tony's omap-for-v3.14/dt branch
>>
>> Dmitry Lifshitz (11):
>>   ARM: dts: sbc-t3x: refactor DT support
>>   ARM: dts: sbc-t3x: disable mmc3
>>   ARM: dts: sb-t35: fix Ethernet power supply
>>   ARM: dts: cm-t3x: add gpio-led pinmux
>>   ARM: dts: cm-t3x30: add twl4030 gpio pullups
>>   ARM: dts: cm-t3x30: add HS USB Host support
>>   ARM: dts: sbc-t3730: add pinmux for usb hub reset
>>   ARM: dts: cm-t3x30: add USB OTG support
>>   ARM: dts: sbc-t3530: add support for sbc-t3530
>>   ARM: dts: sbc-t3517: add support for sbc-t3517
>>   ARM: OMAP2+: make reset pulse for sbc-t3x usb hubs
>>
>>  arch/arm/boot/dts/Makefile            |    4 +
>>  arch/arm/boot/dts/omap3-cm-t3517.dts  |  137 +++++++++++++++++++++++++++++++++
>>  arch/arm/boot/dts/omap3-cm-t3530.dts  |   13 +++
>>  arch/arm/boot/dts/omap3-cm-t3730.dts  |   40 ----------
>>  arch/arm/boot/dts/omap3-cm-t3x.dtsi   |  112 +++++++++++++++++++++++++++
>>  arch/arm/boot/dts/omap3-cm-t3x30.dtsi |   74 +++++++++++++-----
>>  arch/arm/boot/dts/omap3-sb-t35.dtsi   |   30 +++++++-
>>  arch/arm/boot/dts/omap3-sbc-t3517.dts |   44 +++++++++++
>>  arch/arm/boot/dts/omap3-sbc-t3530.dts |   37 +++++++++
>>  arch/arm/boot/dts/omap3-sbc-t3730.dts |   24 +++---
>>  arch/arm/mach-omap2/pdata-quirks.c    |   67 ++++++++++++++++-
>>  11 files changed, 506 insertions(+), 76 deletions(-)
>>  create mode 100644 arch/arm/boot/dts/omap3-cm-t3517.dts
>>  create mode 100644 arch/arm/boot/dts/omap3-cm-t3530.dts
>>  create mode 100644 arch/arm/boot/dts/omap3-cm-t3x.dtsi
>>  create mode 100644 arch/arm/boot/dts/omap3-sbc-t3517.dts
>>  create mode 100644 arch/arm/boot/dts/omap3-sbc-t3530.dts
>>
> 

-- 
Regards,
Igor.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [PATCH 00/11] ARM: dts: sbc-t3x: add support for more boards
  2014-02-23 12:30   ` Igor Grinberg
@ 2014-02-28 22:12     ` Tony Lindgren
  2014-03-02 14:15       ` Igor Grinberg
  0 siblings, 1 reply; 19+ messages in thread
From: Tony Lindgren @ 2014-02-28 22:12 UTC (permalink / raw)
  To: linux-arm-kernel

* Igor Grinberg <grinberg@compulab.co.il> [140223 04:33]:
> ping x2!

Thanks applying into omap-for-v3.15/dt finally.

Is it OK to remove the board-cm-*.c files for v3.15?

Regards,

Tony
 
> On 02/12/14 14:38, Igor Grinberg wrote:
> > ping!
> > 
> > On 01/12/14 15:22, Dmitry Lifshitz wrote:
> >> Add support for CompuLab SBC-T3530 and SBC-T3517 boards:
> >>
> >> https://compulab.co.il/products/sbcs/sbc-t3530/
> >> https://compulab.co.il/products/sbcs/sbc-t3517/
> >>
> >> along with respective CoMs - CM-T3530 and CM-T3517:
> >>
> >> https://compulab.co.il/products/computer-on-modules/cm-t3530/
> >> https://compulab.co.il/products/computer-on-modules/cm-t3517/
> >>
> >> The device tree files have the following structure:
> >>
> >> omap3-cm-t3x.dtsi
> >>  |
> >>  |<-- omap3-cm-t3x30.dtsi
> >>  |     |
> >>  |     |
> >>  |     |     -----                  -------          ------------
> >>  |     |    | CoM |                | Board |        | Base board |
> >>  |     |     -----                  -------          ------------
> >>  |     |                                            omap3-sb-t35.dtsi
> >>  |     |                                                  |
> >>  |     |<-- omap3-cm-t3730.dts <-- omap3-sbc-t3730.dts -->|
> >>  |     |                                                  |
> >>  |     |<-- omap3-cm-t3530.dts <-- omap3-sbc-t3530.dts -->|
> >>  |                                                        |
> >>  |<-------- omap3-cm-t3517.dts <-- omap3-sbc-t3517.dts -->|
> >>
> >>
> >> where omap3-cm-t3730.dts, omap3-cm-t3530.dts, omap3-cm-t3517.dts
> >> contain CoMs specific data, while omap3-sbc-t3730.dts, omap3-sbc-t3530.dts,
> >> omap3-sbc-t3517.dts represent eval boards with respective core modules.
> >>
> >> This series is based on Tony's omap-for-v3.14/dt branch
> >>
> >> Dmitry Lifshitz (11):
> >>   ARM: dts: sbc-t3x: refactor DT support
> >>   ARM: dts: sbc-t3x: disable mmc3
> >>   ARM: dts: sb-t35: fix Ethernet power supply
> >>   ARM: dts: cm-t3x: add gpio-led pinmux
> >>   ARM: dts: cm-t3x30: add twl4030 gpio pullups
> >>   ARM: dts: cm-t3x30: add HS USB Host support
> >>   ARM: dts: sbc-t3730: add pinmux for usb hub reset
> >>   ARM: dts: cm-t3x30: add USB OTG support
> >>   ARM: dts: sbc-t3530: add support for sbc-t3530
> >>   ARM: dts: sbc-t3517: add support for sbc-t3517
> >>   ARM: OMAP2+: make reset pulse for sbc-t3x usb hubs
> >>
> >>  arch/arm/boot/dts/Makefile            |    4 +
> >>  arch/arm/boot/dts/omap3-cm-t3517.dts  |  137 +++++++++++++++++++++++++++++++++
> >>  arch/arm/boot/dts/omap3-cm-t3530.dts  |   13 +++
> >>  arch/arm/boot/dts/omap3-cm-t3730.dts  |   40 ----------
> >>  arch/arm/boot/dts/omap3-cm-t3x.dtsi   |  112 +++++++++++++++++++++++++++
> >>  arch/arm/boot/dts/omap3-cm-t3x30.dtsi |   74 +++++++++++++-----
> >>  arch/arm/boot/dts/omap3-sb-t35.dtsi   |   30 +++++++-
> >>  arch/arm/boot/dts/omap3-sbc-t3517.dts |   44 +++++++++++
> >>  arch/arm/boot/dts/omap3-sbc-t3530.dts |   37 +++++++++
> >>  arch/arm/boot/dts/omap3-sbc-t3730.dts |   24 +++---
> >>  arch/arm/mach-omap2/pdata-quirks.c    |   67 ++++++++++++++++-
> >>  11 files changed, 506 insertions(+), 76 deletions(-)
> >>  create mode 100644 arch/arm/boot/dts/omap3-cm-t3517.dts
> >>  create mode 100644 arch/arm/boot/dts/omap3-cm-t3530.dts
> >>  create mode 100644 arch/arm/boot/dts/omap3-cm-t3x.dtsi
> >>  create mode 100644 arch/arm/boot/dts/omap3-sbc-t3517.dts
> >>  create mode 100644 arch/arm/boot/dts/omap3-sbc-t3530.dts
> >>
> > 
> 
> -- 
> Regards,
> Igor.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [PATCH 00/11] ARM: dts: sbc-t3x: add support for more boards
  2014-02-28 22:12     ` Tony Lindgren
@ 2014-03-02 14:15       ` Igor Grinberg
  2014-03-02 17:07         ` Tony Lindgren
  0 siblings, 1 reply; 19+ messages in thread
From: Igor Grinberg @ 2014-03-02 14:15 UTC (permalink / raw)
  To: linux-arm-kernel

On 03/01/14 00:12, Tony Lindgren wrote:
> * Igor Grinberg <grinberg@compulab.co.il> [140223 04:33]:
>> ping x2!
> 
> Thanks applying into omap-for-v3.15/dt finally.

Thanks!

> 
> Is it OK to remove the board-cm-*.c files for v3.15?

Hmmm....
I thought we will have a transition release with both ways and
similar functionality available...
For this to happen, we need to extend the DT support to the stuff
board-cm-t*.c files cover before removing them...
We should be able to send additional patches in 3-5 weeks.
Since rc4 is out a week ago, and rc5 is coming, we won't be able
to prepare the extension in time for 3.15...
So, can we postpone the board-cm-t*.c files removal to 3.16?
Or does it make too much trouble for you?

-- 
Regards,
Igor.

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [PATCH 00/11] ARM: dts: sbc-t3x: add support for more boards
  2014-03-02 14:15       ` Igor Grinberg
@ 2014-03-02 17:07         ` Tony Lindgren
  0 siblings, 0 replies; 19+ messages in thread
From: Tony Lindgren @ 2014-03-02 17:07 UTC (permalink / raw)
  To: linux-arm-kernel

* Igor Grinberg <grinberg@compulab.co.il> [140302 06:19]:
> On 03/01/14 00:12, Tony Lindgren wrote:
> > * Igor Grinberg <grinberg@compulab.co.il> [140223 04:33]:
> >> ping x2!
> > 
> > Thanks applying into omap-for-v3.15/dt finally.
> 
> Thanks!
> 
> > 
> > Is it OK to remove the board-cm-*.c files for v3.15?
> 
> Hmmm....
> I thought we will have a transition release with both ways and
> similar functionality available...
> For this to happen, we need to extend the DT support to the stuff
> board-cm-t*.c files cover before removing them...
> We should be able to send additional patches in 3-5 weeks.
> Since rc4 is out a week ago, and rc5 is coming, we won't be able
> to prepare the extension in time for 3.15...
> So, can we postpone the board-cm-t*.c files removal to 3.16?
> Or does it make too much trouble for you?

OK that sounds good to me thanks!

Tony

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2014-03-02 17:07 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-12 13:22 [PATCH 00/11] ARM: dts: sbc-t3x: add support for more boards Dmitry Lifshitz
2014-01-12 13:22 ` [PATCH 01/12] ARM: dts: sbc-t3x: use omap specific pinctrl defines Dmitry Lifshitz
2014-01-12 13:22 ` [PATCH 02/12] ARM: dts: sbc-t3x: refactor DT support Dmitry Lifshitz
2014-01-12 13:22 ` [PATCH 03/12] ARM: dts: sbc-t3x: disable mmc3 Dmitry Lifshitz
2014-01-12 13:22 ` [PATCH 04/12] ARM: dts: sb-t35: fix Ethernet power supply Dmitry Lifshitz
2014-01-12 13:22 ` [PATCH 05/12] ARM: dts: cm-t3x: add gpio-led pinmux Dmitry Lifshitz
2014-01-12 13:22 ` [PATCH 06/12] ARM: dts: cm-t3x30: add twl4030 gpio pullups Dmitry Lifshitz
2014-01-12 13:22 ` [PATCH 07/12] ARM: dts: cm-t3x30: add HS USB Host support Dmitry Lifshitz
2014-01-12 13:22 ` [PATCH 08/12] ARM: dts: sbc-t3730: add pinmux for usb hub reset Dmitry Lifshitz
2014-01-12 13:22 ` [PATCH 09/12] ARM: dts: cm-t3x30: add USB OTG support Dmitry Lifshitz
2014-01-12 13:22 ` [PATCH 10/12] ARM: dts: sbc-t3530: add support for sbc-t3530 Dmitry Lifshitz
2014-01-12 13:22 ` [PATCH 11/12] ARM: dts: sbc-t3517: add support for sbc-t3517 Dmitry Lifshitz
2014-01-12 13:22 ` [PATCH 12/12] ARM: OMAP2+: make reset pulse for sbc-t3x usb hubs Dmitry Lifshitz
2014-01-19  8:48 ` [PATCH 00/12] ARM: dts: sbc-t3x: add support for more boards Dmitry Lifshitz
2014-02-12 12:38 ` [PATCH 00/11] " Igor Grinberg
2014-02-23 12:30   ` Igor Grinberg
2014-02-28 22:12     ` Tony Lindgren
2014-03-02 14:15       ` Igor Grinberg
2014-03-02 17:07         ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).