All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/18] ARM: dts: Better support for Gumstix Overo
@ 2014-01-09 16:47 ` Florian Vaussard
  0 siblings, 0 replies; 54+ messages in thread
From: Florian Vaussard @ 2014-01-09 16:47 UTC (permalink / raw)
  To: Tony Lindgren, Benoit Cousson
  Cc: linux-omap, linux-arm-kernel, florian.vaussard

Hello,

This series adds a number of improvements to Gumstix Overo.

Patch 1+2: fix an issue with the vendor prefix (reported long ago by Javier Martinez Canillas)
Patch 3+4: add some missing pinctrl entries
Patch 5: completely turn off the PMIC on power off
Patch 6: enable the on-board Wifi
Patch 7: add the high-speed USB PHY
Patch 8: add specific timings for LAN9221 into a generic file
-> This might interest other people using the same chip, result in doubled bandwith

Patch 9: simplify omap3-tobi by using patch 8
Patch 10: add support for AT24C01 EEPROM used on expansion boards
Patch 11: factorize parts common to all expansion boards
Patch 12: rename omap3-tobi to omap3-overo-tobi
-> I do not know to which extent this might qualify as an API breakage,
   but the new name is far better IMHO

Patch 13 to 17: add new extension boards (Palo43, Gallop43, Alto35, Chestnut43, Summit)
Patch 18: add the HDMI output
-> this patch depends on Tomi Valkeinen's DT binding for OMAPDSS, which is
   not yet merged, so this patch will have to wait


The patches 13 to 17 are based on the hardware schematics and compile-tested, as I
do not have the necessary hardware (anyone willing to send me some boards ? :-)
We are mainly missing the support for the various LCDs, the accelerometer + probably
other small things.

This series is based on Tony's omap-for-v3.14/dt branch + work from Tomi [1] for the patch 18.

Benoit: I guess that I am too late for the 3.14... ?

Regards,

Florian


Florian Vaussard (18):
  of: add vendor prefix for Gumstix
  ARM: dts: omap3-tobi: Use the correct vendor prefix
  ARM: dts: omap3-tobi: Add missing pinctrl
  ARM: dts: omap3-overo: Add missing pinctrl
  ARM: dts: omap3-overo: Use complete poweroff
  ARM: dts: omap3-overo: Enable MMC2
  ARM: dts: omap3-overo: Add HSUSB PHY
  ARM: dts: omap: Add common file for SMSC9221
  ARM: dts: omap3-tobi: Use include file omap-gpmc-smsc9221
  ARM: dts: omap3-tobi: Add AT24C01 EEPROM
  ARM: dts: omap3-tobi: Create a file for common Gumstix peripherals
  ARM: dts: omap3-tobi: Rename to omap3-overo-tobi
  ARM: dts: Add support for the Overo Palo43
  ARM: dts: Add support for the Overo Gallop43
  ARM: dts: Add support for the Overo Alto35
  ARM: dts: Add support for the Overo Chestnut43
  ARM: dts: Add support for the Overo Summit
  ARM: dts: overo: Add support for DVI output

 .../devicetree/bindings/vendor-prefixes.txt        |   1 +
 arch/arm/boot/dts/Makefile                         |   7 +-
 arch/arm/boot/dts/omap-gpmc-smsc9221.dtsi          |  58 ++++++++++
 arch/arm/boot/dts/omap3-overo-alto35.dts           |  52 +++++++++
 arch/arm/boot/dts/omap3-overo-chestnut43.dts       |  76 +++++++++++++
 arch/arm/boot/dts/omap3-overo-common-dvi.dtsi      | 108 ++++++++++++++++++
 arch/arm/boot/dts/omap3-overo-common.dtsi          |  39 +++++++
 arch/arm/boot/dts/omap3-overo-gallop43.dts         |  51 +++++++++
 arch/arm/boot/dts/omap3-overo-palo43.dts           |  52 +++++++++
 arch/arm/boot/dts/omap3-overo-summit.dts           |  30 +++++
 .../dts/{omap3-tobi.dts => omap3-overo-tobi.dts}   |  41 +------
 arch/arm/boot/dts/omap3-overo.dtsi                 | 122 +++++++++++++++++++--
 12 files changed, 594 insertions(+), 43 deletions(-)
 create mode 100644 arch/arm/boot/dts/omap-gpmc-smsc9221.dtsi
 create mode 100644 arch/arm/boot/dts/omap3-overo-alto35.dts
 create mode 100644 arch/arm/boot/dts/omap3-overo-chestnut43.dts
 create mode 100644 arch/arm/boot/dts/omap3-overo-common-dvi.dtsi
 create mode 100644 arch/arm/boot/dts/omap3-overo-common.dtsi
 create mode 100644 arch/arm/boot/dts/omap3-overo-gallop43.dts
 create mode 100644 arch/arm/boot/dts/omap3-overo-palo43.dts
 create mode 100644 arch/arm/boot/dts/omap3-overo-summit.dts
 rename arch/arm/boot/dts/{omap3-tobi.dts => omap3-overo-tobi.dts} (54%)

-- 
1.8.1.2


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

* [PATCH 00/18] ARM: dts: Better support for Gumstix Overo
@ 2014-01-09 16:47 ` Florian Vaussard
  0 siblings, 0 replies; 54+ messages in thread
From: Florian Vaussard @ 2014-01-09 16:47 UTC (permalink / raw)
  To: linux-arm-kernel

Hello,

This series adds a number of improvements to Gumstix Overo.

Patch 1+2: fix an issue with the vendor prefix (reported long ago by Javier Martinez Canillas)
Patch 3+4: add some missing pinctrl entries
Patch 5: completely turn off the PMIC on power off
Patch 6: enable the on-board Wifi
Patch 7: add the high-speed USB PHY
Patch 8: add specific timings for LAN9221 into a generic file
-> This might interest other people using the same chip, result in doubled bandwith

Patch 9: simplify omap3-tobi by using patch 8
Patch 10: add support for AT24C01 EEPROM used on expansion boards
Patch 11: factorize parts common to all expansion boards
Patch 12: rename omap3-tobi to omap3-overo-tobi
-> I do not know to which extent this might qualify as an API breakage,
   but the new name is far better IMHO

Patch 13 to 17: add new extension boards (Palo43, Gallop43, Alto35, Chestnut43, Summit)
Patch 18: add the HDMI output
-> this patch depends on Tomi Valkeinen's DT binding for OMAPDSS, which is
   not yet merged, so this patch will have to wait


The patches 13 to 17 are based on the hardware schematics and compile-tested, as I
do not have the necessary hardware (anyone willing to send me some boards ? :-)
We are mainly missing the support for the various LCDs, the accelerometer + probably
other small things.

This series is based on Tony's omap-for-v3.14/dt branch + work from Tomi [1] for the patch 18.

Benoit: I guess that I am too late for the 3.14... ?

Regards,

Florian


Florian Vaussard (18):
  of: add vendor prefix for Gumstix
  ARM: dts: omap3-tobi: Use the correct vendor prefix
  ARM: dts: omap3-tobi: Add missing pinctrl
  ARM: dts: omap3-overo: Add missing pinctrl
  ARM: dts: omap3-overo: Use complete poweroff
  ARM: dts: omap3-overo: Enable MMC2
  ARM: dts: omap3-overo: Add HSUSB PHY
  ARM: dts: omap: Add common file for SMSC9221
  ARM: dts: omap3-tobi: Use include file omap-gpmc-smsc9221
  ARM: dts: omap3-tobi: Add AT24C01 EEPROM
  ARM: dts: omap3-tobi: Create a file for common Gumstix peripherals
  ARM: dts: omap3-tobi: Rename to omap3-overo-tobi
  ARM: dts: Add support for the Overo Palo43
  ARM: dts: Add support for the Overo Gallop43
  ARM: dts: Add support for the Overo Alto35
  ARM: dts: Add support for the Overo Chestnut43
  ARM: dts: Add support for the Overo Summit
  ARM: dts: overo: Add support for DVI output

 .../devicetree/bindings/vendor-prefixes.txt        |   1 +
 arch/arm/boot/dts/Makefile                         |   7 +-
 arch/arm/boot/dts/omap-gpmc-smsc9221.dtsi          |  58 ++++++++++
 arch/arm/boot/dts/omap3-overo-alto35.dts           |  52 +++++++++
 arch/arm/boot/dts/omap3-overo-chestnut43.dts       |  76 +++++++++++++
 arch/arm/boot/dts/omap3-overo-common-dvi.dtsi      | 108 ++++++++++++++++++
 arch/arm/boot/dts/omap3-overo-common.dtsi          |  39 +++++++
 arch/arm/boot/dts/omap3-overo-gallop43.dts         |  51 +++++++++
 arch/arm/boot/dts/omap3-overo-palo43.dts           |  52 +++++++++
 arch/arm/boot/dts/omap3-overo-summit.dts           |  30 +++++
 .../dts/{omap3-tobi.dts => omap3-overo-tobi.dts}   |  41 +------
 arch/arm/boot/dts/omap3-overo.dtsi                 | 122 +++++++++++++++++++--
 12 files changed, 594 insertions(+), 43 deletions(-)
 create mode 100644 arch/arm/boot/dts/omap-gpmc-smsc9221.dtsi
 create mode 100644 arch/arm/boot/dts/omap3-overo-alto35.dts
 create mode 100644 arch/arm/boot/dts/omap3-overo-chestnut43.dts
 create mode 100644 arch/arm/boot/dts/omap3-overo-common-dvi.dtsi
 create mode 100644 arch/arm/boot/dts/omap3-overo-common.dtsi
 create mode 100644 arch/arm/boot/dts/omap3-overo-gallop43.dts
 create mode 100644 arch/arm/boot/dts/omap3-overo-palo43.dts
 create mode 100644 arch/arm/boot/dts/omap3-overo-summit.dts
 rename arch/arm/boot/dts/{omap3-tobi.dts => omap3-overo-tobi.dts} (54%)

-- 
1.8.1.2

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

* [PATCH 01/18] of: add vendor prefix for Gumstix
  2014-01-09 16:47 ` Florian Vaussard
@ 2014-01-09 16:47   ` Florian Vaussard
  -1 siblings, 0 replies; 54+ messages in thread
From: Florian Vaussard @ 2014-01-09 16:47 UTC (permalink / raw)
  To: Tony Lindgren, Benoit Cousson
  Cc: linux-omap, linux-arm-kernel, florian.vaussard

Using "gumstix" for Gumstix Inc.

Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
---
 Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt
index edbb8d8..968a955 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.txt
+++ b/Documentation/devicetree/bindings/vendor-prefixes.txt
@@ -33,6 +33,7 @@ fsl	Freescale Semiconductor
 GEFanuc	GE Fanuc Intelligent Platforms Embedded Systems, Inc.
 gef	GE Fanuc Intelligent Platforms Embedded Systems, Inc.
 gmt	Global Mixed-mode Technology, Inc.
+gumstix	Gumstix, Inc.
 hisilicon	Hisilicon Limited.
 hp	Hewlett Packard
 ibm	International Business Machines (IBM)
-- 
1.8.1.2


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

* [PATCH 01/18] of: add vendor prefix for Gumstix
@ 2014-01-09 16:47   ` Florian Vaussard
  0 siblings, 0 replies; 54+ messages in thread
From: Florian Vaussard @ 2014-01-09 16:47 UTC (permalink / raw)
  To: linux-arm-kernel

Using "gumstix" for Gumstix Inc.

Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
---
 Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt
index edbb8d8..968a955 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.txt
+++ b/Documentation/devicetree/bindings/vendor-prefixes.txt
@@ -33,6 +33,7 @@ fsl	Freescale Semiconductor
 GEFanuc	GE Fanuc Intelligent Platforms Embedded Systems, Inc.
 gef	GE Fanuc Intelligent Platforms Embedded Systems, Inc.
 gmt	Global Mixed-mode Technology, Inc.
+gumstix	Gumstix, Inc.
 hisilicon	Hisilicon Limited.
 hp	Hewlett Packard
 ibm	International Business Machines (IBM)
-- 
1.8.1.2

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

* [PATCH 02/18] ARM: dts: omap3-tobi: Use the correct vendor prefix
  2014-01-09 16:47 ` Florian Vaussard
@ 2014-01-09 16:47   ` Florian Vaussard
  -1 siblings, 0 replies; 54+ messages in thread
From: Florian Vaussard @ 2014-01-09 16:47 UTC (permalink / raw)
  To: Tony Lindgren, Benoit Cousson
  Cc: linux-omap, linux-arm-kernel, florian.vaussard

Gumstix is the correct vendor for all Overo related products.

Reported-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
---
 arch/arm/boot/dts/omap3-tobi.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/omap3-tobi.dts b/arch/arm/boot/dts/omap3-tobi.dts
index 7e4ad2a..9fe10ca 100644
--- a/arch/arm/boot/dts/omap3-tobi.dts
+++ b/arch/arm/boot/dts/omap3-tobi.dts
@@ -14,7 +14,7 @@
 
 / {
 	model = "TI OMAP3 Gumstix Overo on Tobi";
-	compatible = "ti,omap3-tobi", "ti,omap3-overo", "ti,omap3";
+	compatible = "gumstix,omap3-tobi", "gumstix,omap3-overo", "ti,omap3";
 
 	leds {
 		compatible = "gpio-leds";
-- 
1.8.1.2


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

* [PATCH 02/18] ARM: dts: omap3-tobi: Use the correct vendor prefix
@ 2014-01-09 16:47   ` Florian Vaussard
  0 siblings, 0 replies; 54+ messages in thread
From: Florian Vaussard @ 2014-01-09 16:47 UTC (permalink / raw)
  To: linux-arm-kernel

Gumstix is the correct vendor for all Overo related products.

Reported-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
---
 arch/arm/boot/dts/omap3-tobi.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/omap3-tobi.dts b/arch/arm/boot/dts/omap3-tobi.dts
index 7e4ad2a..9fe10ca 100644
--- a/arch/arm/boot/dts/omap3-tobi.dts
+++ b/arch/arm/boot/dts/omap3-tobi.dts
@@ -14,7 +14,7 @@
 
 / {
 	model = "TI OMAP3 Gumstix Overo on Tobi";
-	compatible = "ti,omap3-tobi", "ti,omap3-overo", "ti,omap3";
+	compatible = "gumstix,omap3-tobi", "gumstix,omap3-overo", "ti,omap3";
 
 	leds {
 		compatible = "gpio-leds";
-- 
1.8.1.2

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

* [PATCH 03/18] ARM: dts: omap3-tobi: Add missing pinctrl
  2014-01-09 16:47 ` Florian Vaussard
@ 2014-01-09 16:47   ` Florian Vaussard
  -1 siblings, 0 replies; 54+ messages in thread
From: Florian Vaussard @ 2014-01-09 16:47 UTC (permalink / raw)
  To: Tony Lindgren, Benoit Cousson
  Cc: linux-omap, linux-arm-kernel, florian.vaussard

Add missing pinctrl entries:
- i2c3

Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
---
 arch/arm/boot/dts/omap3-tobi.dts | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/arch/arm/boot/dts/omap3-tobi.dts b/arch/arm/boot/dts/omap3-tobi.dts
index 9fe10ca..d39fe57 100644
--- a/arch/arm/boot/dts/omap3-tobi.dts
+++ b/arch/arm/boot/dts/omap3-tobi.dts
@@ -38,6 +38,15 @@
 	};
 };
 
+&omap3_pmx_core {
+	i2c3_pins: pinmux_i2c3_pins {
+		pinctrl-single,pins = <
+			OMAP3_CORE1_IOPAD(0x21c2, PIN_INPUT | MUX_MODE0)	/* i2c3_scl.i2c3_scl */
+			OMAP3_CORE1_IOPAD(0x21c4, PIN_INPUT | MUX_MODE0)	/* i2c3_sda.i2c3_sda */
+		>;
+	};
+};
+
 &gpmc {
 	ranges = <5 0 0x2c000000 0x1000000>;	/* CS5 */
 
@@ -75,6 +84,8 @@
 };
 
 &i2c3 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&i2c3_pins>;
 	clock-frequency = <100000>;
 };
 
-- 
1.8.1.2


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

* [PATCH 03/18] ARM: dts: omap3-tobi: Add missing pinctrl
@ 2014-01-09 16:47   ` Florian Vaussard
  0 siblings, 0 replies; 54+ messages in thread
From: Florian Vaussard @ 2014-01-09 16:47 UTC (permalink / raw)
  To: linux-arm-kernel

Add missing pinctrl entries:
- i2c3

Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
---
 arch/arm/boot/dts/omap3-tobi.dts | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/arch/arm/boot/dts/omap3-tobi.dts b/arch/arm/boot/dts/omap3-tobi.dts
index 9fe10ca..d39fe57 100644
--- a/arch/arm/boot/dts/omap3-tobi.dts
+++ b/arch/arm/boot/dts/omap3-tobi.dts
@@ -38,6 +38,15 @@
 	};
 };
 
+&omap3_pmx_core {
+	i2c3_pins: pinmux_i2c3_pins {
+		pinctrl-single,pins = <
+			OMAP3_CORE1_IOPAD(0x21c2, PIN_INPUT | MUX_MODE0)	/* i2c3_scl.i2c3_scl */
+			OMAP3_CORE1_IOPAD(0x21c4, PIN_INPUT | MUX_MODE0)	/* i2c3_sda.i2c3_sda */
+		>;
+	};
+};
+
 &gpmc {
 	ranges = <5 0 0x2c000000 0x1000000>;	/* CS5 */
 
@@ -75,6 +84,8 @@
 };
 
 &i2c3 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&i2c3_pins>;
 	clock-frequency = <100000>;
 };
 
-- 
1.8.1.2

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

* [PATCH 04/18] ARM: dts: omap3-overo: Add missing pinctrl
  2014-01-09 16:47 ` Florian Vaussard
