Message ID | 1442235619-4029-7-git-send-email-punit.agrawal@arm.com |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBDGNJROX5MBRBE4Q3OXQKGQEARMBRNQ@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f200.google.com (mail-wi0-f200.google.com [209.85.212.200]) by patches.linaro.org (Postfix) with ESMTPS id DC92622B17 for <linaro@patches.linaro.org>; Mon, 14 Sep 2015 13:13:55 +0000 (UTC) Received: by wisv5 with SMTP id v5sf41197089wis.0 for <linaro@patches.linaro.org>; Mon, 14 Sep 2015 06:13:55 -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=Ud82Y021pbmEX+hiw/0NCwYKWuerRPt7GyDEpyHU2gc=; b=KsflTLQp0CGYT88NFWdJeIvDU+LVB7BXx2fMiBtrg14hbUSaH+2jBv21LDaPa+aARg feI/tXH8Ttw5iG7Bu/fhhDVAPUqu/IAz2HLG9/++e8CUu+zW+pNiw148JQ8rZVjvh1Gd F+feB4qHk9+f3f4+BuQMuE0+YWhBEb0qoG5bgL4wCJKis331DH7peiaHaa+ntSMZm7Xy plbldzkCpyc38MwbHclhSSqW7QRVNg6Nmpbf1netgKA8LoiTuZGCYd/oJhKIdckHdEC+ MxSNdPpzdSQzskRIeakBpiOnqZd+YqEXfhqDon6W1dZt34i6w0KlHaO07qX973BQOAm8 t6ug== X-Gm-Message-State: ALoCoQm8YIR8yFU5wSmBKdHv82XnnADP+JjKNZqeC5fvTZoEY0l0eop3DJuhCGKX4yMMuwOYLgMf X-Received: by 10.195.12.234 with SMTP id et10mr187599wjd.2.1442236435217; Mon, 14 Sep 2015 06:13:55 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.3.226 with SMTP id f2ls313423laf.46.gmail; Mon, 14 Sep 2015 06:13:55 -0700 (PDT) X-Received: by 10.112.54.132 with SMTP id j4mr13707379lbp.84.1442236435041; Mon, 14 Sep 2015 06:13:55 -0700 (PDT) Received: from mail-la0-f42.google.com (mail-la0-f42.google.com. [209.85.215.42]) by mx.google.com with ESMTPS id l4si9689057lag.12.2015.09.14.06.13.54 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 14 Sep 2015 06:13:54 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.42 as permitted sender) client-ip=209.85.215.42; Received: by lamp12 with SMTP id p12so85453117lam.0 for <patchwork-forward@linaro.org>; Mon, 14 Sep 2015 06:13:54 -0700 (PDT) X-Received: by 10.112.130.70 with SMTP id oc6mr1437289lbb.32.1442236434865; Mon, 14 Sep 2015 06:13:54 -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 w3csp1193932lbq; Mon, 14 Sep 2015 06:13:53 -0700 (PDT) X-Received: by 10.67.12.166 with SMTP id er6mr34588325pad.40.1442236433347; Mon, 14 Sep 2015 06:13:53 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id rm7si23397513pab.56.2015.09.14.06.13.52; Mon, 14 Sep 2015 06:13:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-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 S1751789AbbINNNv (ORCPT <rfc822;vaibhav.hiremath@linaro.org> + 7 others); Mon, 14 Sep 2015 09:13:51 -0400 Received: from fw-tnat.cambridge.arm.com ([217.140.96.140]:58988 "EHLO cam-smtp0.cambridge.arm.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751302AbbINNNv (ORCPT <rfc822;devicetree@vger.kernel.org>); Mon, 14 Sep 2015 09:13:51 -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 t8EDBieg032185; Mon, 14 Sep 2015 14:11:44 +0100 Received: by e105922-lin.cambridge.arm.com (sSMTP sendmail emulation); Mon, 14 Sep 2015 14:13:12 +0100 From: Punit Agrawal <punit.agrawal@arm.com> To: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Cc: sudeep.holla@arm.com, linux-pm@vger.kernel.org, lm-sensors@lm-sensors.org, liviu.dudau@arm.com, edubezval@gmail.com, mark.rutland@arm.com, linux@roeck-us.net, linux-kernel@vger.kernel.org, robh+dt@kernel.org, Punit Agrawal <punit.agrawal@arm.com> Subject: [PATCH v3 5/5] arm64: dts: Add sensor node to Juno dt Date: Mon, 14 Sep 2015 14:00:19 +0100 Message-Id: <1442235619-4029-7-git-send-email-punit.agrawal@arm.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1442235619-4029-1-git-send-email-punit.agrawal@arm.com> References: <1442235619-4029-1-git-send-email-punit.agrawal@arm.com> Sender: devicetree-owner@vger.kernel.org Precedence: list List-ID: <patchwork-forward.linaro.org> X-Mailing-List: devicetree@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.42 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: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> |
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"
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 <punit.agrawal@arm.com> Cc: Rob Herring <robh+dt@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Liviu Dudau <liviu.dudau@arm.com> Cc: Sudeep Holla <sudeep.holla@arm.com> --- arch/arm64/boot/dts/arm/juno-base.dtsi | 5 +++++ 1 file changed, 5 insertions(+)