Skip to content

Commit 57ac6f8

Browse files
wensAngeloGioacchino Del Regno
authored andcommitted
arm64: dts: mediatek: mt8186: Merge Voltorb device trees
There are only two different SKUs of Voltorb, and the only difference between them is whether a touchscreen is present or not. This can be detected by a simple I2C transfer to the address, instead of having separate device trees. Merge the two device trees together and simplify the compatible string list. The dtsi is still kept separate since there is an incoming device that shares the same design, but with slightly difference components. Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Signed-off-by: Chen-Yu Tsai <wenst@chromium.org> Link: https://lore.kernel.org/r/20250617082004.1653492-6-wenst@chromium.org Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
1 parent 8609434 commit 57ac6f8

3 files changed

Lines changed: 3 additions & 18 deletions

File tree

arch/arm64/boot/dts/mediatek/Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,7 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += mt8186-corsola-tentacool-sku327681.dtb
7676
dtb-$(CONFIG_ARCH_MEDIATEK) += mt8186-corsola-tentacool-sku327683.dtb
7777
dtb-$(CONFIG_ARCH_MEDIATEK) += mt8186-corsola-tentacruel-sku262144.dtb
7878
dtb-$(CONFIG_ARCH_MEDIATEK) += mt8186-corsola-tentacruel-sku262148.dtb
79-
dtb-$(CONFIG_ARCH_MEDIATEK) += mt8186-corsola-voltorb-sku589824.dtb
80-
dtb-$(CONFIG_ARCH_MEDIATEK) += mt8186-corsola-voltorb-sku589825.dtb
79+
dtb-$(CONFIG_ARCH_MEDIATEK) += mt8186-corsola-voltorb.dtb
8180
dtb-$(CONFIG_ARCH_MEDIATEK) += mt8186-evb.dtb
8281
dtb-$(CONFIG_ARCH_MEDIATEK) += mt8188-evb.dtb
8382
dtb-$(CONFIG_ARCH_MEDIATEK) += mt8188-geralt-ciri-sku0.dtb

arch/arm64/boot/dts/mediatek/mt8186-corsola-voltorb-sku589824.dts

Lines changed: 0 additions & 13 deletions
This file was deleted.

arch/arm64/boot/dts/mediatek/mt8186-corsola-voltorb-sku589825.dts renamed to arch/arm64/boot/dts/mediatek/mt8186-corsola-voltorb.dts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@
77
#include "mt8186-corsola-voltorb.dtsi"
88

99
/ {
10-
model = "Google Voltorb sku589825 board";
11-
compatible = "google,voltorb-sku589825", "google,voltorb",
12-
"mediatek,mt8186";
10+
model = "Google Voltorb board";
11+
compatible = "google,voltorb", "mediatek,mt8186";
1312
};
1413

1514
&i2c1 {

0 commit comments

Comments
 (0)