Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp544657pxj; Thu, 20 May 2021 15:50:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxKun07fU+OwytnjmHvlUkCVL2axnZUb9VXln4QbhkmDl2lM4Bu1gavq/xFmnPNCegO4arv X-Received: by 2002:a6b:5917:: with SMTP id n23mr7668513iob.33.1621551039058; Thu, 20 May 2021 15:50:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621551039; cv=none; d=google.com; s=arc-20160816; b=YbeJJljEaxi7omnlWqHo4jYJBqBuVkrk5OtbvQ9YmRh6muelwugGjdumQv0UI1e/j1 kD+yIxmznZcC4HZPbZtNar+JnaSZBmt9anHGTRGBRKDEE4bo+O4ma36nwExlrFKAcTBB VQd5vo2k/LYK8l3XWm/5rSfbMcSsD/hNes80+HmmPBDGP/IUoI+g5FdQFH1u5a7gtpFJ /HvkJkPK4i7C1AsB+OU9pgQAOHfIZ/1XZriRsh/EVTHZwu26Kt3EUlDFjWaBBnHuB+DQ E34OPVavY7PdzPE3AoexrijUjEJl2Yl04jx6XuMtaxCqLvmiXCFHlgdqgqqhppW6inEq 82iA== 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=T5En/lP0rSEqII0cZsT/RbiqjZ33zV4Zav5OTUExFG4=; b=AC9jm62eMcjtw1HOdN/U640dYQs2QsF0DK0lWdgIfi+FseUVgDRzZRBqfB7XX9tIjx btUrzJiMkShEkng5unMTI6iW14MkWecTqoAkzenuSLlb79SGetCyZxQQhFKRMfDtkFkt O7I9g1ZrDaKp0qIaCKO6Jc0DsM0vKN2eYESoeiItsUtHlFNeYUhUH40Krp5jKWbpse7P pkSHHEuYvrmcU1MCD3g6oTJnUQZOQuXPtL/c6pL9OiAr8uX7gg/5p8tfer1XisQiys/j dNyILlufay2Th96Pz/trEXVWnMjEW58u+6J6MzfdDtP5zIWApEpimzmadUhzAwkVA6A9 k5uw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=AXUt2m4+; 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 k7si3520599iok.65.2021.05.20.15.50.26; Thu, 20 May 2021 15:50:39 -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=AXUt2m4+; 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 S240029AbhETLMR (ORCPT + 99 others); Thu, 20 May 2021 07:12:17 -0400 Received: from mail.kernel.org ([198.145.29.99]:52608 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239157AbhETKwW (ORCPT ); Thu, 20 May 2021 06:52:22 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 52EC261CCA; Thu, 20 May 2021 10:00:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1621504815; bh=nSyohOdoRifUQBKaJOFU46RL/pOu8xoR+00HB6OHH5w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AXUt2m4+XFg3B8CaZaOc8rNnraQaf+Gcx1YvlsROP5ejPOGOBn2gezKV59I9HSNAb Kg/j0AOOhldzlRFN+UA0s2y6IyRauKZWD3lFHdJ4ewko2m+daqh4bwkcS+ayDJpWjW 65hHH7FJAPBGWl2lPy9YDpjYrcpWTZ8hFsB0SG8o= 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.9 093/240] ARM: dts: exynos: correct PMIC interrupt trigger level on SMDK5250 Date: Thu, 20 May 2021 11:21:25 +0200 Message-Id: <20210520092111.817981988@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520092108.587553970@linuxfoundation.org> References: <20210520092108.587553970@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 f6368c60561370e4a92fac22982a3bd656172170 ] 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: 47580e8d94c2 ("ARM: dts: Specify MAX77686 pmic interrupt for exynos5250-smdk5250") Signed-off-by: Krzysztof Kozlowski Link: https://lore.kernel.org/r/20201210212534.216197-8-krzk@kernel.org Signed-off-by: Sasha Levin --- arch/arm/boot/dts/exynos5250-smdk5250.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/exynos5250-smdk5250.dts b/arch/arm/boot/dts/exynos5250-smdk5250.dts index a97a785ccc6b..f0906d67a107 100644 --- a/arch/arm/boot/dts/exynos5250-smdk5250.dts +++ b/arch/arm/boot/dts/exynos5250-smdk5250.dts @@ -134,7 +134,7 @@ compatible = "maxim,max77686"; reg = <0x09>; 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