From patchwork Wed Jan 31 22:19:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Davis X-Patchwork-Id: 13540041 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 2B7CFC47DDF for ; Wed, 31 Jan 2024 22:20:31 +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:References:In-Reply-To: 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: List-Owner; bh=n3KDNRuURJDpsLEvLACLaGcEsWPYznUTsQqHy4in+0E=; b=DAofYfaKAwbEmC TxVqeXGFNsAs1Blr7P6xJgpZGTUxCpv0dMgR60tvioCO6b9YzEu0ZwUVd0U208CFJhIwYVK/zczlX PK1hlCN3Cf3v6gtOEc92WIbc5el5h6fFKj63ukRWsvpHfOAnoKlB+O8eawJQl7pHWqjG+knRrdmTq MmZFMAd6e/oT7oLkEfiCHZZLhfzW1RwXzfJVZfyPDRxUlmM8IwNGJ9Hm2DfpwRS4kUxWXG3rlJnpZ WqJSZ6YwkEvE+vzA5mobRcub2fdE4uM6X3oXCxA5udNYRulJn78GaI0FlPlpt0sE0Nn0Mf6tRlKyr i25bVmcy7+7iatekWhUQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVIwN-00000005g4m-3dw7; Wed, 31 Jan 2024 22:20:19 +0000 Received: from fllv0016.ext.ti.com ([198.47.19.142]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVIw9-00000005fwh-2x2h for linux-arm-kernel@lists.infradead.org; Wed, 31 Jan 2024 22:20:07 +0000 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 40VMK25X009452; Wed, 31 Jan 2024 16:20:02 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1706739602; bh=8beJqyzumN9+CMCul7JvqwxP0DOUWWCHmJavY3XFYug=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=RtmunIjOWplS8pzTdSkBMjo/NrTviIck7Fc43LwA+pVc9eKuw5FMo2ldzeNQA4NHG ECPBN8Q+nC7N6p+bv7sOD85jZCSWPkzl8/NoG9EwHiRT8+PVywkhzRlA2mgmiAX0as pU2hhyqagA6Vui8dtg5kd9WfEj9N3LGZsGftWepA= Received: from DFLE108.ent.ti.com (dfle108.ent.ti.com [10.64.6.29]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 40VMK2ua021601 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 31 Jan 2024 16:20:02 -0600 Received: from DFLE104.ent.ti.com (10.64.6.25) 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.23; Wed, 31 Jan 2024 16:20:01 -0600 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DFLE104.ent.ti.com (10.64.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Wed, 31 Jan 2024 16:20:01 -0600 Received: from lelvsmtp5.itg.ti.com ([10.249.42.149]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 40VMJwx7102504; Wed, 31 Jan 2024 16:20:01 -0600 From: Andrew Davis To: Nishanth Menon , Tero Kristo , Santosh Shilimkar , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sebastian Reichel , Vignesh Raghavendra CC: , , , , Andrew Davis Subject: [PATCH 05/12] arm64: dts: ti: k3-am62: Add reboot-controller node Date: Wed, 31 Jan 2024 16:19:50 -0600 Message-ID: <20240131221957.213717-6-afd@ti.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240131221957.213717-1-afd@ti.com> References: <20240131221957.213717-1-afd@ti.com> 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-20240131_142005_845813_06B15EC6 X-CRM114-Status: GOOD ( 11.13 ) 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 While PCSI normally handles reboot for K3, this is an available fallback in case PCSI reboot fails. Add direct reboot TI-SCI node to system-controller. Signed-off-by: Andrew Davis --- arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi index 464b7565d085d..eb71523e85c36 100644 --- a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi @@ -203,6 +203,11 @@ k3_reset: reset-controller { compatible = "ti,sci-reset"; #reset-cells = <2>; }; + + k3_reboot: reboot-controller { + bootph-all; + compatible = "ti,sci-reboot"; + }; }; crypto: crypto@40900000 {