Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp276422pxu; Fri, 11 Dec 2020 02:01:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJzOVjsP6Nw+8ycxboK13hmnPf/Bc4K2c4DwADVy1PCnwyw7SG8aDyD7/76cxdVzUJ1m9K3Z X-Received: by 2002:a17:906:234d:: with SMTP id m13mr10282651eja.270.1607680863416; Fri, 11 Dec 2020 02:01:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607680863; cv=none; d=google.com; s=arc-20160816; b=CmFSpPl8pvfmVvMkpfMxuezhVf2/y1wSJVYK4Omxch7DykMREkGYxBbIKBzvlejSjW in72lgKAL3o99ZO+h2RhH6YP1W0fJS8M0tQDfd8JRZwu9ONIb8uyaSZfJICxc+Ju87bA H1o0eggw8lrMzbPyhm64DAD4R/A4CDdfWkbSPZniG1WMXyEQLScJtfPy5Yieiwmf1jJx zkrzRxp/MJzcVkN5wDhke7PHnj63CU0eBWNazdNzeOvyRXPSYaktotwTAQTXEp2bNa/S MVnelKTNu2xy+z4HWx1sXOEfSTOpY5zHrImkr5m4TxdeDEn4ResnZwqQt+1NZM5SQpAI 1gqw== 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=WJAKd9e7cTs4oFje/13jBOaMZhva6rIiszRqJJ0Ym2o=; b=N20RTtV1b27yUeuiBvshNM8u2jgG/mzshEjrxe/tTw2i9IRNPuozI7gIW3YrN9av4d rYNYyh1YTJ3+SJC1QjOXwmAp872h91hoLLBqHCOsoI9JJXvxIkbGhZEzHDqNR9hyWrJ/ L0HMOsIr8alQq/vtPFBDLONFDb/9VTP90bFUkk5VJvwGRHZZLoXJ+K6vyS6QODna4n1I VwuzT3ZvQ9mSlPjbdL2Zl6T/L5OoGeMObUOy+s7ZFbLXQLfPaFtJn5rHtDdTvRhgId3R rvb7uz4cpy6YDWV4n3fiwQNm6hFu2RyQ4e+J+T7xh6zo7hEEI/o91j3ghNbiG9J0QLlh 3foQ== 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 s2si4570514edr.408.2020.12.11.02.00.40; Fri, 11 Dec 2020 02:01:03 -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 S2405055AbgLJVmp (ORCPT + 99 others); Thu, 10 Dec 2020 16:42:45 -0500 Received: from mail.kernel.org ([198.145.29.99]:38530 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404882AbgLJV1Z (ORCPT ); Thu, 10 Dec 2020 16:27:25 -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 11/18] ARM: dts: qcom: msm8974-lge-nexus5: correct fuel gauge interrupt trigger level Date: Thu, 10 Dec 2020 22:25:27 +0100 Message-Id: <20201210212534.216197-11-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: 45dfa741df86 ("ARM: dts: qcom: msm8974-lge-nexus5: Add fuel gauge") Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts b/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts index e769f638f205..4c6f54aa9f66 100644 --- a/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts +++ b/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts @@ -575,7 +575,7 @@ fuelgauge: max17048@36 { maxim,rcomp = /bits/ 8 <0x4d>; interrupt-parent = <&msmgpio>; - interrupts = <9 IRQ_TYPE_EDGE_FALLING>; + interrupts = <9 IRQ_TYPE_LEVEL_LOW>; pinctrl-names = "default"; pinctrl-0 = <&fuelgauge_pin>; -- 2.25.1