Re: [PATCH] ARM: dts: am57xx-beagle-x15:: remove extcon_usb1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 04/06/2016 09:32 AM, Roger Quadros wrote:
> USB1 controller is hardwired to be used as Host only port so
> we don't need to check ID pin state and can get rid of extcon_usb1.
> 
> This also reduces USB1 controller's and so eSATA power's dependency
> with EXTCON.
> 
> Cc: Franklin S Cooper Jr. <fcooper@xxxxxx>
> Cc: Vagrant Cascadian <vagrant@xxxxxxxxxx>
> Signed-off-by: Roger Quadros <rogerq@xxxxxx>


Without this patch sda wasn't showing up when connecting my SSD to the
eSATA port when using multi_v7. However, this patch fixes that issue.

Tested-by: Franklin S Cooper Jr. <fcooper@xxxxxx>

> ---
>  arch/arm/boot/dts/am57xx-beagle-x15.dts | 17 -----------------
>  1 file changed, 17 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/am57xx-beagle-x15.dts b/arch/arm/boot/dts/am57xx-beagle-x15.dts
> index 0a5fc5d..4168eb9 100644
> --- a/arch/arm/boot/dts/am57xx-beagle-x15.dts
> +++ b/arch/arm/boot/dts/am57xx-beagle-x15.dts
> @@ -99,13 +99,6 @@
>  		#cooling-cells = <2>;
>  	};
>  
> -	extcon_usb1: extcon_usb1 {
> -		compatible = "linux,extcon-usb-gpio";
> -		id-gpio = <&gpio7 25 GPIO_ACTIVE_HIGH>;
> -		pinctrl-names = "default";
> -		pinctrl-0 = <&extcon_usb1_pins>;
> -	};
> -
>  	hdmi0: connector {
>  		compatible = "hdmi-connector";
>  		label = "hdmi";
> @@ -349,12 +342,6 @@
>  		>;
>  	};
>  
> -	extcon_usb1_pins: extcon_usb1_pins {
> -		pinctrl-single,pins = <
> -			DRA7XX_CORE_IOPAD(0x37ec, PIN_INPUT_PULLUP | MUX_MODE14) /* uart1_rtsn.gpio7_25 */
> -		>;
> -	};
> -
>  	tpd12s015_pins: pinmux_tpd12s015_pins {
>  		pinctrl-single,pins = <
>  			DRA7XX_CORE_IOPAD(0x37b0, PIN_OUTPUT | MUX_MODE14)		/* gpio7_10 CT_CP_HPD */
> @@ -706,10 +693,6 @@
>  	pinctrl-0 = <&usb1_pins>;
>  };
>  
> -&omap_dwc3_1 {
> -	extcon = <&extcon_usb1>;
> -};
> -
>  &omap_dwc3_2 {
>  	extcon = <&extcon_usb2>;
>  };
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux