From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753744AbbGAMl2 (ORCPT ); Wed, 1 Jul 2015 08:41:28 -0400 Received: from foss.arm.com ([217.140.101.70]:45402 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753502AbbGAMlU (ORCPT ); Wed, 1 Jul 2015 08:41:20 -0400 Date: Wed, 1 Jul 2015 13:41:01 +0100 From: Mark Rutland To: Vitaly Andrianov Cc: "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "linux@arm.linux.org.uk" , "ssantosh@kernel.org" , "robh+dt@kernel.org" , Pawel Moll , "ijc+devicetree@hellion.org.uk" , "galak@codeaurora.org" , "devicetree@vger.kernel.org" Subject: Re: [PATCH] keystone: dts: add psci command definition Message-ID: <20150701124101.GB2310@leverpostej> References: <1435752784-30639-1-git-send-email-vitalya@ti.com> <1435752784-30639-2-git-send-email-vitalya@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1435752784-30639-2-git-send-email-vitalya@ti.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 01, 2015 at 01:13:04PM +0100, Vitaly Andrianov wrote: > This commit adds definition for cpu_on, cpu_off and cpu_suspend commands. > These definitions must match the corresponding PSCI definitions in > boot monitor. > > Signed-off-by: Vitaly Andrianov > --- > arch/arm/boot/dts/keystone.dtsi | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/arch/arm/boot/dts/keystone.dtsi b/arch/arm/boot/dts/keystone.dtsi > index c06542b..ab60fca 100644 > --- a/arch/arm/boot/dts/keystone.dtsi > +++ b/arch/arm/boot/dts/keystone.dtsi > @@ -58,6 +58,14 @@ > ; > }; > > + psci { > + compatible = "arm,psci"; > + method = "smc"; > + cpu_suspend = <0x84000001>; > + cpu_off = <0x84000002>; > + cpu_on = <0x84000003>; > + }; It would be nice to have this injected automatically by the bootlaoder when PSCI is present, as that way users of existing systems can upgrade their DTB and still have things boot. Thanks, Mark. > + > soc { > #address-cells = <1>; > #size-cells = <1>; > -- > 1.9.1 >