Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4585625pxj; Wed, 12 May 2021 08:42:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxJcJLt24XyRauw0nv/CtDbully2gXarLo9w/PJGBxKhgMP1sDoCIGx0FnNg56S3TmKu8kN X-Received: by 2002:aa7:ccc4:: with SMTP id y4mr43462134edt.171.1620834175339; Wed, 12 May 2021 08:42:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620834175; cv=none; d=google.com; s=arc-20160816; b=TgWk8VdSzt+EMj0cFECbjWtgXwSVcNsZwrtSUvfacPRC2LssH8659ip/m6Zqfmeicy /IJF5DNFPzM+oRKylq1KqMu8MTCdSLsLe5FrAvynfxJuLDuEKStHbmwz4nV8wrh8vhtW AvWZq077l9RWK8n4Xj/uI+Z+g1hoMyzSvpCVYnbjVNbtCmVdzSbun9pSp9+DNAFH/JOV clv/MV1/ZiecTIFFLDn1bMTdvgs1Vht1xhTZAH8lV7fBYn9EngFK8dXn4OFlvqBdwtjU KL2kAmmyTn0WTMYDiflTLePHgnxzr6sykzdbR06TTtZQeWSQOx7TWfg2qfWA2/eRz6CK CBPg== 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=TYMe9FQKfJCSQMTGzzNX8iwh5hjBFE7zfFgyQcDv5P8=; b=FUlkJcKL6WbzZBgU3RIljqJl+Fkba8z00h7GOTe+LhkYiBM1nqiFJQ6Px+GV2UIRdI UP+PcM5sSpxfboAS4k601qfYwFn6EhWnY1d2EBL7TDT9wFbYOfmFFxvwMU6lBCFdyUdb w9Iv6j6kOrThD9qGqX8zGSjFJOSY73hKDMzxycealRx9C9ede/cQ3TDPw8jXmw+0WYrX dw8O091gX8lgtZKK2zaQKinymQJCM9FFTcfvyvx5ssiD9ilWLwJVRvmP4n7SvDgxt47A exvQ8fqWjjRmMT9DKWd6aAb2t8Bmb37HjKKcX/q4L+8IqplejCt3TsBV5uxCl9isw9Wl VbeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=M54ATDf1; 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 dp16si315377ejc.478.2021.05.12.08.42.31; Wed, 12 May 2021 08:42:55 -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=M54ATDf1; 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 S233441AbhELPlK (ORCPT + 99 others); Wed, 12 May 2021 11:41:10 -0400 Received: from mail.kernel.org ([198.145.29.99]:50766 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233398AbhELPSV (ORCPT ); Wed, 12 May 2021 11:18:21 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 58D786195D; Wed, 12 May 2021 15:07:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1620832054; bh=CnPcuIfL/kFVx0I4okBPSIqzFp3kQPQh3KTFFdhdSQ4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=M54ATDf1erewYu1Cq8XRRoGnFjWxkk01VCkAKXwNrNgZr5YVnatJm2oMizHfGrvam PkFpu/VJabQST8TBqVfJi/4yIsUmbJy/s6NqdKthgd/MjXgrkFdmCzGX+oIZLPvzAr 3KwLpWnMYX78CI7KD8vup7IQmyqZVXPaNsYcGbIU= 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 124/530] ARM: dts: s5pv210: correct fuel gauge interrupt trigger level on Fascinate family Date: Wed, 12 May 2021 16:43:54 +0200 Message-Id: <20210512144823.893050659@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 214e6ec8c9f5a3353d3282b3ff475d3ee86cc21a ] 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 Link: https://lore.kernel.org/r/20201210212534.216197-10-krzk@kernel.org Signed-off-by: Sasha Levin --- 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 @@ 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.30.2