[PATCH] ARM: shmobile: kzm9g dts: Add adxl345-specific compatible property

Geert Uytterhoeven geert+renesas at glider.be
Mon Jul 6 02:59:06 PDT 2015


The accelerometer node used the generic compatible property only.
Add the device-specific one, to make it future proof.

Signed-off-by: Geert Uytterhoeven <geert+renesas at glider.be>
---
Depends on commit 3a38958d2477b718 ("Input: adxl34x - add OF match
support"), which is in v4.2-rc1.
---
 arch/arm/boot/dts/sh73a0-kzm9g.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/sh73a0-kzm9g.dts b/arch/arm/boot/dts/sh73a0-kzm9g.dts
index 24b4cd24dceb2f9e..ae91278d77b45b38 100644
--- a/arch/arm/boot/dts/sh73a0-kzm9g.dts
+++ b/arch/arm/boot/dts/sh73a0-kzm9g.dts
@@ -206,7 +206,7 @@
 	};
 
 	accelerometer at 1d {
-		compatible = "adi,adxl34x";
+		compatible = "adi,adxl345", "adi,adxl34x";
 		reg = <0x1d>;
 		interrupt-parent = <&irqpin3>;
 		interrupts = <2 IRQ_TYPE_LEVEL_HIGH>,
-- 
1.9.1




More information about the linux-arm-kernel mailing list