@ 2014-01-09 16:47   ` Florian Vaussard
  -1 siblings, 0 replies; 54+ messages in thread
From: Florian Vaussard @ 2014-01-09 16:47 UTC (permalink / raw)
  To: Tony Lindgren, Benoit Cousson
  Cc: linux-omap, linux-arm-kernel, florian.vaussard

Add missing pinctrl entries for:
- i2c1
- mmc1

Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
---
 arch/arm/boot/dts/omap3-overo.dtsi | 40 +++++++++++++++++++++++++++++---------
 1 file changed, 31 insertions(+), 9 deletions(-)

diff --git a/arch/arm/boot/dts/omap3-overo.dtsi b/arch/arm/boot/dts/omap3-overo.dtsi
index a461d2f..2d8b80c 100644
--- a/arch/arm/boot/dts/omap3-overo.dtsi
+++ b/arch/arm/boot/dts/omap3-overo.dtsi
@@ -34,7 +34,36 @@
 	};
 };
 
+&omap3_pmx_core {
+	uart3_pins: pinmux_uart3_pins {
+		pinctrl-single,pins = <
+			OMAP3_CORE1_IOPAD(0x219e, PIN_INPUT | PIN_OFF_WAKEUPENABLE | MUX_MODE0)	/* uart3_rx_irrx.uart3_rx_irrx */
+			OMAP3_CORE1_IOPAD(0x21a0, PIN_OUTPUT | MUX_MODE0)		/* uart3_tx_irtx.uart3_tx_irtx */
+		>;
+	};
+
+	i2c1_pins: pinmux_i2c1_pins {
+		pinctrl-single,pins = <
+			OMAP3_CORE1_IOPAD(0x21ba, PIN_INPUT | MUX_MODE0)		/* i2c1_scl.i2c1_scl */
+			OMAP3_CORE1_IOPAD(0x21bc, PIN_INPUT | MUX_MODE0)		/* i2c1_sda.i2c1_sda */
+		>;
+	};
+
+	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 */
+		>;
+	};
+};
+
 &i2c1 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&i2c1_pins>;
 	clock-frequency = <2600000>;
 
 	twl: twl@48 {
@@ -60,6 +89,8 @@
 
 /* on board microSD slot */
 &mmc1 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&mmc1_pins>;
 	vmmc-supply = <&vmmc1>;
 	bus-width = <4>;
 };
@@ -82,15 +113,6 @@
 	power = <50>;
 };
 
-&omap3_pmx_core {
-	uart3_pins: pinmux_uart3_pins {
-		pinctrl-single,pins = <
-			0x16e (PIN_INPUT | PIN_OFF_WAKEUPENABLE | MUX_MODE0) /* uart3_rx_irrx.uart3_rx_irrx */
-			0x170 (PIN_OUTPUT | MUX_MODE0) /* uart3_tx_irtx.uart3_tx_irtx */
-		>;
-	};
-};
-
 &uart3 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&uart3_pins>;
-- 
1.8.1.2


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

* [PATCH 04/18] ARM: dts: omap3-overo: Add missing pinctrl
@ 2014-01-09 16:47   ` Florian Vaussard
  0 siblings, 0 replies; 54+ messages in thread
From: Florian Vaussard @ 2014-01-09 16:47 UTC (permalink / raw)
  To: linux-arm-kernel

Add missing pinctrl entries for:
- i2c1
- mmc1

Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
---
 arch/arm/boot/dts/omap3-overo.dtsi | 40 +++++++++++++++++++++++++++++---------
 1 file changed, 31 insertions(+), 9 deletions(-)

diff --git a/arch/arm/boot/dts/omap3-overo.dtsi b/arch/arm/boot/dts/omap3-overo.dtsi
index a461d2f..2d8b80c 100644
--- a/arch/arm/boot/dts/omap3-overo.dtsi
+++ b/arch/arm/boot/dts/omap3-overo.dtsi
@@ -34,7 +34,36 @@
 	};
 };
 
+&omap3_pmx_core {
+	uart3_pins: pinmux_uart3_pins {
+		pinctrl-single,pins = <
+			OMAP3_CORE1_IOPAD(0x219e, PIN_INPUT | PIN_OFF_WAKEUPENABLE | MUX_MODE0)	/* uart3_rx_irrx.uart3_rx_irrx */
+			OMAP3_CORE1_IOPAD(0x21a0, PIN_OUTPUT | MUX_MODE0)		/* uart3_tx_irtx.uart3_tx_irtx */
+		>;
+	};
+
+	i2c1_pins: pinmux_i2c1_pins {
+		pinctrl-single,pins = <
+			OMAP3_CORE1_IOPAD(0x21ba, PIN_INPUT | MUX_MODE0)		/* i2c1_scl.i2c1_scl */
+			OMAP3_CORE1_IOPAD(0x21bc, PIN_INPUT | MUX_MODE0)		/* i2c1_sda.i2c1_sda */
+		>;
+	};
+
+	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 */
+		>;
+	};
+};
+
 &i2c1 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&i2c1_pins>;
 	clock-frequency = <2600000>;
 
 	twl: twl at 48 {
@@ -60,6 +89,8 @@
 
 /* on board microSD slot */
 &mmc1 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&mmc1_pins>;
 	vmmc-supply = <&vmmc1>;
 	bus-width = <4>;
 };
@@ -82,15 +113,6 @@
 	power = <50>;
 };
 
-&omap3_pmx_core {
-	uart3_pins: pinmux_uart3_pins {
-		pinctrl-single,pins = <
-			0x16e (PIN_INPUT | PIN_OFF_WAKEUPENABLE | MUX_MODE0) /* uart3_rx_irrx.uart3_rx_irrx */
-			0x170 (PIN_OUTPUT | MUX_MODE0) /* uart3_tx_irtx.uart3_tx_irtx */
-		>;
-	};
-};
-
 &uart3 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&uart3_pins>;
-- 
1.8.1.2

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

* [PATCH 05/18] ARM: dts: omap3-overo: Use complete poweroff
  2014-01-09 16:47 ` Florian Vaussard
@ 2014-01-09 16:47   ` Florian Vaussard
  -1 siblings, 0 replies; 54+ messages in thread
From: Florian Vaussard @ 2014-01-09 16:47 UTC (permalink / raw)
  To: Tony Lindgren, Benoit Cousson
  Cc: linux-omap, linux-arm-kernel, florian.vaussard

Currently, the TWL4030 PMIC does not completely poweroff the processor.
Commit b0fc1da4d0359d3cce8f12e0f014aed0704ae202 introduced the necessary
binding to do this, so use it.

Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
---
 arch/arm/boot/dts/omap3-overo.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm/boot/dts/omap3-overo.dtsi b/arch/arm/boot/dts/omap3-overo.dtsi
index 2d8b80c..d48f25c 100644
--- a/arch/arm/boot/dts/omap3-overo.dtsi
+++ b/arch/arm/boot/dts/omap3-overo.dtsi
@@ -76,6 +76,11 @@
 			codec {
 			};
 		};
+
+		twl_power: power {
+			compatible = "ti,twl4030-power";
+			ti,use_poweroff;
+		};
 	};
 };
 
-- 
1.8.1.2


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

* [PATCH 05/18] ARM: dts: omap3-overo: Use complete poweroff
@ 2014-01-09 16:47   ` Florian Vaussard
  0 siblings, 0 replies; 54+ messages in thread
From: Florian Vaussard @ 2014-01-09 16:47 UTC (permalink / raw)
  To: linux-arm-kernel

Currently, the TWL4030 PMIC does not completely poweroff the processor.
Commit b0fc1da4d0359d3cce8f12e0f014aed0704ae202 introduced the necessary
binding to do this, so use it.

Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
---
 arch/arm/boot/dts/omap3-overo.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm/boot/dts/omap3-overo.dtsi b/arch/arm/boot/dts/omap3-overo.dtsi
index 2d8b80c..d48f25c 100644
--- a/arch/arm/boot/dts/omap3-overo.dtsi
+++ b/arch/arm/boot/dts/omap3-overo.dtsi
@@ -76,6 +76,11 @@
 			codec {
 			};
 		};
+
+		twl_power: power {
+			compatible = "ti,twl4030-power";
+			ti,use_poweroff;
+		};
 	};
 };
 
-- 
1.8.1.2

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

* [PATCH 06/18] ARM: dts: omap3-overo: Enable MMC2
  2014-01-09 16:47 ` Florian Vaussard
@ 2014-01-09 16:48   ` Florian Vaussard
  -1 siblings, 0 replies; 54+ messages in thread
From: Florian Vaussard @ 2014-01-09 16:48 UTC (permalink / raw)
  To: Tony Lindgren, Benoit Cousson
  Cc: linux-omap, linux-arm-kernel, florian.vaussard

MMC2 is used by the on-board WiFi module populated on some boards
(based on Marvell Libertas 8688 SDIO).

Note: currently WiFi only works on cold boot, as the module is not
properly reset (missing binding for the GPIO reset).

Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
---
 arch/arm/boot/dts/omap3-overo.dtsi | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/arch/arm/boot/dts/omap3-overo.dtsi b/arch/arm/boot/dts/omap3-overo.dtsi
index d48f25c..9ce9591 100644
--- a/arch/arm/boot/dts/omap3-overo.dtsi
+++ b/arch/arm/boot/dts/omap3-overo.dtsi
@@ -32,6 +32,12 @@
 		ti,mcbsp = <&mcbsp2>;
 		ti,codec = <&twl_audio>;
 	};
+
+	vlibertas: regulator-vlibertas {
+		compatible = "regulator-fixed";
+		regulator-name = "vlibertas";
+		regulator-always-on;
+	};
 };
 
 &omap3_pmx_core {
@@ -59,6 +65,17 @@
 			OMAP3_CORE1_IOPAD(0x214e, PIN_INPUT_PULLUP | MUX_MODE0)		/* sdmmc1_dat3.sdmmc1_dat3 */
 		>;
 	};
+
+	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 */
+		>;
+	};
 };
 
 &i2c1 {
@@ -102,7 +119,11 @@
 
 /* optional on board WiFi */
 &mmc2 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&mmc2_pins>;
+	vmmc-supply = <&vlibertas>;
 	bus-width = <4>;
+	non-removable;
 };
 
 &twl_gpio {
-- 
1.8.1.2


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

* [PATCH 06/18] ARM: dts: omap3-overo: Enable MMC2
@ 2014-01-09 16:48   ` Florian Vaussard
  0 siblings, 0 replies; 54+ messages in thread
From: Florian Vaussard @ 2014-01-09 16:48 UTC (permalink / raw)
  To: linux-arm-kernel

MMC2 is used by the on-board WiFi module populated on some boards
(based on Marvell Libertas 8688 SDIO).

Note: currently WiFi only works on cold boot, as the module is not
properly reset (missing binding for the GPIO reset).

Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
---
 arch/arm/boot/dts/omap3-overo.dtsi | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/arch/arm/boot/dts/omap3-overo.dtsi b/arch/arm/boot/dts/omap3-overo.dtsi
index d48f25c..9ce9591 100644
--- a/arch/arm/boot/dts/omap3-overo.dtsi
+++ b/arch/arm/boot/dts/omap3-overo.dtsi
@@ -32,6 +32,12 @@
 		ti,mcbsp = <&mcbsp2>;
 		ti,codec = <&twl_audio>;
 	};
+
+	vlibertas: regulator-vlibertas {
+		compatible = "regulator-fixed";
+		regulator-name = "vlibertas";
+		regulator-always-on;
+	};
 };
 
 &omap3_pmx_core {
@@ -59,6 +65,17 @@
 			OMAP3_CORE1_IOPAD(0x214e, PIN_INPUT_PULLUP | MUX_MODE0)		/* sdmmc1_dat3.sdmmc1_dat3 */
 		>;
 	};
+
+	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 */
+		>;
+	};
 };
 
 &i2c1 {
@@ -102,7 +119,11 @@
 
 /* optional on board WiFi */
 &mmc2 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&mmc2_pins>;
+	vmmc-supply = <&vlibertas>;
 	bus-width = <4>;
+	non-removable;
 };
 
 &twl_gpio {
-- 
1.8.1.2

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

* [PATCH 07/18] ARM: dts: omap3-overo: Add HSUSB PHY
  2014-01-09 16:47 ` Florian Vaussard
@ 2014-01-09 16:48   ` Florian Vaussard
  -1 siblings, 0 replies; 54+ messages in thread
From: Florian Vaussard @ 2014-01-09 16:48 UTC (permalink / raw)
  To: Tony Lindgren, Benoit Cousson
  Cc: linux-omap, linux-arm-kernel, florian.vaussard

Add the High-Speed USB PHY.

Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
---
 arch/arm/boot/dts/omap3-overo.dtsi | 60 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 60 insertions(+)

diff --git a/arch/arm/boot/dts/omap3-overo.dtsi b/arch/arm/boot/dts/omap3-overo.dtsi
index 9ce9591..ecf5818 100644
--- a/arch/arm/boot/dts/omap3-overo.dtsi
+++ b/arch/arm/boot/dts/omap3-overo.dtsi
@@ -33,6 +33,24 @@
 		ti,codec = <&twl_audio>;
 	};
 
+	/* HS USB Port 2 Power */
+	hsusb2_power: hsusb2_power_reg {
+		compatible = "regulator-fixed";
+		regulator-name = "hsusb2_vbus";
+		regulator-min-microvolt = <5000000>;
+		regulator-max-microvolt = <5000000>;
+		gpio = <&gpio6 8 0>;			/* gpio_168 */
+		startup-delay-us = <70000>;
+		enable-active-high;
+	};
+
+	/* HS USB Host PHY on PORT 2 */
+	hsusb2_phy: hsusb2_phy {
+		compatible = "usb-nop-xceiv";
+		reset-gpios = <&gpio6 23 GPIO_ACTIVE_LOW>;	/* gpio_183 */
+		vcc-supply = <&hsusb2_power>;
+	};
+
 	vlibertas: regulator-vlibertas {
 		compatible = "regulator-fixed";
 		regulator-name = "vlibertas";
@@ -41,6 +59,11 @@
 };
 
 &omap3_pmx_core {
+	pinctrl-names = "default";
+	pinctrl-0 = <
+			&hsusb2_pins
+	>;
+
 	uart3_pins: pinmux_uart3_pins {
 		pinctrl-single,pins = <
 			OMAP3_CORE1_IOPAD(0x219e, PIN_INPUT | PIN_OFF_WAKEUPENABLE | MUX_MODE0)	/* uart3_rx_irrx.uart3_rx_irrx */
@@ -76,6 +99,35 @@
 			OMAP3_CORE1_IOPAD(0x2162, PIN_INPUT_PULLUP | MUX_MODE0)		/* sdmmc2_dat3.sdmmc2_dat3 */
 		>;
 	};
+
+	hsusb2_pins: pinmux_hsusb2_pins {
+		pinctrl-single,pins = <
+			OMAP3_CORE1_IOPAD(0x21d4, PIN_INPUT_PULLDOWN | MUX_MODE3)	/* mcspi1_cs3.hsusb2_data2 */
+			OMAP3_CORE1_IOPAD(0x21d6, PIN_INPUT_PULLDOWN | MUX_MODE3)	/* mcspi2_clk.hsusb2_data7 */
+			OMAP3_CORE1_IOPAD(0x21d8, PIN_INPUT_PULLDOWN | MUX_MODE3)	/* mcspi2_simo.hsusb2_data4 */
+			OMAP3_CORE1_IOPAD(0x21da, PIN_INPUT_PULLDOWN | MUX_MODE3)	/* mcspi2_somi.hsusb2_data5 */
+			OMAP3_CORE1_IOPAD(0x21dc, PIN_INPUT_PULLDOWN | MUX_MODE3)	/* mcspi2_cs0.hsusb2_data6 */
+			OMAP3_CORE1_IOPAD(0x21de, PIN_INPUT_PULLDOWN | MUX_MODE3)	/* mcspi2_cs1.hsusb2_data3 */
+		>;
+	};
+};
+
+&omap3_pmx_core2 {
+	pinctrl-names = "default";
+	pinctrl-0 = <
+			&hsusb2_2_pins
+	>;
+
+	hsusb2_2_pins: pinmux_hsusb2_2_pins {
+		pinctrl-single,pins = <
+			OMAP3630_CORE2_IOPAD(0x25f0, PIN_OUTPUT | MUX_MODE3)		/* etk_d10.hsusb2_clk */
+			OMAP3630_CORE2_IOPAD(0x25f2, PIN_OUTPUT | MUX_MODE3)		/* etk_d11.hsusb2_stp */
+			OMAP3630_CORE2_IOPAD(0x25f4, PIN_INPUT_PULLDOWN | MUX_MODE3)	/* etk_d12.hsusb2_dir */
+			OMAP3630_CORE2_IOPAD(0x25f6, PIN_INPUT_PULLDOWN | MUX_MODE3)	/* etk_d13.hsusb2_nxt */
+			OMAP3630_CORE2_IOPAD(0x25f8, PIN_INPUT_PULLDOWN | MUX_MODE3)	/* etk_d14.hsusb2_data0 */
+			OMAP3630_CORE2_IOPAD(0x25fa, PIN_INPUT_PULLDOWN | MUX_MODE3)	/* etk_d15.hsusb2_data1 */
+		>;
+	};
 };
 
 &i2c1 {
@@ -139,6 +191,14 @@
 	power = <50>;
 };
 
+&usbhshost {
+	port2-mode = "ehci-phy";
+};
+
+&usbhsehci {
+	phys = <0 &hsusb2_phy>;
+};
+
 &uart3 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&uart3_pins>;
-- 
1.8.1.2


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

* [PATCH 07/18] ARM: dts: omap3-overo: Add HSUSB PHY
@ 2014-01-09 16:48   ` Florian Vaussard
  0 siblings, 0 replies; 54+ messages in thread
From: Florian Vaussard @ 2014-01-09 16:48 UTC (permalink / raw)
  To: linux-arm-kernel

Add the High-Speed USB PHY.

Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
---
 arch/arm/boot/dts/omap3-overo.dtsi | 60 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 60 insertions(+)

diff --git a/arch/arm/boot/dts/omap3-overo.dtsi b/arch/arm/boot/dts/omap3-overo.dtsi
index 9ce9591..ecf5818 100644
--- a/arch/arm/boot/dts/omap3-overo.dtsi
+++ b/arch/arm/boot/dts/omap3-overo.dtsi
@@ -33,6 +33,24 @@
 		ti,codec = <&twl_audio>;
 	};
 
+	/* HS USB Port 2 Power */
+	hsusb2_power: hsusb2_power_reg {
+		compatible = "regulator-fixed";
+		regulator-name = "hsusb2_vbus";
+		regulator-min-microvolt = <5000000>;
+		regulator-max-microvolt = <5000000>;
+		gpio = <&gpio6 8 0>;			/* gpio_168 */
+		startup-delay-us = <70000>;
+		enable-active-high;
+	};
+
+	/* HS USB Host PHY on PORT 2 */
+	hsusb2_phy: hsusb2_phy {
+		compatible = "usb-nop-xceiv";
+		reset-gpios = <&gpio6 23 GPIO_ACTIVE_LOW>;	/* gpio_183 */
+		vcc-supply = <&hsusb2_power>;
+	};
+
 	vlibertas: regulator-vlibertas {
 		compatible = "regulator-fixed";
 		regulator-name = "vlibertas";
@@ -41,6 +59,11 @@
 };
 
 &omap3_pmx_core {
+	pinctrl-names = "default";
+	pinctrl-0 = <
+			&hsusb2_pins
+	>;
+
 	uart3_pins: pinmux_uart3_pins {
 		pinctrl-single,pins = <
 			OMAP3_CORE1_IOPAD(0x219e, PIN_INPUT | PIN_OFF_WAKEUPENABLE | MUX_MODE0)	/* uart3_rx_irrx.uart3_rx_irrx */
@@ -76,6 +99,35 @@
 			OMAP3_CORE1_IOPAD(0x2162, PIN_INPUT_PULLUP | MUX_MODE0)		/* sdmmc2_dat3.sdmmc2_dat3 */
 		>;
 	};
+
+	hsusb2_pins: pinmux_hsusb2_pins {
+		pinctrl-single,pins = <
+			OMAP3_CORE1_IOPAD(0x21d4, PIN_INPUT_PULLDOWN | MUX_MODE3)	/* mcspi1_cs3.hsusb2_data2 */
+			OMAP3_CORE1_IOPAD(0x21d6, PIN_INPUT_PULLDOWN | MUX_MODE3)	/* mcspi2_clk.hsusb2_data7 */
+			OMAP3_CORE1_IOPAD(0x21d8, PIN_INPUT_PULLDOWN | MUX_MODE3)	/* mcspi2_simo.hsusb2_data4 */
+			OMAP3_CORE1_IOPAD(0x21da, PIN_INPUT_PULLDOWN | MUX_MODE3)	/* mcspi2_somi.hsusb2_data5 */
+			OMAP3_CORE1_IOPAD(0x21dc, PIN_INPUT_PULLDOWN | MUX_MODE3)	/* mcspi2_cs0.hsusb2_data6 */
+			OMAP3_CORE1_IOPAD(0x21de, PIN_INPUT_PULLDOWN | MUX_MODE3)	/* mcspi2_cs1.hsusb2_data3 */
+		>;
+	};
+};
+
+&omap3_pmx_core2 {
+	pinctrl-names = "default";
+	pinctrl-0 = <
+			&hsusb2_2_pins
+	>;
+
+	hsusb2_2_pins: pinmux_hsusb2_2_pins {
+		pinctrl-single,pins = <
+			OMAP3630_CORE2_IOPAD(0x25f0, PIN_OUTPUT | MUX_MODE3)		/* etk_d10.hsusb2_clk */
+			OMAP3630_CORE2_IOPAD(0x25f2, PIN_OUTPUT | MUX_MODE3)		/* etk_d11.hsusb2_stp */
+			OMAP3630_CORE2_IOPAD(0x25f4, PIN_INPUT_PULLDOWN | MUX_MODE3)	/* etk_d12.hsusb2_dir */
+			OMAP3630_CORE2_IOPAD(0x25f6, PIN_INPUT_PULLDOWN | MUX_MODE3)	/* etk_d13.hsusb2_nxt */
+			OMAP3630_CORE2_IOPAD(0x25f8, PIN_INPUT_PULLDOWN | MUX_MODE3)	/* etk_d14.hsusb2_data0 */
+			OMAP3630_CORE2_IOPAD(0x25fa, PIN_INPUT_PULLDOWN | MUX_MODE3)	/* etk_d15.hsusb2_data1 */
+		>;
+	};
 };
 
 &i2c1 {
@@ -139,6 +191,14 @@
 	power = <50>;
 };
 
+&usbhshost {
+	port2-mode = "ehci-phy";
+};
+
+&usbhsehci {
+	phys = <0 &hsusb2_phy>;
+};
+
 &uart3 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&uart3_pins>;
-- 
1.8.1.2

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

* [PATCH 08/18] ARM: dts: omap: Add common file for SMSC9221
  2014-01-09 16:47 ` Florian Vaussard
