Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4585274pxj; Wed, 12 May 2021 08:42:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw5xuKvxrio66B6SCbqRLqSu+oZA16zte+wGvXqGxmiUE2O+9P8ol4c2xw4c2l4fnDs1zB+ X-Received: by 2002:a17:906:f742:: with SMTP id jp2mr39273272ejb.199.1620834146520; Wed, 12 May 2021 08:42:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620834146; cv=none; d=google.com; s=arc-20160816; b=ygw65y1R0g+G1oTzAYTAcU7XotnmyCIj5UFmpwqdraDyGbtnqCh9WmDnVr1qYtsZZA oM/UXy/1s5gtmgG/b/7uA7pMJqGGlaVI0oaTJk2ixOIcwKk65BmjHxBLDNWFajpZ88vn AthCKamVNk8bhXLuAF2QmjJT5gih8BWDKLkV7OeGBIB0ty/pLzLWk6HFAXHNvuAh5Xbw zaxqJs/c2+o5jJiY1EpxM2H65kVLnqjByTQTIKdXe/b+pAdWOpegy84qbsVg9PNo4Qpk mcKOsV599K6zauzsrTTmZotOWT8jbdb1LIfdsosC1f6Tbey4DwUzYUjlfRi0CYprbAdK Ik3A== 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=eTPiG/Q/2/bOvsblRR+V9zHCGMZw+etX9eO2HxyRvg0=; b=WvIoxxz9Bncy6ZTU6iTvWdQ+P9qA8cMWxexAAIxAS0SRvyd+X2+TJWlw0/Xi+jno29 cgbslMJ9IUFcdTej7C4hEaMH4B0LeWOlPjcX24ETakZk/iiL1swUHb5YgLTzZ/Wb8PeA 4DhYzU9VLY9kgBep4JYoImN4TCrA1D31IKFxVUqlpu4avDExFF6j9idW100JzgeWPL4B xUnUHW6raQULNjvA1L+xlIQ4HBnStnen+ds7+zUwKa8nO5KKNwicO77F+zHBc+tRyM/m dieIXCf6OwxT8L5btbg4Y75oP58KU6JsYo5PkQwP0E2ncaOUphd7aIk+jowvvmom72dj X3UA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=YjAUM92R; 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 ds10si336517ejc.719.2021.05.12.08.42.02; Wed, 12 May 2021 08:42:26 -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=YjAUM92R; 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 S236557AbhELPkw (ORCPT + 99 others); Wed, 12 May 2021 11:40:52 -0400 Received: from mail.kernel.org ([198.145.29.99]:57412 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233387AbhELPSP (ORCPT ); Wed, 12 May 2021 11:18:15 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 1A4EC61441; Wed, 12 May 2021 15:07:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1620832047; bh=vdyCvzwvuKUn5goA2cWLmNUZcphbPCrywiX1n0qwvek=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YjAUM92RUFr9o+WF97yA63MU5IFpmyAk3tY+9Q1D6xOqh7SvEXCbgr77nciHU4cMh oWiiKDmKLvCcR9IPnAvcuKTgAnayW2Xwpx5GuZLv+hk+P0dKnsBOSBFq09aZrQ/iIs ta5ShsLo//bVrmNNLpAqtRkJCGG3xFZ9ZK8uSnzk= 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 121/530] ARM: dts: exynos: correct PMIC interrupt trigger level on Odroid X/U3 family Date: Wed, 12 May 2021 16:43:51 +0200 Message-Id: <20210512144823.785482349@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 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 2983e91bc7dd..869d80be1b36 100644 --- a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi +++ b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi @@ -279,7 +279,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