pmaports/device/linux-samsung-i927/0026-ARM-dts-tegra20-glide-fix-AK8975.patch
Sergey Larin 6b1072a789 samsung-i927: Kernel updates (!217)
- Use separated patches
- Use new panel driver (with backlight support)
- Battery fixes
- Fix compass (AK8975) (not tested, only probing works, but sometimes
  doesn't - says "Unexpected device" - need to investigate that)
- Touchkey is working + LED
- Keyboard backlight + HALL for slideout detection
2019-02-12 23:28:56 +01:00

29 lines
881 B
Diff

From cc78d2d1c0b02ee1a94801c4a99924ed85808c41 Mon Sep 17 00:00:00 2001
From: Sergey Larin <cerg2010cerg2010@mail.ru>
Date: Sun, 10 Feb 2019 00:43:16 +0300
Subject: [PATCH 26/34] ARM: dts: tegra20-glide: fix AK8975
Add GPIO definition instead of interrupt.
Signed-off-by: Sergey Larin <cerg2010cerg2010@mail.ru>
---
arch/arm/boot/dts/tegra20-glide.dts | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/tegra20-glide.dts b/arch/arm/boot/dts/tegra20-glide.dts
index 87d737c62b0a..f1909f55d8e3 100644
--- a/arch/arm/boot/dts/tegra20-glide.dts
+++ b/arch/arm/boot/dts/tegra20-glide.dts
@@ -835,8 +835,7 @@
ak8975@c {
compatible = "asahi-kasei,ak8975";
reg = <0xc>;
- interrupt-parent = <&gpio>;
- interrupts = <TEGRA_GPIO(K, 4) IRQ_TYPE_LEVEL_HIGH>;
+ gpios = <&gpio TEGRA_GPIO(K, 4) GPIO_ACTIVE_HIGH>;
};
};
--
2.20.1