@ 2014-01-09 16:48   ` Florian Vaussard
  -1 siblings, 0 replies; 54+ messages in thread
From: Florian Vaussard @ 2014-01-09 16:48 UTC (permalink / raw)
  To: Tony Lindgren, Benoit Cousson
  Cc: linux-omap, linux-arm-kernel, florian.vaussard

Some devices (SMSC9217, SMSC9218 and SMSC9221 at least) have better
timings, allowing a higher transfer speed. Create a common file
with these timings.

Performance results with iperf:

- omap-gpmc-smsc911x.dtsi => 54.9 Mbps
- omap-gpmc-smsc9221.dtsi => 92.7 Mbps

Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
---
 arch/arm/boot/dts/omap-gpmc-smsc9221.dtsi | 58 +++++++++++++++++++++++++++++++
 1 file changed, 58 insertions(+)
 create mode 100644 arch/arm/boot/dts/omap-gpmc-smsc9221.dtsi

diff --git a/arch/arm/boot/dts/omap-gpmc-smsc9221.dtsi b/arch/arm/boot/dts/omap-gpmc-smsc9221.dtsi
new file mode 100644
index 0000000..73e272f
--- /dev/null
+++ b/arch/arm/boot/dts/omap-gpmc-smsc9221.dtsi
@@ -0,0 +1,58 @@
+/*
+ * Common file for GPMC connected smsc9221 on omaps
+ *
+ * Compared to smsc911x, smsc9221 (and others like smsc9217
+ * or smsc 9218) has faster timings, leading to higher
+ * bandwidth.
+ *
+ * Note that the board specifc DTS file needs to specify
+ * ranges, pinctrl, reg, interrupt parent and interrupts.
+ */
+
+/ {
+	vddvario: regulator-vddvario {
+		  compatible = "regulator-fixed";
+		  regulator-name = "vddvario";
+		  regulator-always-on;
+	};
+
+	vdd33a: regulator-vdd33a {
+		compatible = "regulator-fixed";
+		regulator-name = "vdd33a";
+		regulator-always-on;
+	};
+};
+
+&gpmc {
+	ethernet@gpmc {
+		compatible = "smsc,lan9221","smsc,lan9115";
+		bank-width = <2>;
+
+		gpmc,mux-add-data;
+		gpmc,cs-on-ns = <0>;
+		gpmc,cs-rd-off-ns = <42>;
+		gpmc,cs-wr-off-ns = <36>;
+		gpmc,adv-on-ns = <6>;
+		gpmc,adv-rd-off-ns = <12>;
+		gpmc,adv-wr-off-ns = <12>;
+		gpmc,oe-on-ns = <0>;
+		gpmc,oe-off-ns = <42>;
+		gpmc,we-on-ns = <0>;
+		gpmc,we-off-ns = <36>;
+		gpmc,rd-cycle-ns = <60>;
+		gpmc,wr-cycle-ns = <54>;
+		gpmc,access-ns = <36>;
+		gpmc,page-burst-access-ns = <0>;
+		gpmc,bus-turnaround-ns = <0>;
+		gpmc,cycle2cycle-delay-ns = <0>;
+		gpmc,wr-data-mux-bus-ns = <18>;
+		gpmc,wr-access-ns = <42>;
+		gpmc,cycle2cycle-samecsen;
+		gpmc,cycle2cycle-diffcsen;
+
+		vddvario-supply = <&vddvario>;
+		vdd33a-supply = <&vdd33a>;
+		reg-io-width = <4>;
+		smsc,save-mac-address;
+	};
+};
-- 
1.8.1.2


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

* [PATCH 08/18] ARM: dts: omap: Add common file for SMSC9221
@ 2014-01-09 16:48   ` Florian Vaussard
  0 siblings, 0 replies; 54+ messages in thread
From: Florian Vaussard @ 2014-01-09 16:48 UTC (permalink / raw)
  To: linux-arm-kernel

Some devices (SMSC9217, SMSC9218 and SMSC9221 at least) have better
timings, allowing a higher transfer speed. Create a common file
with these timings.

Performance results with iperf:

- omap-gpmc-smsc911x.dtsi => 54.9 Mbps
- omap-gpmc-smsc9221.dtsi => 92.7 Mbps

Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
---
 arch/arm/boot/dts/omap-gpmc-smsc9221.dtsi | 58 +++++++++++++++++++++++++++++++
 1 file changed, 58 insertions(+)
 create mode 100644 arch/arm/boot/dts/omap-gpmc-smsc9221.dtsi

diff --git a/arch/arm/boot/dts/omap-gpmc-smsc9221.dtsi b/arch/arm/boot/dts/omap-gpmc-smsc9221.dtsi
new file mode 100644
index 0000000..73e272f
--- /dev/null
+++ b/arch/arm/boot/dts/omap-gpmc-smsc9221.dtsi
@@ -0,0 +1,58 @@
+/*
+ * Common file for GPMC connected smsc9221 on omaps
+ *
+ * Compared to smsc911x, smsc9221 (and others like smsc9217
+ * or smsc 9218) has faster timings, leading to higher
+ * bandwidth.
+ *
+ * Note that the board specifc DTS file needs to specify
+ * ranges, pinctrl, reg, interrupt parent and interrupts.
+ */
+
+/ {
+	vddvario: regulator-vddvario {
+		  compatible = "regulator-fixed";
+		  regulator-name = "vddvario";
+		  regulator-always-on;
+	};
+
+	vdd33a: regulator-vdd33a {
+		compatible = "regulator-fixed";
+		regulator-name = "vdd33a";
+		regulator-always-on;
+	};
+};
+
+&gpmc {
+	ethernet at gpmc {
+		compatible = "smsc,lan9221","smsc,lan9115";
+		bank-width = <2>;
+
+		gpmc,mux-add-data;
+		gpmc,cs-on-ns = <0>;
+		gpmc,cs-rd-off-ns = <42>;
+		gpmc,cs-wr-off-ns = <36>;
+		gpmc,adv-on-ns = <6>;
+		gpmc,adv-rd-off-ns = <12>;
+		gpmc,adv-wr-off-ns = <12>;
+		gpmc,oe-on-ns = <0>;
+		gpmc,oe-off-ns = <42>;
+		gpmc,we-on-ns = <0>;
+		gpmc,we-off-ns = <36>;
+		gpmc,rd-cycle-ns = <60>;
+		gpmc,wr-cycle-ns = <54>;
+		gpmc,access-ns = <36>;
+		gpmc,page-burst-access-ns = <0>;
+		gpmc,bus-turnaround-ns = <0>;
+		gpmc,cycle2cycle-delay-ns = <0>;
+		gpmc,wr-data-mux-bus-ns = <18>;
+		gpmc,wr-access-ns = <42>;
+		gpmc,cycle2cycle-samecsen;
+		gpmc,cycle2cycle-diffcsen;
+
+		vddvario-supply = <&vddvario>;
+		vdd33a-supply = <&vdd33a>;
+		reg-io-width = <4>;
+		smsc,save-mac-address;
+	};
+};
-- 
1.8.1.2

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

* [PATCH 09/18] ARM: dts: omap3-tobi: Use include file omap-gpmc-smsc9221
  2014-01-09 16:47 ` Florian Vaussard
@ 2014-01-09 16:48   ` Florian Vaussard
  -1 siblings, 0 replies; 54+ messages in thread
From: Florian Vaussard @ 2014-01-09 16:48 UTC (permalink / raw)
  To: Tony Lindgren, Benoit Cousson
  Cc: linux-omap, linux-arm-kernel, florian.vaussard

Use the timings provided by omap-gpmc-smsc9221. This does not change
the timings, but it avoids code duplication.

Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
---
 arch/arm/boot/dts/omap3-tobi.dts | 30 +++---------------------------
 1 file changed, 3 insertions(+), 27 deletions(-)

diff --git a/arch/arm/boot/dts/omap3-tobi.dts b/arch/arm/boot/dts/omap3-tobi.dts
index d39fe57..e9a841a 100644
--- a/arch/arm/boot/dts/omap3-tobi.dts
+++ b/arch/arm/boot/dts/omap3-tobi.dts
@@ -47,39 +47,15 @@
 	};
 };
 
+#include "omap-gpmc-smsc9221.dtsi"
+
 &gpmc {
 	ranges = <5 0 0x2c000000 0x1000000>;	/* CS5 */
 
-	ethernet@5,0 {
-		compatible = "smsc,lan9221", "smsc,lan9115";
+	ethernet@gpmc {
 		reg = <5 0 0xff>;
-		bank-width = <2>;
-
-		gpmc,mux-add-data;
-		gpmc,cs-on-ns = <0>;
-		gpmc,cs-rd-off-ns = <42>;
-		gpmc,cs-wr-off-ns = <36>;
-		gpmc,adv-on-ns = <6>;
-		gpmc,adv-rd-off-ns = <12>;
-		gpmc,adv-wr-off-ns = <12>;
-		gpmc,oe-on-ns = <0>;
-		gpmc,oe-off-ns = <42>;
-		gpmc,we-on-ns = <0>;
-		gpmc,we-off-ns = <36>;
-		gpmc,rd-cycle-ns = <60>;
-		gpmc,wr-cycle-ns = <54>;
-		gpmc,access-ns = <36>;
-		gpmc,page-burst-access-ns = <0>;
-		gpmc,bus-turnaround-ns = <0>;
-		gpmc,cycle2cycle-delay-ns = <0>;
-		gpmc,wr-data-mux-bus-ns = <18>;
-		gpmc,wr-access-ns = <42>;
-		gpmc,cycle2cycle-samecsen;
-		gpmc,cycle2cycle-diffcsen;
-
 		interrupt-parent = <&gpio6>;
 		interrupts = <16 IRQ_TYPE_LEVEL_LOW>;	/* GPIO 176 */
-		reg-io-width = <4>;
 	};
 };
 
-- 
1.8.1.2


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

* [PATCH 09/18] ARM: dts: omap3-tobi: Use include file omap-gpmc-smsc9221
@ 2014-01-09 16:48   ` Florian Vaussard
  0 siblings, 0 replies; 54+ messages in thread
From: Florian Vaussard @ 2014-01-09 16:48 UTC (permalink / raw)
  To: linux-arm-kernel

Use the timings provided by omap-gpmc-smsc9221. This does not change
the timings, but it avoids code duplication.

Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
---
 arch/arm/boot/dts/omap3-tobi.dts | 30 +++---------------------------
 1 file changed, 3 insertions(+), 27 deletions(-)

diff --git a/arch/arm/boot/dts/omap3-tobi.dts b/arch/arm/boot/dts/omap3-tobi.dts
index d39fe57..e9a841a 100644
--- a/arch/arm/boot/dts/omap3-tobi.dts
+++ b/arch/arm/boot/dts/omap3-tobi.dts
@@ -47,39 +47,15 @@
 	};
 };
 
+#include "omap-gpmc-smsc9221.dtsi"
+
 &gpmc {
 	ranges = <5 0 0x2c000000 0x1000000>;	/* CS5 */
 
-	ethernet at 5,0 {
-		compatible = "smsc,lan9221", "smsc,lan9115";
+	ethernet at gpmc {
 		reg = <5 0 0xff>;
-		bank-width = <2>;
-
-		gpmc,mux-add-data;
-		gpmc,cs-on-ns = <0>;
-		gpmc,cs-rd-off-ns = <42>;
-		gpmc,cs-wr-off-ns = <36>;
-		gpmc,adv-on-ns = <6>;
-		gpmc,adv-rd-off-ns = <12>;
-		gpmc,adv-wr-off-ns = <12>;
-		gpmc,oe-on-ns = <0>;
-		gpmc,oe-off-ns = <42>;
-		gpmc,we-on-ns = <0>;
-		gpmc,we-off-ns = <36>;
-		gpmc,rd-cycle-ns = <60>;
-		gpmc,wr-cycle-ns = <54>;
-		gpmc,access-ns = <36>;
-		gpmc,page-burst-access-ns = <0>;
-		gpmc,bus-turnaround-ns = <0>;
-		gpmc,cycle2cycle-delay-ns = <0>;
-		gpmc,wr-data-mux-bus-ns = <18>;
-		gpmc,wr-access-ns = <42>;
-		gpmc,cycle2cycle-samecsen;
-		gpmc,cycle2cycle-diffcsen;
-
 		interrupt-parent = <&gpio6>;
 		interrupts = <16 IRQ_TYPE_LEVEL_LOW>;	/* GPIO 176 */
-		reg-io-width = <4>;
 	};
 };
 
-- 
1.8.1.2

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

* [PATCH 10/18] ARM: dts: omap3-tobi: Add AT24C01 EEPROM
  2014-01-09 16:47 ` Florian Vaussard
@ 2014-01-09 16:48   ` Florian Vaussard
  -1 siblings, 0 replies; 54+ messages in thread
From: Florian Vaussard @ 2014-01-09 16:48 UTC (permalink / raw)
  To: Tony Lindgren, Benoit Cousson
  Cc: linux-omap, linux-arm-kernel, florian.vaussard

Add the AT24C01 EEPROM node populated on most Gumstix expansion board.

Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
---
 arch/arm/boot/dts/omap3-tobi.dts | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm/boot/dts/omap3-tobi.dts b/arch/arm/boot/dts/omap3-tobi.dts
index e9a841a..67c056d 100644
--- a/arch/arm/boot/dts/omap3-tobi.dts
+++ b/arch/arm/boot/dts/omap3-tobi.dts
@@ -63,6 +63,13 @@
 	pinctrl-names = "default";
 	pinctrl-0 = <&i2c3_pins>;
 	clock-frequency = <100000>;
+
+	/* optional 1K EEPROM with revision information */
+	eeprom@51 {
+		compatible = "atmel,24c01";
+		reg = <0x51>;
+		pagesize = <8>;
+	};
 };
 
 &mmc3 {
-- 
1.8.1.2


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

* [PATCH 10/18] ARM: dts: omap3-tobi: Add AT24C01 EEPROM
@ 2014-01-09 16:48   ` Florian Vaussard
  0 siblings, 0 replies; 54+ messages in thread
From: Florian Vaussard @ 2014-01-09 16:48 UTC (permalink / raw)
  To: linux-arm-kernel

Add the AT24C01 EEPROM node populated on most Gumstix expansion board.

Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
---
 arch/arm/boot/dts/omap3-tobi.dts | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm/boot/dts/omap3-tobi.dts b/arch/arm/boot/dts/omap3-tobi.dts
index e9a841a..67c056d 100644
--- a/arch/arm/boot/dts/omap3-tobi.dts
+++ b/arch/arm/boot/dts/omap3-tobi.dts
@@ -63,6 +63,13 @@
 	pinctrl-names = "default";
 	pinctrl-0 = <&i2c3_pins>;
 	clock-frequency = <100000>;
+
+	/* optional 1K EEPROM with revision information */
+	eeprom at 51 {
+		compatible = "atmel,24c01";
+		reg = <0x51>;
+		pagesize = <8>;
+	};
 };
 
 &mmc3 {
-- 
1.8.1.2

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

* [PATCH 11/18] ARM: dts: omap3-tobi: Create a file for common Gumstix peripherals
  2014-01-09 16:47 ` Florian Vaussard
@ 2014-01-09 16:48   ` Florian Vaussard
  -1 siblings, 0 replies; 54+ messages in thread
From: Florian Vaussard @ 2014-01-09 16:48 UTC (permalink / raw)
  To: Tony Lindgren, Benoit Cousson
  Cc: linux-omap, linux-arm-kernel, florian.vaussard

Gumstix expansion boards share a couple of peripherals:
- i2c3 is used for the console
- AT24C01 EEPROM on i2c3

Use this file for omap3-tobi.

Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
---
 arch/arm/boot/dts/omap3-overo-common.dtsi | 39 +++++++++++++++++++++++++++++++
 arch/arm/boot/dts/omap3-tobi.dts          | 27 +--------------------
 2 files changed, 40 insertions(+), 26 deletions(-)
 create mode 100644 arch/arm/boot/dts/omap3-overo-common.dtsi

diff --git a/arch/arm/boot/dts/omap3-overo-common.dtsi b/arch/arm/boot/dts/omap3-overo-common.dtsi
new file mode 100644
index 0000000..5f38ce8
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-overo-common.dtsi
@@ -0,0 +1,39 @@
+/*
+ * Copyright (C) 2014 Florian Vaussard, EPFL Mobots group
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+/*
+ * Peripherals common to all Gumstix Overo boards (Tobi, Summit, Palo43,...)
+ */
+
+#include "omap3-overo.dtsi"
+
+&omap3_pmx_core {
+	i2c3_pins: pinmux_i2c3_pins {
+		pinctrl-single,pins = <
+			OMAP3_CORE1_IOPAD(0x21c2, PIN_INPUT | MUX_MODE0)	/* i2c3_scl.i2c3_scl */
+			OMAP3_CORE1_IOPAD(0x21c4, PIN_INPUT | MUX_MODE0)	/* i2c3_sda.i2c3_sda */
+		>;
+	};
+};
+
+&i2c3 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&i2c3_pins>;
+	clock-frequency = <100000>;
+
+	/* optional 1K EEPROM with revision information */
+	eeprom@51 {
+		compatible = "atmel,24c01";
+		reg = <0x51>;
+		pagesize = <8>;
+	};
+};
+
+&mmc3 {
+	status = "disabled";
+};
diff --git a/arch/arm/boot/dts/omap3-tobi.dts b/arch/arm/boot/dts/omap3-tobi.dts
index 67c056d..928d12f 100644
--- a/arch/arm/boot/dts/omap3-tobi.dts
+++ b/arch/arm/boot/dts/omap3-tobi.dts
@@ -10,7 +10,7 @@
  * Tobi expansion board is manufactured by Gumstix Inc.
  */
 
