From patchwork Tue Sep 15 16:51:01 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Punit Agrawal X-Patchwork-Id: 53692 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f69.google.com (mail-la0-f69.google.com [209.85.215.69]) by patches.linaro.org (Postfix) with ESMTPS id E980222A0D for ; Tue, 15 Sep 2015 16:53:05 +0000 (UTC) Received: by lanb10 with SMTP id b10sf63156055lan.3 for ; Tue, 15 Sep 2015 09:53:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=jxhTG6msV34svn/R9/loaMtx76y6HiRDFys0TiUCwB4=; b=JG5eR8iLR1O14GEZe25nIfTU9ETey4zl9vC8+aXodzRdGxU9iE2B8X2AWrWvwqYsJO 99V9DTbruOangx4YUqo9MbpI143JnBCjOBKfi4HcXq9TjDk1BvCGTo+ijeXenmvrt/I9 nhyMpHbA+gguFlU1HcfnL7saN4C9qTHnamSPeGyU2ZwX9bsDHJS6hgSqEh9fXheydGxX 6+CFecWf4tweHU/WMX9pnmGPOujJNEnz/xlLDqzc68BZgAHfAbEOgB2SDw6ClyP30TYD Dvjj4Kf/qCuL4vtIA+UdBZlMDiGmekWXCLt4t19cURYizhJdoIrjlSMLy+wJRKnGpIkc QA9Q== X-Gm-Message-State: ALoCoQnMKbDhbXh0EjoSfoxOvzMRGTUsz2dzXITLWBtjwM6k1H1SDyeTmWXImpHXzQfeGhAWUWEG X-Received: by 10.152.6.201 with SMTP id d9mr4005077laa.6.1442335984987; Tue, 15 Sep 2015 09:53:04 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.27.39 with SMTP id q7ls122195lag.21.gmail; Tue, 15 Sep 2015 09:53:04 -0700 (PDT) X-Received: by 10.112.158.38 with SMTP id wr6mr22997785lbb.25.1442335984808; Tue, 15 Sep 2015 09:53:04 -0700 (PDT) Received: from mail-la0-f45.google.com (mail-la0-f45.google.com. [209.85.215.45]) by mx.google.com with ESMTPS id e3si7260394lbc.171.2015.09.15.09.53.04 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 15 Sep 2015 09:53:04 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.45 as permitted sender) client-ip=209.85.215.45; Received: by lanb10 with SMTP id b10so111200078lan.3 for ; Tue, 15 Sep 2015 09:53:04 -0700 (PDT) X-Received: by 10.152.5.133 with SMTP id s5mr22930925las.19.1442335984691; Tue, 15 Sep 2015 09:53:04 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.59.35 with SMTP id w3csp1919539lbq; Tue, 15 Sep 2015 09:53:03 -0700 (PDT) X-Received: by 10.107.162.204 with SMTP id l195mr35272424ioe.196.1442335983595; Tue, 15 Sep 2015 09:53:03 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id iu1si33255705pbb.24.2015.09.15.09.53.02; Tue, 15 Sep 2015 09:53:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753660AbbIOQw4 (ORCPT + 29 others); Tue, 15 Sep 2015 12:52:56 -0400 Received: from fw-tnat.cambridge.arm.com ([217.140.96.140]:57665 "EHLO cam-smtp0.cambridge.arm.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753570AbbIOQww (ORCPT ); Tue, 15 Sep 2015 12:52:52 -0400 Received: from e105922-lin.cambridge.arm.com (e105922-lin.cambridge.arm.com [10.2.135.144]) by cam-smtp0.cambridge.arm.com (8.13.8/8.13.8) with SMTP id t8FGqJ88003200; Tue, 15 Sep 2015 17:52:19 +0100 Received: by e105922-lin.cambridge.arm.com (sSMTP sendmail emulation); Tue, 15 Sep 2015 17:52:19 +0100 From: Punit Agrawal To: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org, mark.rutland@arm.com, robh+dt@kernel.org, edubezval@gmail.com, sudeep.holla@arm.com, liviu.dudau@arm.com, linux@roeck-us.net, Punit Agrawal Subject: [PATCH v4 5/5] arm64: dts: Add sensor node to Juno dt Date: Tue, 15 Sep 2015 17:51:01 +0100 Message-Id: <1442335861-7282-6-git-send-email-punit.agrawal@arm.com> X-Mailer: git-send-email 2.5.1 In-Reply-To: <1442335861-7282-1-git-send-email-punit.agrawal@arm.com> References: <1442335861-7282-1-git-send-email-punit.agrawal@arm.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: punit.agrawal@arm.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.45 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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 Cc: Sudeep Holla Acked-by: Liviu Dudau --- 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"