mirror of
https://github.com/torvalds/linux.git
synced 2026-05-26 16:12:59 +02:00
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
This commit is contained in:
parent
fa55b7dcdc
commit
d900a1cd31
|
|
@ -15,6 +15,7 @@
|
|||
/ {
|
||||
model = "Pinebook";
|
||||
compatible = "pine64,pinebook", "allwinner,sun50i-a64";
|
||||
chassis-type = "laptop";
|
||||
|
||||
aliases {
|
||||
serial0 = &uart0;
|
||||
|
|
|
|||
|
|
@ -12,6 +12,8 @@
|
|||
#include <dt-bindings/pwm/pwm.h>
|
||||
|
||||
/ {
|
||||
chassis-type = "handset";
|
||||
|
||||
aliases {
|
||||
ethernet0 = &rtl8723cs;
|
||||
serial0 = &uart0;
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@
|
|||
/ {
|
||||
model = "PineTab, Development Sample";
|
||||
compatible = "pine64,pinetab", "allwinner,sun50i-a64";
|
||||
chassis-type = "tablet";
|
||||
|
||||
aliases {
|
||||
serial0 = &uart0;
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@
|
|||
/ {
|
||||
model = "Olimex A64 Teres-I";
|
||||
compatible = "olimex,a64-teres-i", "allwinner,sun50i-a64";
|
||||
chassis-type = "laptop";
|
||||
|
||||
aliases {
|
||||
serial0 = &uart0;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user