Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp273896pxu; Fri, 11 Dec 2020 01:56:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJzK3KHE0NimJ75BsKh8S0rdei4KAUTrmDcjZHIxKUUhHtWDlFmUBBz18cpS8qXVEbMbx7HE X-Received: by 2002:a05:6402:100c:: with SMTP id c12mr11423056edu.356.1607680568415; Fri, 11 Dec 2020 01:56:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607680568; cv=none; d=google.com; s=arc-20160816; b=yVSL3nj4v2ULipO8gx6jU9Ojz+bqHmzIWu4K1SDK3VocnG2nh062FLGTM1eIfsIU2+ zDTREXTu+AwKHLYnQMtiF1ybFuzKT7E8JegEaKI18e7EPD6FXNhKGqKImiCyDMItgL0k m6z94mjJ3HINCsj1iXKlpvl4+sgnxKQs1eSx7ykvFWENRO7kokGrHpIc1NB6Q9tHuWbu Q/PvmPpcM2wyCwjlehgj3MDgJaVsDcDOZW6v6MuMHbIC2eeeABYNfGn15zlNL3deJUMM HRzvbtwcSHK66UryaMsPv71DfPPpt5jWlM1Es1RLgmx8L7NfeJpk0TZ0/MoaiVVAbgbQ ok6A== 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=xopuOfQmlyKEgWlHCGY+KshmQz5G4LOIAeb8xwbyZIw=; b=0MzR4lN/w0OgsH78WQXHffp5PTpTsJoGawNbFdgXvVOlNKewvej/K4b3q+M0heE3jr BdViyJU4GRZlDi2WtgKrQk3Ptf7VXR4W/of8Ifo+GSot/+k1cAHqoapL9nR4MqIaBRaM A2cwhydxpHU7Wo6KjBfpgxmgZOIFCvvkUlr3QBX6JoCi2bTrTtJCcG1X6vPPJ/8Hhu2v YlO+TrDGZg8wXKtUYvyytFa7HF3kc8uQIKtLOseX7ZYydLytbCtHN46babC4NFvj0miN 4Fyza4O8zIElJxVxZm3qzvkdbpuuzJYC2hwA/srz5PApmyg5Eumbkizdo7rgmwgjEzKX zyZw== 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 hd40si4147934ejc.265.2020.12.11.01.55.44; Fri, 11 Dec 2020 01:56:08 -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 S2404879AbgLJV1E (ORCPT + 99 others); Thu, 10 Dec 2020 16:27:04 -0500 Received: from mail.kernel.org ([198.145.29.99]:38022 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404754AbgLJV0g (ORCPT ); Thu, 10 Dec 2020 16:26:36 -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 03/18] ARM: dts: exynos: correct fuel gauge interrupt trigger level on Midas family Date: Thu, 10 Dec 2020 22:25:19 +0100 Message-Id: <20201210212534.216197-3-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: e8614292cd41 ("ARM: dts: Add Maxim 77693 fuel gauge node for exynos4412-trats2") Signed-off-by: Krzysztof Kozlowski --- 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 111c32bae02c..b8b75dc81aa1 100644 --- a/arch/arm/boot/dts/exynos4412-midas.dtsi +++ b/arch/arm/boot/dts/exynos4412-midas.dtsi @@ -221,7 +221,7 @@ i2c_max77693_fuel: i2c-gpio-3 { 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.25.1