Re: [PATCH v2 2/3] ARM: dts: sunxi: add support for Orange Pi Zero board

From: Maxime Ripard
Date: Tue Dec 06 2016 - 03:04:25 EST


On Mon, Dec 05, 2016 at 07:01:46PM +0800, Icenowy Zheng wrote:
>
>
> 05.12.2016, 17:40, "Maxime Ripard" <maxime.ripard@xxxxxxxxxxxxxxxxxx>:
> > On Mon, Dec 05, 2016 at 04:59:44PM +0800, Icenowy Zheng wrote:
> >> Â2016å12æ5æ 16:52ä Maxime Ripard <maxime.ripard@xxxxxxxxxxxxxxxxxx>åéï
> >> Â>
> >> Â> On Fri, Dec 02, 2016 at 10:22:30PM +0800, Icenowy Zheng wrote:
> >> Â> >
> >> Â> >
> >> Â> > 01.12.2016, 17:36, "Maxime Ripard" <maxime.ripard@xxxxxxxxxxxxxxxxxx>:
> >> Â> > > On Mon, Nov 28, 2016 at 12:29:07AM +0000, Andrà Przywara wrote:
> >> Â> > >> Â> Something more interesting happened.
> >> Â> > >> Â>
> >> Â> > >> Â> Xunlong made a add-on board for Orange Pi Zero, which exposes the
> >> Â> > >> Â> two USB Controllers exported at expansion bus as USB Type-A
> >> Â> > >> Â> connectors.
> >> Â> > >> Â>
> >> Â> > >> Â> Also it exposes a analog A/V jack and a microphone.
> >> Â> > >> Â>
> >> Â> > >> Â> Should I enable {e,o}hci{2.3} in the device tree?
> >> Â> > >>
> >> Â> > >> ÂActually we should do this regardless of this extension board. The USB
> >> Â> > >> Âpins are not multiplexed and are exposed on user accessible pins (just
> >> Â> > >> Ânot soldered, but that's a detail), so I think they qualify for DT
> >> Â> > >> Âenablement. And even if a user can't use them, it doesn't hurt to have
> >> Â> > >> Âthem (since they are not multiplexed).
> >> Â> > >
> >> Â> > > My main concern about this is that we'll leave regulators enabled by
> >> Â> > > default, for a minority of users. And that minority will prevent to do
> >> Â> > > a proper power management when the times come since we'll have to keep
> >> Â> > > that behaviour forever.
> >> Â> >
> >> Â> > I think these users can add a 'fdt set /xxx/xxx status "disabled" ' .
> >> Â>
> >> Â> You can't ask that from the majority of users. These users will take
> >> Â> debian or fedora, install it, and expect everything to work
> >> Â> properly. I would make the opposite argument actually. If someone is
> >> Â> knowledgeable enough to solder the USB pins a connector, then (s)he'll
> >> Â> be able to make that u-boot call.
> >>
> >> ÂNow (s)he do not need soldering.
> >>
> >> Â(S)he needs only paying $1.99 more to Xunlong to get the expansion
> >> Âboard, and insert it on the OPi Zero.
> >
> > Which is going to require an overlay anyway, so we could have the USB
> > bits in there too.
>
> If so, I think the [PATCH -next v3 2/2] is ready to be merged ;-)

I meant enabling the USB in the overlay, you enabled it in the base DT.

Maxime

--
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

Attachment: signature.asc
Description: PGP signature