linux/arch/arm/boot/dts/qcom/qcom-msm8226-microsoft-moneypenny.dts
Rayyan Ansari 18042ad9df ARM: dts: qcom: msm8226-microsoft-common: Add inertial sensors
Add nodes for the Asahi Kasei AK09911 magnetometer and the Kionix
KX022-1020 accelerometer, both of which are connected over i2c2, in the
common device tree for msm8x26 Lumias.

Moneypenny (Lumia 630) does not have a magnetometer, and so the node is
deleted.
Tesla's (Lumia 830's) magnetometer is currently unknown.

Signed-off-by: Rayyan Ansari <rayyan@ansari.sh>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20240714173431.54332-4-rayyan@ansari.sh
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
2024-08-14 21:31:47 -05:00

26 lines
620 B
Text

// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2023, Jack Matthews <jm5112356@gmail.com>
* Copyright (c) 2023, Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
* Copyright (c) 2023, Dominik Kobinski <dominikkobinski314@gmail.com>
* Copyright (c) 2023, Rayyan Ansari <rayyan@ansari.sh>
*/
/dts-v1/;
#include "qcom-msm8226-microsoft-common.dtsi"
/* This device has no magnetometer */
/delete-node/ &magnetometer;
/ {
model = "Nokia Lumia 630";
compatible = "microsoft,moneypenny", "qcom,msm8226";
chassis-type = "handset";
};
&framebuffer {
width = <480>;
height = <854>;
stride = <(480 * 4)>;
};