Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp273718pxu; Fri, 11 Dec 2020 01:55:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJy7a+hRVLHlDuiUcn/mtO9P4piW3A/XVjhAVOzWjPYlcUtg1KKfv667Dhkhn2KdyFMWbdKP X-Received: by 2002:a17:906:1f44:: with SMTP id d4mr9714449ejk.368.1607680543476; Fri, 11 Dec 2020 01:55:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607680543; cv=none; d=google.com; s=arc-20160816; b=Bzb0sQnwyS7HEvJ21KfUbUoDNbmj1k6RRi1KAFFcAllHDvT7pI6pdNs7c5Y/Xsd3Tn wiTHkTHNoZ2sZiqh29LPVukMe+YV6AHzTB765y0Ee3Yaz8W2Fcroq9uSZFw+Ou/zpzXM iQpU4XrZyUVbtp/GJZ571NfgY0pJeOHo1UDEmMV3QjfkmvXi+0JM/N1bz53dHIYYPnJM cNdVtqa/5MQdT6sRNLrBgfgWD3+abMtbuXBTCFTcpG02sZ57rXcBGU9FwGJ0GjCje9JT eNx4I8VvAfiSCR9B1dR+P/adBYrs5XU8Px5zLzf8lxWj1hHAcejsfwhbVkF166wikA/o ATxQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=vn9vPLFHlqTNontjd5uIXzjbGNGLqIE8l9OUmML63k0=; b=iNEK+sNrw+9ib5ADzLICMyUJLl89RlCEMuZn+OjtPsCOxvL6hzW+8APi4Kt6VbGeww Xir59jNd+8EIKTXDFCOmiXVSGDpel4ljTHBdNc6z+26XTrrGnWSUi4QH4vWuPpiPNxg4 XfS+hvzhA47hMvv/VmoxT7qRlcEr2ILhg80IUsUv8fciqQvBxIDJ5CI6HtzceJEA9wN8 ftHJoOVEy7PRcW2LKq59wuEITHoPAjPMzy3aTeXwpzSQheeOl222fq05InC9cMCWNYsg 7qegOxNQwIKEpvNdAkyyFV2fBbR3a6slDM1rOpKH7/qSIK+qcDNnT2fM9gBAiwAtfJvy w+BQ== ARC-Authentication-Results: i=1; mx.google.com; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hr9si3827215ejc.729.2020.12.11.01.55.19; Fri, 11 Dec 2020 01:55:43 -0800 (PST) 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; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404902AbgLJV1d (ORCPT + 99 others); Thu, 10 Dec 2020 16:27:33 -0500 Received: from mail.kernel.org ([198.145.29.99]:38092 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404864AbgLJV0r (ORCPT ); Thu, 10 Dec 2020 16:26:47 -0500 From: Krzysztof Kozlowski Authentication-Results: mail.kernel.org; dkim=permerror (bad message/signature format) To: Chanwoo Choi , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz , Michael Turquette , Stephen Boyd , Rob Herring , Lee Jones , Sebastian Reichel , Liam Girdwood , Mark Brown , Andy Gross , Bjorn Andersson , Alessandro Zummo , Alexandre Belloni , linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-rtc@vger.kernel.org Cc: Iskren Chernev , Matheus Castello , Sebastian Krzyszkowiak , Angus Ainslie , Hans de Goede Subject: [PATCH 05/18] ARM: dts: exynos: correct PMIC interrupt trigger level on Midas family Date: Thu, 10 Dec 2020 22:25:21 +0100 Message-Id: <20201210212534.216197-5-krzk@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201210212534.216197-1-krzk@kernel.org> References: <20201210212534.216197-1-krzk@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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 d75f554efde0..fc77c1bfd844 100644 --- a/arch/arm/boot/dts/exynos4412-midas.dtsi +++ b/arch/arm/boot/dts/exynos4412-midas.dtsi @@ -665,7 +665,7 @@ &i2c_7 { 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.25.1