Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp795164pxu; Fri, 11 Dec 2020 14:46:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJyJwWtEFlImD1ynssPxfU2kgUbxhpRM0CUgIXrdRS+stGK6lAXyT6bX/vHWqrNt/MK4TmaH X-Received: by 2002:a05:6402:3074:: with SMTP id bs20mr14097231edb.365.1607726760100; Fri, 11 Dec 2020 14:46:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607726760; cv=none; d=google.com; s=arc-20160816; b=EFKsEGn/J3TYLEU64VOph2AYaVl5XLWhzH9fDtTgeY2sBG+y4z9R2v93cWzl1B2Ik1 s7XSyduy01YEse52xsiojZdSc5CxZ+9aMldXC01NhR61XR57WNa3DjkB709kqnUxFXDl yEBVpu/1vvPEM/OGXTGt4Pt/N2+iX+tuBOBOq53JHAheEZw7OjXTzqpmGCIG/D164awo hK7n4WUR4izM3OY9h8bbtC9EBo3kjAnjRlHTAVFMJC/z38okQ3HUVxP6h1v8KKi3VA6Y LHVRFgUxbLeb22kGpDwNqNdBO6+DJUbmIwo4VbLuKz3xW0OozvpbVOqWHVi2T+QlUqWa bsZQ== 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=y508qvz1dyoJjdfMILki7Aii8l42ZZLIeE5SmZenlfE=; b=YTxZ0KX0nHTflC6uI0/KU+CO9zQzrEhxji4XXsz6/WJbNxHGctYOTJ3gorT6dXRIwj +Jthhm63Pi+6RxrbIh90AJjw6HkpCp2JZLn6eOGWaqcDFgGdO87Il5CB3UHKH3KBiOM3 CJQaCiXelg5jh/iMrZI2Kml3fNgpo2R84fH3BVLu1EiBh6MsLnkGo+qbwM4EFd6OJ7a0 nT04L6ItNq+6nSF0NPBcAgZOlAhObD/0gUHvo34DT4+J4fmSTTTTsSv5+yOZXMOzO1fH wG9EtXjEl7gKB01XO88lCF78b82bKfqS/yNxYghacMW5ndzvUfODJvgs4Lh/yr80y25j PtSA== 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 d17si5138222eja.318.2020.12.11.14.45.37; Fri, 11 Dec 2020 14:46:00 -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 S2404800AbgLJVpI (ORCPT + 99 others); Thu, 10 Dec 2020 16:45:08 -0500 Received: from mail.kernel.org ([198.145.29.99]:38062 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404849AbgLJV0l (ORCPT ); Thu, 10 Dec 2020 16:26:41 -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 04/18] ARM: dts: exynos: correct MUIC interrupt trigger level on Midas family Date: Thu, 10 Dec 2020 22:25:20 +0100 Message-Id: <20201210212534.216197-4-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 MUIC 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: 7eec1266751b ("ARM: dts: Add Maxim 77693 PMIC to exynos4412-trats2") 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 b8b75dc81aa1..d75f554efde0 100644 --- a/arch/arm/boot/dts/exynos4412-midas.dtsi +++ b/arch/arm/boot/dts/exynos4412-midas.dtsi @@ -173,7 +173,7 @@ i2c_max77693: i2c-gpio-1 { pmic@66 { compatible = "maxim,max77693"; interrupt-parent = <&gpx1>; - interrupts = <5 IRQ_TYPE_EDGE_FALLING>; + interrupts = <5 IRQ_TYPE_LEVEL_LOW>; pinctrl-names = "default"; pinctrl-0 = <&max77693_irq>; reg = <0x66>; -- 2.25.1