Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp275370pxu; Fri, 11 Dec 2020 01:59:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJySsiKu50niqqnfbHniIol1jc+24vRU2tWN5Z7Tll0ofDZ0Qu72nghc+gWR1wMyGr+osxpm X-Received: by 2002:a05:6402:949:: with SMTP id h9mr10812218edz.301.1607680753130; Fri, 11 Dec 2020 01:59:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607680753; cv=none; d=google.com; s=arc-20160816; b=KDvHYkibHet9pRyonF4N9VxyybYOUF3AIVEtpRZTtBveirW2tSZJCfhywnlmkIzlr3 ZD+KBZc+CMj3fVC1AhNwP0Jh4woPvq3tk1FldWHjikdWveOPnDplixe2UqXLEo3/Rs6L xfVHtA1QTmur3X0xYTKhBiJOU6HELZs5YFf/6UB+WjT+YEak0rjWbh74f7INSfnKw8ml j+56qOfSiDxG4HyqqLpZwrMq0fCm4UwpuSLkCelXm/RYibSWJ48pWa0t03HQct9nM4WS 60g6m2xsbvVzoBDU++nEgsvcD4crkiBTvb9Sn18SZkYpiHkeARCS1jdiXLvcBEQeq2pH Bs5w== 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=65IhimCfsjqHPmCymcvKbim0HDJxR1LsrMH/xw20WII=; b=chtFshFh/5z90/3F17qBIutTewJqbAJ/7UZg0oE1WEopEuv9tucdp+LH/MGtVXRt0g SZ4RJDZ06LUBs8wQE/eStPDb62QxuMbLBG4uhLR07+lROs3+p0fc4fADxvNVTdh08O2a Ps5xnLX12F9KzvFKRp5FN0A3QCDjVdYFoHnpkxWucswkldr9ESi5RxCzdDcbCclRAlhV o0R2hFgFGCwfpB5YzfpbSXoXzZ5rKVnxtvqkNKaQOGRCLjQck/8aEGZUCqEJxIIhr0FY FYt9qOb5Aj4CDO4yvn1DvEtWacePwEYLXQWnBOzd7LYyJ26VKCtshY4a7PJhoYns13Ux ViWA== 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 b6si5287955edu.567.2020.12.11.01.58.49; Fri, 11 Dec 2020 01:59:13 -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 S2404848AbgLJVmo (ORCPT + 99 others); Thu, 10 Dec 2020 16:42:44 -0500 Received: from mail.kernel.org ([198.145.29.99]:38528 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404890AbgLJV1Z (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 10/18] ARM: dts: s5pv210: correct fuel gauge interrupt trigger level on Fascinate family Date: Thu, 10 Dec 2020 22:25:26 +0100 Message-Id: <20201210212534.216197-10-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: 99bb20321f0e ("ARM: dts: s5pv210: Correct fuelgauge definition on Aries") Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/s5pv210-fascinate4g.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/s5pv210-fascinate4g.dts b/arch/arm/boot/dts/s5pv210-fascinate4g.dts index ca064359dd30..b47d8300e536 100644 --- a/arch/arm/boot/dts/s5pv210-fascinate4g.dts +++ b/arch/arm/boot/dts/s5pv210-fascinate4g.dts @@ -115,7 +115,7 @@ &fg { compatible = "maxim,max77836-battery"; interrupt-parent = <&gph3>; - interrupts = <3 IRQ_TYPE_EDGE_FALLING>; + interrupts = <3 IRQ_TYPE_LEVEL_LOW>; pinctrl-names = "default"; pinctrl-0 = <&fg_irq>; -- 2.25.1