From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756275AbbIXQhF (ORCPT ); Thu, 24 Sep 2015 12:37:05 -0400 Received: from eu-smtp-delivery-143.mimecast.com ([146.101.78.143]:60554 "EHLO eu-smtp-delivery-143.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751591AbbIXQhB convert rfc822-to-8bit (ORCPT ); Thu, 24 Sep 2015 12:37:01 -0400 Date: Thu, 24 Sep 2015 17:36:58 +0100 From: Liviu Dudau To: Punit Agrawal Cc: "linux-arm-kernel@lists.infradead.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Mark Rutland , "robh+dt@kernel.org" , "edubezval@gmail.com" , Sudeep Holla , "linux@roeck-us.net" Subject: Re: [PATCH v4 5/5] arm64: dts: Add sensor node to Juno dt Message-ID: <20150924163658.GH2368@e106497-lin.cambridge.arm.com> References: <1442335861-7282-1-git-send-email-punit.agrawal@arm.com> <1442335861-7282-6-git-send-email-punit.agrawal@arm.com> MIME-Version: 1.0 In-Reply-To: <1442335861-7282-6-git-send-email-punit.agrawal@arm.com> User-Agent: Mutt/1.5.22 (2013-10-16) X-OriginalArrivalTime: 24 Sep 2015 16:36:58.0700 (UTC) FILETIME=[3B5440C0:01D0F6E7] X-MC-Unique: BNZPPiUFS7ez8k--2wZeAg-1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 15, 2015 at 05:51:01PM +0100, Punit Agrawal wrote: > The SCP firmware on Juno provides access to SoC sensors via the > SCPI. Add the sensor nodes to the device tree to enable this support. > > Signed-off-by: Punit Agrawal > Cc: Rob Herring > Cc: Mark Rutland > Cc: Liviu Dudau Acked-by: Liviu Dudau > Cc: Sudeep Holla > --- > arch/arm64/boot/dts/arm/juno-base.dtsi | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/arch/arm64/boot/dts/arm/juno-base.dtsi b/arch/arm64/boot/dts/arm/juno-base.dtsi > index c624208..dd5158e 100644 > --- a/arch/arm64/boot/dts/arm/juno-base.dtsi > +++ b/arch/arm64/boot/dts/arm/juno-base.dtsi > @@ -96,6 +96,11 @@ > clock-output-names = "pxlclk0", "pxlclk1"; > }; > }; > + > + scpi_sensors0: sensors { > + compatible = "arm,scpi-sensors"; > + #thermal-sensor-cells = <1>; > + }; > }; > > /include/ "juno-clocks.dtsi" > -- > 2.5.1 > -- ==================== | I would like to | | fix the world, | | but they're not | | giving me the | \ source code! / --------------- ¯\_(ツ)_/¯