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: 31425 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f197.google.com (mail-ob0-f197.google.com [209.85.214.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C9AEC20BF9 for ; Thu, 5 Jun 2014 15:08:47 +0000 (UTC) Received: by mail-ob0-f197.google.com with SMTP id vb8sf5192312obc.0 for ; Thu, 05 Jun 2014 08:08:47 -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=N9LFSv+7N47eYOkZvkpEWbB/RLdkAXJoxvYvMgqNG6g=; b=gqmTDOmXxudllb/+Uc/3L5M6otWikblSJOA4/LCnm6krmKBOmL4jdNRgRgVD0iOkIc il1dQjyIzHQspxpkHnLimJ4w6OQNRs2foIkcaNtYjfEK58m8manzbD5/BFSzLyfjoWWt 9+8nN57so7vECmZ8E32pdG7nNtbLzgG4Obs2nosl0KNu5zZ4UEwofUSY4a9I5b9dPYve OOcvudKQjkzD/wWghPEPyJSTeE9MJFmzjwfEw17a5U6hvtv8f/IeNEYYNPIQiHaiDPnP X9vry+oR6ibtsQdrYJ6Skf+aOdDOZ+tAcHSxZtqJ3lGKywl1iDna09t0uZQuzMF76F9V fbYg== X-Gm-Message-State: ALoCoQlmYRr8l6SdrrHy/lAO3UPQ6a5PJhrdA9A93sJ2z2+lab+Z9+Hvv89DprDI9ZsFB+eOrvVV X-Received: by 10.51.17.10 with SMTP id ga10mr5935880igd.4.1401980927304; Thu, 05 Jun 2014 08:08:47 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.29.225 with SMTP id b88ls175310qgb.32.gmail; Thu, 05 Jun 2014 08:08:47 -0700 (PDT) X-Received: by 10.52.3.42 with SMTP id 10mr8171268vdz.78.1401980927085; Thu, 05 Jun 2014 08:08:47 -0700 (PDT) Received: from mail-ve0-f171.google.com (mail-ve0-f171.google.com [209.85.128.171]) by mx.google.com with ESMTPS id fe3si3891520vec.43.2014.06.05.08.08.45 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 05 Jun 2014 08:08:45 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.171 as permitted sender) client-ip=209.85.128.171; Received: by mail-ve0-f171.google.com with SMTP id oz11so1363734veb.16 for ; Thu, 05 Jun 2014 08:08:45 -0700 (PDT) X-Received: by 10.58.186.207 with SMTP id fm15mr51550364vec.4.1401980925552; Thu, 05 Jun 2014 08:08:45 -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.221.54.6 with SMTP id vs6csp23916vcb; Thu, 5 Jun 2014 08:08:45 -0700 (PDT) X-Received: by 10.52.191.97 with SMTP id gx1mr8193016vdc.55.1401980925204; Thu, 05 Jun 2014 08:08:45 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id is9si3881036vdb.47.2014.06.05.08.08.44; Thu, 05 Jun 2014 08:08:44 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-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 S1752626AbaFEPIc (ORCPT + 27 others); Thu, 5 Jun 2014 11:08:32 -0400 Received: from mail-ie0-f171.google.com ([209.85.223.171]:57569 "EHLO mail-ie0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752491AbaFEPHv (ORCPT ); Thu, 5 Jun 2014 11:07:51 -0400 Received: by mail-ie0-f171.google.com with SMTP id to1so1006242ieb.30 for ; Thu, 05 Jun 2014 08:07:50 -0700 (PDT) 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-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: 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.128.171 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"; + }; }; };