Unverified Commit d900a1cd authored by Arnaud Ferraris's avatar Arnaud Ferraris Committed by Maxime Ripard
Browse files

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: default avatarArnaud Ferraris <arnaud.ferraris@collabora.com>
Signed-off-by: default avatarMaxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20211016102025.23346-2-arnaud.ferraris@collabora.com
parent fa55b7dc
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -15,6 +15,7 @@
/ {
	model = "Pinebook";
	compatible = "pine64,pinebook", "allwinner,sun50i-a64";
	chassis-type = "laptop";

	aliases {
		serial0 = &uart0;
+2 −0
Original line number Diff line number Diff line
@@ -12,6 +12,8 @@
#include <dt-bindings/pwm/pwm.h>

/ {
	chassis-type = "handset";

	aliases {
		ethernet0 = &rtl8723cs;
		serial0 = &uart0;
+1 −0
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@
/ {
	model = "PineTab, Development Sample";
	compatible = "pine64,pinetab", "allwinner,sun50i-a64";
	chassis-type = "tablet";

	aliases {
		serial0 = &uart0;
+1 −0
Original line number Diff line number Diff line
@@ -14,6 +14,7 @@
/ {
	model = "Olimex A64 Teres-I";
	compatible = "olimex,a64-teres-i", "allwinner,sun50i-a64";
	chassis-type = "laptop";

	aliases {
		serial0 = &uart0;