Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1310926 > unrolled thread

[PATCH 0/4] ARM: dts: igep00x0 and sl50 board fixes

Started byEnric Balletbo i Serra <enric.balletbo@collabora.com>
First post2016-01-16 12:00 +0100
Last post2016-01-16 12:00 +0100
Articles 3 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH 0/4] ARM: dts: igep00x0 and sl50 board fixes Enric Balletbo i Serra <enric.balletbo@collabora.com> - 2016-01-16 12:00 +0100
    [PATCH 2/4] ARM: dts: omap3-igep0030-common: Add USB Host support Enric Balletbo i Serra <enric.balletbo@collabora.com> - 2016-01-16 12:00 +0100
    [PATCH 1/4] ARM: dts: igep00x0: Specify the device to be used for boot console output. Enric Balletbo i Serra <enric.balletbo@collabora.com> - 2016-01-16 12:00 +0100

#1310926 — [PATCH 0/4] ARM: dts: igep00x0 and sl50 board fixes

FromEnric Balletbo i Serra <enric.balletbo@collabora.com>
Date2016-01-16 12:00 +0100
Subject[PATCH 0/4] ARM: dts: igep00x0 and sl50 board fixes
Message-ID<qRwKm-3em-13@gated-at.bofh.it>
Hi Tony,

Please take in consideration the following patches for some of the boards
that I am currently maitaining. The first two patches apply to the IGEP
boards and the latest two apply to the SL50 board.

The patches are rebased on top of your omap-for-v4.5 branch.

Thanks,

Enric Balletbo i Serra (3):
  ARM: dts: igep00x0: Specify the device to be used for boot console
    output.
  ARM: dts: am335x-sl50: Specify the device to be used for boot console
    output.
  ARM: dts: am335x-sl50: Fix audio codec setup.

Pau Pajuel (1):
  ARM: dts: omap3-igep0030-common: Add USB Host support

 arch/arm/boot/dts/am335x-sl50.dts            | 24 ++++++++++++++--
 arch/arm/boot/dts/omap3-igep.dtsi            |  4 +++
 arch/arm/boot/dts/omap3-igep0030-common.dtsi | 41 ++++++++++++++++++++++++++++
 3 files changed, 67 insertions(+), 2 deletions(-)

-- 
2.1.0

[toc] | [next] | [standalone]


#1310927 — [PATCH 2/4] ARM: dts: omap3-igep0030-common: Add USB Host support

FromEnric Balletbo i Serra <enric.balletbo@collabora.com>
Date2016-01-16 12:00 +0100
Subject[PATCH 2/4] ARM: dts: omap3-igep0030-common: Add USB Host support
Message-ID<qRwKn-3em-23@gated-at.bofh.it>
In reply to#1310926
From: Pau Pajuel <ppajuel@gmail.com>

Provide RESET GPIO for the USB PHY, the USB Host port mode and
the PHY device for the controller. Also provides pin multiplexer
information for USB host pins.

Signed-off-by: Pau Pajuel <ppajuel@gmail.com>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
---
 arch/arm/boot/dts/omap3-igep0030-common.dtsi | 41 ++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/arch/arm/boot/dts/omap3-igep0030-common.dtsi b/arch/arm/boot/dts/omap3-igep0030-common.dtsi
index 640f066..63f8b9a 100644
--- a/arch/arm/boot/dts/omap3-igep0030-common.dtsi
+++ b/arch/arm/boot/dts/omap3-igep0030-common.dtsi
@@ -33,9 +33,28 @@
 			 default-state = "off";
 		};
 	};
+
+	hsusb2_phy: hsusb2_phy {
+		compatible = "usb-nop-xceiv";
+		reset-gpios = <&gpio2 22 GPIO_ACTIVE_LOW>;		/* gpio_54 */
+	};
 };
 
 &omap3_pmx_core {
+	pinctrl-names = "default";
+	pinctrl-0 = <&hsusb2_pins>;
+
+	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 */
+		>;
+	};
+
 	uart2_pins: pinmux_uart2_pins {
 		pinctrl-single,pins = <
 			OMAP3_CORE1_IOPAD(0x216c, PIN_INPUT | MUX_MODE1)	/* mcbsp3_dx.uart2_cts */
@@ -47,6 +66,20 @@
 };
 
 &omap3_pmx_core2 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&hsusb2_core2_pins>;
+
+	hsusb2_core2_pins: pinmux_hsusb2_core2_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 */
+		>;
+	};
+
 	leds_core2_pins: pinmux_leds_core2_pins {
 		pinctrl-single,pins = <
 			OMAP3630_CORE2_IOPAD(0x25e0, PIN_OUTPUT | MUX_MODE4)	/* etk_d2.gpio_16 */
@@ -54,6 +87,14 @@
 	};
 };
 
+&usbhshost {
+	port2-mode = "ehci-phy";
+};
+
+&usbhsehci {
+	phys = <0 &hsusb2_phy>;
+};
+
 &uart2 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&uart2_pins>;
-- 
2.1.0

[toc] | [prev] | [next] | [standalone]


#1310928 — [PATCH 1/4] ARM: dts: igep00x0: Specify the device to be used for boot console output.

FromEnric Balletbo i Serra <enric.balletbo@collabora.com>
Date2016-01-16 12:00 +0100
Subject[PATCH 1/4] ARM: dts: igep00x0: Specify the device to be used for boot console output.
Message-ID<qRwKn-3em-25@gated-at.bofh.it>
In reply to#1310926
UART3 device is the device to be used for boot console output.

Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
---
 arch/arm/boot/dts/omap3-igep.dtsi | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/omap3-igep.dtsi b/arch/arm/boot/dts/omap3-igep.dtsi
index 3caf062..4fc7e0f 100644
--- a/arch/arm/boot/dts/omap3-igep.dtsi
+++ b/arch/arm/boot/dts/omap3-igep.dtsi
@@ -18,6 +18,10 @@
 		reg = <0x80000000 0x20000000>; /* 512 MB */
 	};
 
+	chosen {
+		stdout-path = &uart3;
+	};
+
 	sound {
 		compatible = "ti,omap-twl4030";
 		ti,model = "igep2";
-- 
2.1.0

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web