[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <1426687464-2563-4-git-send-email-r.baldyga@samsung.com>
Date: Wed, 18 Mar 2015 15:04:08 +0100
From: Robert Baldyga <r.baldyga@...sung.com>
To: balbi@...com
Cc: gregkh@...uxfoundation.org, myungjoo.ham@...sung.com,
cw00.choi@...sung.com, linux-usb@...r.kernel.org,
linux-kernel@...r.kernel.org, m.szyprowski@...sung.com,
Robert Baldyga <r.baldyga@...sung.com>
Subject: [RFC 03/19] ARM: dts: exynos5422-odroidxu3: add odroid-usbotg extcon
support
Add extcon device detecting USB cable type.
Signed-off-by: Robert Baldyga <r.baldyga@...sung.com>
---
arch/arm/boot/dts/exynos5422-odroidxu3.dts | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3.dts b/arch/arm/boot/dts/exynos5422-odroidxu3.dts
index a519c86..80057d6 100644
--- a/arch/arm/boot/dts/exynos5422-odroidxu3.dts
+++ b/arch/arm/boot/dts/exynos5422-odroidxu3.dts
@@ -278,6 +278,14 @@
rtc@...E0000 {
status = "okay";
};
+
+ usb_extcon: odroid-usbotg {
+ compatible = "extcon-odroid-usbotg";
+ pinctrl-names = "default";
+ pinctrl-0 = <&otg_id &vbus_det>;
+ otg-id-gpio = <&gpx1 1 0>;
+ vbus-det-gpio = <&gpx3 4 0>;
+ };
};
&hdmi {
@@ -369,3 +377,15 @@
shunt-resistor = <10000>;
};
};
+
+&pinctrl_0 {
+ otg_id: otg-id {
+ samsung,pins = "gpx1-1";
+ samsung,pin-pud = <0>;
+ };
+
+ vbus_det: vbus-det {
+ samsung,pins = "gpx3-4";
+ samsung,pin-pud = <0>;
+ };
+};
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists