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: 194993 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2685:b0:106:209c:c626 with SMTP id mn5csp59898dyc; Wed, 31 Jan 2024 14:22:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IF3b35x3ksNHiamYCFrfC9MHeydA54Lv5FplC1l3gjeaM/8XoYVhuNbnLd9ylzupbaDUj9A X-Received: by 2002:a05:6870:ab13:b0:206:d28:c65f with SMTP id gu19-20020a056870ab1300b002060d28c65fmr3237729oab.48.1706739737449; Wed, 31 Jan 2024 14:22:17 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706739737; cv=pass; d=google.com; s=arc-20160816; b=x8GyyxUYoPiAmjxL0p8X6ry1JTay0LjNrcodDNzw/feagZeRpGokVhiXXoPP84Cy7e tchDiR7z1kDS2CV9Gj/wb1ALRfSiPHCMwByFctIbDkMSbRpmqvA1s9ywyC9SCd07Amsd 2WYYFWccgUqu4tNPyF7VU8GlbhxeFHl5Te6VWt9IFkZMiFUkaz627wmNuOhT6tly4PVt rQb8DOON6kNVJdyGkBRw6KVBnBjpaVICQfQYD72eKR/j92dwEgtbfMURkxVDA/eu/yMa Hm0E5qjR/oXPZ3TzZj9+mEwTa6/KaIXoj25BXf9syX3ai8ZSB+zBI3AuVGo6euJwV9/p G74Q== 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=8beJqyzumN9+CMCul7JvqwxP0DOUWWCHmJavY3XFYug=; fh=YkW+0XGbYk1qeswA4Bx+CW+iDd/Kb+FwAe2T86vFh4o=; b=P7M0gTACEEtBZ6QsZ+cO9zyQz3kAk4wKVq64SmsF6/ETMWuWED4E0Hxbl3kLoFdjOj qR0p1ELQ4Yt08cdsjgICGX6vqNf61ZQqbwBI+Xq6KwvJu9Q51pw+hg5bTJy0bxc68baw c4UusCYD5emxotyR7ZmxD1iwRg+km4fe/H0JjQVnaxUQSM/W4tMaPs/Se6i+sT49EY0n Uc3sUjcpUdGWEubgX3SVVRlW8AewnHfsCj5zKJO+GRflsMiatK5RvVa+pP8EJMHjyv3y AopowQB95MJA6afpY+LzKq50A2qb/Ohg+8QkQYDl8Qe3CAio9bcGs8m6f5qi5ivnxw+O UEzQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=RtmunIjO; 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-47243-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-47243-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com X-Forwarded-Encrypted: i=1; AJvYcCVwmuTsgQMqGCYPKqQilDW7SY7/HU2j9dBfW4qzX0D/fO6koZyTfRiEexe78mH6gWkMIlMmWXCRSAU5aEz/rURnYg2lXw== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id h21-20020a631215000000b005cdd7fff951si10297545pgl.132.2024.01.31.14.22.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 14:22:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-47243-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=RtmunIjO; 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-47243-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-47243-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 C405929138A for ; Wed, 31 Jan 2024 22:22:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AF8CA3C6AC; 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="RtmunIjO" Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) (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 214E839FE3; Wed, 31 Jan 2024 22:20:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.19.142 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706739609; cv=none; b=XTYs5uP5hlbVvlfBls6WJOJ3smIzUkLf7B6v1v0PF5SGy9xaJ55QZnxTIs9RB8v8zq4idAWDlmKnHC102O5lRnewAkJg++eiVDADDqGVCw2gvfhbajdwIYT4oCQF7svUGv1e+dPyiltkOBU63TP5TTWHO5PD4Gq/ZpYTpwqCNF0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706739609; c=relaxed/simple; bh=Ceku6KOeH22JGvzJEnc13AFmxOzjxHH5/T5neKtxgds=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=WAfUSU7Dbb1TJ7NcUU6xzXfMINabuCDVLIEmb+7UO/99CYsd9JTtDO9s097ZzPEHItwMaRxvt7kvRRuAsXUrNiV9DzOx+A3XAwXErVAmYMBPWEu0hXX2727o10e5pTW5K/yxaSt2s7y9pIYf5oia8DZe7Q02k19jUjrBb3dxmz8= 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=RtmunIjO; arc=none smtp.client-ip=198.47.19.142 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 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> 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: 1789646326875844933 X-GMAIL-MSGID: 1789646326875844933 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 {