Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4584242pxj; Wed, 12 May 2021 08:41:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzIoyzfSyb9Ap+qeaUmrPCRnAQnIn79l72ow03+BySRh7CwavpDW2vLITk97sCmSC5OqgB1 X-Received: by 2002:a9d:1b62:: with SMTP id l89mr31345522otl.307.1620834071257; Wed, 12 May 2021 08:41:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620834071; cv=none; d=google.com; s=arc-20160816; b=LSj36ttK0G2973W2/h/EETCgdZmpYWUN7XheVITkVQVC3vveQwrMPKz1PWcLU9qjQL Dp1y1LCbuTUUCAIRT1mMex/9qee9ooIp/Q90ZjGoAMSLRjk+khdLjvFrMVUy/t4P6Ern glHt3cCVSnpOSKpdypvsM1KVouBI2CLxwvNIwsEW0yVOJ97ujiXMQ5X8do3Fhecf+gey 194bP3gcim6dsr+yHJPu6cdnHS3YqoGOvDSjOig6/VWnzxMaofy9uuZFGV6vwiY6TDL0 WZAkIp7plo+4KsvBBoAnH/9Zds0u5noJd5vEbk/FyAqX1RNc2vdWEDZrwxwUyy1jKLp7 MHDg== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=z20vnDWNLcNYnLCRFZXRfUyphNPHkhypdwLyErfiQOg=; b=0dUpF3Tjy4PanpVbPXVutxAvGUGBsb9DvAefuqTkNs4CF3TyHBaEM0KaUGS7kFhYFx 9c0y87sPISBIG79Gl+dyffzwqBI+URag0N7OiKJvFMUdufWr8PhFroQagufXAZfp6/6M pm2I06gwLxUZAl4ExcRU9DilmtU+lfaS0Lmpcq2AaTAVuRVmEVsDn4xpbqdui6+PBNye 2Gmnb9BlK4vPkP8+iI70/6yATwr8tfeSbo3gkeQw+PuJb0ky82XrbbqUx9HL57UtbmWU 3MhDbqNQBpeXkIHSCq9f/UtC9SuTezjKtuEFCEf99ufsXszuNNVqXjIsdGceQlF7dLta Vkrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=mGyZ05IL; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w201si181214oia.273.2021.05.12.08.40.57; Wed, 12 May 2021 08:41:11 -0700 (PDT) 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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=mGyZ05IL; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236497AbhELPkn (ORCPT + 99 others); Wed, 12 May 2021 11:40:43 -0400 Received: from mail.kernel.org ([198.145.29.99]:50142 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233290AbhELPRy (ORCPT ); Wed, 12 May 2021 11:17:54 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id CB62A6198A; Wed, 12 May 2021 15:07:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1620832040; bh=rPo1FCt3jypQK5Vmvf4PKyJMGhM/ndGSBqgGg84STbY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mGyZ05ILnQhFSgST9Rl1Q3PO5T3WoWWjjIAGVnPg0EDaw8P3tOhGWKCHPOG7vW/kx DFOpiT3WKNPDP954nSpnidWWCzCuoafH9yKY+zewtDco4bGPLWyma+BYhChqO/M6Gj nbH4HwZDWm4YhHaUFSKpAjrtnHHyR65m4TPvz4Fs= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Krzysztof Kozlowski , Sasha Levin Subject: [PATCH 5.10 118/530] ARM: dts: exynos: correct fuel gauge interrupt trigger level on Midas family Date: Wed, 12 May 2021 16:43:48 +0200 Message-Id: <20210512144823.691994307@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210512144819.664462530@linuxfoundation.org> References: <20210512144819.664462530@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Krzysztof Kozlowski [ Upstream commit 8a45f33bd36efbb624198cfa9fdf1f66fd1c3d26 ] 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: e8614292cd41 ("ARM: dts: Add Maxim 77693 fuel gauge node for exynos4412-trats2") Signed-off-by: Krzysztof Kozlowski Link: https://lore.kernel.org/r/20201210212534.216197-3-krzk@kernel.org Signed-off-by: Sasha Levin --- arch/arm/boot/dts/exynos4412-midas.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/exynos4412-midas.dtsi b/arch/arm/boot/dts/exynos4412-midas.dtsi index 7e7c243ff196..1d56d6fa9077 100644 --- a/arch/arm/boot/dts/exynos4412-midas.dtsi +++ b/arch/arm/boot/dts/exynos4412-midas.dtsi @@ -223,7 +223,7 @@ max77693-fuel-gauge@36 { compatible = "maxim,max17047"; interrupt-parent = <&gpx2>; - interrupts = <3 IRQ_TYPE_EDGE_FALLING>; + interrupts = <3 IRQ_TYPE_LEVEL_LOW>; pinctrl-names = "default"; pinctrl-0 = <&max77693_fuel_irq>; reg = <0x36>; -- 2.30.2