Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp5127521pxu; Thu, 10 Dec 2020 13:43:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJwbFXyrbHNz8ZmoiZR4/BYB0HR/IpFw1ChkjWjd2ool1g378oX/dmyX+D4/3ZaFwEwOdsJ2 X-Received: by 2002:a17:907:9627:: with SMTP id gb39mr8326365ejc.267.1607636637575; Thu, 10 Dec 2020 13:43:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607636637; cv=none; d=google.com; s=arc-20160816; b=Hai6Im7S0iNNHIK840DfWoijaA6NteXEiXYC6PFOu0B181NqkrjBvYE2PFTe/2iwPb wlXY7jjt9JLP61U/JJy2AR6u4cQP+8F+WCR6wMBwMLhKN+KMVirgidistzOXoUpydG/c jM148Ct2dB6EjSI2heBdEEXFnkF95d3jEKbMv+NkgveADuzSTUQHVkQ8bySQM34YcCrm zRsNSwnV6McfP+Nex0AdrOJtwzI6aMpxJ88aY4Y5rYtuyQg9CM4ZIyufvsROcvhCxr8H wHyfgDNyRIm+URyo17elD7IKSRjsqlIKglkwqntckFRpqmDD09eVdahGXBveA0SLyQvV k93Q== 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=G9tDc0beK2VYnPI4gxvn2gI9sSJWmh78VKfJKDXT2Eg=; b=z/TDfE/NTLwvG+93wqoFVVolLP7HLaASjDFEIWNiBKn+UZ8mATGrX7IY837ox51yAc lR1LDowEGEvFB5HuCjUYoHAcn53vI6kwS7y0Abof2nHoeJl+5qZaOC9hrfmI88EVRiHQ eW/vZWWoH3O+PgKKJ/AsMES4P6AbaquTg+Vo7WG4sQs7v5WjGgT4dLoAw5tzwXNfBCf+ M5YkRAfzpYoHJ++WSqfXby7F8Tu57XtvFweme5S1zSqalCwHSsqOwENkvR568XU5Dwyr q1ShintfDSxS4XKYK8NLKlBtKEv+AGeJ8k5MW5+0Y7YCR4chViXHgzrL7t7RqC58YujL TEqw== 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 z6si3193634ejw.244.2020.12.10.13.43.34; Thu, 10 Dec 2020 13:43:57 -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 S2404916AbgLJV1e (ORCPT + 99 others); Thu, 10 Dec 2020 16:27:34 -0500 Received: from mail.kernel.org ([198.145.29.99]:38458 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404881AbgLJV1T (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 08/18] ARM: dts: exynos: correct PMIC interrupt trigger level on SMDK5250 Date: Thu, 10 Dec 2020 22:25:24 +0100 Message-Id: <20201210212534.216197-8-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: 47580e8d94c2 ("ARM: dts: Specify MAX77686 pmic interrupt for exynos5250-smdk5250") Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos5250-smdk5250.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/exynos5250-smdk5250.dts b/arch/arm/boot/dts/exynos5250-smdk5250.dts index 8b5a79a8720c..39bbe18145cf 100644 --- a/arch/arm/boot/dts/exynos5250-smdk5250.dts +++ b/arch/arm/boot/dts/exynos5250-smdk5250.dts @@ -134,7 +134,7 @@ max77686: pmic@9 { compatible = "maxim,max77686"; reg = <0x09>; interrupt-parent = <&gpx3>; - interrupts = <2 IRQ_TYPE_NONE>; + interrupts = <2 IRQ_TYPE_LEVEL_LOW>; pinctrl-names = "default"; pinctrl-0 = <&max77686_irq>; #clock-cells = <1>; -- 2.25.1