From patchwork Wed Jan 31 22:19:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Davis X-Patchwork-Id: 194995 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2685:b0:106:209c:c626 with SMTP id mn5csp60724dyc; Wed, 31 Jan 2024 14:24:19 -0800 (PST) X-Google-Smtp-Source: AGHT+IGg8QaMWpJmKCijmOlZhPzCe6n1pmirgALlsoa8vwZcg+hH6sRslImtyj+SivxIR/HZ4Ujt X-Received: by 2002:a19:2d1b:0:b0:511:17f1:8e04 with SMTP id k27-20020a192d1b000000b0051117f18e04mr540402lfj.36.1706739859144; Wed, 31 Jan 2024 14:24:19 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706739859; cv=pass; d=google.com; s=arc-20160816; b=USEbgaxB5jynVJGojxnMmSPrjtrrW75JmQuNTlq7d1qPTVzT/r8pR4366ii4lLyviy ROFVa/KU3jRsQAI8yHw8gRoorsbTSvxvwL9N3Z7dbi0K0ljXLg/NY2GlP3sRt6+GyHHt mFHwGbyjjPR9FGc3DWr2pCvJIeEFXF1cFmmhiHwQ+ydBcceZ69uLrj2uJcMjUpyshrpV EZfgXjb2Kgui7coE84f9Necn3PMQqv7HgA5R3+yVivKu+iAiTc5QNRtxdCLTWFdPZM0B xjEhysqindoskJ8ntMpmUud/VIZihaZBZWT/naPm57MYX3b5qKaNvq+SFxrxQnA8rJ6C uD6A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=acmqRyO+tiR9fvXOE9Zst7bxxUMnJ43gc0m2FLXTr24=; fh=WC9j+Vy0V0aX5nyjMHnAFqiKz76qYfiPTB8MTJSgpZ4=; b=afxioHBlUptxrXPkTMP4ud79lATpsdtzIPe8VY5nGFXEGpBwokuNtLr8x23oLHwLIq WlH3nD0OeSsIyMV6c67XUq+QDZnAizMmUDUDqgvvAh1ppuxvFW76gfpiKMR/h5t31qNM kf1ku4yvpi/jzTXHUE537joFDQpFlNmYR0niN7hZyVWkBZG0uN5Uphpo7BGMvidZUGRD 2/6l+Um/7HsEqsceQyhfwSdxsZFBGLy0g2LWf7SMeyvqM5v70D9QSrDZ0A/uESBMHcc2 mAM+8hEbA6+ox+ff9lbUFxZpaX2FR8f1HYOF9caq4RSgyqkQubF4OYwwHKuIjxBqPBPo 8h1w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=EzB4WxSm; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-47248-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-47248-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com X-Forwarded-Encrypted: i=1; AJvYcCVyXgW3+pXsUzQeBJEh5pqgjbNiiJ0+XEn58U9bARSMAMAJozTHJ44NvwitM8aqJbcdBAljE5g/J5prwX/WQFM1PYjiDA== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id u11-20020a170906408b00b00a3599b5fefesi3866169ejj.194.2024.01.31.14.24.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 14:24:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-47248-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=EzB4WxSm; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-47248-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-47248-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id A32BA1F23C60 for ; Wed, 31 Jan 2024 22:24:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C89E445BFD; Wed, 31 Jan 2024 22:20:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="EzB4WxSm" Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CEBDC3A26E; Wed, 31 Jan 2024 22:20:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.19.141 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706739611; cv=none; b=eqTafBXueOqTDOeRjaB9U617Kl+eu5XQQ+oS9+3rLsZWE6MXT2DJ8LHwglcvAGcnerKlIGeyUHazfI8mTFPFcu9B/IHjGrS3WZKCudMlDf5pzV9Pkv5DawBS/Y/VLWWWNSN60nkklF25vrNVVU7lxNLK+GLev/cXgaqKF56wHVg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706739611; c=relaxed/simple; bh=5U4/5qMrAvs4IdtfBNx90muP+svLi8zwsySBap8hLow=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=KI6e4WJ5chGIXiq9Elw42gpRpYW2ltcE1Yf87VuAfQJJVWqX4EH8ifqMXY69FJ55ocATlybgoOMOYVGni3nalGFNj4kEZaXUN1GMMKGtr1pKtq1MVb+g7FXriJkqWgD8mBPPqHT3Qf7M4cS8CSpr83kUMoJ4ztJxQvfBzNF6LX4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=EzB4WxSm; arc=none smtp.client-ip=198.47.19.141 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 40VMK3sO004384; Wed, 31 Jan 2024 16:20:03 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1706739603; bh=acmqRyO+tiR9fvXOE9Zst7bxxUMnJ43gc0m2FLXTr24=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=EzB4WxSmjJ0jR4T/P+1NrARX6NiKLyu+GlwS/snGftYSW9lygHBFEnhCBBeLudlOt dQ3KsebUCDuorBG3Yw9Fo+2pPMuyo62GdmFk71gEfEir80HaEW6Oyhc4kT+JSKzi40 8tYT6t4ydwW1W8ADsPrL6gRTbOTmUypn0gq163+0= Received: from DFLE103.ent.ti.com (dfle103.ent.ti.com [10.64.6.24]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 40VMK3Y4021665 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 31 Jan 2024 16:20:03 -0600 Received: from DFLE114.ent.ti.com (10.64.6.35) by DFLE103.ent.ti.com (10.64.6.24) 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:03 -0600 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DFLE114.ent.ti.com (10.64.6.35) 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:03 -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 40VMJwxA102504; Wed, 31 Jan 2024 16:20:02 -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 08/12] arm64: dts: ti: k3-am65: Add reboot-controller node Date: Wed, 31 Jan 2024 16:19:53 -0600 Message-ID: <20240131221957.213717-9-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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789646454659056401 X-GMAIL-MSGID: 1789646454659056401 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-am65-wakeup.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am65-wakeup.dtsi b/arch/arm64/boot/dts/ti/k3-am65-wakeup.dtsi index f037b36243ced..986684b7a7c43 100644 --- a/arch/arm64/boot/dts/ti/k3-am65-wakeup.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am65-wakeup.dtsi @@ -32,6 +32,10 @@ k3_reset: reset-controller { compatible = "ti,sci-reset"; #reset-cells = <2>; }; + + k3_reboot: reboot-controller { + compatible = "ti,sci-reboot"; + }; }; wkup_conf: bus@43000000 {