Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp432809pxj; Thu, 20 May 2021 12:45:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx+QjUdOsSHtjMt2L7FdXqS7TKR/k1EbPXb1iz2HEYN/GhyxEuCN1eAe/d3d9GxJS+QKIeQ X-Received: by 2002:a17:906:e281:: with SMTP id gg1mr6326967ejb.463.1621539953550; Thu, 20 May 2021 12:45:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621539953; cv=none; d=google.com; s=arc-20160816; b=w/OlRYPoPre7SzRatY3V2sNVHZB2onZfglOgkRxLIUVMFd+97gCS8IHT5lVWynLpUi F/aBNQu6Jp0yX1DHnVrjAIofTDVT+darncRlSKBq32P8ItkFCz0UdxTV9BnoTdRcTeSI 1O+WBiqD+RhSMoW0wejzaIggQb7ij3/cVZj8Zq0mq7RAD7SsgyPxoI7TgYgMFieubPkF xy11ThEJHO6Cq1EaPntsPHTuFTBC+K2TRnpty0nURVwdDvhaeVkYaTmMIzktdmJEIbxW CEvkVuRgtE9FYRi8/rqLq1nZG/Vf10904Lsm/+YcSZy55MKcYWxDTHHu6Js6NUtcFBz7 9MBw== 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=ROLcdmGWqDi8KARXrxQyYF+MMBg9N3yM3YBtXAG8N9Y=; b=A1bzH4yw8ky8OIUT5IKcEOAzlm8pEkGMnSBIjlJBplEjBWEZd/1C/uSHVKrmEYgCkS qi3rgtQkTve8CZUZZizMIBRXTAE3XJE4Z8N0S5BxKM8ADOmMClw2+onTUMmd7vfcN4K8 At+g2SQjbYsS5BALCKHfjFHIaX0RxJslqrPq2WO8rGv0Y92ax6iuxrjrmIo4I1WIaEy+ L4wYyYkUyyU1lc6owow9tFodwFHW5ig4y7O89XKL24xVd89M1PbX8fD0dmLU22ahi9u/ Y4vnVuFIPtbY0weicrl3NwbMCPrSIf+GLJmJSP37ZolzizoW2FGfKHI+MqwseN2Psfte AExw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=R1UmFpjv; 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 cm11si3026101edb.424.2021.05.20.12.45.28; Thu, 20 May 2021 12:45:53 -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=R1UmFpjv; 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 S237318AbhETKl3 (ORCPT + 99 others); Thu, 20 May 2021 06:41:29 -0400 Received: from mail.kernel.org ([198.145.29.99]:55722 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236122AbhETKZ6 (ORCPT ); Thu, 20 May 2021 06:25:58 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id BEDB961C1D; Thu, 20 May 2021 09:50:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1621504202; bh=4AIor2tQy5aVxNbhSVcl1zbC+mRocMs1g+Y59Jdgcbc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=R1UmFpjvgXLVWwjyJz8K8f3VD/5ScDyaVUbxKZsvV7lkJSDLLTENJIuBPYn98yfSh ZzO0oxH3SxRLbFzXx24ATyZkZ+JXejwe6scPrrbXPtRzOHI8bS017w2IO0KkfYJnI3 +RTay1IMYWeu90QnGXDITAHg0pc26lAfuLyyAF6E= 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.14 139/323] ARM: dts: exynos: correct PMIC interrupt trigger level on Odroid X/U3 family Date: Thu, 20 May 2021 11:20:31 +0200 Message-Id: <20210520092124.870603960@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520092120.115153432@linuxfoundation.org> References: <20210520092120.115153432@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 6503c568e97a52f8b7a3109718db438e52e59485 ] 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: eea6653aae7b ("ARM: dts: Enable PMIC interrupts for exynos4412-odroid-common") Signed-off-by: Krzysztof Kozlowski Link: https://lore.kernel.org/r/20201210212534.216197-6-krzk@kernel.org Signed-off-by: Sasha Levin --- arch/arm/boot/dts/exynos4412-odroid-common.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi index 0d516529bf54..8735c5428677 100644 --- a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi +++ b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi @@ -265,7 +265,7 @@ max77686: pmic@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>; reg = <0x09>; -- 2.30.2