diff mbox series

arm64: dts: exynos: correct S3FWRN5 NFC interrupt trigger level on TM2

Message ID 20201210211859.215047-1-krzk@kernel.org (mailing list archive)
State New, archived
Headers show
Series arm64: dts: exynos: correct S3FWRN5 NFC interrupt trigger level on TM2 | expand

Commit Message

Krzysztof Kozlowski Dec. 10, 2020, 9:18 p.m. UTC
The S3FWRN5 datasheet describe the interrupt line as rising edge.  The
current configuration as level high, could cause spurious interrupts.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Krzysztof Kozlowski Dec. 29, 2020, 4 p.m. UTC | #1
On Thu, 10 Dec 2020 22:18:58 +0100, Krzysztof Kozlowski wrote:
> The S3FWRN5 datasheet describe the interrupt line as rising edge.  The
> current configuration as level high, could cause spurious interrupts.

Applied, thanks!

[1/1] arm64: dts: exynos: correct S3FWRN5 NFC interrupt trigger level on TM2
      commit: d497d07b74f05f01b9c8c85b6679c2df57ecbdb4

Best regards,
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi b/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi
index 03486a8ffc67..174ea507192d 100644
--- a/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi
+++ b/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi
@@ -793,7 +793,7 @@  s3fwrn5: nfc@27 {
 		compatible = "samsung,s3fwrn5-i2c";
 		reg = <0x27>;
 		interrupt-parent = <&gpa1>;
-		interrupts = <3 IRQ_TYPE_LEVEL_HIGH>;
+		interrupts = <3 IRQ_TYPE_EDGE_RISING>;
 		en-gpios = <&gpf1 4 GPIO_ACTIVE_HIGH>;
 		wake-gpios = <&gpj0 2 GPIO_ACTIVE_HIGH>;
 	};