On Tue, Nov 17, 2020 at 02:36:48AM +0800, Icenowy Zheng wrote: > > > 于 2020年11月16日 GMT+08:00 下午11:55:08, Maxime Ripard <maxime@xxxxxxxxxx> 写到: > >On Tue, Nov 10, 2020 at 06:41:37PM +0800, Icenowy Zheng wrote: > >> > >> > >> 于 2020年11月10日 GMT+08:00 下午6:39:25, Maxime Ripard <maxime@xxxxxxxxxx> > >写到: > >> >On Sat, Nov 07, 2020 at 08:53:32PM +0800, Icenowy Zheng wrote: > >> >> Some developers received PineTab samples that used an old LCD > >panel. > >> >> > >> >> Add device tree for these samples. > >> >> > >> >> Signed-off-by: Icenowy Zheng <icenowy@xxxxxxx> > >> >> --- > >> >> arch/arm64/boot/dts/allwinner/Makefile | 1 + > >> >> .../dts/allwinner/sun50i-a64-pinetab-dev.dts | 28 > >> >+++++++++++++++++++ > >> >> 2 files changed, 29 insertions(+) > >> >> create mode 100644 > >> >arch/arm64/boot/dts/allwinner/sun50i-a64-pinetab-dev.dts > >> >> > >> >> diff --git a/arch/arm64/boot/dts/allwinner/Makefile > >> >b/arch/arm64/boot/dts/allwinner/Makefile > >> >> index 211d1e9d4701..a221dcebfad4 100644 > >> >> --- a/arch/arm64/boot/dts/allwinner/Makefile > >> >> +++ b/arch/arm64/boot/dts/allwinner/Makefile > >> >> @@ -13,6 +13,7 @@ dtb-$(CONFIG_ARCH_SUNXI) += > >> >sun50i-a64-pinephone-1.0.dtb > >> >> dtb-$(CONFIG_ARCH_SUNXI) += sun50i-a64-pinephone-1.1.dtb > >> >> dtb-$(CONFIG_ARCH_SUNXI) += sun50i-a64-pinephone-1.2.dtb > >> >> dtb-$(CONFIG_ARCH_SUNXI) += sun50i-a64-pinetab.dtb > >> >> +dtb-$(CONFIG_ARCH_SUNXI) += sun50i-a64-pinetab-dev.dtb > >> >> dtb-$(CONFIG_ARCH_SUNXI) += sun50i-a64-sopine-baseboard.dtb > >> >> dtb-$(CONFIG_ARCH_SUNXI) += sun50i-a64-teres-i.dtb > >> >> dtb-$(CONFIG_ARCH_SUNXI) += sun50i-a100-allwinner-perf1.dtb > >> >> diff --git > >a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinetab-dev.dts > >> >b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinetab-dev.dts > >> >> new file mode 100644 > >> >> index 000000000000..3a4153890f3e > >> >> --- /dev/null > >> >> +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinetab-dev.dts > >> >> @@ -0,0 +1,28 @@ > >> >> +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) > >> >> +/* > >> >> + * Copyright (C) 2020 Icenowy Zheng <icenowy@xxxxxxx> > >> >> + * > >> >> + */ > >> >> + > >> >> +/dts-v1/; > >> >> + > >> >> +#include "sun50i-a64-pinetab.dts" > >> >> + > >> >> +/ { > >> >> + model = "PineTab Developer Sample"; > >> >> + compatible = "pine64,pinetab-dev", "allwinner,sun50i-a64"; > >> >> +}; > >> > > >> >Changing the DT and the compatible half-way through it isn't ok. > >Please > >> >add a new DT with the newer revision like we did for the pinephone > >> > >> We did this on Pine H64. > > > >What are you referring to? I couldn't find a commit where we did what > >you suggested in that patch to the pine H64. > > Oh the situation is complex. On Pine H64, we didn't specify anything at > start (which is the same here), the DT is originally version-neutral > but then transitioned to model B, then reverted to model A. Here the DT is always > for the sample. > > However, for Pine H64 there's model A/B names, but for PineTab there's no > any samples that are sold, thus except who got the samples, all PineTab > owners simply owns a "PineTab", not a "PineTab xxx version". It's fairly simple really, we can't really predict the future, so any DT submitted is for the current version of whatever board there is. This is what we (somewhat messily) did for the PineH64, for the pinephone, or really any other board that has several revisions Maxime
Attachment:
signature.asc
Description: PGP signature