From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0DFCCC48286 for ; Thu, 1 Feb 2024 21:14:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:CC:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=mFd8r7wkjQCR+zPFhTXDF0wT29rj08aa+AAPcbcilNc=; b=N1l6l4Xu9bep5G h5ybXCbGHIbPD2rKhAhaYP+FTRpYip3CiJyVIrvtN6xsjv0Uu/88xrX/zVt39lI7tX+7ukP00XsXQ FGnMrt3nXs0tG4bGERsaAA6jzH1Y4Uvo0zNWGMcedE8T80IRc1q0FLrJ1YKv5/uAk7jQPt+DFeeGE xGHKxijgs3iGmSQHZm/efeYgASU1S18tvYbS4oz2eaq3dPSGplgX+IsT3z7cqSziFXSBtnNiFLoqu ueFmZeHB2e7kLzq3ahgVdgNJj1Eb2LB7DsO37zduUK6dphx/nfUaGSHVjOt9BLc78fHr4deaeKchu TF8TFiasjpnzOOZfEWjg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVeNz-00000009O9v-274S; Thu, 01 Feb 2024 21:14:15 +0000 Received: from lelv0143.ext.ti.com ([198.47.23.248]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVeNu-00000009O8w-1H1X for linux-arm-kernel@lists.infradead.org; Thu, 01 Feb 2024 21:14:13 +0000 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 411LE2MV100921; Thu, 1 Feb 2024 15:14:02 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1706822043; bh=pEAsrojppbvro419UF7rpGJv30BuKmWk+tcLVk+eenQ=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=FtacmHPF72QEDzuSyCA5vjFHJFnXLWxyY9tnRvzCMGWw3NRVMSDBWE0zfBGXoF9LQ 8PfgLZ1psWpVLNdbjG6iHdb1/LQ6mfXyX6LHvjXva7mK0Cvzq/PKwttPAaT1B7Ue7M BInzEVk0dUiPuLabIVEwrwHfuofNK1JH8UjHKyqI= Received: from DFLE108.ent.ti.com (dfle108.ent.ti.com [10.64.6.29]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 411LE2kI062853 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 1 Feb 2024 15:14:02 -0600 Received: from DFLE113.ent.ti.com (10.64.6.34) 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; Thu, 1 Feb 2024 15:14:02 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE113.ent.ti.com (10.64.6.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; Thu, 1 Feb 2024 15:14:02 -0600 Received: from localhost (uda0133052.dhcp.ti.com [128.247.81.232]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 411LE2ir109903; Thu, 1 Feb 2024 15:14:02 -0600 Date: Thu, 1 Feb 2024 15:14:02 -0600 From: Nishanth Menon To: Andrew Davis CC: Tero Kristo , Santosh Shilimkar , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sebastian Reichel , Vignesh Raghavendra , , , , Subject: Re: [PATCH 00/12] Add TI-SCI reboot driver Message-ID: <20240201211402.nldc6x2iosi4fkxq@morbidity> References: <20240131221957.213717-1-afd@ti.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20240131221957.213717-1-afd@ti.com> X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240201_131410_549830_8C939485 X-CRM114-Status: GOOD ( 16.63 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 16:19-20240131, Andrew Davis wrote: > Hello all, > > While PCSI normally handles reboot for K3, this is an available > fallback in case PCSI reboot fails. This driver is registered > with low priority as we want PSCI to remain the main way these > devices are rebooted. > > The important part is the binding/DT changes. Currently in > U-Boot (which use the Linux device trees) we may not have > PSCI available yet (pre TF-A) and so we need this node > to correctly reboot. Adding this node in U-Boot is one of > the last remaining deltas between the two project DT files. > > Thanks, > Andrew > > Andrew Davis (12): > dt-bindings: power: reset: Document ti,sci-reboot compatible > dt-bindings: arm: keystone: ti-sci: Add reboot-controller child node > power: reset: Add TI-SCI reboot driver > arm64: dts: ti: k3-am64: Add reboot-controller node > arm64: dts: ti: k3-am62: Add reboot-controller node > arm64: dts: ti: k3-am62a: Add reboot-controller node > arm64: dts: ti: k3-am62p: Add reboot-controller node > arm64: dts: ti: k3-am65: Add reboot-controller node > arm64: dts: ti: k3-j7200: Add reboot-controller node > arm64: dts: ti: k3-j721e: Add reboot-controller node > arm64: dts: ti: k3-j721s2: Add reboot-controller node > arm64: dts: ti: k3-j784s4: Add reboot-controller node Maybe after the driver has been accepted, a defconfig patch(module) might be useful? > > .../bindings/arm/keystone/ti,sci.yaml | 8 +++ > .../bindings/power/reset/ti,sci-reboot.yaml | 33 ++++++++++ > MAINTAINERS | 2 + > arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 5 ++ > arch/arm64/boot/dts/ti/k3-am62a-main.dtsi | 4 ++ > arch/arm64/boot/dts/ti/k3-am62p-main.dtsi | 5 ++ > arch/arm64/boot/dts/ti/k3-am64-main.dtsi | 5 ++ > arch/arm64/boot/dts/ti/k3-am65-wakeup.dtsi | 4 ++ > .../boot/dts/ti/k3-j7200-mcu-wakeup.dtsi | 4 ++ > .../boot/dts/ti/k3-j721e-mcu-wakeup.dtsi | 4 ++ > .../boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi | 4 ++ > .../boot/dts/ti/k3-j784s4-mcu-wakeup.dtsi | 5 ++ > drivers/power/reset/Kconfig | 7 +++ > drivers/power/reset/Makefile | 1 + > drivers/power/reset/ti-sci-reboot.c | 63 +++++++++++++++++++ > 15 files changed, 154 insertions(+) > create mode 100644 Documentation/devicetree/bindings/power/reset/ti,sci-reboot.yaml > create mode 100644 drivers/power/reset/ti-sci-reboot.c -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel