Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4584375pxj; Wed, 12 May 2021 08:41:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxQAf80glUaaP2qgR7NNgJunX8r4D0aS+4CytyYwKyvsyoRXfAaSHWHOYY/TTqRdHhAVPvJ X-Received: by 2002:a05:6402:5201:: with SMTP id s1mr6026639edd.86.1620834081156; Wed, 12 May 2021 08:41:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620834081; cv=none; d=google.com; s=arc-20160816; b=mmmAXIZkhMs+jLPQ/5VofZw1iFd1fwGY3NyHec7Cp+X6MJ6Q/1D2d2Api6CenoqXEO WZbXTbt9rMogOSSb0DgZByvrx4XHhL3/JaZ6WSjZcDfeiixZSZoVhcHx3qNQo2GsSyVc UCixVyaAV/w3AgPflK1xJoE/rA8dltf1i9bu1tS9bPqtkULx0o5XEQvK50G5UTBXN+8k otoSDsQtZgxpj+Wi296TM0sKe3DqSe4RcpR9HCfMdR1lDGik8S105j08RZgg/oGZKlnP 6B2RyZWQOQFw+JxYvq8vz1RHnHe1gcRNs97puI4e97ZLzJKjPsntkvSTU9yBjRENISFa 0eBQ== 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=CeAepxM+lo8G5w9YIwZvYo4FXAJo1KSV0KvQH8UKBNo=; b=SO//oQsY7rIQmc3jJ/0HsJvT4V8p+mFPkblWUO8dxvt0ZQxQD8/OgFLm1cMPXbw1k4 eTiAkOphHGquRqAidyKKZlYUIlD/DUyw5oNz8d83/slbwEo6nzPgnvUJS+CMHZWhFkjN lbb/tcjTn7w7COzFL/U+7nJ6jd1XLSdbcDTZBk1YIk/kXvU4L1CGndZZ+lsiTg249QRW Tl/j+tNR0pUL2TvDq7/MyqzLV4p411VhAalIaUmLUZ9jPZ3vFI/pxn0rHOrAOtehTlPJ VlR0S63JBHrgITR7hVq7sQdMTzubChr7/nG3ae3sCUqgUxv18yRG0GP3fic8MdggKIio ytLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="UWHu1/TT"; 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 x1si67728ede.388.2021.05.12.08.40.57; Wed, 12 May 2021 08:41:21 -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="UWHu1/TT"; 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 S235917AbhELPkV (ORCPT + 99 others); Wed, 12 May 2021 11:40:21 -0400 Received: from mail.kernel.org ([198.145.29.99]:50230 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233136AbhELPRo (ORCPT ); Wed, 12 May 2021 11:17:44 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 5DE2261440; Wed, 12 May 2021 15:07:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1620832037; bh=UKI+1zMkO6g2Q1kaEw1EW+i+WwEbu771nfCfh4ifgak=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UWHu1/TTADVteLIUhfUd/Pwf3TA5hm5bxDZRKaOWGIIb6DWm/QD8D9ebirsV7D6gd Rp2wGFoynVbi0ZHYvDhBM4cS/lqKRSndQMSRHk8gGmT8ryOGzm1kmMngXmwpGdwFpf 6I2XZg6BHnp7n8wtWSP5M0CZrntIAM5/5uOJrgPY= 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 117/530] ARM: dts: exynos: correct fuel gauge interrupt trigger level on GT-I9100 Date: Wed, 12 May 2021 16:43:47 +0200 Message-Id: <20210512144823.653031190@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 46799802136670e00498f19898f1635fbc85f583 ] 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 Link: https://lore.kernel.org/r/20201210212534.216197-1-krzk@kernel.org Signed-off-by: Sasha Levin --- 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 5370ee477186..7777bf51a6e6 100644 --- a/arch/arm/boot/dts/exynos4210-i9100.dts +++ b/arch/arm/boot/dts/exynos4210-i9100.dts @@ -136,7 +136,7 @@ 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.30.2