From patchwork Thu Jun 5 15:06:58 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 4306501 X-Patchwork-Delegate: rui.zhang@intel.com Return-Path: X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id E71B39F1D6 for ; Thu, 5 Jun 2014 15:09:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3CD83201EC for ; Thu, 5 Jun 2014 15:09:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 760BC2015A for ; Thu, 5 Jun 2014 15:09:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752319AbaFEPIb (ORCPT ); Thu, 5 Jun 2014 11:08:31 -0400 Received: from mail-ig0-f181.google.com ([209.85.213.181]:36841 "EHLO mail-ig0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752492AbaFEPHv (ORCPT ); Thu, 5 Jun 2014 11:07:51 -0400 Received: by mail-ig0-f181.google.com with SMTP id h3so2399993igd.8 for ; Thu, 05 Jun 2014 08:07:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=FDEbfEByJFmYJKqp7BJ87uees+j7fSpzf8spE6zh5+I=; b=G2T3iyaWMv3MeduO0LaYsXybuRqDaSkxlyBoj/OXFj2aZIw7cODXIRGzGRy9YTzb9R usn34i3wbi+hUnBhaTEgeOxhKqgLseMQjC1w6+TgscN3mxS8ugL/QiLDziuxsA4EwkWe tu+AZmbZ1GQlZgQ03GMVspHNjAZ+njVI3wSOpWcUzPOuB2bIyiLtbYIjbW5nfrN3fPMc tUcE0/AhwDhNlJn/YBdXk2cL8mSqtE7MKUKt7fEK1hU7Zzq87pIVIGAJN4BB+BL1h378 lgb2gIVb3MqLFNnlRn+YdfiND9KIznt27vJe4Ia4Xr6rIg2b7KxMb4jtpr8PQdLrRcoB 4Hxg== X-Gm-Message-State: ALoCoQloApLZaJTvkK/PmyM3V8b8nlEOAO7HnHdZYAe/yzmiVaXGho1fn9QRJ8qcrQRqkvzPE8qm X-Received: by 10.50.152.38 with SMTP id uv6mr21102200igb.34.1401980870607; Thu, 05 Jun 2014 08:07:50 -0700 (PDT) Received: from localhost.localdomain (host86-181-29-77.range86-181.btcentralplus.com. [86.181.29.77]) by mx.google.com with ESMTPSA id 2sm19108949igs.17.2014.06.05.08.07.47 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 05 Jun 2014 08:07:50 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: lee.jones@linaro.org, kernel@stlinux.com, ajitpal.singh@st.com, edubezval@gmail.com, rui.zhang@intel.com, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, maxime.coquelin@st.com, patrice.chotard@st.com Subject: [PATCH 5/6] ARM: STi: DT: STiH416: Supply Thermal Controller Device Tree nodes Date: Thu, 5 Jun 2014 16:06:58 +0100 Message-Id: <1401980819-19962-6-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1401980819-19962-1-git-send-email-lee.jones@linaro.org> References: <1401980819-19962-1-git-send-email-lee.jones@linaro.org> Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP We supply two of these. The first is controlled by the System Configuration registers and the second one provided is a more traditional 'memory mapped' variant. Each are handled by they own sub-driver. Signed-off-by: Ajit Pal Singh Signed-off-by: Lee Jones --- arch/arm/boot/dts/stih416.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/stih416.dtsi b/arch/arm/boot/dts/stih416.dtsi index 06473c5..ed80220 100644 --- a/arch/arm/boot/dts/stih416.dtsi +++ b/arch/arm/boot/dts/stih416.dtsi @@ -236,5 +236,23 @@ resets = <&powerdown STIH416_KEYSCAN_POWERDOWN>, <&softreset STIH416_KEYSCAN_SOFTRESET>; }; + + temp0 { + compatible = "st,stih416-sas-thermal"; + clock-names = "thermal"; + clocks = <&clockgen_c_vcc 14>; + + status = "okay"; + }; + + temp1@fdfe8000 { + compatible = "st,stih416-mpe-thermal"; + reg = <0xfdfe8000 0x10>; + clocks = <&clockgen_e 3>; + clock-names = "thermal"; + interrupts = ; + + status = "okay"; + }; }; };