From mboxrd@z Thu Jan 1 00:00:00 1970 From: christoffer.dall@linaro.org (Christoffer Dall) Date: Wed, 19 Mar 2014 20:03:19 -0700 Subject: [PATCH v1 2/2] Documentation: devicetree: Add new binding for PSCIv0.2 In-Reply-To: <1395276865-6868-2-git-send-email-ashwin.chaugule@linaro.org> References: <1395276865-6868-1-git-send-email-ashwin.chaugule@linaro.org> <1395276865-6868-2-git-send-email-ashwin.chaugule@linaro.org> Message-ID: <20140320030319.GO1297@cbox> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wed, Mar 19, 2014 at 08:54:25PM -0400, Ashwin Chaugule wrote: > The PSCI v0.2+ spec defines static values for PSCI function IDs. > Add a new binding entry so that pre v0.2 implementations can > use DT entries for function IDs and v0.2+ implementations use > static entries as defined by the PSCIv0.2 specification. > > Signed-off-by: Ashwin Chaugule > --- > Documentation/devicetree/bindings/arm/psci.txt | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/arm/psci.txt b/Documentation/devicetree/bindings/arm/psci.txt > index 433afe9..a808284 100644 > --- a/Documentation/devicetree/bindings/arm/psci.txt > +++ b/Documentation/devicetree/bindings/arm/psci.txt > @@ -21,7 +21,11 @@ to #0. > > Main node required properties: > > - - compatible : Must be "arm,psci" > + - compatible : "arm,psci" : pre PSCIv0.2 spec implementations use this > + to get the function IDs from DT entries. > + > + "arm,psci-0.2": PSCIv0.2+ spec implementations use static > + values for function IDs as defined in the spec. Maybe specify that in this case no function IDs are passed in the device tree? -Christoffer