于 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. > >Maxime