ARM: dts: exynos: Add support for USB OTG port on Origen board

Message ID 20180322114937.6434-1-m.szyprowski@samsung.com
State New
Headers show
Series
  • ARM: dts: exynos: Add support for USB OTG port on Origen board
Related show

Commit Message

Marek Szyprowski March 22, 2018, 11:49 a.m.
Add support for USB OTG port on Insignal Origen Exynos4210-based evaluation
board.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>

---
 arch/arm/boot/dts/exynos4210-origen.dts | 11 +++++++++++
 1 file changed, 11 insertions(+)

-- 
2.15.0

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Krzysztof Kozlowski March 23, 2018, 2:48 p.m. | #1
On Thu, Mar 22, 2018 at 12:49 PM, Marek Szyprowski
<m.szyprowski@samsung.com> wrote:
> Add support for USB OTG port on Insignal Origen Exynos4210-based evaluation

> board.

>

> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>

> ---

>  arch/arm/boot/dts/exynos4210-origen.dts | 11 +++++++++++

>  1 file changed, 11 insertions(+)

>


Looks okay. It is late and for v4.17 I will send only one more pull
request with mach-exynos patches so this will wait for v4.18.

BR,
Krzysztof
--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Krzysztof Kozlowski April 16, 2018, 5:22 p.m. | #2
On Thu, Mar 22, 2018 at 12:49:37PM +0100, Marek Szyprowski wrote:
> Add support for USB OTG port on Insignal Origen Exynos4210-based evaluation

> board.

> 

> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>

> ---

>  arch/arm/boot/dts/exynos4210-origen.dts | 11 +++++++++++

>  1 file changed, 11 insertions(+)

> 


Thanks, applied.

Best regards,
Krzysztof

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/arch/arm/boot/dts/exynos4210-origen.dts b/arch/arm/boot/dts/exynos4210-origen.dts
index 9a310e841d5d..aa7a96cecee1 100644
--- a/arch/arm/boot/dts/exynos4210-origen.dts
+++ b/arch/arm/boot/dts/exynos4210-origen.dts
@@ -131,12 +131,23 @@ 
 	cpu0-supply = <&buck1_reg>;
 };
 
+&exynos_usbphy {
+	status = "okay";
+};
+
 &fimd {
 	pinctrl-0 = <&lcd_en &lcd_clk &lcd_data24 &pwm0_out>;
 	pinctrl-names = "default";
 	status = "okay";
 };
 
+&hsotg {
+	vusb_d-supply = <&ldo3_reg>;
+	vusb_a-supply = <&ldo8_reg>;
+	dr_mode = "peripheral";
+	status = "okay";
+};
+
 &i2c_0 {
 	status = "okay";
 	samsung,i2c-sda-delay = <100>;