Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp310145pxj; Thu, 20 May 2021 09:49:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxWtzd3WxEk8JCjgRdKxQMGfw2J2yHNrEK6Wip/iFEGYkcSwssu1a2/zTeyFeBFu3bEik/9 X-Received: by 2002:aa7:c0c4:: with SMTP id j4mr5906537edp.168.1621529378814; Thu, 20 May 2021 09:49:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621529378; cv=none; d=google.com; s=arc-20160816; b=gd29AsEh0pJjwzZepH8MNI3p2dWA36+s5svpStXXqFUY7kLGvMJUGRmQjp2HGLEuhf my77gk8DsbyOQe0vp07rBnfeVi3YSfiDjkqUpl8Wmq4EnyevPkK9fLgRAVxuyz/Z3MHx /+Z2ZVN33M/3co94/fxq50sxMHhKGsgrt5libciTrupvRXSiZArYxn78HNDZhYasNDpV lFQeIST22ziwTb3dOgj9sM6Su1ymwQVARzq0L0wpdPh/61i0Yo4j5UYazON6wUnCkgvR astydqZFTBUzxVyFSJ+zeNQTjBCXuXVhEsqrWz/tGbWm037NlwA2AVC4zmANSO/bPFhh vzVQ== 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=zSbgvUZID3k2H+/wMMSjNX2lpvmvCWilbI3IJlNmsGk=; b=UoJ+u506ylhFUMa+jD0uaJWATDuwsIgcFZrkJI4i+CDnIP45vEE9ijpNo30OwGn+M7 IwDno5JGfbRiP+S19DrQwUCNojSl2qeAjE2BwB6Lox/4yVt8tNMeeVrNrX3ijC4lca5+ igJAUzyS8X6TftOCprU7KYcgGlVwLexmQnxZFHhZRLRcKZaq5YmPHY2SGms6gaMYGsBG M/acsmOXJrPw0H9K0Hj5H98tTo41RGvJ5Vc99H78j7ATCGGehVsRlTNQlliTP4O9V76x nXmjqbJmtFSHK33fO6BgmRl1BmAVC6dgTdcW2gcm37l6kezIheSabyxLvpUfR32xzKZL 4OsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ISfyuNcx; 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 p25si2971207ejd.608.2021.05.20.09.49.15; Thu, 20 May 2021 09:49: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=ISfyuNcx; 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 S234406AbhETJwe (ORCPT + 99 others); Thu, 20 May 2021 05:52:34 -0400 Received: from mail.kernel.org ([198.145.29.99]:53312 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234563AbhETJuD (ORCPT ); Thu, 20 May 2021 05:50:03 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 25BCF613AC; Thu, 20 May 2021 09:35:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1621503316; bh=LiOXWf0ziXj577Byr/VIDpEFL59xJQe2uwisDAMsKpE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ISfyuNcx3uOOj7h6OSBBDmtmJbLmH2gg7hKxNtjmSLjViu3MX4dBRb9TlJAIkj+CX YV7PWuiH+4q7zYfeHBRfXvkZ3HaeNlRDO5KMOEhWAtcMcsAdaEIzqDUnxrBMQm3tlo 85WqQnrLSo3BkkfIuBFnmyIvaeXweBGBurkpVjC0= 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.19 166/425] ARM: dts: exynos: correct PMIC interrupt trigger level on Odroid X/U3 family Date: Thu, 20 May 2021 11:18:55 +0200 Message-Id: <20210520092136.904743457@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520092131.308959589@linuxfoundation.org> References: <20210520092131.308959589@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 00820d239753..dbca8eeefae1 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@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>; reg = <0x09>; -- 2.30.2