-#include "omap3-overo.dtsi"
+#include "omap3-overo-common.dtsi"
 
 / {
 	model = "TI OMAP3 Gumstix Overo on Tobi";
@@ -38,15 +38,6 @@
 	};
 };
 
-&omap3_pmx_core {
-	i2c3_pins: pinmux_i2c3_pins {
-		pinctrl-single,pins = <
-			OMAP3_CORE1_IOPAD(0x21c2, PIN_INPUT | MUX_MODE0)	/* i2c3_scl.i2c3_scl */
-			OMAP3_CORE1_IOPAD(0x21c4, PIN_INPUT | MUX_MODE0)	/* i2c3_sda.i2c3_sda */
-		>;
-	};
-};
-
 #include "omap-gpmc-smsc9221.dtsi"
 
 &gpmc {
@@ -59,19 +50,3 @@
 	};
 };
 
-&i2c3 {
-	pinctrl-names = "default";
-	pinctrl-0 = <&i2c3_pins>;
-	clock-frequency = <100000>;
-
-	/* optional 1K EEPROM with revision information */
-	eeprom@51 {
-		compatible = "atmel,24c01";
-		reg = <0x51>;
-		pagesize = <8>;
-	};
-};
-
-&mmc3 {
-	status = "disabled";
-};
-- 
1.8.1.2


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

* [PATCH 11/18] ARM: dts: omap3-tobi: Create a file for common Gumstix peripherals
@ 2014-01-09 16:48   ` Florian Vaussard
  0 siblings, 0 replies; 54+ messages in thread
From: Florian Vaussard @ 2014-01-09 16:48 UTC (permalink / raw)
  To: linux-arm-kernel

Gumstix expansion boards share a couple of peripherals:
- i2c3 is used for the console
- AT24C01 EEPROM on i2c3

Use this file for omap3-tobi.

Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
---
 arch/arm/boot/dts/omap3-overo-common.dtsi | 39 +++++++++++++++++++++++++++++++
 arch/arm/boot/dts/omap3-tobi.dts          | 27 +--------------------
 2 files changed, 40 insertions(+), 26 deletions(-)
 create mode 100644 arch/arm/boot/dts/omap3-overo-common.dtsi

diff --git a/arch/arm/boot/dts/omap3-overo-common.dtsi b/arch/arm/boot/dts/omap3-overo-common.dtsi
new file mode 100644
index 0000000..5f38ce8
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-overo-common.dtsi
@@ -0,0 +1,39 @@
+/*
+ * Copyright (C) 2014 Florian Vaussard, EPFL Mobots group
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+/*
+ * Peripherals common to all Gumstix Overo boards (Tobi, Summit, Palo43,...)
+ */
+
+#include "omap3-overo.dtsi"
+
+&omap3_pmx_core {
+	i2c3_pins: pinmux_i2c3_pins {
+		pinctrl-single,pins = <
+			OMAP3_CORE1_IOPAD(0x21c2, PIN_INPUT | MUX_MODE0)	/* i2c3_scl.i2c3_scl */
+			OMAP3_CORE1_IOPAD(0x21c4, PIN_INPUT | MUX_MODE0)	/* i2c3_sda.i2c3_sda */
+		>;
+	};
+};
+
+&i2c3 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&i2c3_pins>;
+	clock-frequency = <100000>;
+
+	/* optional 1K EEPROM with revision information */
+	eeprom at 51 {
+		compatible = "atmel,24c01";
+		reg = <0x51>;
+		pagesize = <8>;
+	};
+};
+
+&mmc3 {
+	status = "disabled";
+};
diff --git a/arch/arm/boot/dts/omap3-tobi.dts b/arch/arm/boot/dts/omap3-tobi.dts
index 67c056d..928d12f 100644
--- a/arch/arm/boot/dts/omap3-tobi.dts
+++ b/arch/arm/boot/dts/omap3-tobi.dts
@@ -10,7 +10,7 @@
  * Tobi expansion board is manufactured by Gumstix Inc.
  */
 
-#include "omap3-overo.dtsi"
+#include "omap3-overo-common.dtsi"
 
 / {
 	model = "TI OMAP3 Gumstix Overo on Tobi";
@@ -38,15 +38,6 @@
 	};
 };
 
-&omap3_pmx_core {
-	i2c3_pins: pinmux_i2c3_pins {
-		pinctrl-single,pins = <
-			OMAP3_CORE1_IOPAD(0x21c2, PIN_INPUT | MUX_MODE0)	/* i2c3_scl.i2c3_scl */
-			OMAP3_CORE1_IOPAD(0x21c4, PIN_INPUT | MUX_MODE0)	/* i2c3_sda.i2c3_sda */
-		>;
-	};
-};
-
 #include "omap-gpmc-smsc9221.dtsi"
 
 &gpmc {
@@ -59,19 +50,3 @@
 	};
 };
 
-&i2c3 {
-	pinctrl-names = "default";
-	pinctrl-0 = <&i2c3_pins>;
-	clock-frequency = <100000>;
-
-	/* optional 1K EEPROM with revision information */
-	eeprom at 51 {
-		compatible = "atmel,24c01";
-		reg = <0x51>;
-		pagesize = <8>;
-	};
-};
-
-&mmc3 {
-	status = "disabled";
-};
-- 
1.8.1.2

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

* [PATCH 12/18] ARM: dts: omap3-tobi: Rename to omap3-overo-tobi
  2014-01-09 16:47 ` Florian Vaussard
@ 2014-01-09 16:48   ` Florian Vaussard
  -1 siblings, 0 replies; 54+ messages in thread
From: Florian Vaussard @ 2014-01-09 16:48 UTC (permalink / raw)
  To: Tony Lindgren, Benoit Cousson
  Cc: linux-omap, linux-arm-kernel, florian.vaussard

To enhance the clarity and coherence, rename omap3-tobi to omap3-overo-tobi.

Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
---
 arch/arm/boot/dts/Makefile                                 | 2 +-
 arch/arm/boot/dts/{omap3-tobi.dts => omap3-overo-tobi.dts} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
 rename arch/arm/boot/dts/{omap3-tobi.dts => omap3-overo-tobi.dts} (93%)

diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index b7af502..7b028e4 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -189,7 +189,7 @@ dtb-$(CONFIG_ARCH_OMAP2PLUS) += omap2420-h4.dtb \
 	omap3-n900.dtb \
 	omap3-n9.dtb \
 	omap3-n950.dtb \
-	omap3-tobi.dtb \
+	omap3-overo-tobi.dtb \
 	omap3-gta04.dtb \
 	omap3-igep0020.dtb \
 	omap3-igep0030.dtb \
diff --git a/arch/arm/boot/dts/omap3-tobi.dts b/arch/arm/boot/dts/omap3-overo-tobi.dts
similarity index 93%
rename from arch/arm/boot/dts/omap3-tobi.dts
rename to arch/arm/boot/dts/omap3-overo-tobi.dts
index 928d12f..5072da2 100644
--- a/arch/arm/boot/dts/omap3-tobi.dts
+++ b/arch/arm/boot/dts/omap3-overo-tobi.dts
@@ -14,7 +14,7 @@
 
 / {
 	model = "TI OMAP3 Gumstix Overo on Tobi";
-	compatible = "gumstix,omap3-tobi", "gumstix,omap3-overo", "ti,omap3";
+	compatible = "gumstix,omap3-overo-tobi", "gumstix,omap3-overo", "ti,omap3";
 
 	leds {
 		compatible = "gpio-leds";
-- 
1.8.1.2


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

* [PATCH 12/18] ARM: dts: omap3-tobi: Rename to omap3-overo-tobi
@ 2014-01-09 16:48   ` Florian Vaussard
  0 siblings, 0 replies; 54+ messages in thread
From: Florian Vaussard @ 2014-01-09 16:48 UTC (permalink / raw)
  To: linux-arm-kernel

To enhance the clarity and coherence, rename omap3-tobi to omap3-overo-tobi.

Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
---
 arch/arm/boot/dts/Makefile                                 | 2 +-
 arch/arm/boot/dts/{omap3-tobi.dts => omap3-overo-tobi.dts} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
 rename arch/arm/boot/dts/{omap3-tobi.dts => omap3-overo-tobi.dts} (93%)

diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index b7af502..7b028e4 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -189,7 +189,7 @@ dtb-$(CONFIG_ARCH_OMAP2PLUS) += omap2420-h4.dtb \
 	omap3-n900.dtb \
 	omap3-n9.dtb \
 	omap3-n950.dtb \
-	omap3-tobi.dtb \
+	omap3-overo-tobi.dtb \
 	omap3-gta04.dtb \
 	omap3-igep0020.dtb \
 	omap3-igep0030.dtb \
