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: 31161 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f72.google.com (mail-oa0-f72.google.com [209.85.219.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 3114120068 for ; Fri, 30 May 2014 09:40:06 +0000 (UTC) Received: by mail-oa0-f72.google.com with SMTP id l6sf7743456oag.11 for ; Fri, 30 May 2014 02:40:06 -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=+KiOQu3ujA/ULYy5SLCZVuu7IZsEoP09DEVV82fwpVc=; b=kzAXQ8ziLS0X4JhmN52BDTYdqSUCPg73aonvZ/MLB+/U3ytqH4BuwU/pU8fO+4vn0W nhgb/qEDM/oUBi/6hXHUAAAq0eC14Qj+gBsK9sja+4TmUwgkQUGn8w45TPy8oPhQ00BR LdOk3dPZOkXckzDWSTPzSl3soLn93sTnOcRc5yeWgVh9egzzm7U5rvFg/fCuWOEAgJbv adQtBnuQTUGSy7aAmC64s1jH/g71eYubda3gT5iZsPwZr6A/A1r+THk0K0BBIC51zvoy 1ywt0fVudCm+02hgVGz581g3BPfT0Gk8a+B0WFF2ij23Xc9j6DUuxHRe6iA0004rj6HT Su1w== X-Gm-Message-State: ALoCoQlsLAUpvnnOjdvkJoNyRTji4E7XtjpktUuBJKusP8wJqgmNne/ed1rrkM+D1ILmGaLgwEOP X-Received: by 10.182.73.200 with SMTP id n8mr6014010obv.33.1401442806258; Fri, 30 May 2014 02:40:06 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.88.134 with SMTP id t6ls1011675qgd.20.gmail; Fri, 30 May 2014 02:40:06 -0700 (PDT) X-Received: by 10.220.163.3 with SMTP id y3mr12432784vcx.7.1401442806116; Fri, 30 May 2014 02:40:06 -0700 (PDT) Received: from mail-vc0-f179.google.com (mail-vc0-f179.google.com [209.85.220.179]) by mx.google.com with ESMTPS id xx2si2593546vdc.55.2014.05.30.02.40.06 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 30 May 2014 02:40:06 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.179 as permitted sender) client-ip=209.85.220.179; Received: by mail-vc0-f179.google.com with SMTP id im17so1801233vcb.10 for ; Fri, 30 May 2014 02:40:06 -0700 (PDT) X-Received: by 10.52.147.170 with SMTP id tl10mr10708033vdb.14.1401442806029; Fri, 30 May 2014 02:40:06 -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.220.221.72 with SMTP id ib8csp97474vcb; Fri, 30 May 2014 02:40:05 -0700 (PDT) X-Received: by 10.68.223.202 with SMTP id qw10mr16304368pbc.163.1401442805310; Fri, 30 May 2014 02:40:05 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ja1si4665634pbb.218.2014.05.30.02.40.04; Fri, 30 May 2014 02:40:04 -0700 (PDT) Received-SPF: none (google.com: devicetree-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932896AbaE3JkC (ORCPT + 8 others); Fri, 30 May 2014 05:40:02 -0400 Received: from mail-ie0-f174.google.com ([209.85.223.174]:59421 "EHLO mail-ie0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932862AbaE3JjP (ORCPT ); Fri, 30 May 2014 05:39:15 -0400 Received: by mail-ie0-f174.google.com with SMTP id lx4so1497581iec.33 for ; Fri, 30 May 2014 02:39:14 -0700 (PDT) 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: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: lee.jones@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.179 as permitted sender) smtp.mail=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: , 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"; + }; }; };