Re: [PATCH 1/2] dt-bindings: arm: sunxi: add OrangePi 3 with eMMC

From: Jernej Åkrabec
Date: Wed Jan 15 2020 - 18:11:04 EST


Hi!

Dne sreda, 15. januar 2020 ob 22:57:31 CET je Rob Herring napisal(a):
> On Wed, Jan 15, 2020 at 1:42 PM Jernej Skrabec <jernej.skrabec@xxxxxxxx>
wrote:
> > OrangePi 3 can optionally have eMMC. Add a compatible for it.
>
> Is this just a population option or a different board layout? If the
> former, I don't think you need a new compatible, just add/enable a
> node for the eMMC.

I have only board with eMMC but I imagine it's the former. Even so, current
approach with Allwinner boards is to have two different board DT files, one for
each variant. This can be seen from Documentation/devicetree/bindings/arm/
sunxi.yaml which has a lot of compatibles ending with "-emmc". I guess reason
for that is to avoid having MMC controller being powered on for no reason.

Best regards,
Jernej