From patchwork Wed Jan 31 22:19:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Davis X-Patchwork-Id: 194998 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2685:b0:106:209c:c626 with SMTP id mn5csp65765dyc; Wed, 31 Jan 2024 14:35:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IHuxoE9B6jl1LB3sI/PzvdBnwEwe6f2aeOCksW9LIgMJsmJqQG2BirHjpuTTzJtie6eNaIe X-Received: by 2002:a17:902:e54e:b0:1d9:55b:6a2f with SMTP id n14-20020a170902e54e00b001d9055b6a2fmr496858plf.48.1706740534966; Wed, 31 Jan 2024 14:35:34 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706740534; cv=pass; d=google.com; s=arc-20160816; b=MfxG5+BGTO6l7xGpuSRxu1vjSYviXcK1JFpG7hSKlpTipfSFYsINmpETBhWytrTIFg XsyU6fUbQ5YyH6UCkANJw6FaYRF1c1aXjFrC26eDwse2QdNtzyFCqsYx9Q+XZIAEJXxG 9i3qd6W0P8hlVANEO9uPfQ7cgZKmn3wzG3Vjk0/uy+spfY3N3BgT/FpzoiKE9BsTumyh rhnQ+MVxChmEzBIc1JloBUv0HSpA2Nj25nUubOgD6AePL2dtCVtblZZoYeDLEch4VOMt oLCOy15YFwv6ftN5EqCooazQfmkHY7MJjD68JR7/PLX6NXV/ZRvSLia2WpexNMA9IoHJ 38Xg== 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=5ccLGxfgTaF7LvtMbW1DBgvnDAXYVO9eKs/8Du1oT9o=; fh=bF0H7af6PIRSvpWzUdRNszHNRttx0MnIFd1z07/Xix0=; b=Ru6XaSztaN88MMCecbMFP1cyDQYcKhhTCqokSxMdzqxqyl4ysLNEXsrieiD7g4DiXH yrYhvky+F8ENAlE2PQPl/LedNsGVYjnf6cHMAVpBTfI/kIun6SCE10ki91vB0Rbf6hwd 1hNpGj3LYiBPyaJeFt0+gLzOwKfYwlXSNhPKIz6zvwTNc2TZvYZCwo8QW2xrvOYo+izC bgzyWqoRLxdTV4ydV78CmzQq7bO4yfyD3yz+C7FHMwp4cGPzJBBJN4fq6S2BwImtJjsN +HgeDX0fAJd8ztvw82X8W5Jkr2FGCBfQJeXw/0WXlux7UCCQkOJGD2XShaR2EEyCdjfa H82A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Awfcy8Z9; 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-47250-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-47250-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com X-Forwarded-Encrypted: i=1; AJvYcCUq/DQbkXi93z6ro0/n+wAVhHU48g3/2VBsYxwwJfQeggMSodWViRQxWp/IZYk7OBx3nwyNZrLOvSwWmAMoYgfC63IZwA== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id v11-20020a170902f0cb00b001d8e1f09afcsi6251383pla.128.2024.01.31.14.35.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 14:35:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-47250-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Awfcy8Z9; 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-47250-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-47250-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 812E229340F for ; Wed, 31 Jan 2024 22:24:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 127F746439; Wed, 31 Jan 2024 22:20:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="Awfcy8Z9" 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 A7C043AC0F; Wed, 31 Jan 2024 22:20:10 +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=1706739612; cv=none; b=mDsE9TYN5o7bK/hVbk4BF7ACTKuC3BMwGzWwMQAll0T9qXnChTGbvjZiDheS0/lcDNLNiTJAe7bMxKdMCopvrX/CJJtIPe234Xw9bDbOcfbjI+hGHpJpxZAveDlGazPuMgbiObq8wjKM1scMOM/xyhKADmVnY+hUQnoavh/65ts= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706739612; c=relaxed/simple; bh=DjoRezQAyDk/p1frAkIYTwHmWJB/D/g0YDDF4pM0g2Y=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=jlBptTbqRO2seFw8jAiCNpyu276Dd9zX39KuesuCk7HyYiow3Sa8W/tqV5PfSjeOljziY1quM9BV4REJXCb0VVZTlxTGBHbWmUS7XSOUfZ8wvs3HlELBu3r2hfiu6SPoO0YQcde0oOaXt7CCzeScJYbb0Xe0O9nJaZnreCRPF10= 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=Awfcy8Z9; 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 lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 40VMK5IT004445; Wed, 31 Jan 2024 16:20:05 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1706739605; bh=5ccLGxfgTaF7LvtMbW1DBgvnDAXYVO9eKs/8Du1oT9o=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=Awfcy8Z9EEZu1VprAoWlZNN0I1j1QS2t8GxNvte3XiPjYmv+qGC4Kk761SkkqroVi 6uIyEHasq8/7Wo4JzzVF7oh07ZvZ1HBZWLt7Ngpt4Phbmh+fB7v0V2FNI3QdsCaFlQ DkEK89krqOhvIK0MzH97f3lBbgi7emwhi9vcXc6s= Received: from DLEE112.ent.ti.com (dlee112.ent.ti.com [157.170.170.23]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 40VMK5nI080992 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 31 Jan 2024 16:20:05 -0600 Received: from DLEE104.ent.ti.com (157.170.170.34) by DLEE112.ent.ti.com (157.170.170.23) 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:05 -0600 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DLEE104.ent.ti.com (157.170.170.34) 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:05 -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 40VMJwxD102504; Wed, 31 Jan 2024 16:20:04 -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 11/12] arm64: dts: ti: k3-j721s2: Add reboot-controller node Date: Wed, 31 Jan 2024 16:19:56 -0600 Message-ID: <20240131221957.213717-12-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: 1789647163496748164 X-GMAIL-MSGID: 1789647163496748164 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-j721s2-mcu-wakeup.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi b/arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi index 80aa33c58a452..1f1125208dedf 100644 --- a/arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j721s2-mcu-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 {