Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp793917pxu; Fri, 11 Dec 2020 14:43:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJwpMQp7a8Yo9gsfVFZvjlUovOTw7aJBny/rpjKG1byu4+Ea3IsRTdrlZfaEHjIwIL/S1oQA X-Received: by 2002:aa7:d9c1:: with SMTP id v1mr14162053eds.115.1607726602621; Fri, 11 Dec 2020 14:43:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607726602; cv=none; d=google.com; s=arc-20160816; b=IiYHpj6tlkbP3eNqWomN77GsOCS4m0kdDzrJc2ukpixBsjz27+QLZ/hOhROLlSY+Ii H/OkSe9eK7ayvcfMLudfQBfH9I1DDdrNDe65xdFT4PlJMWI0Q36U/rI+Xw0cQ0xasgZm zHHpbz10WgbtMfhrad2b8F3UvN+5iNXb/QScaoXbZJv4rKzVb2WVBGdeEzrsi4grBPuk KBC8/lVvlm8LBMJKEdTyuB2I7zATC9sGbsTRjFbNFV1v1aJZqsXzMICvar0B2EPN9kAN oeTD1m8Disb5VsQfoNdTdZhssJk3bCOt9GxlGLEUmJrRG6tF2XNizfPP62jrY8Inlm+6 rYbA== 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=e1EqaG3wNV0pedJU3JlzOmMbHa32cWo279SVdCv+olY=; b=vIS0+HwbnIKjYxrqCHL0ys9pfGZf5tshSVb6i8K1sqrJu+/47FQNWEmZPi8U6H6yYU 0du8XFGqdwIoUjv3gl1A5hBhzDzvAUswq/qK8NLD1OyO2qzahwBYJs9l3hgF6KQxTJ/T UkgkiX6P/3tATk4JsNWyITgLZaAj/Xk7IfeVjtnRS7QEJ3FZnYB8EexHbEZy8Lf67WwL 1rJR63JQ0dirT2G2mQrBw6J7LUFQdwN8Pag/VDkevgzW8yu4J+etNP1+qEn9Aseg2NEb aFoBHz3yAEDwlZbG3ZWBal+bnEu98LFjeHZHi4X6tT9FXAKyRVR2UZDTpv8+jmi1f7el GMrg== 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 h11si5721792edl.78.2020.12.11.14.42.59; Fri, 11 Dec 2020 14:43:22 -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 S2404886AbgLJVoW (ORCPT + 99 others); Thu, 10 Dec 2020 16:44:22 -0500 Received: from mail.kernel.org ([198.145.29.99]:38412 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404883AbgLJV1T (ORCPT ); Thu, 10 Dec 2020 16:27:19 -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 06/18] ARM: dts: exynos: correct PMIC interrupt trigger level on Odroid X/U3 family Date: Thu, 10 Dec 2020 22:25:22 +0100 Message-Id: <20201210212534.216197-6-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: eea6653aae7b ("ARM: dts: Enable PMIC interrupts for exynos4412-odroid-common") Signed-off-by: Krzysztof Kozlowski --- 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 2b20d9095d9f..eebe6a3952ce 100644 --- a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi +++ b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi @@ -278,7 +278,7 @@ usb3503: usb-hub@8 { 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.25.1