Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp5120099pxu; Thu, 10 Dec 2020 13:30:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJxXhCug4zmNMCJnF3syMZNOeYbDqNB30D4v7JIocKshgBRKG3ttSokjxAt/DXS32Yj+Q3Mt X-Received: by 2002:a17:906:af79:: with SMTP id os25mr8277526ejb.275.1607635839265; Thu, 10 Dec 2020 13:30:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607635839; cv=none; d=google.com; s=arc-20160816; b=V9s0AUf6wA+jSB3/a/8MTKmuj2ax5saXJEm0jlChuZTu4Qv9gwHLeqTHC+9P3gYQk4 uRXugWZz/Isu0didb3AcDnG9DoRQQPWVEcFJj2HfXOmpMzn27hH9CWJDzK5AMYauH+eC 6QWGgUhTdhtMRZ8I3WuWXAX//ohojEIgiwCcLRlwpNgtohVWDzVJlPLa5HUhbdO0K0EB 7ES/wYDp9h/8IFrfR0MPg0SjJeuORdxM56Q9mAGhEe+HM+U5QHeaAgKnpaLB2yD7qaWD UlTKFx22xoTHYU5zW1YSohASTMGRnPHdxKO5H9s5tp6X8/IkiipEAbrht4aQEGfgVsVq h/IQ== 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=Ktodx0Ugajmr4k7MjqP2/NCaxD/RlVoidvEMjER0AY0=; b=SWZrrAENlI3pjrFTK4MruPGS7vCg26ck9L9wzrJ2mxREi2vFQsGpfhfl9Kg0+QKlCo imqHgpySHCic9SXuoyNcoGvNf8CbYwHxrspGzCC0IzxqFgJbO4GMneKYHHfLMhahPmXD Q+lpQHMF1Ey5mw7P3TuHpkM+rtfVDvN1UjV/qLEnAxGqxqzbPEgIhvpQL3SVdvT5KSQA jfDSIAc7XJ6mPNdlil9CI2Uhx9nzckRm3w2mZf6YHNavBz+1j57Cxpv4XTpFTBMXfLfu bSx0hggeziXfUk2HcJKoMITV+Z5VFXkmErfRoA0+YxBieJNRe/28pCFgy3aL3Is4kaEm ZeBw== 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 a15si3688834eda.177.2020.12.10.13.30.16; Thu, 10 Dec 2020 13:30:39 -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 S2394056AbgLJV0s (ORCPT + 99 others); Thu, 10 Dec 2020 16:26:48 -0500 Received: from mail.kernel.org ([198.145.29.99]:37976 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2393978AbgLJV0b (ORCPT ); Thu, 10 Dec 2020 16:26: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 02/18] ARM: dts: exynos: correct fuel gauge interrupt trigger level on P4 Note family Date: Thu, 10 Dec 2020 22:25:18 +0100 Message-Id: <20201210212534.216197-2-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: f48b5050c301 ("ARM: dts: exynos: add Samsung's Exynos4412-based P4 Note boards") Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos4412-p4note.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/exynos4412-p4note.dtsi b/arch/arm/boot/dts/exynos4412-p4note.dtsi index b2f9d5448a18..5fe371543cbb 100644 --- a/arch/arm/boot/dts/exynos4412-p4note.dtsi +++ b/arch/arm/boot/dts/exynos4412-p4note.dtsi @@ -146,7 +146,7 @@ fuel-gauge@36 { pinctrl-0 = <&fuel_alert_irq>; pinctrl-names = "default"; interrupt-parent = <&gpx2>; - interrupts = <3 IRQ_TYPE_EDGE_FALLING>; + interrupts = <3 IRQ_TYPE_LEVEL_LOW>; maxim,rsns-microohm = <10000>; maxim,over-heat-temp = <600>; maxim,over-volt = <4300>; -- 2.25.1