Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp274962pxu; Fri, 11 Dec 2020 01:58:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJwqRCPtba7kyhNLszGVhqo2wJMsKumk8HGuW1MxKWDnCZfN9iZjYYV/l50Hw6Zcl8/L58Lo X-Received: by 2002:a17:906:518a:: with SMTP id y10mr10368884ejk.323.1607680697625; Fri, 11 Dec 2020 01:58:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607680697; cv=none; d=google.com; s=arc-20160816; b=w/5D6UBoabL5u6vhqP2zQG8roW5D056UTwtEtpt/MbOgwUaaEf+Y69cZ6PzOkEmdLY /PaU0T+Ej+xv6nXMk+HiiKARY0P8UdGXKIMzbnMPG2zh1s7TCNDdS7k/NfuJ5/XFK3YC Z4ofiNSCY30ksbZPQsElqPZLB67UHe/atvdzut1TsWz2/RTLcbZXOis3xYzk5IYaYLc6 cjJUU89FcJomlZVscD/N10X2lOESj5cu2sPav5J3dfoJfKMbOQOh9MMnbBGiSb2842QA AhQQDiJcMBghOZ4I0NFwDjMgcyPPFOYoYj4ZNN6IbTNxyHVS9PmnolNc+nYZMvkLPK8t Gcxg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=n6CQi6ig7wtN3k1A90UYJ9KVQPZtk4+gxseLg7T+9ls=; b=M01FpgSucd/5/CWWNOkxbbRxyU3CvA41bcfin9mjzhUc6XJCtRFwPFbi8sbwFjg1Sl uww6+oCnZVsnzH3dYEyRzq6F1xQlDLifUTcHyc4OfKm0x19gFwn7h9gZadTZiyO4O2Dp KmpBT5qCSp4VrUtX37EoXVslki+nUKPS/ywv7Hq/u2h5EUU9sTQnmob2Rg8V5T7PPf6e JgqWpDnWudLlHgKn/r6d9FG+D0VONGz16bCJ19sEQH9a3MsxKKKvOMWfTbxTry3P0Avf FVggBmJJFxIjoAj61APJbgtEpMwaPa/Gr8ofSxYOYcgmI3CYnjnK0yAbzwdlaSoCznUY l1LA== 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 k3si4509874edr.372.2020.12.11.01.57.55; Fri, 11 Dec 2020 01:58:17 -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 S2405086AbgLJVlx (ORCPT + 99 others); Thu, 10 Dec 2020 16:41:53 -0500 Received: from mail.kernel.org ([198.145.29.99]:38668 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404894AbgLJV1b (ORCPT ); Thu, 10 Dec 2020 16:27:31 -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 12/18] ARM: dts: qcom: msm8974-samsung-klte: correct fuel gauge interrupt trigger level Date: Thu, 10 Dec 2020 22:25:28 +0100 Message-Id: <20201210212534.216197-12-krzk@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201210212534.216197-1-krzk@kernel.org> References: <20201210212534.216197-1-krzk@kernel.org> 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: da8d46992e67 ("ARM: dts: qcom: msm8974-klte: Add fuel gauge") Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/qcom-msm8974-samsung-klte.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/qcom-msm8974-samsung-klte.dts b/arch/arm/boot/dts/qcom-msm8974-samsung-klte.dts index 97352de91314..64a3fdb79539 100644 --- a/arch/arm/boot/dts/qcom-msm8974-samsung-klte.dts +++ b/arch/arm/boot/dts/qcom-msm8974-samsung-klte.dts @@ -691,7 +691,7 @@ fuelgauge@36 { maxim,rcomp = /bits/ 8 <0x56>; interrupt-parent = <&pma8084_gpios>; - interrupts = <21 IRQ_TYPE_EDGE_FALLING>; + interrupts = <21 IRQ_TYPE_LEVEL_LOW>; pinctrl-names = "default"; pinctrl-0 = <&fuelgauge_pin>; -- 2.25.1