Skip to content

Commit

Permalink
arch64: dts: qcom: xiaomi-daisy: enable more sensors
Browse files Browse the repository at this point in the history
Enable bmi160 and ltr579 ambient light sensor part with
ltrf216a.

Signed-off-by: Barnabás Czémán <[email protected]>
  • Loading branch information
barni2000 committed May 21, 2024
1 parent da3e96d commit 48e94d5
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions arch/arm64/boot/dts/qcom/msm8953-xiaomi-daisy.dts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,18 @@
#address-cells = <1>;
#size-cells = <0>;

imu@68 {
compatible = "bosch,bmi160";
reg = <0x68>;

vdd-supply = <&pm8953_l10>;
vddio-supply = <&pm8953_l6>;

mount-matrix = "0", "1", "0",
"-1", "0", "0",
"0", "0", "1";
};

imu@6a {
compatible = "st,lsm6dsl";
reg = <0x6a>;
Expand All @@ -85,6 +97,13 @@
"0", "-1", "0",
"0", "0", "1";
};

light-sensor@53 {
/* it has ltr579 alps sensor */
compatible = "liteon,ltrf216a";
reg = <0x53>;
vdd-supply = <&pm8953_l10>;
};
};

avdd_cam_front: vreg-cam-front-avdd {
Expand Down

0 comments on commit 48e94d5

Please sign in to comment.