aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot/dts/qcom/msm8992-xiaomi-libra.dts
diff options
context:
space:
mode:
authorArnaud Ferraris <arnaud.ferraris@collabora.com>2021-10-16 12:20:24 +0200
committerBjorn Andersson <bjorn.andersson@linaro.org>2021-10-16 16:55:21 -0500
commiteaa744b1c101a33fba5978866defc8a7e87f8d79 (patch)
tree9803171f9c1413be9298523ace4ec9ad1d33e7d7 /arch/arm64/boot/dts/qcom/msm8992-xiaomi-libra.dts
parentarm64: dts: qcom: sm8250: remove mmcx regulator (diff)
downloadlinux-dev-eaa744b1c101a33fba5978866defc8a7e87f8d79.tar.xz
linux-dev-eaa744b1c101a33fba5978866defc8a7e87f8d79.zip
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: Arnaud Ferraris <arnaud.ferraris@collabora.com> Reviewed-by: Stephan Gerhold <stephan@gerhold.net> # msm8916 Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20211016102025.23346-4-arnaud.ferraris@collabora.com
Diffstat (limited to 'arch/arm64/boot/dts/qcom/msm8992-xiaomi-libra.dts')
-rw-r--r--arch/arm64/boot/dts/qcom/msm8992-xiaomi-libra.dts2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/msm8992-xiaomi-libra.dts b/arch/arm64/boot/dts/qcom/msm8992-xiaomi-libra.dts
index 357d55496e75..69fcb6b0398d 100644
--- a/arch/arm64/boot/dts/qcom/msm8992-xiaomi-libra.dts
+++ b/arch/arm64/boot/dts/qcom/msm8992-xiaomi-libra.dts
@@ -14,6 +14,8 @@
/ {
model = "Xiaomi Mi 4C";
compatible = "xiaomi,libra", "qcom,msm8992";
+ chassis-type = "handset";
+
/* required for bootloader to select correct board */
qcom,msm-id = <251 0 252 0>;
qcom,pmic-id = <65545 65546 0 0>;