Message ID | 1435824869-22784-1-git-send-email-phil.edworthy@renesas.com (mailing list archive) |
---|---|
State | Changes Requested |
Delegated to: | Simon Horman |
Headers | show |
Hello. On 7/2/2015 11:14 AM, Phil Edworthy wrote: > Both USB Host (pci0) and Function (USBHS) drivers are enabled. > The USB PHY driver determines which IP block should be connected > based on vbus and id signals read via gpios. > Note that switch SW5 and SW6 on Koelsch board needs to be set to > position 3 for this to work. [...] > diff --git a/arch/arm/boot/dts/r8a7791-koelsch.dts b/arch/arm/boot/dts/r8a7791-koelsch.dts > index cffe33f..1bb34d0 100644 > --- a/arch/arm/boot/dts/r8a7791-koelsch.dts > +++ b/arch/arm/boot/dts/r8a7791-koelsch.dts > @@ -615,7 +615,6 @@ > > &pci0 { > status = "okay"; > - pinctrl-0 = <&usb0_pins>; > pinctrl-names = "default"; As you're removing "pinctrl-0" prop, you also should remove "pinctrl-names". > }; > > @@ -627,13 +626,15 @@ > > &hsusb { > status = "okay"; > - pinctrl-0 = <&usb0_pins>; Likewise. [...] WBR, Sergei -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Hi Sergei. On 02 July 2015 12:32, Sergei wrote: > Hello. > > On 7/2/2015 11:14 AM, Phil Edworthy wrote: > > > Both USB Host (pci0) and Function (USBHS) drivers are enabled. > > The USB PHY driver determines which IP block should be connected > > based on vbus and id signals read via gpios. > > > Note that switch SW5 and SW6 on Koelsch board needs to be set to > > position 3 for this to work. > > [...] > > > diff --git a/arch/arm/boot/dts/r8a7791-koelsch.dts > b/arch/arm/boot/dts/r8a7791-koelsch.dts > > index cffe33f..1bb34d0 100644 > > --- a/arch/arm/boot/dts/r8a7791-koelsch.dts > > +++ b/arch/arm/boot/dts/r8a7791-koelsch.dts > > @@ -615,7 +615,6 @@ > > > > &pci0 { > > status = "okay"; > > - pinctrl-0 = <&usb0_pins>; > > pinctrl-names = "default"; > > As you're removing "pinctrl-0" prop, you also should remove "pinctrl-names". Ok. > > }; > > > > @@ -627,13 +626,15 @@ > > > > &hsusb { > > status = "okay"; > > - pinctrl-0 = <&usb0_pins>; > > Likewise. Sure. > [...] > > WBR, Sergei Thanks Phil -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Hi Phil, when you re-spin this patch could you change the prefix to the following? ARM: shmobile: koelsch: Thanks -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/arch/arm/boot/dts/r8a7791-koelsch.dts b/arch/arm/boot/dts/r8a7791-koelsch.dts index cffe33f..1bb34d0 100644 --- a/arch/arm/boot/dts/r8a7791-koelsch.dts +++ b/arch/arm/boot/dts/r8a7791-koelsch.dts @@ -615,7 +615,6 @@ &pci0 { status = "okay"; - pinctrl-0 = <&usb0_pins>; pinctrl-names = "default"; }; @@ -627,13 +626,15 @@ &hsusb { status = "okay"; - pinctrl-0 = <&usb0_pins>; pinctrl-names = "default"; - renesas,enable-gpio = <&gpio5 31 GPIO_ACTIVE_HIGH>; }; &usbphy { status = "okay"; + renesas,pwr-gpio = <&gpio2 4 GPIO_ACTIVE_HIGH>; + renesas,id-gpio = <&gpio5 31 GPIO_ACTIVE_HIGH>; + renesas,vbus-gpio = <&gpio7 24 GPIO_ACTIVE_HIGH>; + renesas,vbus-pwr-gpio = <&gpio7 23 GPIO_ACTIVE_HIGH>; }; &pcie_bus_clk {