diff --git a/arch/arm/boot/dts/omap3-tobi.dts b/arch/arm/boot/dts/omap3-overo-tobi.dts
similarity index 93%
rename from arch/arm/boot/dts/omap3-tobi.dts
rename to arch/arm/boot/dts/omap3-overo-tobi.dts
index 928d12f..5072da2 100644
--- a/arch/arm/boot/dts/omap3-tobi.dts
+++ b/arch/arm/boot/dts/omap3-overo-tobi.dts
@@ -14,7 +14,7 @@
 
 / {
 	model = "TI OMAP3 Gumstix Overo on Tobi";
-	compatible = "gumstix,omap3-tobi", "gumstix,omap3-overo", "ti,omap3";
+	compatible = "gumstix,omap3-overo-tobi", "gumstix,omap3-overo", "ti,omap3";
 
 	leds {
 		compatible = "gpio-leds";
-- 
1.8.1.2

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

* [PATCH 13/18] ARM: dts: Add support for the Overo Palo43
  2014-01-09 16:47 ` Florian Vaussard
@ 2014-01-09 16:48   ` Florian Vaussard
  -1 siblings, 0 replies; 54+ messages in thread
From: Florian Vaussard @ 2014-01-09 16:48 UTC (permalink / raw)
  To: Tony Lindgren, Benoit Cousson
  Cc: linux-omap, linux-arm-kernel, florian.vaussard

Palo43 is an expansion board for Gumstix Overo products.

Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
---
 arch/arm/boot/dts/Makefile               |  1 +
 arch/arm/boot/dts/omap3-overo-palo43.dts | 52 ++++++++++++++++++++++++++++++++
 2 files changed, 53 insertions(+)
 create mode 100644 arch/arm/boot/dts/omap3-overo-palo43.dts

diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 7b028e4..98f9bc5 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -189,6 +189,7 @@ dtb-$(CONFIG_ARCH_OMAP2PLUS) += omap2420-h4.dtb \
 	omap3-n900.dtb \
 	omap3-n9.dtb \
 	omap3-n950.dtb \
+	omap3-overo-palo43.dtb \
 	omap3-overo-tobi.dtb \
 	omap3-gta04.dtb \
 	omap3-igep0020.dtb \
diff --git a/arch/arm/boot/dts/omap3-overo-palo43.dts b/arch/arm/boot/dts/omap3-overo-palo43.dts
new file mode 100644
index 0000000..2d5791b
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-overo-palo43.dts
@@ -0,0 +1,52 @@
+/*
+ * Copyright (C) 2014 Florian Vaussard, EPFL Mobots group
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+/*
+ * Palo43 expansion board is manufactured by Gumstix Inc.
+ */
+
+#include "omap3-overo-common.dtsi"
+
+#include <dt-bindings/input/input.h>
+
+/ {
+	model = "TI OMAP3 Gumstix Overo on Palo43";
+	compatible = "gumstix,omap3-overo-palo43", "gumstix,omap3-overo", "ti,omap3";
+
+	leds {
+		compatible = "gpio-leds";
+		heartbeat {
+			label = "overo:red:gpio21";
+			gpios = <&gpio1 21 GPIO_ACTIVE_LOW>;
+			linux,default-trigger = "heartbeat";
+		};
+		gpio22 {
+			label = "overo:blue:gpio22";
+			gpios = <&gpio1 22 GPIO_ACTIVE_LOW>;
+		};
+	};
+
+	gpio_keys {
+		compatible = "gpio-keys";
+		#address-cells = <1>;
+		#size-cells = <0>;
+		button0@23 {
+			label = "button0";
+			linux,code = <BTN_0>;
+			gpios = <&gpio1 23 GPIO_ACTIVE_LOW>;
+			gpio-key,wakeup;
+		};
+		button1@14 {
+			label = "button1";
+			linux,code = <BTN_1>;
+			gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
+			gpio-key,wakeup;
+		};
+	};
+};
+
-- 
1.8.1.2


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

* [PATCH 13/18] ARM: dts: Add support for the Overo Palo43
@ 2014-01-09 16:48   ` Florian Vaussard
  0 siblings, 0 replies; 54+ messages in thread
From: Florian Vaussard @ 2014-01-09 16:48 UTC (permalink / raw)
  To: linux-arm-kernel

Palo43 is an expansion board for Gumstix Overo products.

Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
---
 arch/arm/boot/dts/Makefile               |  1 +
 arch/arm/boot/dts/omap3-overo-palo43.dts | 52 ++++++++++++++++++++++++++++++++
 2 files changed, 53 insertions(+)
 create mode 100644 arch/arm/boot/dts/omap3-overo-palo43.dts

diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 7b028e4..98f9bc5 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -189,6 +189,7 @@ dtb-$(CONFIG_ARCH_OMAP2PLUS) += omap2420-h4.dtb \
 	omap3-n900.dtb \
 	omap3-n9.dtb \
 	omap3-n950.dtb \
+	omap3-overo-palo43.dtb \
 	omap3-overo-tobi.dtb \
 	omap3-gta04.dtb \
 	omap3-igep0020.dtb \
diff --git a/arch/arm/boot/dts/omap3-overo-palo43.dts b/arch/arm/boot/dts/omap3-overo-palo43.dts
new file mode 100644
index 0000000..2d5791b
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-overo-palo43.dts
@@ -0,0 +1,52 @@
+/*
+ * Copyright (C) 2014 Florian Vaussard, EPFL Mobots group
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+/*
+ * Palo43 expansion board is manufactured by Gumstix Inc.
+ */
+
+#include "omap3-overo-common.dtsi"
+
+#include <dt-bindings/input/input.h>
+
+/ {
+	model = "TI OMAP3 Gumstix Overo on Palo43";
+	compatible = "gumstix,omap3-overo-palo43", "gumstix,omap3-overo", "ti,omap3";
+
+	leds {
+		compatible = "gpio-leds";
+		heartbeat {
+			label = "overo:red:gpio21";
+			gpios = <&gpio1 21 GPIO_ACTIVE_LOW>;
+			linux,default-trigger = "heartbeat";
+		};
+		gpio22 {
+			label = "overo:blue:gpio22";
+			gpios = <&gpio1 22 GPIO_ACTIVE_LOW>;
+		};
+	};
+
+	gpio_keys {
+		compatible = "gpio-keys";
+		#address-cells = <1>;
+		#size-cells = <0>;
+		button0 at 23 {
+			label = "button0";
+			linux,code = <BTN_0>;
+			gpios = <&gpio1 23 GPIO_ACTIVE_LOW>;
+			gpio-key,wakeup;
+		};
+		button1 at 14 {
+			label = "button1";
+			linux,code = <BTN_1>;
+			gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
+			gpio-key,wakeup;
+		};
+	};
+};
+
-- 
1.8.1.2

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

* [PATCH 14/18] ARM: dts: Add support for the Overo Gallop43
  2014-01-09 16:47 ` Florian Vaussard
@ 2014-01-09 16:48   ` Florian Vaussard
  -1 siblings, 0 replies; 54+ messages in thread
From: Florian Vaussard @ 2014-01-09 16:48 UTC (permalink / raw)
  To: Tony Lindgren, Benoit Cousson
  Cc: linux-omap, linux-arm-kernel, florian.vaussard

Gallop43 is an expansion board for Gumstix Overo products.

Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
---
 arch/arm/boot/dts/Makefile                 |  1 +
 arch/arm/boot/dts/omap3-overo-gallop43.dts | 51 ++++++++++++++++++++++++++++++
 2 files changed, 52 insertions(+)
 create mode 100644 arch/arm/boot/dts/omap3-overo-gallop43.dts

diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 98f9bc5..799b306 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -189,6 +189,7 @@ dtb-$(CONFIG_ARCH_OMAP2PLUS) += omap2420-h4.dtb \
 	omap3-n900.dtb \
 	omap3-n9.dtb \
 	omap3-n950.dtb \
+	omap3-overo-gallop43.dtb \
 	omap3-overo-palo43.dtb \
 	omap3-overo-tobi.dtb \
 	omap3-gta04.dtb \
diff --git a/arch/arm/boot/dts/omap3-overo-gallop43.dts b/arch/arm/boot/dts/omap3-overo-gallop43.dts
new file mode 100644
index 0000000..32f719e
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-overo-gallop43.dts
@@ -0,0 +1,51 @@
+/*
+ * Copyright (C) 2014 Florian Vaussard, EPFL Mobots group
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+/*
+ * Gallop43 expansion board is manufactured by Gumstix Inc.
+ */
+
+#include "omap3-overo-common.dtsi"
+
+#include <dt-bindings/input/input.h>
+
+/ {
+	model = "TI OMAP3 Gumstix Overo on Gallop43";
+	compatible = "gumstix,omap3-overo-gallop43", "gumstix,omap3-overo", "ti,omap3";
+
+	leds {
+		compatible = "gpio-leds";
+		heartbeat {
+			label = "overo:red:gpio21";
+			gpios = <&gpio1 21 GPIO_ACTIVE_LOW>;
+			linux,default-trigger = "heartbeat";
+		};
+		gpio22 {
+			label = "overo:blue:gpio22";
+			gpios = <&gpio1 22 GPIO_ACTIVE_LOW>;
+		};
+	};
+
+	gpio_keys {
+		compatible = "gpio-keys";
+		#address-cells = <1>;
+		#size-cells = <0>;
+		button0@23 {
+			label = "button0";
+			linux,code = <BTN_0>;
+			gpios = <&gpio1 23 GPIO_ACTIVE_LOW>;
+			gpio-key,wakeup;
+		};
+		button1@14 {
+			label = "button1";
+			linux,code = <BTN_1>;
+			gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
+			gpio-key,wakeup;
+		};
+	};
+};
-- 
1.8.1.2


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

* [PATCH 14/18] ARM: dts: Add support for the Overo Gallop43
@ 2014-01-09 16:48   ` Florian Vaussard
  0 siblings, 0 replies; 54+ messages in thread
From: Florian Vaussard @ 2014-01-09 16:48 UTC (permalink / raw)
  To: linux-arm-kernel

Gallop43 is an expansion board for Gumstix Overo products.

Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
---
 arch/arm/boot/dts/Makefile                 |  1 +
 arch/arm/boot/dts/omap3-overo-gallop43.dts | 51 ++++++++++++++++++++++++++++++
 2 files changed, 52 insertions(+)
 create mode 100644 arch/arm/boot/dts/omap3-overo-gallop43.dts

diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 98f9bc5..799b306 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -189,6 +189,7 @@ dtb-$(CONFIG_ARCH_OMAP2PLUS) += omap2420-h4.dtb \
 	omap3-n900.dtb \
 	omap3-n9.dtb \
 	omap3-n950.dtb \
+	omap3-overo-gallop43.dtb \
 	omap3-overo-palo43.dtb \
 	omap3-overo-tobi.dtb \
 	omap3-gta04.dtb \
diff --git a/arch/arm/boot/dts/omap3-overo-gallop43.dts b/arch/arm/boot/dts/omap3-overo-gallop43.dts
new file mode 100644
index 0000000..32f719e
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-overo-gallop43.dts
@@ -0,0 +1,51 @@
+/*
+ * Copyright (C) 2014 Florian Vaussard, EPFL Mobots group
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+/*
+ * Gallop43 expansion board is manufactured by Gumstix Inc.
+ */
+
+#include "omap3-overo-common.dtsi"
+
+#include <dt-bindings/input/input.h>
+
+/ {
+	model = "TI OMAP3 Gumstix Overo on Gallop43";
+	compatible = "gumstix,omap3-overo-gallop43", "gumstix,omap3-overo", "ti,omap3";
+
+	leds {
+		compatible = "gpio-leds";
+		heartbeat {
+			label = "overo:red:gpio21";
+			gpios = <&gpio1 21 GPIO_ACTIVE_LOW>;
+			linux,default-trigger = "heartbeat";
+		};
+		gpio22 {
+			label = "overo:blue:gpio22";
+			gpios = <&gpio1 22 GPIO_ACTIVE_LOW>;
+		};
+	};
+
+	gpio_keys {
+		compatible = "gpio-keys";
+		#address-cells = <1>;
+		#size-cells = <0>;
+		button0 at 23 {
+			label = "button0";
+			linux,code = <BTN_0>;
+			gpios = <&gpio1 23 GPIO_ACTIVE_LOW>;
+			gpio-key,wakeup;
+		};
+		button1 at 14 {
+			label = "button1";
+			linux,code = <BTN_1>;
+			gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
+			gpio-key,wakeup;
+		};
+	};
+};
-- 
1.8.1.2

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

* [PATCH 15/18] ARM: dts: Add support for the Overo Alto35
  2014-01-09 16:47 ` Florian Vaussard
@ 2014-01-09 16:48   ` Florian Vaussard
  -1 siblings, 0 replies; 54+ messages in thread
From: Florian Vaussard @ 2014-01-09 16:48 UTC (permalink / raw)
  To: Tony Lindgren, Benoit Cousson
  Cc: linux-omap, linux-arm-kernel, florian.vaussard

Alto35 is an expansion board for Gumstix Overo products.

Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
---
 arch/arm/boot/dts/Makefile               |  1 +
 arch/arm/boot/dts/omap3-overo-alto35.dts | 52 ++++++++++++++++++++++++++++++++
 2 files changed, 53 insertions(+)
 create mode 100644 arch/arm/boot/dts/omap3-overo-alto35.dts

diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 799b306..29432b0 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -189,6 +189,7 @@ dtb-$(CONFIG_ARCH_OMAP2PLUS) += omap2420-h4.dtb \
 	omap3-n900.dtb \
 	omap3-n9.dtb \
 	omap3-n950.dtb \
+	omap3-overo-alto35.dtb \
 	omap3-overo-gallop43.dtb \
 	omap3-overo-palo43.dtb \
 	omap3-overo-tobi.dtb \
diff --git a/arch/arm/boot/dts/omap3-overo-alto35.dts b/arch/arm/boot/dts/omap3-overo-alto35.dts
new file mode 100644
index 0000000..40c7e6c
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-overo-alto35.dts
@@ -0,0 +1,52 @@
+/*
+ * Copyright (C) 2014 Florian Vaussard, EPFL Mobots group
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+/*
+ * Alto35 expansion board is manufactured by Gumstix Inc.
+ */
+
+#include "omap3-overo-common.dtsi"
+
+#include <dt-bindings/input/input.h>
+
+/ {
+	model = "TI OMAP3 Gumstix Overo on Alto35";
+	compatible = "gumstix,omap3-overo-alto35", "gumstix,omap3-overo", "ti,omap3";
+
+	leds {
+		compatible = "gpio-leds";
+		gpio148 {
+			label = "overo:red:gpio148";
+			gpios = <&gpio5 20 GPIO_ACTIVE_HIGH>;	/* gpio 148 */
+		};
+		gpio150 {
+			label = "overo:yellow:gpio150";
+			gpios = <&gpio5 22 GPIO_ACTIVE_HIGH>;	/* gpio 150 */
+		};
+		gpio151 {
+			label = "overo:blue:gpio151";
+			gpios = <&gpio5 23 GPIO_ACTIVE_HIGH>;	/* gpio 151 */
+		};
+		gpio170 {
+			label = "overo:green:gpio170";
+			gpios = <&gpio6 10 GPIO_ACTIVE_HIGH>;	/* gpio 170 */
+		};
+	};
+
+	gpio_keys {
+		compatible = "gpio-keys";
+		#address-cells = <1>;
+		#size-cells = <0>;
+		button0@10 {
+			label = "button0";
+			linux,code = <BTN_0>;
+			gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
+			gpio-key,wakeup;
+		};
+	};
+};
-- 
1.8.1.2


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

* [PATCH 15/18] ARM: dts: Add support for the Overo Alto35
@ 2014-01-09 16:48   ` Florian Vaussard
  0 siblings, 0 replies; 54+ messages in thread
From: Florian Vaussard @ 2014-01-09 16:48 UTC (permalink / raw)
  To: linux-arm-kernel

Alto35 is an expansion board for Gumstix Overo products.

Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
---
 arch/arm/boot/dts/Makefile               |  1 +
 arch/arm/boot/dts/omap3-overo-alto35.dts | 52 ++++++++++++++++++++++++++++++++
 2 files changed, 53 insertions(+)
 create mode 100644 arch/arm/boot/dts/omap3-overo-alto35.dts

diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 799b306..29432b0 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -189,6 +189,7 @@ dtb-$(CONFIG_ARCH_OMAP2PLUS) += omap2420-h4.dtb \
 	omap3-n900.dtb \
 	omap3-n9.dtb \
 	omap3-n950.dtb \
+	omap3-overo-alto35.dtb \
 	omap3-overo-gallop43.dtb \
 	omap3-overo-palo43.dtb \
 	omap3-overo-tobi.dtb \
diff --git a/arch/arm/boot/dts/omap3-overo-alto35.dts b/arch/arm/boot/dts/omap3-overo-alto35.dts
new file mode 100644
index 0000000..40c7e6c
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-overo-alto35.dts
@@ -0,0 +1,52 @@
+/*
+ * Copyright (C) 2014 Florian Vaussard, EPFL Mobots group
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+/*
+ * Alto35 expansion board is manufactured by Gumstix Inc.
+ */
+
+#include "omap3-overo-common.dtsi"
+
+#include <dt-bindings/input/input.h>
+
+/ {
+	model = "TI OMAP3 Gumstix Overo on Alto35";
+	compatible = "gumstix,omap3-overo-alto35", "gumstix,omap3-overo", "ti,omap3";
+
+	leds {
+		compatible = "gpio-leds";
+		gpio148 {
+			label = "overo:red:gpio148";
+			gpios = <&gpio5 20 GPIO_ACTIVE_HIGH>;	/* gpio 148 */
+		};
+		gpio150 {
+			label = "overo:yellow:gpio150";
+			gpios = <&gpio5 22 GPIO_ACTIVE_HIGH>;	/* gpio 150 */
+		};
+		gpio151 {
+			label = "overo:blue:gpio151";
+			gpios = <&gpio5 23 GPIO_ACTIVE_HIGH>;	/* gpio 151 */
+		};
+		gpio170 {
+			label = "overo:green:gpio170";
+			gpios = <&gpio6 10 GPIO_ACTIVE_HIGH>;	/* gpio 170 */
+		};
+	};
+
+	gpio_keys {
+		compatible = "gpio-keys";
+		#address-cells = <1>;
+		#size-cells = <0>;
+		button0 at 10 {
+			label = "button0";
+			linux,code = <BTN_0>;
+			gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
+			gpio-key,wakeup;
+		};
+	};
+};
-- 
1.8.1.2

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

* [PATCH 16/18] ARM: dts: Add support for the Overo Chestnut43
  2014-01-09 16:47 ` Florian Vaussard
@ 2014-01-09 16:48   ` Florian Vaussard
  -1 siblings, 0 replies; 54+ messages in thread
From: Florian Vaussard @ 2014-01-09 16:48 UTC (permalink / raw)
  To: Tony Lindgren, Benoit Cousson
  Cc: linux-omap, linux-arm-kernel, florian.vaussard

Chestnut43 is an expansion board for Gumstix Overo products.

Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
---
 arch/arm/boot/dts/Makefile                   |  1 +
 arch/arm/boot/dts/omap3-overo-chestnut43.dts | 76 ++++++++++++++++++++++++++++
 2 files changed, 77 insertions(+)
 create mode 100644 arch/arm/boot/dts/omap3-overo-chestnut43.dts

diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 29432b0..3f6ef70 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -190,6 +190,7 @@ dtb-$(CONFIG_ARCH_OMAP2PLUS) += omap2420-h4.dtb \
 	omap3-n9.dtb \
 	omap3-n950.dtb \
 	omap3-overo-alto35.dtb \
+	omap3-overo-chestnut43.dtb \
 	omap3-overo-gallop43.dtb \
 	omap3-overo-palo43.dtb \
 	omap3-overo-tobi.dtb \
diff --git a/arch/arm/boot/dts/omap3-overo-chestnut43.dts b/arch/arm/boot/dts/omap3-overo-chestnut43.dts
new file mode 100644
index 0000000..3361c2d
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-overo-chestnut43.dts
@@ -0,0 +1,76 @@
+/*
+ * Copyright (C) 2014 Florian Vaussard, EPFL Mobots group
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+/*
+ * Chestnut43 expansion board is manufactured by Gumstix Inc.
+ */
+
+#include "omap3-overo-common.dtsi"
+
+#include <dt-bindings/input/input.h>
+
+/ {
+	model = "TI OMAP3 Gumstix Overo on Chestnut43";
+	compatible = "gumstix,omap3-overo-chestnut43", "gumstix,omap3-overo", "ti,omap3";
+
+	leds {
+		compatible = "gpio-leds";
+		heartbeat {
+			label = "overo:red:gpio21";
+			gpios = <&gpio1 21 GPIO_ACTIVE_LOW>;
+			linux,default-trigger = "heartbeat";
+		};
+		gpio22 {
+			label = "overo:blue:gpio22";
+			gpios = <&gpio1 22 GPIO_ACTIVE_LOW>;
+		};
+	};
+
+	gpio_keys {
+		compatible = "gpio-keys";
+		#address-cells = <1>;
+		#size-cells = <0>;
+		button0@23 {
+			label = "button0";
+			linux,code = <BTN_0>;
+			gpios = <&gpio1 23 GPIO_ACTIVE_LOW>;
+			gpio-key,wakeup;
+		};
+		button1@14 {
+			label = "button1";
+			linux,code = <BTN_1>;
+			gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
+			gpio-key,wakeup;
+		};
+	};
+
+	vddvario: regulator-vddvario {
+		  compatible = "regulator-fixed";
+		  regulator-name = "vddvario";
+		  regulator-always-on;
+	};
+
+	vdd33a: regulator-vdd33a {
+		compatible = "regulator-fixed";
+		regulator-name = "vdd33a";
+		regulator-always-on;
+	};
+};
+
+#include "omap-gpmc-smsc9221.dtsi"
+
+&gpmc {
+	ranges = <5 0 0x2c000000 0x1000000>;	/* CS5 */
+
+	ethernet@gpmc {
+		reg = <5 0 0xff>;
+		interrupt-parent = <&gpio6>;
+		interrupts = <16 IRQ_TYPE_LEVEL_LOW>;	/* GPIO 176 */
+	};
+};
+
-- 
1.8.1.2


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

* [PATCH 16/18] ARM: dts: Add support for the Overo Chestnut43
@ 2014-01-09 16:48   ` Florian Vaussard
  0 siblings, 0 replies; 54+ messages in thread
From: Florian Vaussard @ 2014-01-09 16:48 UTC (permalink / raw)
  To: linux-arm-kernel

Chestnut43 is an expansion board for Gumstix Overo products.

Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
---
 arch/arm/boot/dts/Makefile                   |  1 +
 arch/arm/boot/dts/omap3-overo-chestnut43.dts | 76 ++++++++++++++++++++++++++++
 2 files changed, 77 insertions(+)
 create mode 100644 arch/arm/boot/dts/omap3-overo-chestnut43.dts

diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 29432b0..3f6ef70 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -190,6 +190,7 @@ dtb-$(CONFIG_ARCH_OMAP2PLUS) += omap2420-h4.dtb \
 	omap3-n9.dtb \
 	omap3-n950.dtb \
 	omap3-overo-alto35.dtb \
+	omap3-overo-chestnut43.dtb \
 	omap3-overo-gallop43.dtb \
 	omap3-overo-palo43.dtb \
 	omap3-overo-tobi.dtb \
diff --git a/arch/arm/boot/dts/omap3-overo-chestnut43.dts b/arch/arm/boot/dts/omap3-overo-chestnut43.dts
new file mode 100644
index 0000000..3361c2d
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-overo-chestnut43.dts
@@ -0,0 +1,76 @@
+/*
+ * Copyright (C) 2014 Florian Vaussard, EPFL Mobots group
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+/*
+ * Chestnut43 expansion board is manufactured by Gumstix Inc.
+ */
+
+#include "omap3-overo-common.dtsi"
+
+#include <dt-bindings/input/input.h>
+
+/ {
+	model = "TI OMAP3 Gumstix Overo on Chestnut43";
+	compatible = "gumstix,omap3-overo-chestnut43", "gumstix,omap3-overo", "ti,omap3";
+
+	leds {
+		compatible = "gpio-leds";
+		heartbeat {
+			label = "overo:red:gpio21";
+			gpios = <&gpio1 21 GPIO_ACTIVE_LOW>;
+			linux,default-trigger = "heartbeat";
+		};
+		gpio22 {
+			label = "overo:blue:gpio22";
+			gpios = <&gpio1 22 GPIO_ACTIVE_LOW>;
+		};
+	};
+
+	gpio_keys {
+		compatible = "gpio-keys";
+		#address-cells = <1>;
+		#size-cells = <0>;
+		button0 at 23 {
+			label = "button0";
+			linux,code = <BTN_0>;
+			gpios = <&gpio1 23 GPIO_ACTIVE_LOW>;
+			gpio-key,wakeup;
+		};
+		button1 at 14 {
+			label = "button1";
+			linux,code = <BTN_1>;
+			gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
+			gpio-key,wakeup;
+		};
+	};
+
+	vddvario: regulator-vddvario {
+		  compatible = "regulator-fixed";
+		  regulator-name = "vddvario";
+		  regulator-always-on;
+	};
+
+	vdd33a: regulator-vdd33a {
+		compatible = "regulator-fixed";
+		regulator-name = "vdd33a";
+		regulator-always-on;
+	};
+};
+
+#include "omap-gpmc-smsc9221.dtsi"
+
+&gpmc {
+	ranges = <5 0 0x2c000000 0x1000000>;	/* CS5 */
+
+	ethernet at gpmc {
+		reg = <5 0 0xff>;
+		interrupt-parent = <&gpio6>;
+		interrupts = <16 IRQ_TYPE_LEVEL_LOW>;	/* GPIO 176 */
+	};
+};
+
-- 
1.8.1.2

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

* [PATCH 17/18] ARM: dts: Add support for the Overo Summit
  2014-01-09 16:47 ` Florian Vaussard
@ 2014-01-09 16:48   ` Florian Vaussard
  -1 siblings, 0 replies; 54+ messages in thread
From: Florian Vaussard @ 2014-01-09 16:48 UTC (permalink / raw)
  To: Tony Lindgren, Benoit Cousson
  Cc: linux-omap, linux-arm-kernel, florian.vaussard

Summit is an expansion board for Gumstix Overo products.

Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
---
 arch/arm/boot/dts/Makefile               |  1 +
 arch/arm/boot/dts/omap3-overo-summit.dts | 27 +++++++++++++++++++++++++++
 2 files changed, 28 insertions(+)
 create mode 100644 arch/arm/boot/dts/omap3-overo-summit.dts

diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 3f6ef70..d00f023 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -193,6 +193,7 @@ dtb-$(CONFIG_ARCH_OMAP2PLUS) += omap2420-h4.dtb \
 	omap3-overo-chestnut43.dtb \
 	omap3-overo-gallop43.dtb \
 	omap3-overo-palo43.dtb \
+	omap3-overo-summit.dtb \
 	omap3-overo-tobi.dtb \
 	omap3-gta04.dtb \
 	omap3-igep0020.dtb \
diff --git a/arch/arm/boot/dts/omap3-overo-summit.dts b/arch/arm/boot/dts/omap3-overo-summit.dts
new file mode 100644
index 0000000..fd8b47c
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-overo-summit.dts
@@ -0,0 +1,27 @@
+/*
+ * Copyright (C) 2014 Florian Vaussard, EPFL Mobots group
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+/*
+ * Summit expansion board is manufactured by Gumstix Inc.
+ */
+
+#include "omap3-overo-common.dtsi"
+
+/ {
+	model = "TI OMAP3 Gumstix Overo on Summit";
+	compatible = "gumstix,omap3-overo-summit", "gumstix,omap3-overo", "ti,omap3";
+
+	leds {
+		compatible = "gpio-leds";
+		heartbeat {
+			label = "overo:red:gpio21";
+			gpios = <&gpio1 21 GPIO_ACTIVE_LOW>;
+			linux,default-trigger = "heartbeat";
+		};
+	};
+};
-- 
1.8.1.2


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

* [PATCH 17/18] ARM: dts: Add support for the Overo Summit
@ 2014-01-09 16:48   ` Florian Vaussard
  0 siblings, 0 replies; 54+ messages in thread
From: Florian Vaussard @ 2014-01-09 16:48 UTC (permalink / raw)
  To: linux-arm-kernel

Summit is an expansion board for Gumstix Overo products.

Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
---
 arch/arm/boot/dts/Makefile               |  1 +
 arch/arm/boot/dts/omap3-overo-summit.dts | 27 +++++++++++++++++++++++++++
 2 files changed, 28 insertions(+)
 create mode 100644 arch/arm/boot/dts/omap3-overo-summit.dts

diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 3f6ef70..d00f023 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -193,6 +193,7 @@ dtb-$(CONFIG_ARCH_OMAP2PLUS) += omap2420-h4.dtb \
 	omap3-overo-chestnut43.dtb \
 	omap3-overo-gallop43.dtb \
 	omap3-overo-palo43.dtb \
+	omap3-overo-summit.dtb \
 	omap3-overo-tobi.dtb \
 	omap3-gta04.dtb \
 	omap3-igep0020.dtb \
diff --git a/arch/arm/boot/dts/omap3-overo-summit.dts b/arch/arm/boot/dts/omap3-overo-summit.dts
new file mode 100644
index 0000000..fd8b47c
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-overo-summit.dts
@@ -0,0 +1,27 @@
+/*
+ * Copyright (C) 2014 Florian Vaussard, EPFL Mobots group
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+/*
+ * Summit expansion board is manufactured by Gumstix Inc.
+ */
+
+#include "omap3-overo-common.dtsi"
+
+/ {
+	model = "TI OMAP3 Gumstix Overo on Summit";
+	compatible = "gumstix,omap3-overo-summit", "gumstix,omap3-overo", "ti,omap3";
+
+	leds {
+		compatible = "gpio-leds";
+		heartbeat {
+			label = "overo:red:gpio21";
+			gpios = <&gpio1 21 GPIO_ACTIVE_LOW>;
+			linux,default-trigger = "heartbeat";
+		};
+	};
+};
-- 
1.8.1.2

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

* [PATCH 18/18] ARM: dts: overo: Add support for DVI output
  2014-01-09 16:47 ` Florian Vaussard
@ 2014-01-09 16:48   ` Florian Vaussard
  -1 siblings, 0 replies; 54+ messages in thread
From: Florian Vaussard @ 2014-01-09 16:48 UTC (permalink / raw)
  To: Tony Lindgren, Benoit Cousson
  Cc: linux-omap, linux-arm-kernel, florian.vaussard

Summit and Tobi expansion boards have a HDMI connector with a TFP410
encoder. Add a common include file for this configuration, and then
use it for Summit and Tobi.

Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
---
 arch/arm/boot/dts/omap3-overo-common-dvi.dtsi | 108 ++++++++++++++++++++++++++
 arch/arm/boot/dts/omap3-overo-summit.dts      |   3 +
 arch/arm/boot/dts/omap3-overo-tobi.dts        |   2 +
 3 files changed, 113 insertions(+)
 create mode 100644 arch/arm/boot/dts/omap3-overo-common-dvi.dtsi

diff --git a/arch/arm/boot/dts/omap3-overo-common-dvi.dtsi b/arch/arm/boot/dts/omap3-overo-common-dvi.dtsi
new file mode 100644
index 0000000..e4a0fa0
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-overo-common-dvi.dtsi
@@ -0,0 +1,108 @@
+/*
+ * Copyright (C) 2014 Florian Vaussard, EPFL Mobots group
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+/*
+ * DVI output for some Gumstix Overo boards (Tobi and Summit)
+ */
+
+&omap3_pmx_core {
+	i2c3_pins: pinmux_i2c3_pins {
+		pinctrl-single,pins = <
+			OMAP3_CORE1_IOPAD(0x21c2, PIN_INPUT | MUX_MODE0)	/* i2c3_scl.i2c3_scl */
+			OMAP3_CORE1_IOPAD(0x21c4, PIN_INPUT | MUX_MODE0)	/* i2c3_sda.i2c3_sda */
+		>;
+	};
+
+	dss_dpi_pins: pinmux_dss_dpi_pins {
+		pinctrl-single,pins = <
+			OMAP3_CORE1_IOPAD(0x20d4, PIN_OUTPUT | MUX_MODE0)	/* dss_pclk.dss_pclk */
+			OMAP3_CORE1_IOPAD(0x20d6, PIN_OUTPUT | MUX_MODE0)	/* dss_hsync.dss_hsync */
+			OMAP3_CORE1_IOPAD(0x20d8, PIN_OUTPUT | MUX_MODE0)	/* dss_vsync.dss_vsync */
+			OMAP3_CORE1_IOPAD(0x20da, PIN_OUTPUT | MUX_MODE0)	/* dss_acbias.dss_acbias */
+			OMAP3_CORE1_IOPAD(0x20dc, PIN_OUTPUT | MUX_MODE0)	/* dss_data0.dss_data0 */
+			OMAP3_CORE1_IOPAD(0x20de, PIN_OUTPUT | MUX_MODE0)	/* dss_data1.dss_data1 */
+			OMAP3_CORE1_IOPAD(0x20e0, PIN_OUTPUT | MUX_MODE0)	/* dss_data2.dss_data2 */
+			OMAP3_CORE1_IOPAD(0x20e2, PIN_OUTPUT | MUX_MODE0)	/* dss_data3.dss_data3 */
+			OMAP3_CORE1_IOPAD(0x20e4, PIN_OUTPUT | MUX_MODE0)	/* dss_data4.dss_data4 */
+			OMAP3_CORE1_IOPAD(0x20e6, PIN_OUTPUT | MUX_MODE0)	/* dss_data5.dss_data5 */
+			OMAP3_CORE1_IOPAD(0x20e8, PIN_OUTPUT | MUX_MODE0)	/* dss_data6.dss_data6 */
+			OMAP3_CORE1_IOPAD(0x20ea, PIN_OUTPUT | MUX_MODE0)	/* dss_data7.dss_data7 */
+			OMAP3_CORE1_IOPAD(0x20ec, PIN_OUTPUT | MUX_MODE0)	/* dss_data8.dss_data8 */
+			OMAP3_CORE1_IOPAD(0x20ee, PIN_OUTPUT | MUX_MODE0)	/* dss_data9.dss_data9 */
+			OMAP3_CORE1_IOPAD(0x20f0, PIN_OUTPUT | MUX_MODE0)	/* dss_data10.dss_data10 */
+			OMAP3_CORE1_IOPAD(0x20f2, PIN_OUTPUT | MUX_MODE0)	/* dss_data11.dss_data11 */
+			OMAP3_CORE1_IOPAD(0x20f4, PIN_OUTPUT | MUX_MODE0)	/* dss_data12.dss_data12 */
+			OMAP3_CORE1_IOPAD(0x20f6, PIN_OUTPUT | MUX_MODE0)	/* dss_data13.dss_data13 */
+			OMAP3_CORE1_IOPAD(0x20f8, PIN_OUTPUT | MUX_MODE0)	/* dss_data14.dss_data14 */
+			OMAP3_CORE1_IOPAD(0x20fa, PIN_OUTPUT | MUX_MODE0)	/* dss_data15.dss_data15 */
+			OMAP3_CORE1_IOPAD(0x20fc, PIN_OUTPUT | MUX_MODE0)	/* dss_data16.dss_data16 */
+			OMAP3_CORE1_IOPAD(0x20fe, PIN_OUTPUT | MUX_MODE0)	/* dss_data17.dss_data17 */
+			OMAP3_CORE1_IOPAD(0x2100, PIN_OUTPUT | MUX_MODE0)	/* dss_data18.dss_data18 */
+			OMAP3_CORE1_IOPAD(0x2102, PIN_OUTPUT | MUX_MODE0)	/* dss_data19.dss_data19 */
+			OMAP3_CORE1_IOPAD(0x2104, PIN_OUTPUT | MUX_MODE0)	/* dss_data20.dss_data20 */
+			OMAP3_CORE1_IOPAD(0x2106, PIN_OUTPUT | MUX_MODE0)	/* dss_data21.dss_data21 */
+			OMAP3_CORE1_IOPAD(0x2108, PIN_OUTPUT | MUX_MODE0)	/* dss_data22.dss_data22 */
+			OMAP3_CORE1_IOPAD(0x210a, PIN_OUTPUT | MUX_MODE0)	/* dss_data23.dss_data23 */
+		>;
+	};
+};
+
+&dss {
+	pinctrl-names = "default";
+	pinctrl-0 = <&dss_dpi_pins>;
+
+	vdds_dsi-supply = <&vpll2>;
+
+	dpi_out: endpoint {
+		remote-endpoint = <&tfp410_in>;
+		data-lines = <24>;
+	};
+};
+
+/ {
+	aliases {
+		display0 = &dvi0;
+	};
+
+	tfp410: encoder@0 {
+		compatible = "ti,tfp410";
+
+		ports {
+			#address-cells = <1>;
+			#size-cells = <0>;
+
+			port@0 {
+				reg = <0>;
+
+				tfp410_in: endpoint@0 {
+					remote-endpoint = <&dpi_out>;
+				};
+			};
+
+			port@1 {
+				reg = <1>;
+
+				tfp410_out: endpoint@0 {
+					remote-endpoint = <&dvi_connector_in>;
+				};
+			};
+		};
+	};
+
+	dvi0: connector@0 {
+		compatible = "dvi-connector";
+		label = "dvi";
+
+		i2c-bus = <&i2c3>;
+
+		dvi_connector_in: endpoint {
+			remote-endpoint = <&tfp410_out>;
+		};
+	};
+};
+
diff --git a/arch/arm/boot/dts/omap3-overo-summit.dts b/arch/arm/boot/dts/omap3-overo-summit.dts
index fd8b47c..1b8774e 100644
--- a/arch/arm/boot/dts/omap3-overo-summit.dts
+++ b/arch/arm/boot/dts/omap3-overo-summit.dts
@@ -25,3 +25,6 @@
 		};
 	};
 };
+
+#include "omap3-overo-common-dvi.dtsi"
+
diff --git a/arch/arm/boot/dts/omap3-overo-tobi.dts b/arch/arm/boot/dts/omap3-overo-tobi.dts
index 5072da2..17a85ad 100644
--- a/arch/arm/boot/dts/omap3-overo-tobi.dts
+++ b/arch/arm/boot/dts/omap3-overo-tobi.dts
@@ -50,3 +50,5 @@
 	};
 };
 
+#include "omap3-overo-common-dvi.dtsi"
+
-- 
1.8.1.2


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

* [PATCH 18/18] ARM: dts: overo: Add support for DVI output
@ 2014-01-09 16:48   ` Florian Vaussard
  0 siblings, 0 replies; 54+ messages in thread
From: Florian Vaussard @ 2014-01-09 16:48 UTC (permalink / raw)
  To: linux-arm-kernel

Summit and Tobi expansion boards have a HDMI connector with a TFP410
encoder. Add a common include file for this configuration, and then
use it for Summit and Tobi.

Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
---
 arch/arm/boot/dts/omap3-overo-common-dvi.dtsi | 108 ++++++++++++++++++++++++++
 arch/arm/boot/dts/omap3-overo-summit.dts      |   3 +
 arch/arm/boot/dts/omap3-overo-tobi.dts        |   2 +
 3 files changed, 113 insertions(+)
 create mode 100644 arch/arm/boot/dts/omap3-overo-common-dvi.dtsi

diff --git a/arch/arm/boot/dts/omap3-overo-common-dvi.dtsi b/arch/arm/boot/dts/omap3-overo-common-dvi.dtsi
new file mode 100644
index 0000000..e4a0fa0
--- /dev/null
+++ b/arch/arm/boot/dts/omap3-overo-common-dvi.dtsi
@@ -0,0 +1,108 @@
+/*
+ * Copyright (C) 2014 Florian Vaussard, EPFL Mobots group
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+/*
+ * DVI output for some Gumstix Overo boards (Tobi and Summit)
+ */
+
+&omap3_pmx_core {
+	i2c3_pins: pinmux_i2c3_pins {
+		pinctrl-single,pins = <
+			OMAP3_CORE1_IOPAD(0x21c2, PIN_INPUT | MUX_MODE0)	/* i2c3_scl.i2c3_scl */
+			OMAP3_CORE1_IOPAD(0x21c4, PIN_INPUT | MUX_MODE0)	/* i2c3_sda.i2c3_sda */
+		>;
+	};
+
+	dss_dpi_pins: pinmux_dss_dpi_pins {
+		pinctrl-single,pins = <
+			OMAP3_CORE1_IOPAD(0x20d4, PIN_OUTPUT | MUX_MODE0)	/* dss_pclk.dss_pclk */
+			OMAP3_CORE1_IOPAD(0x20d6, PIN_OUTPUT | MUX_MODE0)	/* dss_hsync.dss_hsync */
+			OMAP3_CORE1_IOPAD(0x20d8, PIN_OUTPUT | MUX_MODE0)	/* dss_vsync.dss_vsync */
+			OMAP3_CORE1_IOPAD(0x20da, PIN_OUTPUT | MUX_MODE0)	/* dss_acbias.dss_acbias */
+			OMAP3_CORE1_IOPAD(0x20dc, PIN_OUTPUT | MUX_MODE0)	/* dss_data0.dss_data0 */
+			OMAP3_CORE1_IOPAD(0x20de, PIN_OUTPUT | MUX_MODE0)	/* dss_data1.dss_data1 */
+			OMAP3_CORE1_IOPAD(0x20e0, PIN_OUTPUT | MUX_MODE0)	/* dss_data2.dss_data2 */
+			OMAP3_CORE1_IOPAD(0x20e2, PIN_OUTPUT | MUX_MODE0)	/* dss_data3.dss_data3 */
+			OMAP3_CORE1_IOPAD(0x20e4, PIN_OUTPUT | MUX_MODE0)	/* dss_data4.dss_data4 */
+			OMAP3_CORE1_IOPAD(0x20e6, PIN_OUTPUT | MUX_MODE0)	/* dss_data5.dss_data5 */
+			OMAP3_CORE1_IOPAD(0x20e8, PIN_OUTPUT | MUX_MODE0)	/* dss_data6.dss_data6 */
+			OMAP3_CORE1_IOPAD(0x20ea, PIN_OUTPUT | MUX_MODE0)	/* dss_data7.dss_data7 */
+			OMAP3_CORE1_IOPAD(0x20ec, PIN_OUTPUT | MUX_MODE0)	/* dss_data8.dss_data8 */
+			OMAP3_CORE1_IOPAD(0x20ee, PIN_OUTPUT | MUX_MODE0)	/* dss_data9.dss_data9 */
+			OMAP3_CORE1_IOPAD(0x20f0, PIN_OUTPUT | MUX_MODE0)	/* dss_data10.dss_data10 */
+			OMAP3_CORE1_IOPAD(0x20f2, PIN_OUTPUT | MUX_MODE0)	/* dss_data11.dss_data11 */
+			OMAP3_CORE1_IOPAD(0x20f4, PIN_OUTPUT | MUX_MODE0)	/* dss_data12.dss_data12 */
+			OMAP3_CORE1_IOPAD(0x20f6, PIN_OUTPUT | MUX_MODE0)	/* dss_data13.dss_data13 */
+			OMAP3_CORE1_IOPAD(0x20f8, PIN_OUTPUT | MUX_MODE0)	/* dss_data14.dss_data14 */
+			OMAP3_CORE1_IOPAD(0x20fa, PIN_OUTPUT | MUX_MODE0)	/* dss_data15.dss_data15 */
+			OMAP3_CORE1_IOPAD(0x20fc, PIN_OUTPUT | MUX_MODE0)	/* dss_data16.dss_data16 */
+			OMAP3_CORE1_IOPAD(0x20fe, PIN_OUTPUT | MUX_MODE0)	/* dss_data17.dss_data17 */
+			OMAP3_CORE1_IOPAD(0x2100, PIN_OUTPUT | MUX_MODE0)	/* dss_data18.dss_data18 */
+			OMAP3_CORE1_IOPAD(0x2102, PIN_OUTPUT | MUX_MODE0)	/* dss_data19.dss_data19 */
+			OMAP3_CORE1_IOPAD(0x2104, PIN_OUTPUT | MUX_MODE0)	/* dss_data20.dss_data20 */
+			OMAP3_CORE1_IOPAD(0x2106, PIN_OUTPUT | MUX_MODE0)	/* dss_data21.dss_data21 */
+			OMAP3_CORE1_IOPAD(0x2108, PIN_OUTPUT | MUX_MODE0)	/* dss_data22.dss_data22 */
+			OMAP3_CORE1_IOPAD(0x210a, PIN_OUTPUT | MUX_MODE0)	/* dss_data23.dss_data23 */
+		>;
+	};
+};
+
+&dss {
+	pinctrl-names = "default";
+	pinctrl-0 = <&dss_dpi_pins>;
+
+	vdds_dsi-supply = <&vpll2>;
+
+	dpi_out: endpoint {
+		remote-endpoint = <&tfp410_in>;
+		data-lines = <24>;
+	};
+};
+
+/ {
+	aliases {
+		display0 = &dvi0;
+	};
+
+	tfp410: encoder at 0 {
+		compatible = "ti,tfp410";
+
+		ports {
+			#address-cells = <1>;
+			#size-cells = <0>;
+
+			port at 0 {
+				reg = <0>;
+
+				tfp410_in: endpoint at 0 {
+					remote-endpoint = <&dpi_out>;
+				};
+			};
+
+			port at 1 {
+				reg = <1>;
+
+				tfp410_out: endpoint at 0 {
+					remote-endpoint = <&dvi_connector_in>;
+				};
+			};
+		};
+	};
+
+	dvi0: connector at 0 {
+		compatible = "dvi-connector";
+		label = "dvi";
+
+		i2c-bus = <&i2c3>;
+
+		dvi_connector_in: endpoint {
+			remote-endpoint = <&tfp410_out>;
+		};
+	};
+};
+
diff --git a/arch/arm/boot/dts/omap3-overo-summit.dts b/arch/arm/boot/dts/omap3-overo-summit.dts
index fd8b47c..1b8774e 100644
--- a/arch/arm/boot/dts/omap3-overo-summit.dts
+++ b/arch/arm/boot/dts/omap3-overo-summit.dts
@@ -25,3 +25,6 @@
 		};
 	};
 };
