mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-11 05:32:13 -04:00
arm64: dts: sun50i-a64-pinephone: Add mount-matrix for PinePhone magnetometers
For lis3mdl, values are based on datasheet and PCB drawing and tested on a real device. For af8133j, values are from testing on a real device. Signed-off-by: Shoji Keita <awaittrot@shjk.jp> Signed-off-by: Andrey Skvortsov <andrej.skvortzov@gmail.com> Link: https://patch.msgid.link/20240908214718.36316-3-andrej.skvortzov@gmail.com Signed-off-by: Chen-Yu Tsai <wens@csie.org>
This commit is contained in:
committed by
Chen-Yu Tsai
parent
193b199a92
commit
844c35cea6
@@ -195,6 +195,9 @@ af8133j: magnetometer@1c {
|
||||
reset-gpios = <&pio 1 1 GPIO_ACTIVE_LOW>;
|
||||
avdd-supply = <®_dldo1>;
|
||||
dvdd-supply = <®_dldo1>;
|
||||
mount-matrix = "0", "-1", "0",
|
||||
"-1", "0", "0",
|
||||
"0", "0", "-1";
|
||||
|
||||
/* status will be fixed up in firmware */
|
||||
status = "disabled";
|
||||
@@ -206,6 +209,9 @@ lis3mdl: magnetometer@1e {
|
||||
reg = <0x1e>;
|
||||
vdd-supply = <®_dldo1>;
|
||||
vddio-supply = <®_dldo1>;
|
||||
mount-matrix = "0", "1", "0",
|
||||
"-1", "0", "0",
|
||||
"0", "0", "1";
|
||||
};
|
||||
|
||||
/* Light/proximity sensor */
|
||||
|
||||
Reference in New Issue
Block a user