mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
arm64: dts: rockchip: 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 Rockchip ARM64 processors. Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com> Link: https://lore.kernel.org/r/20211016102025.23346-5-arnaud.ferraris@collabora.com Signed-off-by: Heiko Stuebner <heiko@sntech.de>
This commit is contained in:
parent
b394e70cdc
commit
263b39bce2
4 changed files with 5 additions and 0 deletions
|
@ -16,6 +16,7 @@
|
|||
"google,bob-rev7", "google,bob-rev6",
|
||||
"google,bob-rev5", "google,bob-rev4",
|
||||
"google,bob", "google,gru", "rockchip,rk3399";
|
||||
chassis-type = "convertible";
|
||||
|
||||
edp_panel: edp-panel {
|
||||
compatible = "boe,nv101wxmn51";
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
"google,kevin-rev9", "google,kevin-rev8",
|
||||
"google,kevin-rev7", "google,kevin-rev6",
|
||||
"google,kevin", "google,gru", "rockchip,rk3399";
|
||||
chassis-type = "convertible";
|
||||
|
||||
/* Power tree */
|
||||
|
||||
|
|
|
@ -8,6 +8,8 @@
|
|||
#include "rk3399-gru.dtsi"
|
||||
|
||||
/{
|
||||
chassis-type = "tablet";
|
||||
|
||||
/* Power tree */
|
||||
|
||||
/* ppvar_sys children, sorted by name */
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
/ {
|
||||
model = "Pine64 Pinebook Pro";
|
||||
compatible = "pine64,pinebook-pro", "rockchip,rk3399";
|
||||
chassis-type = "laptop";
|
||||
|
||||
aliases {
|
||||
mmc0 = &sdio0;
|
||||
|
|
Loading…
Add table
Reference in a new issue