Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

arm64: dts: allwinner: add 'chassis-type' property

A new 'chassis-type' root node property has recently been approved for
the device-tree specification, in order to provide a simple way for
userspace to detect the device form factor and adjust their behavior
accordingly.

This patch fills in this property for end-user devices (such as laptops,
smartphones and tablets) based on Allwinner ARM64 processors.

Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20211016102025.23346-2-arnaud.ferraris@collabora.com

authored by

Arnaud Ferraris and committed by
Maxime Ripard
d900a1cd fa55b7dc

+5
+1
arch/arm64/boot/dts/allwinner/sun50i-a64-pinebook.dts
··· 15 15 / { 16 16 model = "Pinebook"; 17 17 compatible = "pine64,pinebook", "allwinner,sun50i-a64"; 18 + chassis-type = "laptop"; 18 19 19 20 aliases { 20 21 serial0 = &uart0;
+2
arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi
··· 12 12 #include <dt-bindings/pwm/pwm.h> 13 13 14 14 / { 15 + chassis-type = "handset"; 16 + 15 17 aliases { 16 18 ethernet0 = &rtl8723cs; 17 19 serial0 = &uart0;
+1
arch/arm64/boot/dts/allwinner/sun50i-a64-pinetab.dts
··· 16 16 / { 17 17 model = "PineTab, Development Sample"; 18 18 compatible = "pine64,pinetab", "allwinner,sun50i-a64"; 19 + chassis-type = "tablet"; 19 20 20 21 aliases { 21 22 serial0 = &uart0;
+1
arch/arm64/boot/dts/allwinner/sun50i-a64-teres-i.dts
··· 14 14 / { 15 15 model = "Olimex A64 Teres-I"; 16 16 compatible = "olimex,a64-teres-i", "allwinner,sun50i-a64"; 17 + chassis-type = "laptop"; 17 18 18 19 aliases { 19 20 serial0 = &uart0;