Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp310425pxj; Thu, 20 May 2021 09:50:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx3F2ZaWEH5VBJFINIFNDupk01wQ/dDUhOQhhQWbMjQ2+jFuXJAoM/YvqSqTPVkAiK+U+8a X-Received: by 2002:a50:f695:: with SMTP id d21mr5893231edn.67.1621529403705; Thu, 20 May 2021 09:50:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621529403; cv=none; d=google.com; s=arc-20160816; b=NPpJXFWD1W+EHQlh8r5A27upEvHNvAVCCTjlxB6Q6hFYGXOcIWHKBYl4Ph0cM3AcaM EIR3EHUpMa3wagYI7YmxYKhhkTBR4DAgCe9Knj2k9Cln7xR/XgZjLBneUdC14dS2q+tz jGUK39R3UbY9ehouIN/XHwwqBMuf8Ofp/qcFUgMe4pZWrj5HdI6BGhekVe/ZS9TRLdd/ YStgOxcu8mqyAcF2UB2uH8Hsqy1SoMmMLrJN4BRSRoJyx9Q/N7kpQISXzTw4gNMv3WYR un+121bDUtUC7ksGCHBQfehb3lFrcZleqRDCcuwDD/dG8Q7wrS63vEqrYgIlgrAZ974d hygw== 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=jzHY/0jhdgVq2lkgqzkKdTGtIGO6rc25y3YOx8WXfJU=; b=P3VN2jpJGL5pRD/EegjAc1q8htMaKhin1XcX/e28F+Bk1VZBr+pIObOkrRT/a3wlj+ zStkhmarWRrtCMPIr6KAV0yGPUfqYqnfDEZlFhh220SxWVccE+vUyb51i2TsCwzNCSwl qEA89rKx58nAnYlrD7PF+/M2PbANqIux0cbxQ7ieSI86xbZcOlIifOh0Ji6rO7AFy0Np CE/NvjEG8M3qLQ+o3A3TDziiZp55Xej+dv4LL2gWBnSZF6B2w3K42FgVu1H68Fz3jhiV c7zjTQbHWUoK41Qk6eZzcyPBvV27WnhJuA6FpT4VxYV5nPWrR7lcfSzWTSmKkP3JfbBw 6Kxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=yszQ9JcC; 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 c14si2977577edr.15.2021.05.20.09.49.39; Thu, 20 May 2021 09:50:03 -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=yszQ9JcC; 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 S233585AbhETJwW (ORCPT + 99 others); Thu, 20 May 2021 05:52:22 -0400 Received: from mail.kernel.org ([198.145.29.99]:53284 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234537AbhETJtw (ORCPT ); Thu, 20 May 2021 05:49:52 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id EB20061482; Thu, 20 May 2021 09:35:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1621503314; bh=2dQuHzUq5W0s6du6Z6k8yeGjVoawW9ovSUsIwfXBhEQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=yszQ9JcCgoI3B4JK8ulVghlnQFei+AbMb2PDo1uDbljPf5BHy5d+zc9AzXhgLegnO ALh0PrlIHZxYQYPXgQJCspdzVNvszdrr26TYLalankG6JitRzdocUvvZLKfk+Uyj5I aL8obat/Kq+3wCxRlogkdY3z9jZ8ePxkXA6Ew+n0= 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 165/425] ARM: dts: exynos: correct PMIC interrupt trigger level on Midas family Date: Thu, 20 May 2021 11:18:54 +0200 Message-Id: <20210520092136.874878769@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 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 c6cc3d2a1121..60fbad25b5f2 100644 --- a/arch/arm/boot/dts/exynos4412-midas.dtsi +++ b/arch/arm/boot/dts/exynos4412-midas.dtsi @@ -579,7 +579,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