Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp64493pxj; Thu, 20 May 2021 04:40:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxrZ6BndFHrPpRGxeJZFF/AYBRN/8wz1zfIgQ4Q21aI3G/6Sf4B2W7DQeG5BeUBPE+c85to X-Received: by 2002:a17:906:5d0a:: with SMTP id g10mr4175721ejt.349.1621510838418; Thu, 20 May 2021 04:40:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621510838; cv=none; d=google.com; s=arc-20160816; b=Ffyi4/7oedl+6Slu8Zr9LoTYrRym4yKd8tO7bHYIi4KCgYbX7ShiulQVFOYl+kLf0a eci6uB0KUIG5t+VrUpjVwLYKrm7KwAojSwL0dkYkclD8FrMhaPwH+uTJ+mzpwP73CA/7 Nx1oiqBPWqs2pwfRj0ZaX5qTgZXEQNHO81HTavNeXy4ZeIiYCmnFZkOPBBDGZkcssSUd bcayFqrCnnbU+TXEW35RndrnTmjI+Sr6KlfB1a2Qo4iSLkZ00clNFCtSRj3i3BkJmqE6 W3cPLwGj8NrNj9iieWU9QElE01uvAmIuERiUHJTjczv4EL/C8ii/br6RI0R9NZdb3mwp 15Vg== 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=Mot+lcKsQFUx5URIyeG7vPnZSXsnDsh2rfk2EXeQU1k=; b=qxraV3ANhLesd13Fh8d8CzcudEynN7t8cyCi+7pdSwrZSXucWtjTrsAxKTcYAv+Rcd 7r9sw3QRA/WxaKv+wpAMzzVhBQxS61oKF+R5jOjJna3IHVoROhYC7b5bno4w4a7t/xXx DN3QP3QBLyWM7pmjjB7qVxmzLBvd5+nvEFY8nDKZwyncVoHVDtP9xiDDZSJScP9Pd8HO 9NTVFqmL4xiYGAZD1+1/CG8Ox27OaGle2O01FAd8kwnitZpkYt9L5CnuID31q8/KZTbC nDVrNz0E7v+MOyonoTsJO5ZpWTLzx3AvdUcMIFV6f+DTAxKI7wcpLr3Le17SRs7xEP4I rhBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=HEOrylqZ; 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 n15si2227341edy.29.2021.05.20.04.40.15; Thu, 20 May 2021 04:40:38 -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=HEOrylqZ; 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 S239968AbhETLiE (ORCPT + 99 others); Thu, 20 May 2021 07:38:04 -0400 Received: from mail.kernel.org ([198.145.29.99]:38358 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240534AbhETLRU (ORCPT ); Thu, 20 May 2021 07:17:20 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 3BA0061D70; Thu, 20 May 2021 10:09:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1621505388; bh=eSjBDezw5GUs86aXFJgox3tmd//r+gj6jkpjpTOlgWY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HEOrylqZuTWJfZlFZ4YoHpynp43HbgSxgoImySAfHysJgiKStexmhat+0er+9d50H LfNH8JH2c7MUuDONTta25V284466fzdJj8k2WYjs4hzy1XOa3ltwTBXRZYs3niaUVL 34h3wnQ/H7d6+guoDqBvlK6fBWpcW90uTfV80NZM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Krzysztof Kozlowski , Sasha Levin Subject: [PATCH 4.4 078/190] ARM: dts: exynos: correct PMIC interrupt trigger level on Snow Date: Thu, 20 May 2021 11:22:22 +0200 Message-Id: <20210520092104.771971015@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520092102.149300807@linuxfoundation.org> References: <20210520092102.149300807@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 0a7f408824d8..b45ad99da8c5 100644 --- a/arch/arm/boot/dts/exynos5250-snow-common.dtsi +++ b/arch/arm/boot/dts/exynos5250-snow-common.dtsi @@ -281,7 +281,7 @@ max77686: max77686@09 { 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