+
+#include "omap3-overo-common-dvi.dtsi"
+
diff --git a/arch/arm/boot/dts/omap3-overo-tobi.dts b/arch/arm/boot/dts/omap3-overo-tobi.dts
index 5072da2..17a85ad 100644
--- a/arch/arm/boot/dts/omap3-overo-tobi.dts
+++ b/arch/arm/boot/dts/omap3-overo-tobi.dts
@@ -50,3 +50,5 @@
 	};
 };
 
+#include "omap3-overo-common-dvi.dtsi"
+
-- 
1.8.1.2

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

* Re: [PATCH 00/18] ARM: dts: Better support for Gumstix Overo
  2014-01-09 16:47 ` Florian Vaussard
@ 2014-01-09 17:06   ` Benoit Cousson
  -1 siblings, 0 replies; 54+ messages in thread
From: Benoit Cousson @ 2014-01-09 17:06 UTC (permalink / raw)
  To: Florian Vaussard, Tony Lindgren; +Cc: linux-omap, linux-arm-kernel

Hi Florian,

On 09/01/2014 17:47, Florian Vaussard wrote:
> Hello,
>
> This series adds a number of improvements to Gumstix Overo.

Thanks for that nice series.

> Patch 1+2: fix an issue with the vendor prefix (reported long ago by Javier Martinez Canillas)
> Patch 3+4: add some missing pinctrl entries
> Patch 5: completely turn off the PMIC on power off
> Patch 6: enable the on-board Wifi
> Patch 7: add the high-speed USB PHY
> Patch 8: add specific timings for LAN9221 into a generic file
> -> This might interest other people using the same chip, result in doubled bandwith
>
> Patch 9: simplify omap3-tobi by using patch 8
> Patch 10: add support for AT24C01 EEPROM used on expansion boards
> Patch 11: factorize parts common to all expansion boards
> Patch 12: rename omap3-tobi to omap3-overo-tobi
> -> I do not know to which extent this might qualify as an API breakage,
>     but the new name is far better IMHO
>
> Patch 13 to 17: add new extension boards (Palo43, Gallop43, Alto35, Chestnut43, Summit)
> Patch 18: add the HDMI output
> -> this patch depends on Tomi Valkeinen's DT binding for OMAPDSS, which is
>     not yet merged, so this patch will have to wait
>
>
> The patches 13 to 17 are based on the hardware schematics and compile-tested, as I
> do not have the necessary hardware (anyone willing to send me some boards ? :-)
> We are mainly missing the support for the various LCDs, the accelerometer + probably
> other small things.
>
> This series is based on Tony's omap-for-v3.14/dt branch + work from Tomi [1] for the patch 18.
>
> Benoit: I guess that I am too late for the 3.14... ?

