1 From 4c2d5411f4b101f7aa0fd74f80109e3afd6dc967 Mon Sep 17 00:00:00 2001
2 From: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
3 Date: Wed, 17 May 2023 12:11:08 +0200
4 Subject: [PATCH 11/19] arm64: mediatek: Propagate chassis-type where possible
6 The chassis-type string identifies the form-factor of the system:
7 add this property to all device trees of devices for which the form
10 Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
11 Link: https://lore.kernel.org/r/20230517101108.205654-1-angelogioacchino.delregno@collabora.com
12 Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
14 arch/arm64/boot/dts/mediatek/mt2712-evb.dts | 1 +
15 arch/arm64/boot/dts/mediatek/mt6755-evb.dts | 1 +
16 arch/arm64/boot/dts/mediatek/mt6779-evb.dts | 1 +
17 arch/arm64/boot/dts/mediatek/mt6795-evb.dts | 1 +
18 arch/arm64/boot/dts/mediatek/mt6797-evb.dts | 1 +
19 arch/arm64/boot/dts/mediatek/mt6797-x20-dev.dts | 1 +
20 arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts | 1 +
21 arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts | 1 +
22 arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts | 1 +
23 arch/arm64/boot/dts/mediatek/mt7986a-rfb.dts | 1 +
24 arch/arm64/boot/dts/mediatek/mt7986b-rfb.dts | 1 +
25 arch/arm64/boot/dts/mediatek/mt8167-pumpkin.dts | 1 +
26 arch/arm64/boot/dts/mediatek/mt8173-elm-hana-rev7.dts | 1 +
27 arch/arm64/boot/dts/mediatek/mt8173-elm-hana.dts | 1 +
28 arch/arm64/boot/dts/mediatek/mt8173-elm.dts | 1 +
29 arch/arm64/boot/dts/mediatek/mt8173-evb.dts | 1 +
30 arch/arm64/boot/dts/mediatek/mt8183-evb.dts | 1 +
31 arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-burnet.dts | 1 +
32 arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-damu.dts | 1 +
33 .../boot/dts/mediatek/mt8183-kukui-jacuzzi-juniper-sku16.dts | 1 +
34 arch/arm64/boot/dts/mediatek/mt8183-kukui-kakadu-sku22.dts | 1 +
35 arch/arm64/boot/dts/mediatek/mt8183-kukui-kakadu.dts | 1 +
36 arch/arm64/boot/dts/mediatek/mt8183-kukui-kodama-sku16.dts | 1 +
37 arch/arm64/boot/dts/mediatek/mt8183-kukui-kodama-sku272.dts | 1 +
38 arch/arm64/boot/dts/mediatek/mt8183-kukui-kodama-sku288.dts | 1 +
39 arch/arm64/boot/dts/mediatek/mt8183-kukui-krane-sku0.dts | 1 +
40 arch/arm64/boot/dts/mediatek/mt8183-kukui-krane-sku176.dts | 1 +
41 arch/arm64/boot/dts/mediatek/mt8186-evb.dts | 1 +
42 28 files changed, 28 insertions(+)
44 --- a/arch/arm64/boot/dts/mediatek/mt2712-evb.dts
45 +++ b/arch/arm64/boot/dts/mediatek/mt2712-evb.dts
49 model = "MediaTek MT2712 evaluation board";
50 + chassis-type = "embedded";
51 compatible = "mediatek,mt2712-evb", "mediatek,mt2712";
54 --- a/arch/arm64/boot/dts/mediatek/mt6755-evb.dts
55 +++ b/arch/arm64/boot/dts/mediatek/mt6755-evb.dts
59 model = "MediaTek MT6755 EVB";
60 + chassis-type = "embedded";
61 compatible = "mediatek,mt6755-evb", "mediatek,mt6755";
64 --- a/arch/arm64/boot/dts/mediatek/mt6779-evb.dts
65 +++ b/arch/arm64/boot/dts/mediatek/mt6779-evb.dts
69 model = "MediaTek MT6779 EVB";
70 + chassis-type = "embedded";
71 compatible = "mediatek,mt6779-evb", "mediatek,mt6779";
74 --- a/arch/arm64/boot/dts/mediatek/mt6795-evb.dts
75 +++ b/arch/arm64/boot/dts/mediatek/mt6795-evb.dts
79 model = "MediaTek MT6795 Evaluation Board";
80 + chassis-type = "embedded";
81 compatible = "mediatek,mt6795-evb", "mediatek,mt6795";
84 --- a/arch/arm64/boot/dts/mediatek/mt6797-evb.dts
85 +++ b/arch/arm64/boot/dts/mediatek/mt6797-evb.dts
89 model = "MediaTek MT6797 Evaluation Board";
90 + chassis-type = "embedded";
91 compatible = "mediatek,mt6797-evb", "mediatek,mt6797";
94 --- a/arch/arm64/boot/dts/mediatek/mt6797-x20-dev.dts
95 +++ b/arch/arm64/boot/dts/mediatek/mt6797-x20-dev.dts
99 model = "Mediatek X20 Development Board";
100 + chassis-type = "embedded";
101 compatible = "archermind,mt6797-x20-dev", "mediatek,mt6797";
104 --- a/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts
105 +++ b/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts
109 model = "Bananapi BPI-R64";
110 + chassis-type = "embedded";
111 compatible = "bananapi,bpi-r64", "mediatek,mt7622";
114 --- a/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts
115 +++ b/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts
119 model = "MediaTek MT7622 RFB1 board";
120 + chassis-type = "embedded";
121 compatible = "mediatek,mt7622-rfb1", "mediatek,mt7622";
124 --- a/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts
125 +++ b/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts
129 model = "Bananapi BPI-R3";
130 + chassis-type = "embedded";
131 compatible = "bananapi,bpi-r3", "mediatek,mt7986a";
134 --- a/arch/arm64/boot/dts/mediatek/mt7986a-rfb.dts
135 +++ b/arch/arm64/boot/dts/mediatek/mt7986a-rfb.dts
139 model = "MediaTek MT7986a RFB";
140 + chassis-type = "embedded";
141 compatible = "mediatek,mt7986a-rfb", "mediatek,mt7986a";
144 --- a/arch/arm64/boot/dts/mediatek/mt7986b-rfb.dts
145 +++ b/arch/arm64/boot/dts/mediatek/mt7986b-rfb.dts
149 model = "MediaTek MT7986b RFB";
150 + chassis-type = "embedded";
151 compatible = "mediatek,mt7986b-rfb", "mediatek,mt7986b";
154 --- a/arch/arm64/boot/dts/mediatek/mt8167-pumpkin.dts
155 +++ b/arch/arm64/boot/dts/mediatek/mt8167-pumpkin.dts
159 model = "Pumpkin MT8167";
160 + chassis-type = "embedded";
161 compatible = "mediatek,mt8167-pumpkin", "mediatek,mt8167";
164 --- a/arch/arm64/boot/dts/mediatek/mt8173-elm-hana-rev7.dts
165 +++ b/arch/arm64/boot/dts/mediatek/mt8173-elm-hana-rev7.dts
169 model = "Google Hanawl";
170 + chassis-type = "laptop";
171 compatible = "google,hana-rev7", "mediatek,mt8173";
174 --- a/arch/arm64/boot/dts/mediatek/mt8173-elm-hana.dts
175 +++ b/arch/arm64/boot/dts/mediatek/mt8173-elm-hana.dts
179 model = "Google Hana";
180 + chassis-type = "laptop";
181 compatible = "google,hana-rev6", "google,hana-rev5",
182 "google,hana-rev4", "google,hana-rev3",
183 "google,hana", "mediatek,mt8173";
184 --- a/arch/arm64/boot/dts/mediatek/mt8173-elm.dts
185 +++ b/arch/arm64/boot/dts/mediatek/mt8173-elm.dts
189 model = "Google Elm";
190 + chassis-type = "laptop";
191 compatible = "google,elm-rev8", "google,elm-rev7", "google,elm-rev6",
192 "google,elm-rev5", "google,elm-rev4", "google,elm-rev3",
193 "google,elm", "mediatek,mt8173";
194 --- a/arch/arm64/boot/dts/mediatek/mt8173-evb.dts
195 +++ b/arch/arm64/boot/dts/mediatek/mt8173-evb.dts
199 model = "MediaTek MT8173 evaluation board";
200 + chassis-type = "embedded";
201 compatible = "mediatek,mt8173-evb", "mediatek,mt8173";
204 --- a/arch/arm64/boot/dts/mediatek/mt8183-evb.dts
205 +++ b/arch/arm64/boot/dts/mediatek/mt8183-evb.dts
209 model = "MediaTek MT8183 evaluation board";
210 + chassis-type = "embedded";
211 compatible = "mediatek,mt8183-evb", "mediatek,mt8183";
214 --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-burnet.dts
215 +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-burnet.dts
219 model = "Google burnet board";
220 + chassis-type = "convertible";
221 compatible = "google,burnet", "mediatek,mt8183";
224 --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-damu.dts
225 +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-damu.dts
229 model = "Google damu board";
230 + chassis-type = "convertible";
231 compatible = "google,damu", "mediatek,mt8183";
234 --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-juniper-sku16.dts
235 +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-juniper-sku16.dts
239 model = "Google juniper sku16 board";
240 + chassis-type = "convertible";
241 compatible = "google,juniper-sku16", "google,juniper", "mediatek,mt8183";
244 --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui-kakadu-sku22.dts
245 +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-kakadu-sku22.dts
249 model = "MediaTek kakadu board sku22";
250 + chassis-type = "tablet";
251 compatible = "google,kakadu-rev3-sku22", "google,kakadu-rev2-sku22",
252 "google,kakadu", "mediatek,mt8183";
254 --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui-kakadu.dts
255 +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-kakadu.dts
259 model = "MediaTek kakadu board";
260 + chassis-type = "tablet";
261 compatible = "google,kakadu-rev3", "google,kakadu-rev2",
262 "google,kakadu", "mediatek,mt8183";
264 --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui-kodama-sku16.dts
265 +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-kodama-sku16.dts
269 model = "MediaTek kodama sku16 board";
270 + chassis-type = "tablet";
271 compatible = "google,kodama-sku16", "google,kodama", "mediatek,mt8183";
274 --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui-kodama-sku272.dts
275 +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-kodama-sku272.dts
279 model = "MediaTek kodama sku272 board";
280 + chassis-type = "tablet";
281 compatible = "google,kodama-sku272", "google,kodama", "mediatek,mt8183";
284 --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui-kodama-sku288.dts
285 +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-kodama-sku288.dts
289 model = "MediaTek kodama sku288 board";
290 + chassis-type = "tablet";
291 compatible = "google,kodama-sku288", "google,kodama", "mediatek,mt8183";
294 --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui-krane-sku0.dts
295 +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-krane-sku0.dts
299 model = "MediaTek krane sku0 board";
300 + chassis-type = "tablet";
301 compatible = "google,krane-sku0", "google,krane", "mediatek,mt8183";
304 --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui-krane-sku176.dts
305 +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-krane-sku176.dts
309 model = "MediaTek krane sku176 board";
310 + chassis-type = "tablet";
311 compatible = "google,krane-sku176", "google,krane", "mediatek,mt8183";
314 --- a/arch/arm64/boot/dts/mediatek/mt8186-evb.dts
315 +++ b/arch/arm64/boot/dts/mediatek/mt8186-evb.dts
319 model = "MediaTek MT8186 evaluation board";
320 + chassis-type = "embedded";
321 compatible = "mediatek,mt8186-evb", "mediatek,mt8186";