From patchwork Wed Apr 5 21:53:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryan Brattlof X-Patchwork-Id: 13202595 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 55A4EC77B6E for ; Wed, 5 Apr 2023 21:54:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=R5WvVaSnyrcUU9dVK5fxR6PJC6RhK/oiPSMmo6RMJOM=; b=eNc2Ck15tccghE SLwkh1fFziBOZ7BsMXZR6qzWQfWjELnPC91AW4zlzMC2K+YGLi7b29TltPfnSVdrJJOK6QVpzIqXG RxDtDSsZT+Spl6CqNQ/O8FybFeKSNqyrlmwO8sEfr0hD93lTWlvYkryGsAvvQsjZmlwKrTPcII0QO kARGRwK6abujpW5ZsagZ9IWcDurl55CymD6j3jyhGpanchQmnEmw6JY34rhbinzyfy+ioyzSxj3zb eyRh5eFK0dPedPxCPu8fYrmzHxfPJKDoRxrBoLpYVLvlSbMsYgaNJbiM78rCvLcafciGyk6+fclVs /POxkTr11e3WZBVFUE7Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pkB50-005n0a-1R; Wed, 05 Apr 2023 21:54:10 +0000 Received: from lelv0143.ext.ti.com ([198.47.23.248]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pkB4s-005mvA-2C for linux-arm-kernel@lists.infradead.org; Wed, 05 Apr 2023 21:54:05 +0000 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 335LrpwN024989; Wed, 5 Apr 2023 16:53:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1680731631; bh=Tlt1X3EAX2fR3eaDrZRX6kFzsEjXNKkGCpmS5w7MokY=; h=From:To:CC:Subject:Date; b=wqHnbfTiZepLjszO6S7byOhI8SoAY7uVyQVi2ZbGePXebIUCRSQQsOLfp30IhSCxR 0UoRFrEDIsCX5QmeQExNCYSU+3eLjIo68lG6NeVVUgemePKhgHL66BIOjfo/QpIFhO 65iWx22LoJp///NwAHoNIjrdahRNwJcTmeNjivrE= Received: from DFLE108.ent.ti.com (dfle108.ent.ti.com [10.64.6.29]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 335LrpON082748 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 5 Apr 2023 16:53:51 -0500 Received: from DFLE109.ent.ti.com (10.64.6.30) by DFLE108.ent.ti.com (10.64.6.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Wed, 5 Apr 2023 16:53:50 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16 via Frontend Transport; Wed, 5 Apr 2023 16:53:50 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 335LroaV049454; Wed, 5 Apr 2023 16:53:50 -0500 From: Bryan Brattlof To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo CC: Rob Herring , Krzysztof Kozlowski , Keerthy , Device Tree Mailing List , ARM Linux Mailing List , Linux Kernel Mailing List , Bryan Brattlof Subject: [PATCH v3 0/7] add VTM nodes to TI's K3 SoCs Date: Wed, 5 Apr 2023 16:53:21 -0500 Message-ID: <20230405215328.3755561-1-bb@ti.com> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230405_145402_804149_26733F80 X-CRM114-Status: GOOD ( 14.64 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hello again everyone! This patch series adds in basic VTM nodes for all of TI's K3 SoCs. As of right now these do not do much other than add thermal entries into the sysfs directory and power down the device once it exceeds a critical temperature. Changes from v1: [0] - Fixed indexing of thermal nodes[0] Changes from v2: [1] - Updated unit address for am62x's &cbass_wakeup - Dropped my j7* patches and cherry-picked Keerthy's [0] https://lore.kernel.org/all/20230119221322.12563-1-bb@ti.com/ [1] https://lore.kernel.org/all/20230120003051.9100-1-bb@ti.com/ Thanks for reviewing! ~Bryan Bryan Brattlof (3): arm64: dts: ti: k3-am64-main: add VTM node arm64: dts: ti: k3-am62-wakeup: add VTM node arm64: dts: ti: k3-am62a-wakeup: add VTM node Keerthy (4): arm64: dts: ti: j784s4: Add VTM node arm64: dts: ti: j721e: Add VTM node arm64: dts: ti: j7200: Add VTM node arm64: dts: ti: j721s2: Add VTM node arch/arm64/boot/dts/ti/k3-am62-thermal.dtsi | 33 ++++++ arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi | 8 ++ arch/arm64/boot/dts/ti/k3-am62.dtsi | 8 +- arch/arm64/boot/dts/ti/k3-am62a-thermal.dtsi | 47 ++++++++ arch/arm64/boot/dts/ti/k3-am62a-wakeup.dtsi | 8 ++ arch/arm64/boot/dts/ti/k3-am62a.dtsi | 2 + arch/arm64/boot/dts/ti/k3-am64-main.dtsi | 8 ++ arch/arm64/boot/dts/ti/k3-am64-thermal.dtsi | 33 ++++++ arch/arm64/boot/dts/ti/k3-am64.dtsi | 3 + .../boot/dts/ti/k3-j7200-mcu-wakeup.dtsi | 9 ++ arch/arm64/boot/dts/ti/k3-j7200-thermal.dtsi | 47 ++++++++ arch/arm64/boot/dts/ti/k3-j7200.dtsi | 2 + .../boot/dts/ti/k3-j721e-mcu-wakeup.dtsi | 9 ++ arch/arm64/boot/dts/ti/k3-j721e-thermal.dtsi | 75 +++++++++++++ arch/arm64/boot/dts/ti/k3-j721e.dtsi | 2 + .../boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi | 9 ++ arch/arm64/boot/dts/ti/k3-j721s2-thermal.dtsi | 101 ++++++++++++++++++ arch/arm64/boot/dts/ti/k3-j721s2.dtsi | 4 + .../boot/dts/ti/k3-j784s4-mcu-wakeup.dtsi | 9 ++ arch/arm64/boot/dts/ti/k3-j784s4-thermal.dtsi | 101 ++++++++++++++++++ arch/arm64/boot/dts/ti/k3-j784s4.dtsi | 4 + 21 files changed, 520 insertions(+), 2 deletions(-) create mode 100644 arch/arm64/boot/dts/ti/k3-am62-thermal.dtsi create mode 100644 arch/arm64/boot/dts/ti/k3-am62a-thermal.dtsi create mode 100644 arch/arm64/boot/dts/ti/k3-am64-thermal.dtsi create mode 100644 arch/arm64/boot/dts/ti/k3-j7200-thermal.dtsi create mode 100644 arch/arm64/boot/dts/ti/k3-j721e-thermal.dtsi create mode 100644 arch/arm64/boot/dts/ti/k3-j721s2-thermal.dtsi create mode 100644 arch/arm64/boot/dts/ti/k3-j784s4-thermal.dtsi base-commit: 891db0c48efb48c3af334006f9d7ea6a0aa49cb9