pmaports/device/testing/linux-samsung-i927/0024-ARM-dts-tegra20-glide-fix-AK8975.patch
Oliver Smith 64035ac463
device/*: move to device/testing/* (!1063)
Prepare for better device categorization by moving everything to testing
subdir first.

[skip-ci]: chicken-egg problem: passing pmaports CI depends on pmbootstrap MR
				depends on this MR

Related: postmarketos#16
2020-03-14 08:35:32 +01:00

29 lines
875 B
Diff

From 727e4b1a1d921520b5b5dc08869eb12b11ba248f Mon Sep 17 00:00:00 2001
From: Sergey Larin <cerg2010cerg2010@mail.ru>
Date: Sun, 10 Feb 2019 00:43:16 +0300
Subject: [PATCH] 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.22.0