Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp618933pxj; Thu, 20 May 2021 18:05:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyDDIyDq2UfCOmZKGxlWNomJAZ5Y8yRs8M5AudlP/HmfqcYpnVcV3NxRk1LLZYYdrR9OMYP X-Received: by 2002:a05:6402:4310:: with SMTP id m16mr7841104edc.279.1621559124632; Thu, 20 May 2021 18:05:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621559124; cv=none; d=google.com; s=arc-20160816; b=hkq4WeVcy0GWghT557+VFLqW5PK6vbhJTDfNFRKxyh9Hgojl4db/9M4pCMi8tkqA1A ucAYwkM10QekHmdA6Jc52F5I8dZdO8UvlkQz9Wm56d7sPATBC4N/TqKoV/lSKru6CVXh +OoUCLEdvgIaypqrBaH0twWurMhabbFAox8+fjKDugq1G7svUmeGRAyn2/5BLbE+L9sd kBmf0MrFeixMWt7lB9nFuHL+dlASVzCAWKxXg904jx08mqbRBAnk94MFv+NWPzXvB0O+ KQqqCAaKjgIxtLOKLoZHmej+ayk864Ca4uTmL/UvRTysBm0EZKphX1zNDu9lyrYY/hrh bAIw== 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=aCzHgoSt6hIeSI2KiAeW8gfEHtxQhyHuGCOWOKHyuOc=; b=kBKTVEYVWSAWPDRj3TyrX6A/uw7V2Z4BSLpXl5nJDyb3Ad5bp+vfvGPDOV+L8F8tK7 jAQZkIN0vqlGdQ+XvSP/rQW7PiZMAMHBDyod0UqQBovjQuXF1nqc3LUUZKSXH78XEewp gRe1SfLd+hoPFoYD1LtJsIL6CXtur0jgPTW14jHC04zNaL1dydWn/0z0Cg8OI88XgfAg ZEYW/r6Uz2nq0f01AtPLRZepmYPXQIc5yfi2spHuK6dBbqGjoKuLS5DZmm86oASqkOU3 4MN8xioNGApe9A9zsXH0P1mbFPFPfQt+6E48dnx/JmUq9l/Y2fovfcq7qy9FvMDRa04F 0SnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=FT0KSwl6; 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 q8si3971385ejy.320.2021.05.20.18.05.01; Thu, 20 May 2021 18:05:24 -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=FT0KSwl6; 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 S242133AbhETLht (ORCPT + 99 others); Thu, 20 May 2021 07:37:49 -0400 Received: from mail.kernel.org ([198.145.29.99]:38292 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240490AbhETLRT (ORCPT ); Thu, 20 May 2021 07:17:19 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 0A96861D72; Thu, 20 May 2021 10:09:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1621505386; bh=S93TGJLzU4z0SvaBVoU9+QAZiDLSTWOOJBOi35DTRa0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FT0KSwl6R5edw/cf3FWC1yC/66r7JVOfeS/NMfDudY36y4theWXXDhmVgr7B7GHRR qLCUH35pFCdS1okjpKjYd6hQKj8msLWJD5ragtQguscdYZjipcM0WiYKimPsFpmwOK Xl/m8/AWHDF08S3vmzl9fWP+Kp1vMQobQ9XqOLbA= 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.4 077/190] ARM: dts: exynos: correct PMIC interrupt trigger level on SMDK5250 Date: Thu, 20 May 2021 11:22:21 +0200 Message-Id: <20210520092104.741800409@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520092102.149300807@linuxfoundation.org> References: <20210520092102.149300807@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 0f5dcd418af8..97b152e43f9c 100644 --- a/arch/arm/boot/dts/exynos5250-smdk5250.dts +++ b/arch/arm/boot/dts/exynos5250-smdk5250.dts @@ -134,7 +134,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