Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4591360pxj; Wed, 12 May 2021 08:50:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz6V/wfNi7Rqvw7u/Ob/vzAaObqvP8xgS2JqWN0iMvYEfvaUKaPlFMF0Reanqav+IKMcwVn X-Received: by 2002:a05:6402:b55:: with SMTP id bx21mr44766597edb.281.1620834623045; Wed, 12 May 2021 08:50:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620834623; cv=none; d=google.com; s=arc-20160816; b=Ql0uKeM8tDsuelKrU0fIdpsJa5j73rr5Cg6n/6Q+8yPF62zzcN+5b8IVws6l0pjFUj 1mXR3nfsckEYNHyrM7leUby6DLlSOcPaIECsfUOXh24IZ/oLhlvTpjDJYMNbr+yM9He0 +pxDrv8ioLBlcoATPre8bfqFhpsdOsNSQ0rbJqEux8VCE/scdDUx3BSxp58G/tMULUvP tFMMf60R/0R+JDXlffCIV8nu+TvT4WfgSkx6SsAcesWNeRYNxGZj8rYaPSJXS7QifaGl eJFVnLvHqz8uoyikT+hqomKJTSqrfvU1Y4nDsxTMwC/YvYse/H0oCw4D/0WVl0kKUgYm 1wYQ== 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=k5SoyyO4S2p5GBxGdJu+8ppQ6I/wtlwxIoYmQyfTm4k=; b=gVETOLKFODt70x6w5ApvODZ1AWA8TruUJ8VU9bjpwIUBVeFXji6UnQoGbDs/FznknC nPuGLApoD/fw9aV9rC9ipLSaTTLMGr8A5IwtjiYhgumH3AiIdP014vARsovk4HHpaQGg jnzG4cortE3ReCqdYwBQ2c8bi2AmuXnySJ+F8tSXL4v4WdL+V3Bc+1rQeufqJhb7ZDkD fcqFOJFSLYMjqEchQxAAajENALEQXjChiFcmP8wug8MlGvXYv26LrXEIwOAt7xafL2wF Q1A0VcoO8cv42bxVzp6HTkQKsS1htlIFxSEedvmGUOj16lz0QA7uO1+29a7H1o/rYjkF QDBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=WbJFHUAs; 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 n11si63421edy.507.2021.05.12.08.49.58; Wed, 12 May 2021 08:50:23 -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=WbJFHUAs; 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 S236580AbhELPky (ORCPT + 99 others); Wed, 12 May 2021 11:40:54 -0400 Received: from mail.kernel.org ([198.145.29.99]:50356 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233390AbhELPSP (ORCPT ); Wed, 12 May 2021 11:18:15 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id A8C1D61992; Wed, 12 May 2021 15:07:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1620832045; bh=Coh6JXz2vOwm7J5z1sImqTCDyPDtWeqbmw8ZAB9oigo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WbJFHUAsa6ze9jrdDfgdT0Ojm4ZdK5F0Dr7hwlswBChC07mHOSuXSrfhhqsQmwmoK 95/bphhzjARHD8TkUrnnM1r2lAciH6f3VOYEDR90VmIcILTwgva+kuZE5ov9vYPghI HfwpW2JDR/I30eTYIr9gkTiQYe+dvacBZZ9Ju66E= 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 120/530] ARM: dts: exynos: correct PMIC interrupt trigger level on Midas family Date: Wed, 12 May 2021 16:43:50 +0200 Message-Id: <20210512144823.754835461@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 e52dcd6e70fab51f53292e53336ecb007bb60889 ] 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: 15dfdfad2d4a ("ARM: dts: Add basic dts for Exynos4412-based Trats 2 board") Signed-off-by: Krzysztof Kozlowski Link: https://lore.kernel.org/r/20201210212534.216197-5-krzk@kernel.org Signed-off-by: Sasha Levin --- arch/arm/boot/dts/exynos4412-midas.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/exynos4412-midas.dtsi b/arch/arm/boot/dts/exynos4412-midas.dtsi index a8eadcaa0a10..06450066b178 100644 --- a/arch/arm/boot/dts/exynos4412-midas.dtsi +++ b/arch/arm/boot/dts/exynos4412-midas.dtsi @@ -668,7 +668,7 @@ max77686: max77686_pmic@9 { compatible = "maxim,max77686"; interrupt-parent = <&gpx0>; - interrupts = <7 IRQ_TYPE_NONE>; + interrupts = <7 IRQ_TYPE_LEVEL_LOW>; pinctrl-0 = <&max77686_irq>; pinctrl-names = "default"; reg = <0x09>; -- 2.30.2