Commit eaa744b1 authored by Arnaud Ferraris's avatar Arnaud Ferraris Committed by Bjorn Andersson
Browse files

arm64: dts: qcom: 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 Qualcomm ARM64 processors.

Signed-off-by: default avatarArnaud Ferraris <arnaud.ferraris@collabora.com>
Reviewed-by: Stephan Gerhold <stephan@gerhold.net> # msm8916
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20211016102025.23346-4-arnaud.ferraris@collabora.com
parent 266e5cf3
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -11,6 +11,7 @@
/ {
	model = "Sony Xperia Z4 Tablet (Wi-Fi)";
	compatible = "sony,karin_windy", "qcom,apq8094";
	chassis-type = "tablet";

	/*
	 * This model uses the APQ variant of MSM8994 (APQ8094).
+1 −0
Original line number Diff line number Diff line
@@ -9,6 +9,7 @@
/ {
	model = "Alcatel OneTouch Idol 3 (4.7)";
	compatible = "alcatel,idol347", "qcom,msm8916";
	chassis-type = "handset";

	aliases {
		serial0 = &blsp1_uart2;
+1 −0
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@
/ {
	model = "Asus Zenfone 2 Laser";
	compatible = "asus,z00l", "qcom,msm8916";
	chassis-type = "handset";

	aliases {
		serial0 = &blsp1_uart2;
+1 −0
Original line number Diff line number Diff line
@@ -25,6 +25,7 @@
/ {
	model = "Huawei Ascend G7";
	compatible = "huawei,g7", "qcom,msm8916";
	chassis-type = "handset";

	aliases {
		serial0 = &blsp1_uart2;
+1 −0
Original line number Diff line number Diff line
@@ -11,6 +11,7 @@
/ {
	model = "Longcheer L8150";
	compatible = "longcheer,l8150", "qcom,msm8916-v1-qrd/9-v1", "qcom,msm8916";
	chassis-type = "handset";

	aliases {
		serial0 = &blsp1_uart2;
Loading