Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp5119830pxu; Thu, 10 Dec 2020 13:30:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJzgWosnWP5zJ40PPRnb/6gpyzO9QnRmb4OyvBseyGH4jp0fb71dTuWDrt41l9HVl+ZqFwSo X-Received: by 2002:a17:906:b74b:: with SMTP id fx11mr8197588ejb.410.1607635815725; Thu, 10 Dec 2020 13:30:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607635815; cv=none; d=google.com; s=arc-20160816; b=KXXWX+Znks1jyxYx1wnNRqueFz0xwYN3otYg9qu+CS23/D10dR03r/wvmU1alLm5im ZdEFEQX/bGqt2CeVIggU1DRkcs6c3vr49CIwLK4b9PK4BDFFLAC1jucKkfktUo8w8qF2 bqDKqibYu4Bqhf3iydLZJS9iMey4zFKJzJbXB1CJAakXDexcexZpPNo6csgEOT1x/unI F69Mu55fL8nsW4wKJi1IinpnlVggkq6tsb2ZDzsQMZRrTu8KW9IPVsG46A34OcVTqCTM RV3aBaztdSEq14IV6R8oqLzPhF5g5AqtdII8EI5RF8OdfOpqXRm1Q7XW4VvD/vxLNgYY 8MgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=B+B+ImQ7i30s0+5OMt4F8cxcKjIomkkwFxY8+HBk8Cc=; b=0wPMRGJFcvavk4FjvrZuYpbHUV1N+zrJgNDe5oGH61uy2JIx3rdkQwLO1H5isE84dC csYmUgdq8rLY0XIQuZ+YKINP3VII8mhXqBTY7c1mRgrZ4exiRhURK7Hm7gwh4AeAl+2X DDJ85RhF0JAlNs5F5/zbm4dK4i9mek5T2DzMlRm/fp1irmODUbqdf69vnuFDaDAkXzW3 wQLtKBYFE5VDxx+KsB9n73iZzX8ooXvy/6GE9ZI+nk0L2LcF6TZH8xJcTSSDjYeuRgt2 lDKaW6RWc0uizgEo8Js8kBuXjzIa4YDjAuNhYCIHMLPie5HrozgKACzqYSRiogZqPPPY hJEg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e10si3144023ejf.658.2020.12.10.13.29.53; Thu, 10 Dec 2020 13:30:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404858AbgLJV0l (ORCPT + 99 others); Thu, 10 Dec 2020 16:26:41 -0500 Received: from mail.kernel.org ([198.145.29.99]:37928 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390128AbgLJV01 (ORCPT ); Thu, 10 Dec 2020 16:26:27 -0500 From: Krzysztof Kozlowski Authentication-Results: mail.kernel.org; dkim=permerror (bad message/signature format) To: Chanwoo Choi , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz , Michael Turquette , Stephen Boyd , Rob Herring , Lee Jones , Sebastian Reichel , Liam Girdwood , Mark Brown , Andy Gross , Bjorn Andersson , Alessandro Zummo , Alexandre Belloni , linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-rtc@vger.kernel.org Cc: Iskren Chernev , Matheus Castello , Sebastian Krzyszkowiak , Angus Ainslie , Hans de Goede Subject: [PATCH 01/18] ARM: dts: exynos: correct fuel gauge interrupt trigger level on GT-I9100 Date: Thu, 10 Dec 2020 22:25:17 +0100 Message-Id: <20201210212534.216197-1-krzk@kernel.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The Maxim fuel gauge datasheets describe the interrupt line as active low with a requirement of acknowledge from the CPU. The falling edge interrupt will mostly work but it's not correct. Fixes: 8620cc2f99b7 ("ARM: dts: exynos: Add devicetree file for the Galaxy S2") Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos4210-i9100.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/exynos4210-i9100.dts b/arch/arm/boot/dts/exynos4210-i9100.dts index a0c3bab382ae..e56b64e237d3 100644 --- a/arch/arm/boot/dts/exynos4210-i9100.dts +++ b/arch/arm/boot/dts/exynos4210-i9100.dts @@ -136,7 +136,7 @@ battery@36 { compatible = "maxim,max17042"; interrupt-parent = <&gpx2>; - interrupts = <3 IRQ_TYPE_EDGE_FALLING>; + interrupts = <3 IRQ_TYPE_LEVEL_LOW>; pinctrl-0 = <&max17042_fuel_irq>; pinctrl-names = "default"; -- 2.25.1