Received: by 2002:a05:6520:4211:b029:f4:110d:56bc with SMTP id o17csp2112632lkv; Thu, 20 May 2021 03:42:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxPUDSFfRZRRtYCvzT9iwXzny5pP4A+pc/y5JfEAsBLTZ/p6EPFiBDRrUAPdYQ0QeKH+J1V X-Received: by 2002:a5e:9e4a:: with SMTP id j10mr4911432ioq.52.1621507356109; Thu, 20 May 2021 03:42:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621507356; cv=none; d=google.com; s=arc-20160816; b=FH9rnQnOiHYW7UJCoMRMADm7WonjqqR6XbtHhfoLzhdxxsx8jFQach33VVeh/4fqlg cDgbACBK9gC+GU8Weo+16lU1+V5aTKrAINFh/o0lvUZzSuCUZX6XwGcQc2HgHRphPYmB ZntDUSo+s65+ZttlDYUejhiItGwb6k0IjSB8PVXMxx7SVv51ZxAB5HUiAb967j5B4m1o N7S3PvZVSGPDc/lxzNL56qvaw3g0ZVAKn19L2LRTYLOuJ/6CiGU1S/geCg8ecCVa9KB0 xN0gbfIGhqJH5hq4lKOefVBkThFboj3UAVMFP2eOKNyOK8/5geZ4oTH2NkgiPkoxdFw7 FjSg== 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=AwHesV6ldlUJ3x0cBi+P22J8uXpPGNo7ZdSBoaIfpzI=; b=lyX4WlP4EMvdVGQJTbxHxrC9+rqxZsqtAimA1KEOLuyUZwb+sdszPh1Uj9KPoPOKEM MnO1ZHhWMQt382VtcUBUaA316UW3rnNtSjncfCnOaTvQQ3hPOZuY7gWI70EJdyQJqino 6amqsSOxt2nKixDvqbHHA/b3IQ4WoStti+ozH3o7hV9V7ApVMuWF1GUC8236KJ8jz98W tTH7L1D8bg07x1hC8TZAMHBNN9kYc46Oifad0+UyxOHsrn6kuYdRDH5xMm3RpGjLeTYf PaoRSpMIl5lZysR/1du3gDAmw3Sc5xPWTnp7EcH5Fr15d1NSCRwLie618cKZhdtT/LsI Jv/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=iZNkaOgi; 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 s13si1806612iow.103.2021.05.20.03.41.51; Thu, 20 May 2021 03:42:36 -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=iZNkaOgi; 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 S237513AbhETKlh (ORCPT + 99 others); Thu, 20 May 2021 06:41:37 -0400 Received: from mail.kernel.org ([198.145.29.99]:55768 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236276AbhETK0Q (ORCPT ); Thu, 20 May 2021 06:26:16 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 32E3061481; Thu, 20 May 2021 09:50:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1621504206; bh=ZFA6gY6tY5t7f/xGx1cAN/0EmEpTjDefe2qpwo97BhU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iZNkaOgiheOFx8bWQ4xGg2LXbX16m+35OAjwniaYKGD6jmCtDDufw+m4Ux6rqbXog O6k5hefYjD+GLZK5qakEz47/yOQGU1GkaJi5nu26noCe+0IxzgYy+43pZETt42asmW Ss6oJV1vtshE2XxYVhqCSNSPoSZwyOrL5Fz0rywI= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Krzysztof Kozlowski , Sasha Levin Subject: [PATCH 4.14 141/323] ARM: dts: exynos: correct PMIC interrupt trigger level on Snow Date: Thu, 20 May 2021 11:20:33 +0200 Message-Id: <20210520092124.934897438@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520092120.115153432@linuxfoundation.org> References: <20210520092120.115153432@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 8987efbb17c2522be8615085df9a14da2ab53d34 ] 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: c61248afa819 ("ARM: dts: Add max77686 RTC interrupt to cros5250-common") Signed-off-by: Krzysztof Kozlowski Link: https://lore.kernel.org/r/20201210212534.216197-9-krzk@kernel.org Signed-off-by: Sasha Levin --- arch/arm/boot/dts/exynos5250-snow-common.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/exynos5250-snow-common.dtsi b/arch/arm/boot/dts/exynos5250-snow-common.dtsi index 8788880e459d..134e6e54447f 100644 --- a/arch/arm/boot/dts/exynos5250-snow-common.dtsi +++ b/arch/arm/boot/dts/exynos5250-snow-common.dtsi @@ -284,7 +284,7 @@ max77686: max77686@09 { compatible = "maxim,max77686"; interrupt-parent = <&gpx3>; - interrupts = <2 IRQ_TYPE_NONE>; + interrupts = <2 IRQ_TYPE_LEVEL_LOW>; pinctrl-names = "default"; pinctrl-0 = <&max77686_irq>; wakeup-source; -- 2.30.2