Yeah, I think so, even my 3.14 branch is too late for 3.14 :-)

Thanks,
Benoit

>
> Regards,
>
> Florian
>
>
> Florian Vaussard (18):
>    of: add vendor prefix for Gumstix
>    ARM: dts: omap3-tobi: Use the correct vendor prefix
>    ARM: dts: omap3-tobi: Add missing pinctrl
>    ARM: dts: omap3-overo: Add missing pinctrl
>    ARM: dts: omap3-overo: Use complete poweroff
>    ARM: dts: omap3-overo: Enable MMC2
>    ARM: dts: omap3-overo: Add HSUSB PHY
>    ARM: dts: omap: Add common file for SMSC9221
>    ARM: dts: omap3-tobi: Use include file omap-gpmc-smsc9221
>    ARM: dts: omap3-tobi: Add AT24C01 EEPROM
>    ARM: dts: omap3-tobi: Create a file for common Gumstix peripherals
>    ARM: dts: omap3-tobi: Rename to omap3-overo-tobi
>    ARM: dts: Add support for the Overo Palo43
>    ARM: dts: Add support for the Overo Gallop43
>    ARM: dts: Add support for the Overo Alto35
>    ARM: dts: Add support for the Overo Chestnut43
>    ARM: dts: Add support for the Overo Summit
>    ARM: dts: overo: Add support for DVI output
>
>   .../devicetree/bindings/vendor-prefixes.txt        |   1 +
>   arch/arm/boot/dts/Makefile                         |   7 +-
>   arch/arm/boot/dts/omap-gpmc-smsc9221.dtsi          |  58 ++++++++++
>   arch/arm/boot/dts/omap3-overo-alto35.dts           |  52 +++++++++
>   arch/arm/boot/dts/omap3-overo-chestnut43.dts       |  76 +++++++++++++
>   arch/arm/boot/dts/omap3-overo-common-dvi.dtsi      | 108 ++++++++++++++++++
>   arch/arm/boot/dts/omap3-overo-common.dtsi          |  39 +++++++
>   arch/arm/boot/dts/omap3-overo-gallop43.dts         |  51 +++++++++
>   arch/arm/boot/dts/omap3-overo-palo43.dts           |  52 +++++++++
>   arch/arm/boot/dts/omap3-overo-summit.dts           |  30 +++++
>   .../dts/{omap3-tobi.dts => omap3-overo-tobi.dts}   |  41 +------
>   arch/arm/boot/dts/omap3-overo.dtsi                 | 122 +++++++++++++++++++--
>   12 files changed, 594 insertions(+), 43 deletions(-)
>   create mode 100644 arch/arm/boot/dts/omap-gpmc-smsc9221.dtsi
>   create mode 100644 arch/arm/boot/dts/omap3-overo-alto35.dts
>   create mode 100644 arch/arm/boot/dts/omap3-overo-chestnut43.dts
>   create mode 100644 arch/arm/boot/dts/omap3-overo-common-dvi.dtsi
>   create mode 100644 arch/arm/boot/dts/omap3-overo-common.dtsi
>   create mode 100644 arch/arm/boot/dts/omap3-overo-gallop43.dts
>   create mode 100644 arch/arm/boot/dts/omap3-overo-palo43.dts
>   create mode 100644 arch/arm/boot/dts/omap3-overo-summit.dts
>   rename arch/arm/boot/dts/{omap3-tobi.dts => omap3-overo-tobi.dts} (54%)
>


-- 
Benoît Cousson
BayLibre
Embedded Linux Technology Lab
www.baylibre.com
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* [PATCH 00/18] ARM: dts: Better support for Gumstix Overo
@ 2014-01-09 17:06   ` Benoit Cousson
  0 siblings, 0 replies; 54+ messages in thread
From: Benoit Cousson @ 2014-01-09 17:06 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Florian,

On 09/01/2014 17:47, Florian Vaussard wrote:
> Hello,
>
> This series adds a number of improvements to Gumstix Overo.

Thanks for that nice series.

> Patch 1+2: fix an issue with the vendor prefix (reported long ago by Javier Martinez Canillas)
> Patch 3+4: add some missing pinctrl entries
> Patch 5: completely turn off the PMIC on power off
> Patch 6: enable the on-board Wifi
> Patch 7: add the high-speed USB PHY
> Patch 8: add specific timings for LAN9221 into a generic file
> -> This might interest other people using the same chip, result in doubled bandwith
>
> Patch 9: simplify omap3-tobi by using patch 8
> Patch 10: add support for AT24C01 EEPROM used on expansion boards
> Patch 11: factorize parts common to all expansion boards
> Patch 12: rename omap3-tobi to omap3-overo-tobi
> -> I do not know to which extent this might qualify as an API breakage,
>     but the new name is far better IMHO
>
> Patch 13 to 17: add new extension boards (Palo43, Gallop43, Alto35, Chestnut43, Summit)
> Patch 18: add the HDMI output
> -> this patch depends on Tomi Valkeinen's DT binding for OMAPDSS, which is
>     not yet merged, so this patch will have to wait
>
>
> The patches 13 to 17 are based on the hardware schematics and compile-tested, as I
> do not have the necessary hardware (anyone willing to send me some boards ? :-)
> We are mainly missing the support for the various LCDs, the accelerometer + probably
> other small things.
>
> This series is based on Tony's omap-for-v3.14/dt branch + work from Tomi [1] for the patch 18.
>
> Benoit: I guess that I am too late for the 3.14... ?

Yeah, I think so, even my 3.14 branch is too late for 3.14 :-)

Thanks,
Benoit

>
> Regards,
>
> Florian
>
>
> Florian Vaussard (18):
>    of: add vendor prefix for Gumstix
>    ARM: dts: omap3-tobi: Use the correct vendor prefix
>    ARM: dts: omap3-tobi: Add missing pinctrl
>    ARM: dts: omap3-overo: Add missing pinctrl
>    ARM: dts: omap3-overo: Use complete poweroff
>    ARM: dts: omap3-overo: Enable MMC2
>    ARM: dts: omap3-overo: Add HSUSB PHY
>    ARM: dts: omap: Add common file for SMSC9221
>    ARM: dts: omap3-tobi: Use include file omap-gpmc-smsc9221
>    ARM: dts: omap3-tobi: Add AT24C01 EEPROM
>    ARM: dts: omap3-tobi: Create a file for common Gumstix peripherals
>    ARM: dts: omap3-tobi: Rename to omap3-overo-tobi
>    ARM: dts: Add support for the Overo Palo43
>    ARM: dts: Add support for the Overo Gallop43
>    ARM: dts: Add support for the Overo Alto35
>    ARM: dts: Add support for the Overo Chestnut43
>    ARM: dts: Add support for the Overo Summit
>    ARM: dts: overo: Add support for DVI output
>
>   .../devicetree/bindings/vendor-prefixes.txt        |   1 +
>   arch/arm/boot/dts/Makefile                         |   7 +-
>   arch/arm/boot/dts/omap-gpmc-smsc9221.dtsi          |  58 ++++++++++
>   arch/arm/boot/dts/omap3-overo-alto35.dts           |  52 +++++++++
>   arch/arm/boot/dts/omap3-overo-chestnut43.dts       |  76 +++++++++++++
>   arch/arm/boot/dts/omap3-overo-common-dvi.dtsi      | 108 ++++++++++++++++++
>   arch/arm/boot/dts/omap3-overo-common.dtsi          |  39 +++++++
>   arch/arm/boot/dts/omap3-overo-gallop43.dts         |  51 +++++++++
>   arch/arm/boot/dts/omap3-overo-palo43.dts           |  52 +++++++++
>   arch/arm/boot/dts/omap3-overo-summit.dts           |  30 +++++
>   .../dts/{omap3-tobi.dts => omap3-overo-tobi.dts}   |  41 +------
>   arch/arm/boot/dts/omap3-overo.dtsi                 | 122 +++++++++++++++++++--
>   12 files changed, 594 insertions(+), 43 deletions(-)
>   create mode 100644 arch/arm/boot/dts/omap-gpmc-smsc9221.dtsi
>   create mode 100644 arch/arm/boot/dts/omap3-overo-alto35.dts
>   create mode 100644 arch/arm/boot/dts/omap3-overo-chestnut43.dts
>   create mode 100644 arch/arm/boot/dts/omap3-overo-common-dvi.dtsi
>   create mode 100644 arch/arm/boot/dts/omap3-overo-common.dtsi
>   create mode 100644 arch/arm/boot/dts/omap3-overo-gallop43.dts
>   create mode 100644 arch/arm/boot/dts/omap3-overo-palo43.dts
>   create mode 100644 arch/arm/boot/dts/omap3-overo-summit.dts
>   rename arch/arm/boot/dts/{omap3-tobi.dts => omap3-overo-tobi.dts} (54%)
>


-- 
Beno?t Cousson
BayLibre
Embedded Linux Technology Lab
www.baylibre.com

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

* Re: [PATCH 00/18] ARM: dts: Better support for Gumstix Overo
  2014-01-09 17:06   ` Benoit Cousson
@ 2014-01-09 18:13     ` Ash Charles
  -1 siblings, 0 replies; 54+ messages in thread
From: Ash Charles @ 2014-01-09 18:13 UTC (permalink / raw)
  To: Benoit Cousson
  Cc: Florian Vaussard, Tony Lindgren, linux-omap, linux-arm-kernel

Hi Florian,
On Thu, Jan 9, 2014 at 9:06 AM, Benoit Cousson <bcousson@baylibre.com> wrote:
>> The patches 13 to 17 are based on the hardware schematics and
>> compile-tested, as I
>> do not have the necessary hardware (anyone willing to send me some boards
>> ? :-)
Firstly: thanks!
Secondly: Could you email (ash@gumstix.com) me a wish list of
boards/hardware?  I'll see what I can wrangle.

--Ash

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

* [PATCH 00/18] ARM: dts: Better support for Gumstix Overo
@ 2014-01-09 18:13     ` Ash Charles
  0 siblings, 0 replies; 54+ messages in thread
From: Ash Charles @ 2014-01-09 18:13 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Florian,
On Thu, Jan 9, 2014 at 9:06 AM, Benoit Cousson <bcousson@baylibre.com> wrote:
>> The patches 13 to 17 are based on the hardware schematics and
>> compile-tested, as I
>> do not have the necessary hardware (anyone willing to send me some boards
>> ? :-)
Firstly: thanks!
Secondly: Could you email (ash at gumstix.com) me a wish list of
boards/hardware?  I'll see what I can wrangle.

--Ash

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

* Re: [PATCH 00/18] ARM: dts: Better support for Gumstix Overo
  2014-01-09 17:06   ` Benoit Cousson
@ 2014-01-09 19:59     ` Florian Vaussard
  -1 siblings, 0 replies; 54+ messages in thread
From: Florian Vaussard @ 2014-01-09 19:59 UTC (permalink / raw)
  To: Benoit Cousson, Tony Lindgren; +Cc: linux-omap, linux-arm-kernel

Hi Benoit,

On 01/09/2014 06:06 PM, Benoit Cousson wrote:
> Hi Florian,
> 
> On 09/01/2014 17:47, Florian Vaussard wrote:
>> Hello,
>>
>> This series adds a number of improvements to Gumstix Overo.
> 
> Thanks for that nice series.
> 
>> Patch 1+2: fix an issue with the vendor prefix (reported long ago by
>> Javier Martinez Canillas)
>> Patch 3+4: add some missing pinctrl entries
>> Patch 5: completely turn off the PMIC on power off
>> Patch 6: enable the on-board Wifi
>> Patch 7: add the high-speed USB PHY
>> Patch 8: add specific timings for LAN9221 into a generic file
>> -> This might interest other people using the same chip, result in
>> doubled bandwith
>>
>> Patch 9: simplify omap3-tobi by using patch 8
>> Patch 10: add support for AT24C01 EEPROM used on expansion boards
>> Patch 11: factorize parts common to all expansion boards
>> Patch 12: rename omap3-tobi to omap3-overo-tobi
>> -> I do not know to which extent this might qualify as an API breakage,
>>     but the new name is far better IMHO
>>

Do you have any thoughts on this? I guess that the Tobi DT is not very
widely used, apart for testing purposes, but I do not want to be flamed
due to an API breakage :D But I deem the new name to be worth the risk.

>> Patch 13 to 17: add new extension boards (Palo43, Gallop43, Alto35,
>> Chestnut43, Summit)
>> Patch 18: add the HDMI output
>> -> this patch depends on Tomi Valkeinen's DT binding for OMAPDSS,
>> which is
>>     not yet merged, so this patch will have to wait
>>
>>
>> The patches 13 to 17 are based on the hardware schematics and
>> compile-tested, as I
>> do not have the necessary hardware (anyone willing to send me some
>> boards ? :-)
>> We are mainly missing the support for the various LCDs, the
>> accelerometer + probably
>> other small things.
>>
>> This series is based on Tony's omap-for-v3.14/dt branch + work from
>> Tomi [1] for the patch 18.
>>
>> Benoit: I guess that I am too late for the 3.14... ?
> 
> Yeah, I think so, even my 3.14 branch is too late for 3.14 :-)
> 

Damn!

Ok, will go for 3.15. Anyway, I have other DT patches under the hood
(OMAP4 DuoVero + my own board), so everything can go into the same release.

Best,

Florian

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

* [PATCH 00/18] ARM: dts: Better support for Gumstix Overo
@ 2014-01-09 19:59     ` Florian Vaussard
  0 siblings, 0 replies; 54+ messages in thread
From: Florian Vaussard @ 2014-01-09 19:59 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Benoit,

On 01/09/2014 06:06 PM, Benoit Cousson wrote:
> Hi Florian,
> 
> On 09/01/2014 17:47, Florian Vaussard wrote:
>> Hello,
>>
>> This series adds a number of improvements to Gumstix Overo.
> 
> Thanks for that nice series.
> 
>> Patch 1+2: fix an issue with the vendor prefix (reported long ago by
>> Javier Martinez Canillas)
>> Patch 3+4: add some missing pinctrl entries
>> Patch 5: completely turn off the PMIC on power off
>> Patch 6: enable the on-board Wifi
>> Patch 7: add the high-speed USB PHY
>> Patch 8: add specific timings for LAN9221 into a generic file
>> -> This might interest other people using the same chip, result in
>> doubled bandwith
>>
>> Patch 9: simplify omap3-tobi by using patch 8
>> Patch 10: add support for AT24C01 EEPROM used on expansion boards
>> Patch 11: factorize parts common to all expansion boards
>> Patch 12: rename omap3-tobi to omap3-overo-tobi
>> -> I do not know to which extent this might qualify as an API breakage,
>>     but the new name is far better IMHO
>>

Do you have any thoughts on this? I guess that the Tobi DT is not very
widely used, apart for testing purposes, but I do not want to be flamed
due to an API breakage :D But I deem the new name to be worth the risk.

>> Patch 13 to 17: add new extension boards (Palo43, Gallop43, Alto35,
>> Chestnut43, Summit)
>> Patch 18: add the HDMI output
>> -> this patch depends on Tomi Valkeinen's DT binding for OMAPDSS,
>> which is
>>     not yet merged, so this patch will have to wait
>>
>>
>> The patches 13 to 17 are based on the hardware schematics and
>> compile-tested, as I
>> do not have the necessary hardware (anyone willing to send me some
>> boards ? :-)
>> We are mainly missing the support for the various LCDs, the
>> accelerometer + probably
>> other small things.
>>
>> This series is based on Tony's omap-for-v3.14/dt branch + work from
>> Tomi [1] for the patch 18.
>>
>> Benoit: I guess that I am too late for the 3.14... ?
> 
> Yeah, I think so, even my 3.14 branch is too late for 3.14 :-)
> 

Damn!

Ok, will go for 3.15. Anyway, I have other DT patches under the hood
(OMAP4 DuoVero + my own board), so everything can go into the same release.

Best,

Florian

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

* Re: [PATCH 00/18] ARM: dts: Better support for Gumstix Overo
  2014-01-09 18:13     ` Ash Charles
@ 2014-01-09 20:00       ` Florian Vaussard
  -1 siblings, 0 replies; 54+ messages in thread
From: Florian Vaussard @ 2014-01-09 20:00 UTC (permalink / raw)
  To: Ash Charles, Benoit Cousson; +Cc: Tony Lindgren, linux-omap, linux-arm-kernel

Hi Ash,

On 01/09/2014 07:13 PM, Ash Charles wrote:
> Hi Florian,
> On Thu, Jan 9, 2014 at 9:06 AM, Benoit Cousson <bcousson@baylibre.com> wrote:
>>> The patches 13 to 17 are based on the hardware schematics and
>>> compile-tested, as I
>>> do not have the necessary hardware (anyone willing to send me some boards
>>> ? :-)
> Firstly: thanks!

You are welcome.

> Secondly: Could you email (ash@gumstix.com) me a wish list of
> boards/hardware?  I'll see what I can wrangle.
> 

Ok, I will see what I would need to advance further the DT support.

Best,

Florian

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

* [PATCH 00/18] ARM: dts: Better support for Gumstix Overo
@ 2014-01-09 20:00       ` Florian Vaussard
  0 siblings, 0 replies; 54+ messages in thread
From: Florian Vaussard @ 2014-01-09 20:00 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Ash,

