Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4585319pxj; Wed, 12 May 2021 08:42:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxPhUX1dG5KgNsHSX23OLXTeE2d67EXKsj+eSMPW5PP+dr6183w9hQeH8NOTnapks3qFg+9 X-Received: by 2002:aa7:d6d9:: with SMTP id x25mr44723358edr.305.1620834150080; Wed, 12 May 2021 08:42:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620834150; cv=none; d=google.com; s=arc-20160816; b=veoBOgWVg+wNdi0aUP8vUDRG07gSUDd34NTOO7jrt9/9fWAwQVhpbbjPAMP6U12WDT RYk8vz8y3l2REIco3JTG7KCe3uNoXrw7Vhw9QpvcFZ5kBRNo+0+RIkR1dQbGPyr2b1zt GY62Nwga64PAE8U0VpMgRIaOnREqHpk24qdbMmmkkHrBm8NSe6b40AfUi6xCWlIzdudV CawE0Q22BFqJN5FG9cFbNVXuaJ6g+mtWJmHnE/Zj1XCw2VDd/CCEJQf0FNFhHbQR2k89 +3dszEXV145CfYPQMaAkMJEYsuOBJUIrfVDgzLi+azc5W2o4IdpKmmvnNRk6VMPXmKho rFkw== 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=3iNQmIac3C7nn430GOTTURsN/gnpcT5EsBMawocIsYQ=; b=kdH1AGMX8ZvZf2JF07zW0OmunrAEE1f4PrEWw8FrrP6T9TVeZOJv45w5zJZeyREBBW CsgQpvYAyhEvaGLNW1m2tTcLip/tsLNILNHnO6ZnYxmlfKxlW2oV2Oiu7uMO5Ycj6Z8x bp6XOt0QCddnwlcuFiwsVR86BpvrjZ3meStMUmDl2h/xFjmXwnGuBfYFqnVRKm7Gxa68 RWY5pKTzb7byQdiCY2wk/fvTB/fDmE//OYIUtRbc55+Yr0/23Wdh6ntMa64VNlOKUIcp grbJq/B8Xu1izVBVtz904U47kWAPk8CGfBJrRGzV6nnvYSeSFt8wsSYXTm+ufNNoK43R wbkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=RsTklohV; 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 o15si56777edc.604.2021.05.12.08.42.06; Wed, 12 May 2021 08:42:30 -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=RsTklohV; 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 S231940AbhELPlH (ORCPT + 99 others); Wed, 12 May 2021 11:41:07 -0400 Received: from mail.kernel.org ([198.145.29.99]:57684 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233452AbhELPSV (ORCPT ); Wed, 12 May 2021 11:18:21 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id E31546198D; Wed, 12 May 2021 15:07:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1620832052; bh=6uSpxcK33R092AMCfXYxap3mR2bFxWXiFC/tOz2jWdo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RsTklohVF2jckbv/4Gk5v+k7CocLJGdRlYRiJ2xF39sC7IenUnvXMBGJ3RWT6TtPe Wm2pcbl2eeh9BFlfCEO6z3raNavTH7ML+lePSRNezAeyiBX+olNtk98xzbRd8a7doI 9LYH5qTDAeIbTxeidAto6tuoUyRnGfxAHc7hvVXI= 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 123/530] ARM: dts: exynos: correct PMIC interrupt trigger level on Snow Date: Wed, 12 May 2021 16:43:53 +0200 Message-Id: <20210512144823.859008030@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 8987efbb17c2522be8615085df9a14da2ab53d34 ] The Maxim PMIC datasheets describe the interrupt line as active low with a requirement of acknowledge from the CPU. Without specifying the interrupt type in Devicetree, kernel might apply some fixed configuration, not necessarily working for this hardware. Additionally, the interrupt line is shared so using level sensitive interrupt is here especially important to avoid races. Fixes: c61248afa819 ("ARM: dts: Add max77686 RTC interrupt to cros5250-common") Signed-off-by: Krzysztof Kozlowski Link: https://lore.kernel.org/r/20201210212534.216197-9-krzk@kernel.org Signed-off-by: Sasha Levin --- arch/arm/boot/dts/exynos5250-snow-common.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/exynos5250-snow-common.dtsi b/arch/arm/boot/dts/exynos5250-snow-common.dtsi index c952a615148e..737f0e20a452 100644 --- a/arch/arm/boot/dts/exynos5250-snow-common.dtsi +++ b/arch/arm/boot/dts/exynos5250-snow-common.dtsi @@ -292,7 +292,7 @@ max77686: max77686@9 { compatible = "maxim,max77686"; interrupt-parent = <&gpx3>; - interrupts = <2 IRQ_TYPE_NONE>; + interrupts = <2 IRQ_TYPE_LEVEL_LOW>; pinctrl-names = "default"; pinctrl-0 = <&max77686_irq>; wakeup-source; -- 2.30.2