mirror of https://gitee.com/openkylin/linux.git
ARM: dts: am57xx-beagle-x15: use palmas-usb for USB2
The VBUS line of USB2 is connected to VBUS detect logic on the PMIC. Use the palmas-usb driver to report VBUS events to the USB driver. As the palmas-usb driver supports GPIO based ID reporting provide the GPIO for ID pin as well. Signed-off-by: Roger Quadros <rogerq@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
This commit is contained in:
parent
f4746176f9
commit
84ad1bab0e
|
@ -98,13 +98,6 @@ extcon_usb1: extcon_usb1 {
|
||||||
pinctrl-0 = <&extcon_usb1_pins>;
|
pinctrl-0 = <&extcon_usb1_pins>;
|
||||||
};
|
};
|
||||||
|
|
||||||
extcon_usb2: extcon_usb2 {
|
|
||||||
compatible = "linux,extcon-usb-gpio";
|
|
||||||
id-gpio = <&gpio7 24 GPIO_ACTIVE_HIGH>;
|
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&extcon_usb2_pins>;
|
|
||||||
};
|
|
||||||
|
|
||||||
hdmi0: connector {
|
hdmi0: connector {
|
||||||
compatible = "hdmi-connector";
|
compatible = "hdmi-connector";
|
||||||
label = "hdmi";
|
label = "hdmi";
|
||||||
|
@ -326,12 +319,6 @@ extcon_usb1_pins: extcon_usb1_pins {
|
||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
|
|
||||||
extcon_usb2_pins: extcon_usb2_pins {
|
|
||||||
pinctrl-single,pins = <
|
|
||||||
0x3e8 (PIN_INPUT_PULLUP | MUX_MODE14) /* uart1_ctsn.gpio7_24 */
|
|
||||||
>;
|
|
||||||
};
|
|
||||||
|
|
||||||
tpd12s015_pins: pinmux_tpd12s015_pins {
|
tpd12s015_pins: pinmux_tpd12s015_pins {
|
||||||
pinctrl-single,pins = <
|
pinctrl-single,pins = <
|
||||||
0x3b0 (PIN_OUTPUT | MUX_MODE14) /* gpio7_10 CT_CP_HPD */
|
0x3b0 (PIN_OUTPUT | MUX_MODE14) /* gpio7_10 CT_CP_HPD */
|
||||||
|
@ -504,6 +491,14 @@ tps659038_gpio: tps659038_gpio {
|
||||||
gpio-controller;
|
gpio-controller;
|
||||||
#gpio-cells = <2>;
|
#gpio-cells = <2>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
extcon_usb2: tps659038_usb {
|
||||||
|
compatible = "ti,palmas-usb-vid";
|
||||||
|
ti,enable-vbus-detection;
|
||||||
|
ti,enable-id-detection;
|
||||||
|
id-gpios = <&gpio7 24 GPIO_ACTIVE_HIGH>;
|
||||||
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
tmp102: tmp102@48 {
|
tmp102: tmp102@48 {
|
||||||
|
@ -632,6 +627,14 @@ &omap_dwc3_2 {
|
||||||
};
|
};
|
||||||
|
|
||||||
&usb2 {
|
&usb2 {
|
||||||
|
/*
|
||||||
|
* Stand alone usage is peripheral only.
|
||||||
|
* However, with some resistor modifications
|
||||||
|
* this port can be used via expansion connectors
|
||||||
|
* as "host" or "dual-role". If so, provide
|
||||||
|
* the necessary dr_mode override in the expansion
|
||||||
|
* board's DT.
|
||||||
|
*/
|
||||||
dr_mode = "peripheral";
|
dr_mode = "peripheral";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue