Re: [linux-sunxi] Re: [PATCH] ARM: dts: sun8i: r40/v40: rewrite BPi M2 Berry DTS to rebase on M2 Ultra

From: Maxime Ripard
Date: Mon Aug 20 2018 - 11:02:17 EST


On Mon, Aug 20, 2018 at 08:06:21PM +0800, Icenowy Zheng wrote:
>
>
> ä 2018å8æ20æ GMT+08:00 äå8:00:46, Maxime Ripard <maxime.ripard@xxxxxxxxxxx> åå:
> >Hi!
> >
> >On Wed, Aug 08, 2018 at 06:36:56PM +0800, Icenowy Zheng wrote:
> >> å 2018-07-26åç 14:41 +0200ïMaxime Ripardåéï
> >> > On Wed, Jul 25, 2018 at 12:36:55AM +0800, Icenowy Zheng wrote:
> >> > > Banana Pi designs the BPi M2 Berry board to be software
> >compatible
> >> > > with
> >> > > BPi M2 Ultra,
> >> >
> >> > Do you have a reference for this?
> >> >
> >> > > so it's based on M2 Ultra with some function cuts, including:
> >> > >
> >> > > - 2048MiB DRAM -> 1024MiB (this should be proceed by the
> >> > > bootloader);
> >> > > - dropped a LED;
> >> > > - dropped eMMC;
> >> > > - dropped USB2 and connect USB1 to a 4-port HUB.
> >> >
> >> > Is it the exhaustive list?
> >>
> >> I have asked Mikey from Sinovoip, and he has agreed this.
> >>
> >> Here's a list provided by him, which covers some things I forgot:
> >> - 2GiB -> 1GiB
> >> - no eMMC
> >> - no onboard microphone
> >> - no IR
> >> - no charging (and power jack to USB)
> >> - USB change
> >> - one less LED
> >>
> >> Should I add this to the device tree's comment?
> >
> >Not really, because...
> >
> >> >
> >> > I'm a bit reluctant to merge that kind of patches usually, since
> >that
> >> > would also imply that each time someone will commit something to
> >the
> >> > M2-Ultra, it would automatically apply to the M2-Berry, without any
> >> > easy way to tell and / or test.
> >
> >... this still applies.
>
> But I think few developers will have both boards at the same time.

Which is only making it worse, because then someone with only the BPI
m2-ultra, when changing the DT, will not be able to tell that:

- it's applied to the M2-Berry too,
- if it works on the M2-Berry.

Maxime

--
Maxime Ripard, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com

Attachment: signature.asc
Description: PGP signature