Received: by 2002:a05:6520:4211:b029:f4:110d:56bc with SMTP id o17csp2112912lkv; Thu, 20 May 2021 03:43:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyzreqpJDTRF00ZYxw3aGbIjWABkq389aTiaIExt/rP6X8tstxJyDhz/bIBsPybKoxP9BBj X-Received: by 2002:a92:db11:: with SMTP id b17mr5078007iln.277.1621507381658; Thu, 20 May 2021 03:43:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621507381; cv=none; d=google.com; s=arc-20160816; b=VDMmrTNdARW1RQzlpz18n/mQxo7c6POyqLNwUnLq13oaUWQ2r11Ulti9U0jM4VdzU3 Aj3FaS3d2M1sAycL1vmX2OH+5uH36euMzf0FwpN8TYrst69EAhucWNpfN/SAGk7OjGNf JHrz/wEZVxDG/wF8KtwzZoLU8wCNA8TkLE/BcRQ7BhertrcGANw5qGEC+0HPRVxVVjsb T7kE+eR2aoUr5HNgnPErbAmOxF5FpgwWZeWlKHwvC8NMJSGFbiGvcRq3RnAgep41SYG9 kUjhCOvkC5XLDlpESqD7mTX2Kq2OjqoJtmE7K0XEkBFCxh+CcEVBdUwqTEBi5bpk5Pqa oEvQ== 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=5+cwG39sV5soZbRBunqQz+dBlLmQFVkiyWImi3YRVB0=; b=w4h0K0uQL3gGXjvqNU91xHyo3KqMTKglRSnd28mRmWdu03nzsk9IRmLLg00WMtCoot lySY92Wy+SLU+LpMQRctub2b+0k/JPlY50r6huBhp1Xu7Ltuk7VJQvtAJEKMvutWNbX7 RxzPrPpjdJSoBXwsJJfZF4VCsTBMtoSgh1ljFPaT9hAIslfynoDzXgC+mRmSFoQJjHlD vZpn5g9p4x0kHC12bnOmGPPZHmFXV4pFsRL5IXWx60vvsbUms56FdXw1Cm0zZz/IsG20 /e5TCVUpJc4wVdV5KG7++7dKdkU0sJKpkowsoeCL2TuODJWaFw4KuBsPd0Gk7/kTOLqO l4IA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=en4RZTLA; 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 y3si1833854iom.73.2021.05.20.03.42.47; Thu, 20 May 2021 03:43:01 -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=en4RZTLA; 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 S237482AbhETKlc (ORCPT + 99 others); Thu, 20 May 2021 06:41:32 -0400 Received: from mail.kernel.org ([198.145.29.99]:55738 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235940AbhETK0I (ORCPT ); Thu, 20 May 2021 06:26:08 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id F002061C1E; Thu, 20 May 2021 09:50:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1621504204; bh=khwOMN62vM5kTfsRiMsiSVlp0hEirC7CiufNbdyC++o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=en4RZTLAjCurwBpb5ujgZmpyTIAOi8f/0T7NkWfIKrVHT69pnWlBfKhnGfNZPtUcl 78AKqirSJ1jlhGIsVlT9xjTQ3AClg1I1UMBNF18Pynuwu2n/lx2C/YzW9lB6QhvCcL T/35XIhtqbMGjfbFsdR7uDBdUwsNdSaDNUkDu60s= 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 140/323] ARM: dts: exynos: correct PMIC interrupt trigger level on SMDK5250 Date: Thu, 20 May 2021 11:20:32 +0200 Message-Id: <20210520092124.903410714@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 f6368c60561370e4a92fac22982a3bd656172170 ] 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 Link: https://lore.kernel.org/r/20201210212534.216197-8-krzk@kernel.org Signed-off-by: Sasha Levin --- 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 062cba4c2c31..5065e6bf3778 100644 --- a/arch/arm/boot/dts/exynos5250-smdk5250.dts +++ b/arch/arm/boot/dts/exynos5250-smdk5250.dts @@ -133,7 +133,7 @@ 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>; wakeup-source; -- 2.30.2