From patchwork Wed Jan 31 22:19:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Davis X-Patchwork-Id: 194994 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2685:b0:106:209c:c626 with SMTP id mn5csp60620dyc; Wed, 31 Jan 2024 14:24:03 -0800 (PST) X-Google-Smtp-Source: AGHT+IHs/THr14EivDyUMQ5tYVVMtRuH14m0twE9YOdgN6MDfb4q3KJTfI/wFWhjO2iOlIsfBnJL X-Received: by 2002:a17:906:1b42:b0:a36:6444:7815 with SMTP id p2-20020a1709061b4200b00a3664447815mr2766669ejg.17.1706739842947; Wed, 31 Jan 2024 14:24:02 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706739842; cv=pass; d=google.com; s=arc-20160816; b=W66dQfGAil84RxsElgTyL82ePkUg86H7PJ9friQX8UvDPJwg9wvutK7YuWrVUXt3mQ 9NJRP5ILKGmfN+KiYqSl+Ed9hdbTwnGQj2vM0plW73jS0Q9Ws9funeiluTVxlWTkn4AR EWhfLAqeDC9gFHsSP6v76FwCLfnp3dp9SHZ8DRSa54VyceGnKzgxksgQWxFcx4DqvVw0 dGl5yqodUSdzHeT7hHNT2tbhB5Y8NcrsJ/04YAlJDKeY2QeEN09t5I/BH0jIJy7FDJRN eEy7tkM4YmzVsS51/m9o5NV5ipmz3H6C3XS+p+e9JmZEHmU2+96ay0GrtVnb5TZniA9I bWEw== 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=bJezzvZCS+PMZW3omJ3JmDnR/p5mY4rG5hJQxDz2DY8=; fh=/O5zUZXVUblHzVpoaTHke5oUv2qI2nLBeR3eWV43d8M=; b=RKLZxTEIUxbHiDZhovNYzPQC/Mu2liengAoSlDAr8/04vtBWzAUnm5uPOaCEW0hwIi 0AH0dILbc5HzDWUd133XcuYKsqvJ3/fl9KXmVyMvvvvb+8JGrPi2bYWjHrE60NvKW4qF 8GeKqzCSPFL9NBbTG4uA7CNonvYF/FLJPUszKWNgzBAVhIK5YUAIU0N3Pdp7QrJ6/EfV JhwdOL5yzSFdQLoCGWmzNQsw6MRqNuFWFHItTLJArC6PN/izALzHOQdWVgOOrIxVApqC j4RPYaDAykCmEjfym/Qds1vqGlBqlGm335vQ6vomHIVdJXNU5sYPLCELTWzsN5Ge0gFZ Gn/Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=tb5eTch3; 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-47245-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-47245-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com X-Forwarded-Encrypted: i=1; AJvYcCVRwKXmf534ZMhMTswM3JdX+jirSxXUo2aIDH8RDN3ObSH2FcWslD/KCEqxWH9JNLXWuzj46OhYUjwqSIMlq89Z0FN0ww== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id f17-20020a1709062c5100b00a2f4b97030dsi5902165ejh.183.2024.01.31.14.24.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 14:24:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-47245-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=tb5eTch3; 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-47245-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-47245-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 6F6DE1F26DFA for ; Wed, 31 Jan 2024 22:23:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DF5DA405FB; Wed, 31 Jan 2024 22:20:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="tb5eTch3" Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) (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 A4A6A39FF4; Wed, 31 Jan 2024 22:20:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.23.248 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706739610; cv=none; b=dgU5kbulNOpzmHv7TuoCTq7K8h3B3K6VFuDVwO1quIx9ckSrY8SAivTV3T+As4gAsJq7Dcd6Bzo9eBMT95JcXprrh2mc9xZjRzQRJgK0Dcmm6QpJCM14NpWocglZOI6NSyxUOdMgD/eLONB9EBcQc5fGcuJC2xVZ0kod4W3BmGI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706739610; c=relaxed/simple; bh=F/FnECU63FRq2A383Tk+QpslYnY6qNtU63SkL8HeUd8=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=XU4Yg+e8tUUzvhH7mj1VAYWYfGTbtj+ENaXKapWyzyh5K4HwAdGXaviV929zJwGoPKUmUiiImGVwEdszEQMuKqGcUGz2Kxc/4cCZOMETIDDydpRgwG+itrW4Is1m/Qps/4UnNYCedAmnv2LP8h1NvFZsoQvFU6YZadzXXp39DbQ= 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=tb5eTch3; arc=none smtp.client-ip=198.47.23.248 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 fllv0035.itg.ti.com ([10.64.41.0]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 40VMK3Bg010424; 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=bJezzvZCS+PMZW3omJ3JmDnR/p5mY4rG5hJQxDz2DY8=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=tb5eTch3dL02rBTSysLAjCjAfCpsgddGgxNUTKWCAQhU+CUw70UGtShWlnYviSXfF gtp7K5muoQAORlFyZJtV6EmY81fTT5IwawYyQCqLXQkngaFZ4DFbrytxbk/40HdIF1 eqY78hbe5eiijznPO0JdHtQUm8BwXKzX/A6Zd3zY= Received: from DLEE112.ent.ti.com (dlee112.ent.ti.com [157.170.170.23]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 40VMK33U100619 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 31 Jan 2024 16:20:03 -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:03 -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:02 -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 40VMJwx9102504; 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 07/12] arm64: dts: ti: k3-am62p: Add reboot-controller node Date: Wed, 31 Jan 2024 16:19:52 -0600 Message-ID: <20240131221957.213717-8-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: 1789646437174028576 X-GMAIL-MSGID: 1789646437174028576 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-am62p-main.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62p-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62p-main.dtsi index 4c51bae06b57e..7a10ed7a41a23 100644 --- a/arch/arm64/boot/dts/ti/k3-am62p-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62p-main.dtsi @@ -185,6 +185,11 @@ k3_reset: reset-controller { #reset-cells = <2>; bootph-all; }; + + k3_reboot: reboot-controller { + compatible = "ti,sci-reboot"; + bootph-all; + }; }; crypto: crypto@40900000 {