From patchwork Fri May 30 09:38:34 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 4269341 X-Patchwork-Delegate: rui.zhang@intel.com Return-Path: X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 3DB1EBEEA7 for ; Fri, 30 May 2014 09:40:09 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6CAF520340 for ; Fri, 30 May 2014 09:40:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9FF0A20382 for ; Fri, 30 May 2014 09:40:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932992AbaE3JkC (ORCPT ); Fri, 30 May 2014 05:40:02 -0400 Received: from mail-ie0-f175.google.com ([209.85.223.175]:60681 "EHLO mail-ie0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932860AbaE3JjP (ORCPT ); Fri, 30 May 2014 05:39:15 -0400 Received: by mail-ie0-f175.google.com with SMTP id y20so1504380ier.34 for ; Fri, 30 May 2014 02:39:14 -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=jA1afsOl73ujWrX6CsQTl1g3QKCM4OTUOgeel+yLu89LVfUOZ539/NYKgIcprziFk1 LsWKGgdmmoZbMSI51LZj3eMkkRjw0nRBl/NgRhSb8aEBoe2cx+j2+pDaoFv5uvOFkeME RAI6YwaX+yq/OOVdss012EnTFCASghuCSPIBdHQYa4kj3ouvyqGH5KvUk+gDwxPZsbwT /gzKaletCUwJnx8xtju4+R8B2pFSA8slHC1rmYUQfgz+KBkHt8N8+jkivEfwHwfhyeYK JZQcVYIBKQpBJsFY6F/c8xweevGv/EQeo2pgQMdRNijHI7dyjD0qtmBGQz5l+jFXPGcS IJmQ== X-Gm-Message-State: ALoCoQmQfWcBng9u5LqQufs6ha5WQ3FNOuIp9jgAcfimrLYD+UsSAHc5Adm3ov/nRWpQnwG1EFUW X-Received: by 10.42.21.207 with SMTP id l15mr14237236icb.8.1401442754650; Fri, 30 May 2014 02:39:14 -0700 (PDT) Received: from localhost.localdomain (host109-148-113-200.range109-148.btcentralplus.com. [109.148.113.200]) by mx.google.com with ESMTPSA id kw1sm4289587igb.4.2014.05.30.02.39.11 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 30 May 2014 02:39:14 -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, rui.zhang@intel.com, eduardo.valentin@ti.com, ajitpal.singh@st.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: Fri, 30 May 2014 10:38:34 +0100 Message-Id: <1401442715-6350-6-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1401442715-6350-1-git-send-email-lee.jones@linaro.org> References: <1401442715-6350-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=unavailable 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"; + }; }; };