Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp385455pxb; Wed, 3 Mar 2021 05:55:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJwBudNx4bcAaEydUYWWmGGVolTCkkP7Ihztnu+BTPWIVL+4LlXqwSV8m+3rMcPxXGylc45e X-Received: by 2002:a17:907:37a:: with SMTP id rs26mr19047642ejb.336.1614779717023; Wed, 03 Mar 2021 05:55:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614779717; cv=none; d=google.com; s=arc-20160816; b=F7tAyGEcKDgo2TW8/+aTj8mGxRKnyI73xJO2DDIRaDPOqCijTaGXh4YUC5PW6F6Tx6 2ZnRWG8Uv2H3ex4ax3FBF8essWJAdFerp1T/UpXGBCe+4QH9N1L2Qdaawk4lKXmBf23S zfYAxjYqzuw6P5TlxSQRhK/iN+pq55iJu1LH0hdYCs+xxSPnbLXJ0CbqHaY2uCcTD1bA tDEgwbamqrIFeVcKGw/s2Xkmwold6oEL5wRy8OB211u+twD9sFQsFluttpUs/5bX09Cc 77q9/jGZ4XZVrrlE+TACPDR507YZ2nebEeJr5OckAAspfOrKUqDq0C1TE7BxzonaP5cv WVRw== 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=xPYiLYBEZUjGF9JPCKc5Yx1NWbi6iy2pV3MkUwryVZk=; b=oSlht2mGbNeWZI+cCorzyHcWiJSB+ALh62yLWQqJxlXemyL8FDIsOtKtZDK2rgjnJi VKMeDgV0qpehaVJhQ4wv9A7yIpxBlxRDQqs7kpBmlKzSGpGN4RId9L9FY0fn0wYIZTLd zDNJiX/lfcUGXic+tpoL6gcOgIJiNworbP72BcMvc6VVjj7dEjB4KITpKI16ZZ1sjgWG jdw4qBPYvv3ioNM2NegGQBsE5eRcZQDbs4yJO4n7+v2huk2uzOIkgbLa7PhZF/DXksAp UIv+nD3qgdrbYUoj+WQG1+r26yMBc+TitO/KgIM2xI4LYVtTCTvarm3b/ovrwjJ+G9oX xq/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=kPLr2r9G; 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 m19si16273578edd.509.2021.03.03.05.54.34; Wed, 03 Mar 2021 05:55:17 -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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=kPLr2r9G; 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 S242839AbhCAUEj (ORCPT + 99 others); Mon, 1 Mar 2021 15:04:39 -0500 Received: from mail.kernel.org ([198.145.29.99]:59152 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236305AbhCAQ7I (ORCPT ); Mon, 1 Mar 2021 11:59:08 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 1BC3164FE6; Mon, 1 Mar 2021 16:37:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1614616646; bh=U4gpjEH5KvuTWwx96C83h7DEpIQspjs7Ny4E5BcyH7k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kPLr2r9G4nidA7fa0sYV0ucVFmUNcpj3yWp8i52NIcNzhuoF0n1zB70fbk8X/lvV0 WcbbW2TzjeZV4w64r97LEGDfVlQqARx7H7prT2fFPm0U0TZqD1dh3pQzMLKPCuV0Iw Ula40k/cZOe26ElN2b8ZVfVRGDzi80RMOBm0rTSY= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Carl Philipp Klemm , Daniel Lezcano , Eduardo Valentin , Merlijn Wajer , Pavel Machek , Peter Ujfalusi , Sebastian Reichel , Tony Lindgren , Sasha Levin Subject: [PATCH 4.19 046/247] ARM: dts: Configure missing thermal interrupt for 4430 Date: Mon, 1 Mar 2021 17:11:06 +0100 Message-Id: <20210301161033.928636454@linuxfoundation.org> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210301161031.684018251@linuxfoundation.org> References: <20210301161031.684018251@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: Tony Lindgren [ Upstream commit 44f416879a442600b006ef7dec3a6dc98bcf59c6 ] We have gpio_86 wired internally to the bandgap thermal shutdown interrupt on 4430 like we have it on 4460 according to the TRM. This can be found easily by searching for TSHUT. For some reason the thermal shutdown interrupt was never added for 4430, let's add it. I believe this is needed for the thermal shutdown interrupt handler ti_bandgap_tshut_irq_handler() to call orderly_poweroff(). Fixes: aa9bb4bb8878 ("arm: dts: add omap4430 thermal data") Cc: Carl Philipp Klemm Cc: Daniel Lezcano Cc: Eduardo Valentin Cc: Merlijn Wajer Cc: Pavel Machek Cc: Peter Ujfalusi Cc: Sebastian Reichel Signed-off-by: Tony Lindgren Signed-off-by: Sasha Levin --- arch/arm/boot/dts/omap443x.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/omap443x.dtsi b/arch/arm/boot/dts/omap443x.dtsi index 86b9caf461dfa..6e320efd9fc1d 100644 --- a/arch/arm/boot/dts/omap443x.dtsi +++ b/arch/arm/boot/dts/omap443x.dtsi @@ -33,10 +33,12 @@ }; ocp { + /* 4430 has only gpio_86 tshut and no talert interrupt */ bandgap: bandgap@4a002260 { reg = <0x4a002260 0x4 0x4a00232C 0x4>; compatible = "ti,omap4430-bandgap"; + gpios = <&gpio3 22 GPIO_ACTIVE_HIGH>; #thermal-sensor-cells = <0>; }; -- 2.27.0