Skip to content

Commit

Permalink
Add accelerometer label & Undo matrix changes
Browse files Browse the repository at this point in the history
Add accelerometer label to be overwritten by other device trees instead of changing the matrix for every device.
  • Loading branch information
System64fumo authored Nov 4, 2023
1 parent 4d4a545 commit f8d5db8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions arch/arm64/boot/dts/qcom/msm8916-samsung-e2015-common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
/delete-node/ accelerometer@10;
/delete-node/ magnetometer@12;

accelerometer@1d {
accelerometer: accelerometer@1d {
compatible = "st,lis2hh12";
reg = <0x1d>;

Expand All @@ -62,8 +62,8 @@
vddio-supply = <&pm8916_l5>;

st,drdy-int-pin = <1>;
mount-matrix = "-1", "0", "0",
"0", "1", "0",
mount-matrix = "1", "0", "0",
"0", "-1", "0",
"0", "0", "1";

pinctrl-0 = <&accel_int_default>;
Expand Down

0 comments on commit f8d5db8

Please sign in to comment.