Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4585260pxj; Wed, 12 May 2021 08:42:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx3FZPaEc7iR+HgpFlrspwakm15c5TCndKgjpiijVlXAdp+rneqFh61rB6dyLY2F2LOGlFY X-Received: by 2002:ac2:4e51:: with SMTP id f17mr24915752lfr.251.1620834145386; Wed, 12 May 2021 08:42:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620834145; cv=none; d=google.com; s=arc-20160816; b=BshoBgn4zOeMIBUEStzcdz7ZfoVSlnnc9xYN4sS2AUt9w+bTtoItrM7ItM6MdHxLhJ V29Ps5QJYNIQIS4lfJ5ac5QKFocGOM0R6eBOuVWgXw3O7pUwJUExExiOTHur7Y8930TM YaQHlIMc6gDc/LUWlR3KYXm/0e/I4GvOfZ+k7+K8ZD37HeFqJz+6yq2ZtQMKmrK/98pR qYJdJ4Tk2z7SdHe+d0l/4BXsWadDtOtypvecovQaIPilsKPe6jY5VU4FzXwVsY3DcLjW IddazCueuG2ivFcrat9xCkB/KK8jGR3ieuuRFE5j+uBzoiudBCdJdUAkizHncDmzQI37 5kVg== 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=d4oE3dE4lkdPhkmzb63Zc5au5kVeDL7O6UWk7jGCL5M=; b=fHthk6zZdW3wMSI1ZOk6xCLzmFx7wmGJtiC+/O+3LhN2eON4SuO5E+eHb+x226vUus IHoH1y8J5M5s6HIN3f9q3DEl8DJtLKGtlTls3BHbf3FyvbHBh6+5YlWT5Uy9K56NMpdw okKtqx5+qJZRhcmZUfEa7UwtHB1uJIjpZtX5UCuFBCe7gl2k+DHAoAci7/ywt5S0tQOM C4NqEjVRJ+FhBn0HqmGLxcHeFBK67bMDRcjRevYecJev07PlmC2dY3axP3sleduity2q CPum8vRHi9tUA8Wgxhn5vloTOwZHBRVuht2rU8vwyLrqE4s4/QzRBN4dz3wd/TEbxPTs jFaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=a4OMQU7g; 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 s18si45509ljg.574.2021.05.12.08.41.55; Wed, 12 May 2021 08:42:25 -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=a4OMQU7g; 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 S236517AbhELPkp (ORCPT + 99 others); Wed, 12 May 2021 11:40:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:50276 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233361AbhELPSG (ORCPT ); Wed, 12 May 2021 11:18:06 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 4075A6198C; Wed, 12 May 2021 15:07:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1620832042; bh=kswOaz78fFeD/t5KlhY82lfK9m3u23XwoYmrjwDg9VE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=a4OMQU7gwHRi6rWp3uiIzfWWjyL992nZ7WjpybzmlqAcs+v/r2iL5FPcsdgNxb7OG AbxqiT0K3m2nu5T6inf6yjqs4F6q3iuPuVI6eIsHrQ43Ogw1QpooDbhPhH2tV1Beaq Zkw2y+rEh50qdfkmjH+3J+Qrp26heQ0PQPbXo1tM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Krzysztof Kozlowski , Sasha Levin Subject: [PATCH 5.10 119/530] ARM: dts: exynos: correct MUIC interrupt trigger level on Midas family Date: Wed, 12 May 2021 16:43:49 +0200 Message-Id: <20210512144823.723600797@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210512144819.664462530@linuxfoundation.org> References: <20210512144819.664462530@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 15107e443ab8c6cb35eff10438993e4bc944d9ae ] 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 Link: https://lore.kernel.org/r/20201210212534.216197-4-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 1d56d6fa9077..a8eadcaa0a10 100644 --- a/arch/arm/boot/dts/exynos4412-midas.dtsi +++ b/arch/arm/boot/dts/exynos4412-midas.dtsi @@ -174,7 +174,7 @@ max77693@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.30.2