From patchwork Wed Jan 31 22:19:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Davis X-Patchwork-Id: 194990 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2685:b0:106:209c:c626 with SMTP id mn5csp59772dyc; Wed, 31 Jan 2024 14:22:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IFpE/UQR4yxqmZi3/jZm3pV+XQ/qXd7/aXKof/Vdf5K8tPSKqCR9UtcxDGmlj9VFP4oVsMO X-Received: by 2002:ac8:5787:0:b0:42b:f0b6:75b1 with SMTP id v7-20020ac85787000000b0042bf0b675b1mr1352475qta.49.1706739720342; Wed, 31 Jan 2024 14:22:00 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706739720; cv=pass; d=google.com; s=arc-20160816; b=Rb92NeHDfpYFkMAaSvYVPSKn9BzqfrWk+11qJt11A+eZOmOWfZJytlBnr0FTATF+sB IRrJeQi2TxZ2GgHM5ZUS4vu0Xh/1srkrjEH48WUdz5zdjYnyZ3Y9fCddoJbkPdFtN2un leDJ9JSlpGLK4UWAH7mLjr+ZnImaJiBkgorscLaygv0QXapbiBDYlVkfdbBt9KfwzYI8 NcdC/qQafcEI3orgD7kVLD/SMiWPb69ez1nEGTGShxv9rJP4Em8Naxhrb5GuG0wmaJVs rtMxaw7x+9OoU9qUPQoa9nETOCa5Gfa2CpKk0fqw8pfoN3KHML4QpOI0kW3hwxn9XJVn 38tQ== 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=HXQ+AwkFKcLP+/6vu6+08VVIk7h1vpO4bRIC5MHidjU=; fh=tgGrFAm2tOhpJMcjlrSRZNAkCarE8VVLnKKqEBRNBG4=; b=BnWZ4WNSJSuvDdcZW0JT68cRKz3xa2k1umZLuiktI8Lr1z3WGfwpQEA7RIxxzjmpfA SurbVoHbNWyXUlK+78RKNmicpbMKPHDGS3gDZvoK6tVEywCbE1Nq6TgCnbVTEHHqYuzL ATs3YBs8cQQyw4Cjy4HjLlDPtsMwvl1TTu6opVgAlcTfqiCJsAM54vXb7UxbsLx4t7vH 2YCh5e01Y5R1nnKYkywE7NzuaIzmw7H48Vy0vEt+l9RvXC4yKWhd8SKDqP4ROiSUwaU6 WdLFfyxVxotx0279BkjGUDTwPoC+x4hDfR1X/lcQErinttJK5oaagyHPCnthk9cPF+f6 Q30g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="qZ/46/fQ"; 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-47241-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-47241-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com X-Forwarded-Encrypted: i=1; AJvYcCW9PEQf7aiy2eUYG3xCTqTweenuX84KwYvjuVXr3wlz2bCRhwbYxb6ipEsN3A6qypDGcmMLsoJxMlXDzoT7JCUHTux8Gw== Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id r13-20020a05622a034d00b0042beebb9dc1si1203030qtw.391.2024.01.31.14.22.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 14:22:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-47241-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="qZ/46/fQ"; 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-47241-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-47241-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id DC4701C21FDB for ; Wed, 31 Jan 2024 22:21:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 50EE73C06B; Wed, 31 Jan 2024 22:20:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="qZ/46/fQ" 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 C5E9539FD8; Wed, 31 Jan 2024 22:20:07 +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=1706739609; cv=none; b=X9qbNltj7s96SU+SgeMBJ+fYxC7qHHVgNX2hvBf1sIAckVxMASmgvJS1KXVqtY7nBNsYav0pyTUpATGez5+Xn4u3bzyrp5c/o4eh/6w4xUHLnyG7Vkq2lRuHHLbbzih295IBF656Sl2W/yWh2w9kdhBE5Dw5lqbcAPA7FBhkqQE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706739609; c=relaxed/simple; bh=O+03k//9muAfFhqt4h+dCS0+YHdGNb7/KxA418aTBBw=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=bzlRQTVx2PGH50sktlCIgk3g74vKnUhjb4qAB/lIa5I6VXzWdxIWizs5/F0X9T13hUlkMVL2TDY11YXswqIHHpjoonHhR74JkoYEuiAHnX+hUqElEfl4c6vG7myXYK7cKvcBsP9MlKjrqV+ScAZxmGSGuhz/9Cjr0F+4QtAqZPQ= 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=qZ/46/fQ; 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 40VMK1GD004350; Wed, 31 Jan 2024 16:20:01 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1706739601; bh=HXQ+AwkFKcLP+/6vu6+08VVIk7h1vpO4bRIC5MHidjU=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=qZ/46/fQh8RuIt4MHfCQhcJCbUnHmijspMMD0JyoXyN9wXiZ+pOmE7fEMiNMOKzX+ yAf8tA3wpBE42dvrqzJPCOUyswwHW440NQsElHuEU9ZWx9ZSz/ov3JH5gzEWYUDuGE RV48oSXkBq8+FQJoUjcAv2JGBCgM9bSqMMN2260g= Received: from DFLE112.ent.ti.com (dfle112.ent.ti.com [10.64.6.33]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 40VMK15p080814 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 31 Jan 2024 16:20:01 -0600 Received: from DFLE100.ent.ti.com (10.64.6.21) by DFLE112.ent.ti.com (10.64.6.33) 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 DFLE100.ent.ti.com (10.64.6.21) 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 40VMJwx6102504; Wed, 31 Jan 2024 16:20:00 -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 04/12] arm64: dts: ti: k3-am64: Add reboot-controller node Date: Wed, 31 Jan 2024 16:19:49 -0600 Message-ID: <20240131221957.213717-5-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: 1789646308913128373 X-GMAIL-MSGID: 1789646308913128373 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-am64-main.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi index e348114f42e01..f9d2d1b67282d 100644 --- a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi @@ -228,6 +228,11 @@ k3_reset: reset-controller { compatible = "ti,sci-reset"; #reset-cells = <2>; }; + + k3_reboot: reboot-controller { + bootph-all; + compatible = "ti,sci-reboot"; + }; }; main_pmx0: pinctrl@f4000 {