On 01/09/2014 07:13 PM, Ash Charles wrote:
> Hi Florian,
> On Thu, Jan 9, 2014 at 9:06 AM, Benoit Cousson <bcousson@baylibre.com> wrote:
>>> The patches 13 to 17 are based on the hardware schematics and
>>> compile-tested, as I
>>> do not have the necessary hardware (anyone willing to send me some boards
>>> ? :-)
> Firstly: thanks!

You are welcome.

> Secondly: Could you email (ash at gumstix.com) me a wish list of
> boards/hardware?  I'll see what I can wrangle.
> 

Ok, I will see what I would need to advance further the DT support.

Best,

Florian

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

* Re: [PATCH 06/18] ARM: dts: omap3-overo: Enable MMC2
  2014-01-09 16:48   ` Florian Vaussard
@ 2014-01-09 20:43     ` Javier Martinez Canillas
  -1 siblings, 0 replies; 54+ messages in thread
From: Javier Martinez Canillas @ 2014-01-09 20:43 UTC (permalink / raw)
  To: Florian Vaussard, Enric Balletbo Serra
  Cc: Tony Lindgren, Benoit Cousson, linux-omap, linux-arm-kernel

[adding Enric Balletbo to cc]

Hello Florian,

On Thu, Jan 9, 2014 at 1:48 PM, Florian Vaussard
<florian.vaussard@epfl.ch> wrote:
> MMC2 is used by the on-board WiFi module populated on some boards
> (based on Marvell Libertas 8688 SDIO).
>
> Note: currently WiFi only works on cold boot, as the module is not
> properly reset (missing binding for the GPIO reset).
>

Have you looked at commit 0e9fd777 ("ARM: dts: omap3-igep: Add support
for LBEE1USJYC WiFi connected to SDIO") ?

If I remember correctly the LBEE1USJYC Wifi/BT combo module is
basically a Marvell Libertas 8688 Wlan and Enric got soft reset
working too by adding a GPIO property to the regulator for the reset
GPIO.

Hope it helps,
Javier

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

* [PATCH 06/18] ARM: dts: omap3-overo: Enable MMC2
@ 2014-01-09 20:43     ` Javier Martinez Canillas
  0 siblings, 0 replies; 54+ messages in thread
From: Javier Martinez Canillas @ 2014-01-09 20:43 UTC (permalink / raw)
  To: linux-arm-kernel

[adding Enric Balletbo to cc]

Hello Florian,

On Thu, Jan 9, 2014 at 1:48 PM, Florian Vaussard
<florian.vaussard@epfl.ch> wrote:
> MMC2 is used by the on-board WiFi module populated on some boards
> (based on Marvell Libertas 8688 SDIO).
>
> Note: currently WiFi only works on cold boot, as the module is not
> properly reset (missing binding for the GPIO reset).
>

Have you looked at commit 0e9fd777 ("ARM: dts: omap3-igep: Add support
for LBEE1USJYC WiFi connected to SDIO") ?

If I remember correctly the LBEE1USJYC Wifi/BT combo module is
basically a Marvell Libertas 8688 Wlan and Enric got soft reset
working too by adding a GPIO property to the regulator for the reset
GPIO.

Hope it helps,
Javier

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

* Re: [PATCH 06/18] ARM: dts: omap3-overo: Enable MMC2
  2014-01-09 20:43     ` Javier Martinez Canillas
@ 2014-01-10  7:38       ` Florian Vaussard
  -1 siblings, 0 replies; 54+ messages in thread
From: Florian Vaussard @ 2014-01-10  7:38 UTC (permalink / raw)
  To: Javier Martinez Canillas, Enric Balletbo Serra
  Cc: Tony Lindgren, Benoit Cousson, linux-omap, linux-arm-kernel

Hello Javier,

On 01/09/2014 09:43 PM, Javier Martinez Canillas wrote:
> [adding Enric Balletbo to cc]
> 
> Hello Florian,
> 
> On Thu, Jan 9, 2014 at 1:48 PM, Florian Vaussard
> <florian.vaussard@epfl.ch> wrote:
>> MMC2 is used by the on-board WiFi module populated on some boards
>> (based on Marvell Libertas 8688 SDIO).
>>
>> Note: currently WiFi only works on cold boot, as the module is not
>> properly reset (missing binding for the GPIO reset).
>>
> 
> Have you looked at commit 0e9fd777 ("ARM: dts: omap3-igep: Add support
> for LBEE1USJYC WiFi connected to SDIO") ?
> 
> If I remember correctly the LBEE1USJYC Wifi/BT combo module is
> basically a Marvell Libertas 8688 Wlan and Enric got soft reset
> working too by adding a GPIO property to the regulator for the reset
> GPIO.
> 

Many thanks for the pointer. In the initial version, I had a regulator
like you. But now I doubt if it was correctly added to the MMC node,
which could be why it was not working... I will try again.

Thanks for your help!

Florian

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

* [PATCH 06/18] ARM: dts: omap3-overo: Enable MMC2
@ 2014-01-10  7:38       ` Florian Vaussard
  0 siblings, 0 replies; 54+ messages in thread
From: Florian Vaussard @ 2014-01-10  7:38 UTC (permalink / raw)
  To: linux-arm-kernel

Hello Javier,

On 01/09/2014 09:43 PM, Javier Martinez Canillas wrote:
> [adding Enric Balletbo to cc]
> 
> Hello Florian,
> 
> On Thu, Jan 9, 2014 at 1:48 PM, Florian Vaussard
> <florian.vaussard@epfl.ch> wrote:
>> MMC2 is used by the on-board WiFi module populated on some boards
>> (based on Marvell Libertas 8688 SDIO).
>>
>> Note: currently WiFi only works on cold boot, as the module is not
>> properly reset (missing binding for the GPIO reset).
>>
> 
> Have you looked at commit 0e9fd777 ("ARM: dts: omap3-igep: Add support
> for LBEE1USJYC WiFi connected to SDIO") ?
> 
> If I remember correctly the LBEE1USJYC Wifi/BT combo module is
> basically a Marvell Libertas 8688 Wlan and Enric got soft reset
> working too by adding a GPIO property to the regulator for the reset
> GPIO.
> 

Many thanks for the pointer. In the initial version, I had a regulator
like you. But now I doubt if it was correctly added to the MMC node,
which could be why it was not working... I will try again.

Thanks for your help!

Florian

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

* Re: [PATCH 06/18] ARM: dts: omap3-overo: Enable MMC2
  2014-01-09 20:43     ` Javier Martinez Canillas
@ 2014-01-17 13:22       ` Florian Vaussard
  -1 siblings, 0 replies; 54+ messages in thread
From: Florian Vaussard @ 2014-01-17 13:22 UTC (permalink / raw)
  To: Javier Martinez Canillas, Enric Balletbo Serra
  Cc: Tony Lindgren, Benoit Cousson, linux-omap, linux-arm-kernel

Hello Javier

On 01/09/2014 09:43 PM, Javier Martinez Canillas wrote:
> [adding Enric Balletbo to cc]
> 
> Hello Florian,
> 
> On Thu, Jan 9, 2014 at 1:48 PM, Florian Vaussard
> <florian.vaussard@epfl.ch> wrote:
>> MMC2 is used by the on-board WiFi module populated on some boards
>> (based on Marvell Libertas 8688 SDIO).
>>
>> Note: currently WiFi only works on cold boot, as the module is not
>> properly reset (missing binding for the GPIO reset).
>>
> 
> Have you looked at commit 0e9fd777 ("ARM: dts: omap3-igep: Add support
> for LBEE1USJYC WiFi connected to SDIO") ?
> 
> If I remember correctly the LBEE1USJYC Wifi/BT combo module is
> basically a Marvell Libertas 8688 Wlan and Enric got soft reset
> working too by adding a GPIO property to the regulator for the reset
> GPIO.
> 
> Hope it helps,

Thank you, I got it working. It is a bit messy, as I have 3 GPIOs
(poweron, wifi-reset and bt-reset). As a regulator can control only one
GPIO, I had to define 3 regulators, and assigning them to the vmmc,
vqmmc, and vmmc_aux. I hope that a better solution will pop-up in this
thread [1]. It is a pity that the previous version of the GPIO-reset
controller was not merged.

Florian

[1] http://thread.gmane.org/gmane.linux.ports.arm.kernel/294907

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

* [PATCH 06/18] ARM: dts: omap3-overo: Enable MMC2
@ 2014-01-17 13:22       ` Florian Vaussard
  0 siblings, 0 replies; 54+ messages in thread
From: Florian Vaussard @ 2014-01-17 13:22 UTC (permalink / raw)
  To: linux-arm-kernel

Hello Javier

On 01/09/2014 09:43 PM, Javier Martinez Canillas wrote:
> [adding Enric Balletbo to cc]
> 
> Hello Florian,
> 
> On Thu, Jan 9, 2014 at 1:48 PM, Florian Vaussard
> <florian.vaussard@epfl.ch> wrote:
>> MMC2 is used by the on-board WiFi module populated on some boards
>> (based on Marvell Libertas 8688 SDIO).
>>
>> Note: currently WiFi only works on cold boot, as the module is not
>> properly reset (missing binding for the GPIO reset).
>>
> 
> Have you looked at commit 0e9fd777 ("ARM: dts: omap3-igep: Add support
> for LBEE1USJYC WiFi connected to SDIO") ?
> 
> If I remember correctly the LBEE1USJYC Wifi/BT combo module is
> basically a Marvell Libertas 8688 Wlan and Enric got soft reset
> working too by adding a GPIO property to the regulator for the reset
> GPIO.
> 
> Hope it helps,

Thank you, I got it working. It is a bit messy, as I have 3 GPIOs
(poweron, wifi-reset and bt-reset). As a regulator can control only one
GPIO, I had to define 3 regulators, and assigning them to the vmmc,
vqmmc, and vmmc_aux. I hope that a better solution will pop-up in this
thread [1]. It is a pity that the previous version of the GPIO-reset
controller was not merged.

Florian

[1] http://thread.gmane.org/gmane.linux.ports.arm.kernel/294907

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

* Re: [PATCH 06/18] ARM: dts: omap3-overo: Enable MMC2
  2014-01-17 13:22       ` Florian Vaussard
@ 2014-01-17 15:48         ` Javier Martinez Canillas
  -1 siblings, 0 replies; 54+ messages in thread
From: Javier Martinez Canillas @ 2014-01-17 15:48 UTC (permalink / raw)
  To: Florian Vaussard
  Cc: Enric Balletbo Serra, Tony Lindgren, Benoit Cousson, linux-omap,
	linux-arm-kernel

Hello Florian,

On Fri, Jan 17, 2014 at 10:22 AM, Florian Vaussard
<florian.vaussard@epfl.ch> wrote:
> Hello Javier
>
> On 01/09/2014 09:43 PM, Javier Martinez Canillas wrote:
>> [adding Enric Balletbo to cc]
>>
>> Hello Florian,
>>
>> On Thu, Jan 9, 2014 at 1:48 PM, Florian Vaussard
>> <florian.vaussard@epfl.ch> wrote:
>>> MMC2 is used by the on-board WiFi module populated on some boards
>>> (based on Marvell Libertas 8688 SDIO).
>>>
>>> Note: currently WiFi only works on cold boot, as the module is not
>>> properly reset (missing binding for the GPIO reset).
>>>
>>
>> Have you looked at commit 0e9fd777 ("ARM: dts: omap3-igep: Add support
>> for LBEE1USJYC WiFi connected to SDIO") ?
>>
>> If I remember correctly the LBEE1USJYC Wifi/BT combo module is
>> basically a Marvell Libertas 8688 Wlan and Enric got soft reset
>> working too by adding a GPIO property to the regulator for the reset
>> GPIO.
>>
>> Hope it helps,
>
> Thank you, I got it working. It is a bit messy, as I have 3 GPIOs
> (poweron, wifi-reset and bt-reset). As a regulator can control only one
> GPIO, I had to define 3 regulators, and assigning them to the vmmc,
> vqmmc, and vmmc_aux. I hope that a better solution will pop-up in this
> thread [1]. It is a pity that the previous version of the GPIO-reset
> controller was not merged.
>

Glad to know that you got it working and yes it is a bit messy so
let's hope that a cleaner solution will be the result of the current
discussion on that thread.

> Florian
>
> [1] http://thread.gmane.org/gmane.linux.ports.arm.kernel/294907

Best regards,
Javier

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

* [PATCH 06/18] ARM: dts: omap3-overo: Enable MMC2
@ 2014-01-17 15:48         ` Javier Martinez Canillas
  0 siblings, 0 replies; 54+ messages in thread
From: Javier Martinez Canillas @ 2014-01-17 15:48 UTC (permalink / raw)
  To: linux-arm-kernel

Hello Florian,

On Fri, Jan 17, 2014 at 10:22 AM, Florian Vaussard
<florian.vaussard@epfl.ch> wrote:
> Hello Javier
>
> On 01/09/2014 09:43 PM, Javier Martinez Canillas wrote:
>> [adding Enric Balletbo to cc]
>>
>> Hello Florian,
>>
>> On Thu, Jan 9, 2014 at 1:48 PM, Florian Vaussard
>> <florian.vaussard@epfl.ch> wrote:
>>> MMC2 is used by the on-board WiFi module populated on some boards
>>> (based on Marvell Libertas 8688 SDIO).
>>>
>>> Note: currently WiFi only works on cold boot, as the module is not
>>> properly reset (missing binding for the GPIO reset).
>>>
>>
>> Have you looked at commit 0e9fd777 ("ARM: dts: omap3-igep: Add support
>> for LBEE1USJYC WiFi connected to SDIO") ?
>>
>> If I remember correctly the LBEE1USJYC Wifi/BT combo module is
>> basically a Marvell Libertas 8688 Wlan and Enric got soft reset
>> working too by adding a GPIO property to the regulator for the reset
>> GPIO.
>>
>> Hope it helps,
>
> Thank you, I got it working. It is a bit messy, as I have 3 GPIOs
> (poweron, wifi-reset and bt-reset). As a regulator can control only one
> GPIO, I had to define 3 regulators, and assigning them to the vmmc,
> vqmmc, and vmmc_aux. I hope that a better solution will pop-up in this
> thread [1]. It is a pity that the previous version of the GPIO-reset
> controller was not merged.
>

Glad to know that you got it working and yes it is a bit messy so
let's hope that a cleaner solution will be the result of the current
discussion on that thread.

> Florian
>
> [1] http://thread.gmane.org/gmane.linux.ports.arm.kernel/294907

Best regards,
Javier

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

end of thread, other threads:[~2014-01-17 15:48 UTC | newest]

Thread overview: 54+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-09 16:47 [PATCH 00/18] ARM: dts: Better support for Gumstix Overo Florian Vaussard
2014-01-09 16:47 ` Florian Vaussard
2014-01-09 16:47 ` [PATCH 01/18] of: add vendor prefix for Gumstix Florian Vaussard
2014-01-09 16:47   ` Florian Vaussard
2014-01-09 16:47 ` [PATCH 02/18] ARM: dts: omap3-tobi: Use the correct vendor prefix Florian Vaussard
2014-01-09 16:47   ` Florian Vaussard
2014-01-09 16:47 ` [PATCH 03/18] ARM: dts: omap3-tobi: Add missing pinctrl Florian Vaussard
2014-01-09 16:47   ` Florian Vaussard
2014-01-09 16:47 ` [PATCH 04/18] ARM: dts: omap3-overo: " Florian Vaussard
2014-01-09 16:47   ` Florian Vaussard
2014-01-09 16:47 ` [PATCH 05/18] ARM: dts: omap3-overo: Use complete poweroff Florian Vaussard
2014-01-09 16:47   ` Florian Vaussard
2014-01-09 16:48 ` [PATCH 06/18] ARM: dts: omap3-overo: Enable MMC2 Florian Vaussard
2014-01-09 16:48   ` Florian Vaussard
2014-01-09 20:43   ` Javier Martinez Canillas
2014-01-09 20:43     ` Javier Martinez Canillas
2014-01-10  7:38     ` Florian Vaussard
2014-01-10  7:38       ` Florian Vaussard
2014-01-17 13:22     ` Florian Vaussard
2014-01-17 13:22       ` Florian Vaussard
2014-01-17 15:48       ` Javier Martinez Canillas
2014-01-17 15:48         ` Javier Martinez Canillas
2014-01-09 16:48 ` [PATCH 07/18] ARM: dts: omap3-overo: Add HSUSB PHY Florian Vaussard
2014-01-09 16:48   ` Florian Vaussard
2014-01-09 16:48 ` [PATCH 08/18] ARM: dts: omap: Add common file for SMSC9221 Florian Vaussard
2014-01-09 16:48   ` Florian Vaussard
2014-01-09 16:48 ` [PATCH 09/18] ARM: dts: omap3-tobi: Use include file omap-gpmc-smsc9221 Florian Vaussard
2014-01-09 16:48   ` Florian Vaussard
2014-01-09 16:48 ` [PATCH 10/18] ARM: dts: omap3-tobi: Add AT24C01 EEPROM Florian Vaussard
2014-01-09 16:48   ` Florian Vaussard
2014-01-09 16:48 ` [PATCH 11/18] ARM: dts: omap3-tobi: Create a file for common Gumstix peripherals Florian Vaussard
2014-01-09 16:48   ` Florian Vaussard
2014-01-09 16:48 ` [PATCH 12/18] ARM: dts: omap3-tobi: Rename to omap3-overo-tobi Florian Vaussard
2014-01-09 16:48   ` Florian Vaussard
2014-01-09 16:48 ` [PATCH 13/18] ARM: dts: Add support for the Overo Palo43 Florian Vaussard
2014-01-09 16:48   ` Florian Vaussard
2014-01-09 16:48 ` [PATCH 14/18] ARM: dts: Add support for the Overo Gallop43 Florian Vaussard
2014-01-09 16:48   ` Florian Vaussard
2014-01-09 16:48 ` [PATCH 15/18] ARM: dts: Add support for the Overo Alto35 Florian Vaussard
2014-01-09 16:48   ` Florian Vaussard
2014-01-09 16:48 ` [PATCH 16/18] ARM: dts: Add support for the Overo Chestnut43 Florian Vaussard
2014-01-09 16:48   ` Florian Vaussard
2014-01-09 16:48 ` [PATCH 17/18] ARM: dts: Add support for the Overo Summit Florian Vaussard
2014-01-09 16:48   ` Florian Vaussard
2014-01-09 16:48 ` [PATCH 18/18] ARM: dts: overo: Add support for DVI output Florian Vaussard
2014-01-09 16:48   ` Florian Vaussard
2014-01-09 17:06 ` [PATCH 00/18] ARM: dts: Better support for Gumstix Overo Benoit Cousson
2014-01-09 17:06   ` Benoit Cousson
2014-01-09 18:13   ` Ash Charles
2014-01-09 18:13     ` Ash Charles
2014-01-09 20:00     ` Florian Vaussard
2014-01-09 20:00       ` Florian Vaussard
2014-01-09 19:59   ` Florian Vaussard
2014-01-09 19:59     ` Florian Vaussard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.