Skip to contentSkip to conversation

ARM: dts: rockchip: rk3188-bqedison2qc: Use mount-matrix

PATCH Applied Fabio Estevam 2 participants 2 messages Feb 26 – Mar 2

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: rockchip: rk3188-bqedison2qc: Use mount-matrix

'rotation-matrix' is not a valid property.

Use the documented 'mount-matrix' property instead.

This fixes the following dt-schema warning:

accelerometer@29 (st,lis3de): 'rotation-matrix' does not match any of the
regexes: '^pinctrl-[0-9]+$'

accelerometer@29 (st,lis3de): rotation-matrix:
b'1\x000\x000\x000\x00-1\x000\x000\x000\x001\x00' is not of type 'object', 'integer', 'array', 'boolean', 'null'

---
 arch/arm/boot/dts/rockchip/rk3188-bqedison2qc.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/rockchip/rk3188-bqedison2qc.dts +1 -1
index edc2b7f9112d..b56095fc2441 100644
@@ -262,7 +262,7 @@ lis3de: accelerometer@29 {
 		interrupts = <RK_PB7 IRQ_TYPE_EDGE_RISING>;
 		pinctrl-names = "default";
 		pinctrl-0 = <&gsensor_int>;
-		rotation-matrix = "1", "0", "0",
+		mount-matrix = "1", "0", "0",
 				  "0", "-1", "0",
 				  "0", "0", "1";
 		vdd-supply = <&vcc_io>;
Signature · 1 line
2.34.1
maintainer Applied
#1 lore raw
Quoted 10 lines · Fabio Estevam

'rotation-matrix' is not a valid property.

Use the documented 'mount-matrix' property instead.

This fixes the following dt-schema warning:

accelerometer@29 (st,lis3de): 'rotation-matrix' does not match any of the
regexes: '^pinctrl-[0-9]+$'

[...]

Applied, thanks!

[1/1] ARM: dts: rockchip: rk3188-bqedison2qc: Use mount-matrix

      commit: 6916fbb419b3fcd2275e658e1c29b3a29d550338

Best regards,

Signature · 1 line
Heiko Stuebner <[email protected]>