Message ID | 871t9c4x0d.wl%kuninori.morimoto.gx@renesas.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show
Return-Path: <linux-pm-owner@kernel.org> 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.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 7D4999F1CC for <patchwork-linux-pm@patchwork.kernel.org>; Wed, 20 Jan 2016 05:57:22 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A8DB220340 for <patchwork-linux-pm@patchwork.kernel.org>; Wed, 20 Jan 2016 05:57:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B4269202FF for <patchwork-linux-pm@patchwork.kernel.org>; Wed, 20 Jan 2016 05:57:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750971AbcATF5S (ORCPT <rfc822;patchwork-linux-pm@patchwork.kernel.org>); Wed, 20 Jan 2016 00:57:18 -0500 Received: from relmlor3.renesas.com ([210.160.252.173]:52557 "EHLO relmlie2.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750840AbcATF5R (ORCPT <rfc822;linux-pm@vger.kernel.org>); Wed, 20 Jan 2016 00:57:17 -0500 Received: from unknown (HELO relmlir1.idc.renesas.com) ([10.200.68.151]) by relmlie2.idc.renesas.com with ESMTP; 20 Jan 2016 14:57:15 +0900 Received: from relmlac2.idc.renesas.com (relmlac2.idc.renesas.com [10.200.69.22]) by relmlir1.idc.renesas.com (Postfix) with ESMTP id EADC847245; Wed, 20 Jan 2016 14:57:15 +0900 (JST) Received: by relmlac2.idc.renesas.com (Postfix, from userid 0) id CB39D2806E; Wed, 20 Jan 2016 14:57:15 +0900 (JST) Received: from relmlac2.idc.renesas.com (localhost [127.0.0.1]) by relmlac2.idc.renesas.com (Postfix) with ESMTP id C57C62806D; Wed, 20 Jan 2016 14:57:15 +0900 (JST) Received: from relmlii1.idc.renesas.com [10.200.68.65] by relmlac2.idc.renesas.com with ESMTP id QAL15087; Wed, 20 Jan 2016 14:57:15 +0900 X-IronPort-AV: E=Sophos;i="5.22,319,1449500400"; d="scan'";a="202621941" Received: from mail-sg2apc01lp0239.outbound.protection.outlook.com (HELO APC01-SG2-obe.outbound.protection.outlook.com) ([65.55.88.239]) by relmlii1.idc.renesas.com with ESMTP/TLS/AES256-SHA; 20 Jan 2016 14:57:14 +0900 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=kuninori.morimoto.gx@renesas.com; Received: from morimoto-PC.renesas.com (211.11.155.144) by HK2PR06MB1010.apcprd06.prod.outlook.com (10.161.187.27) with Microsoft SMTP Server (TLS) id 15.1.365.19; Wed, 20 Jan 2016 05:57:13 +0000 Message-ID: <871t9c4x0d.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Subject: [PATCH 2/4] ARM: shmobile: r8a7790: enable to use thermal-zone User-Agent: Wanderlust/2.15.9 Emacs/24.3 Mule/6.0 To: Eduardo Valentin <edubezval@gmail.com> CC: Zhang Rui <rui.zhang@intel.com>, Simon <horms@verge.net.au>, Magnus <magnus.damm@gmail.com>, Linux-Kernel <linux-kernel@vger.kernel.org>, <linux-pm@vger.kernel.org> In-Reply-To: <874me84x3p.wl%kuninori.morimoto.gx@renesas.com> References: <874me84x3p.wl%kuninori.morimoto.gx@renesas.com> MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset="US-ASCII" Date: Wed, 20 Jan 2016 05:57:13 +0000 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: TY1PR01CA0015.jpnprd01.prod.outlook.com (25.161.131.153) To HK2PR06MB1010.apcprd06.prod.outlook.com (25.161.187.27) X-Microsoft-Exchange-Diagnostics: 1; HK2PR06MB1010; 2:HX/51lZ5WqHKjVyLEvrvrY8EEnMREo14gmlxO2zy13OLEpTdwdYJIHtu1UJtJtGISTXOAQRks1oxQcRU0jJbQ2Xj9N14GjM5Fp5pysIkpLbCVjF6/f0Qt5N4Bk/2EAoVJIOavvmZ6Ctu4bKtluJGGw==; 3:XYf5cFKHKQzDfukiBgWFZuwnyE0dAAosPHpDTfJC9BJSfLoqoMC7RFl+p3nfSNw5+FPq8OinTiNHLSkMTXtNoulz0ww4aFUWXLpj6PdF/a4KWgrUJydwHy04qjQo1Rk1; 25:D7v7NmJE6jY5sOtS6WIKmnP/eFKYuzWCiSxahNaDUQDE/Ty/CY1kKEPfqJo8uXRJBQBHKo24eig6ZBWWxLQ49t2RB4y+4Xn6GI4YR+NVQbSflhtZhRr/N/qBptKJUVotFMcDeyA2/XxF//q9rdQBs5jttT1pngEOb6DIAN+ze9CySJB2GKC9OBJgibXz5hx6aHLr1mZpvhlnpIbo1YntuXCy3LL6q3CFJQDocG4VNsnY8vvI2+Sp9Zm1j++H4l1G X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:HK2PR06MB1010; X-MS-Office365-Filtering-Correlation-Id: 589037f9-77b9-46b4-388f-08d3215e8b50 X-Microsoft-Exchange-Diagnostics: 1; HK2PR06MB1010; 20:iamgOGVA4D5IXgXyGhHRVKcJnjsML9LnbBkn3nPqOD1/0LG1FO0Q8QFzFfcSqyWz6eQ+yIb+fTKdLJSnMhvosnykw0sDShznhRJS4DsQ60NA205Ap6hnTGPD6SUinnTUk0zRHsoAMvfdfX6hGY00fQKxlW78mb2lmLl0NBSPA3oJqFAhPl1vuqCSxpoFfL1UHk67IxVfoh2Gw/Jaw5fxHHmwk1AXb49yl3512oubGZbKnHKVpsDSwFAINezc3ju+Jle9f6flwzy8eP3NWNveO/4bqe6sAdQEknGYYVy5sTTO0Y3HpZbpyrlg3E2rDhAZw8heTXn2j52v5P4CEmtoq010g2k077Unjez6f3a1AFzE4FOp+WMEHcrtVWGgYgsXIP1c9pAsaK2ST4GvMha9C2MUp3ohoYTvju1lfmjBxTBHMlJ/J8Mf033EpilKNxDaatFX+zyvpeMGtYUFl9ldLejeMq2xJL0nIrm5sjK6IhS7hdyXcYH3w9k2W1zJRpaJ; 4:iZCDZ5Zij5idWNCBFKJHL8HgbbS1il/4O/SELnKN3Rsgb0KXT0Gh+Oq8pxHdmRE9V8R1O8O1PpU68/oPVaM7s5t+6ZwSNVh2SFUft3zn7EJvKoNg++eKpIwFPSArVKbKDfwlayW+wx8RElHqHw9k+sp9rJRmuCl2G1p321DfbRyR1KkniU3iuPjszIluTse2TUAY001/1udihUk+PSLxquZTHI2qfAri3GarC1fkg5gdWh+FtQ8mZWPpbSV4K9SeptrYpX51o/du7YNe1fl1tXs7QS4fLVw6ltnaClzx/x/VWI1SBv/opugTIP4RTXMJleEjk8TXsQKpfR1UgccecoYDR4uuZbSgAeG4qSlHWTTU3ytutebc8qe88PJ4mlNR X-Microsoft-Antispam-PRVS: <HK2PR06MB101011165D6E132EA3C28BFBD4C20@HK2PR06MB1010.apcprd06.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(520078)(5005006)(10201501046)(3002001); SRVR:HK2PR06MB1010; BCL:0; PCL:0; RULEID:; SRVR:HK2PR06MB1010; X-Forefront-PRVS: 0827D7ACB9 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(189002)(43544003)(199003)(86362001)(69596002)(110136002)(5008740100001)(5001960100002)(2950100001)(5004730100002)(101416001)(87976001)(83506001)(4001350100001)(42186005)(19580405001)(19580395003)(33646002)(54356999)(50986999)(76176999)(46406003)(53416004)(105586002)(189998001)(2906002)(81156007)(40100003)(106356001)(1096002)(66066001)(4326007)(92566002)(77096005)(36756003)(229853001)(23726003)(50466002)(97736004)(122386002)(6116002)(3846002)(586003)(47776003)(1411001); DIR:OUT; SFP:1102; SCL:1; SRVR:HK2PR06MB1010; H:morimoto-PC.renesas.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HK2PR06MB1010; 23:rF4Tz++V+zA7MMLB/3GjjjIGk7RloeW9WJWPdWilf?= =?us-ascii?Q?TiAh/z02+EXqCipzGK+fGwcu/zbr/8gSq8uu6bTLZuJk5eZC3RKIFvY1BP/A?= =?us-ascii?Q?ZXjbLS96KJIU1jlPn982lfLdGQbEzaY8VE/kifacnp1nFCW61Jx0QWbz5upd?= =?us-ascii?Q?sMdcjaeXabl7cQrc/zqp3h8+nJaR7E6qZHvNjqUQMwg1FlUipUqHVesbp2uD?= =?us-ascii?Q?LXkGGSoF5WpujuXvVjX94tW6DSZC/MbKTCvFnX3vMsy4zAyvh0VbTNnSryeZ?= =?us-ascii?Q?pI4vbSZQRxKUhrNp4KrRkf+7GwsyhoKmxVIFSfG7LkBvK47KXM8laXMiRjMm?= =?us-ascii?Q?mIZKB9p0W9GYBT3TrwJpH1MyrLeo75/++6YY+/XGmhbfH7+xi4q4GrRqfeWP?= =?us-ascii?Q?1ybFIYcnERNqzzccQqz1apjVEji0JFvQ+kpH5Lq2FjmCaL/jzXUGyKsWG/X3?= =?us-ascii?Q?gEgMisjLPa8yEC6TtoN75XKfhGUFM+88d5g666huc6XTzI8Ht9QwwIcwAIBy?= =?us-ascii?Q?PZGTMTL4mfOcT1lzU9OzCGhlmujYAb94nxiclzZiZWC7mrwZwQIIInrCSla/?= =?us-ascii?Q?FaDHVR+0Y9o2j0zxgWMuE394cUzfy3U93ryQQcnrTZYdqa6FmrfbdNbsyHJF?= =?us-ascii?Q?HA1vt6QR1cLc3BEEuclg+qhUgNOWd7FNs41JCXHIZC25eCMvuZ//dUpz8n1L?= =?us-ascii?Q?ZEVy5s7kE1jDdQlXle0MdIJ7ctLOwHx0Aigu0Bp6v5OmeA0nq6IcEqRl7oYz?= =?us-ascii?Q?H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as.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jan 2016 05:57:13.2304 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: HK2PR06MB1010 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: <linux-pm.vger.kernel.org> X-Mailing-List: linux-pm@vger.kernel.org X-Spam-Status: No, score=-6.9 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 |
diff --git a/arch/arm/boot/dts/r8a7790.dtsi b/arch/arm/boot/dts/r8a7790.dtsi index bbe28df..7bf2854 100644 --- a/arch/arm/boot/dts/r8a7790.dtsi +++ b/arch/arm/boot/dts/r8a7790.dtsi @@ -112,6 +112,25 @@ }; }; + thermal-zones { + cpu_thermal: cpu-thermal { + polling-delay-passive = <0>; + polling-delay = <0>; + + thermal-sensors = <&thermal>; + + trips { + cpu-crit { + temperature = <115000>; + hysteresis = <0>; + type = "critical"; + }; + }; + cooling-maps { + }; + }; + }; + gic: interrupt-controller@f1001000 { compatible = "arm,gic-400"; #interrupt-cells = <3>; @@ -202,12 +221,15 @@ power-domains = <&cpg_clocks>; }; - thermal@e61f0000 { - compatible = "renesas,thermal-r8a7790", "renesas,rcar-thermal"; + thermal: thermal@e61f0000 { + compatible = "renesas,thermal-r8a7790", + "renesas,rcar-gen2-thermal", + "renesas,rcar-thermal"; reg = <0 0xe61f0000 0 0x14>, <0 0xe61f0100 0 0x38>; interrupts = <0 69 IRQ_TYPE_LEVEL_HIGH>; clocks = <&mstp5_clks R8A7790_CLK_THERMAL>; power-domains = <&cpg_clocks>; + #thermal-sensor-cells = <0>; }; timer {