[PATCH 3/3] ARM: dts: sun8i: s3: switch PineCube to use OHCI/EHCI only
Maxime Ripard
maxime at cerno.tech
Mon Nov 23 06:43:47 EST 2020
Hi,
On Sun, Nov 22, 2020 at 08:40:11AM +0800, Icenowy Zheng wrote:
> The PineCube board features a USB Type-A connector connected to the
> SoC's USB pins.
>
> As this is not designed for being used as a USB device, disable OTG
> controller and route USB to OHCI/EHCI fixedly.
It's not designed to be used as one, but does it work? We've had a
number of boards where this happened in the past, and it was usable for
FEL, or any peripheral really.
If it did work, then this is a regression.
Also, you should explain why this is a good idea: if both can act as a
host, then why should we switch to the HCI controllers?
> Signed-off-by: Icenowy Zheng <icenowy at aosc.io>
> ---
> arch/arm/boot/dts/sun8i-s3-pinecube.dts | 17 ++++++++++++-----
> 1 file changed, 12 insertions(+), 5 deletions(-)
>
> diff --git a/arch/arm/boot/dts/sun8i-s3-pinecube.dts b/arch/arm/boot/dts/sun8i-s3-pinecube.dts
> index 4aa0ee897a0a..c4177c54ef29 100644
> --- a/arch/arm/boot/dts/sun8i-s3-pinecube.dts
> +++ b/arch/arm/boot/dts/sun8i-s3-pinecube.dts
> @@ -78,6 +78,12 @@ csi1_ep: endpoint {
> };
> };
>
> +&ehci0 {
> + phys = <&usbphy 0>;
> + phy-names = "usb";
This is weird to me to have the PHY set in the DTSI for musb, but not
for the USB controllers.
Maxime
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20201123/8d88f25c/attachment.sig>
More information about the linux-arm-kernel
mailing list