Message ID | 874mdy2znc.wl%kuninori.morimoto.gx@renesas.com (mailing list archive) |
---|---|
State | Deferred |
Delegated to: | Simon Horman |
Headers | show
Return-Path: <linux-renesas-soc-owner@kernel.org> X-Original-To: patchwork-linux-renesas-soc@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 8AABD9F818 for <patchwork-linux-renesas-soc@patchwork.kernel.org>; Thu, 28 Jan 2016 02:46:10 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CB0C620303 for <patchwork-linux-renesas-soc@patchwork.kernel.org>; Thu, 28 Jan 2016 02:46:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0E2EC202FE for <patchwork-linux-renesas-soc@patchwork.kernel.org>; Thu, 28 Jan 2016 02:46:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S967720AbcA1CqI (ORCPT <rfc822;patchwork-linux-renesas-soc@patchwork.kernel.org>); Wed, 27 Jan 2016 21:46:08 -0500 Received: from relmlor4.renesas.com ([210.160.252.174]:29654 "EHLO relmlie3.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S965155AbcA1CqF (ORCPT <rfc822;linux-renesas-soc@vger.kernel.org>); Wed, 27 Jan 2016 21:46:05 -0500 Received: from unknown (HELO relmlir3.idc.renesas.com) ([10.200.68.153]) by relmlie3.idc.renesas.com with ESMTP; 28 Jan 2016 11:46:04 +0900 Received: from relmlac3.idc.renesas.com (relmlac3.idc.renesas.com [10.200.69.23]) by relmlir3.idc.renesas.com (Postfix) with ESMTP id A509C5FE45; Thu, 28 Jan 2016 11:46:04 +0900 (JST) Received: by relmlac3.idc.renesas.com (Postfix, from userid 0) id 8EDE31806F; Thu, 28 Jan 2016 11:46:04 +0900 (JST) Received: from relmlac3.idc.renesas.com (localhost [127.0.0.1]) by relmlac3.idc.renesas.com (Postfix) with ESMTP id 872AC1800A; Thu, 28 Jan 2016 11:46:04 +0900 (JST) Received: from relmlii1.idc.renesas.com [10.200.68.65] by relmlac3.idc.renesas.com with ESMTP id MAK29716; Thu, 28 Jan 2016 11:46:04 +0900 X-IronPort-AV: E=Sophos;i="5.22,356,1449500400"; d="scan'";a="203170225" Received: from mail-sg2apc01lp0244.outbound.protection.outlook.com (HELO APC01-SG2-obe.outbound.protection.outlook.com) ([65.55.88.244]) by relmlii1.idc.renesas.com with ESMTP/TLS/AES256-SHA; 28 Jan 2016 11:46:03 +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 HKXPR06MB1015.apcprd06.prod.outlook.com (10.161.180.156) with Microsoft SMTP Server (TLS) id 15.1.390.13; Thu, 28 Jan 2016 02:46:01 +0000 Message-ID: <874mdy2znc.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Subject: [PATCH 3/4][RESEND] ARM: shmobile: r8a7791: enable to use thermal-zone User-Agent: Wanderlust/2.15.9 Emacs/24.3 Mule/6.0 To: Eduardo Valentin <edubezval@gmail.com>, Zhang Rui <rui.zhang@intel.com> CC: Linux-Renesas <linux-renesas-soc@vger.kernel.org>, Wolfram Sang <wsa@the-dreams.de>, Simon <horms@verge.net.au>, Magnus <magnus.damm@gmail.com>, Linux-Kernel <linux-kernel@vger.kernel.org> In-Reply-To: <878u3a2zqt.wl%kuninori.morimoto.gx@renesas.com> References: <878u3a2zqt.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: Thu, 28 Jan 2016 02:46:01 +0000 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: OS1PR01CA0049.jpnprd01.prod.outlook.com (25.164.162.31) To HKXPR06MB1015.apcprd06.prod.outlook.com (25.161.180.156) X-Microsoft-Exchange-Diagnostics: 1; HKXPR06MB1015; 2:fLO3Cva/O9LyHhzPwItheSdm3cVFCVf3t5Hk61Q+x6wyqN2dDDaVjFHp9UJfB7RnZ46wufuiWPcxk+4GkgFJ6arHnlsxImrEYqJf7TDjfbiZP5iu8+tzTNSWYAS5fOPAO2ymlDV/oHx/Jkg6CVe4kw==; 3:SpxSkdZC1lR8F0DHV2VpVbq4BlXvzKeJ9JiKWgEemifm5Gv18oE98wLkOs4BllBo7oQ3g3r0xjWQW0HI2HMY5FCQ1efUh0IUccxUDdBrGv1TpAuRnzdCEN35Z4j1wf6z; 25:VXZ5j+DNo/wYTIUy/6VFIchUhEFNDwqoAm/0qgMZf4s0LxV0utM6wAZOxt15OcQLFTIV/rBl616cdJH0HCNd/OsLMLdhlR1KyFErnl5WMMrB5M0RRV36owe4BLlgOi2PjkgQBZYQYo9JGblHi0ht9RR35l1Lv0aN1nEiYOehuVrnBjin5bHi9vlCj7BYRCaypfNdU9JB2NhbItVHk59yxpNK5he2wWu+ha88nghxPfJcOzY92bBon3Ot8n81DORR X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:HKXPR06MB1015; X-MS-Office365-Filtering-Correlation-Id: b97dcfe1-4975-4ef8-1945-08d3278d2933 X-Microsoft-Exchange-Diagnostics: 1; HKXPR06MB1015; 20:DxqWFXTilQx1hP+XyS/i8nlJ+t+E6TUf1TTJEPuDJ6lyCbyfuChqd16erVyzBOBnqCC1p3HHKgFxu3lIMoITsjFMQ6jwzvN3n4VZTDW8ds3RAF5MnT0L9JqoP/R9BiAFL8+xRsyFLS8OSG9aRDUxC1OBUjlICZhq/Tj7ELtwyoRsk1FkfOXTQDcNWj6mgM6GzMcPPSEeZi4dFbRU1DuPymdb1KuxCYmlIZdgtF8sZ3XD6gGJqXnsPKzPzQCWdk8Qhryh/WgWeH9zaEZxSWYdvy7O3UaoJmafr5n0ct4xUcisAMssNGynHKF0u3+D9xrCxKB+EQEkdxEeZkzcu1ioVwYROAyRHDzST3VqW4PgHPrtdho+Lt8cCwQaUB+rvDqaLsrczyOGjVVzbhIil2DgKcktfdvK9mz4qZvpxTmBr48xs6qlZpGTizqOgTzYXNbuIF+VGIMuuk+fbptPnrNWMq4IpgnBzJWTJKdiQAjPGp7wPG7tDY6y4d1cvs3RyToc; 4:kP5hNmhGijovfkUeT88ENPOK01QB4EZwo7pRnE4s/nuxFKMVHhxQW14aotKmn97EpETS1b8fckprc164EJLujHNTKhlU/4vPUYx50vUTelP0I0K84/Y51k8mtWnAB6YuAL/nuvnAGoMqhuBfLYO+0BEDnoYcZ211Xw0UVk6jGwOPY+PS18QSmaPY7SMC1mnUUttMiq88fLRoOYHBwoxIx/XdhGE+pUxdd/hGaW+EdXeYkM8vNpIqcsJEKJN2Cd0wLG97rPJQj/OCD4ccKUNoSXwkPXIUcaCFi84nSCksWPjq7g3mkPaiEl5AtrnLM5Z3f4CU6KnfTXkomUgRwvX9BHIBeOHeqWryqMHPT/eayfqdT0BwVBiTib5Bp53N0uTHO2HQlJ477GTrrPsaVLfKnL/jbFkiAh1oPXgYgH NOOnQ= X-Microsoft-Antispam-PRVS: <HKXPR06MB1015A4262C54146332CFFAD3D4DA0@HKXPR06MB1015.apcprd06.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(85106069007906); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046); SRVR:HKXPR06MB1015; BCL:0; PCL:0; RULEID:; SRVR:HKXPR06MB1015; X-Forefront-PRVS: 083526BF8A X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(979002)(6009001)(43544003)(189002)(199003)(2950100001)(5001960100002)(54356999)(3846002)(23726003)(1096002)(81156007)(77096005)(229853001)(19580395003)(106356001)(5001770100001)(66066001)(97736004)(6116002)(189998001)(105586002)(4001350100001)(3470700001)(5008740100001)(101416001)(76176999)(47776003)(50986999)(42186005)(122386002)(36756003)(2906002)(586003)(53416004)(4326007)(19580405001)(92566002)(83506001)(46406003)(50466002)(5004730100002)(69596002)(87976001)(86362001)(33646002)(40100003)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1102; SCL:1; SRVR:HKXPR06MB1015; H:morimoto-PC.renesas.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HKXPR06MB1015; 23:Od8Te5yA3D4Rw7Et0GRMUiltM9xIBXUI0TbywMp3Q?= =?us-ascii?Q?EfG4YnRjzs0OxzGQE+bosTjdPIJOfH4DuXUpfcVkBa3m+PThMbyrzhdklZwI?= =?us-ascii?Q?Jk8XXecn2Jt4vvPQ2cxLxdFOifatdN5t+jxM9zkjlf0BFVaXPzU/zMInZWbU?= =?us-ascii?Q?oBgGRDXc/5NoTm4/VdbnMQaOuETlEA+8E1dF9IaPkGNmshwPllmIi/wW+LeC?= =?us-ascii?Q?Mm+9tlg67Zlb8Z6JgOQ1Sng5zhrqdfuTPmme5Cd/243fuL6XVZgjUNlw4kJp?= =?us-ascii?Q?1xFzU6aqEQrFbfBI8pkprgJxcSdpsYWQ9qdBQkMP/m3qr/AAIA21mMmt4QG8?= =?us-ascii?Q?5yNt+YjU/AaBDPxEnqB1t7icl9wJzr/dMi8Ic1rRVlr8VR0ubfEXXDgEwF8q?= =?us-ascii?Q?G6b3YrV1ZNJSXacvG8RYWK2oSslZ4IT4r8JU3+/eZq4DRZSV6cqjsWarmRhj?= =?us-ascii?Q?ZvVJlP/3gxfPtbEByBQe1CTQ6/kAJ0dnHhXbnsypXPVejjdW4XGeQ8oDD4sB?= =?us-ascii?Q?61gzoAOOEdEebiTyMVuyitMv3eYkqRTCj3BgaQW4lBZcD1NFOG2LRRRZb5zy?= =?us-ascii?Q?ZJGWb07RmjOcGrt5f+5664of6vUHBwCQ1KHDcrw61gHbN1wEle9vVJ1R7Y20?= =?us-ascii?Q?i8QEBo0SvhE+f4tJ6dfH0ZuV7IrkRqydTGosYkL74xcFenOuYwdN1IEGuylt?= =?us-ascii?Q?miHOgwIYBIsaFvqQpY2ca9nmLIllYP+nYy1x+4LYfN+bOxU/km2xOS+tVffH?= =?us-ascii?Q?ZXfS9NBMcEkH4AyL77wPLJJYORfVbnvntYxsp+FSRN7oNLV2tBweaiucJlvm?= =?us-ascii?Q?AcJGr0LNJ5/TfLKCfDo7H2RvaPjpLmX3foCyObdK9bumEQdJWq1wkjtgXpng?= =?us-ascii?Q?fFGeNVBCYS1w2eSdoPtw9fOvG7MREUlf/NxRJnz9oJwCM02kM3lf45jCd/cb?= =?us-ascii?Q?5tT5tLsdAg9Pn9QMAENpcEa45MOUi+Ll9aIx80kh2uLwMr7RaZa0N6b9Y+/3?= =?us-ascii?Q?XZtwMtm4P8FMjqEfcoHUUvpCAmF18ZiFssxA6DSSiBWTDXTT7+M6RcrIvx19?= =?us-ascii?Q?EuD7/i4NfvZOxp4Zem9t0aewCNXdvWesdBmZEYks4bgVflhcT33YL3xLZtI9?= =?us-ascii?Q?kd7gp8s1+27FUgTCSP2eKTUqFWVt2uXgF3okV3PV5CvnEmDvnGJt4P5S4B8o?= =?us-ascii?Q?vAJCPXDz45kMfXUAywjCo1jd78/mjfnb6730gpZszc3fCuhm1PwOkjR37StO?= =?us-ascii?Q?vwrL93+oSmEucHbjrusgsqBUi8GaDJ9fNpZtERXos99jqjNPbv3RtwelY+/p?= =?us-ascii?B?UT09?= X-Microsoft-Exchange-Diagnostics: 1; HKXPR06MB1015; 5:Tss0HyPFla1v7dYfbfkdm0jmT2CPYUdAWuBFM8llhYlzilHdAgPW+JJBgRfsT+hXSbAwUdaDFpFhFa0Wf4zD++J9uGXudgLTfdXApVUtIfNL3tkUeTb/O32ZZ7GmEbr9AZYM0RRrO0ghuY52kiJFXA==; 24:SFq6GNYbiPkS2jeBNaeCXwPOw1qe9Y0QWZNOaa4QITj4LYR2wxe6+mWYCg5Q70DKO0IIAJ+BzSSge/8j40lUl4xhr5dPKIWYBIlBS4AvsIE=; 20:FH2/o76wxLMO6Lz+jEQAPv6KMJfDl7hV/pbLp8nBMNU8JA9/tLj7bnB94QZgtAHkcVuIOT/K7/cXmincqGNeMkN1Mgy+c1N0LFJDfi/yz4iEYCU4gxZvH7Py5cq4utt9mS/yXjqbtuCSVSa0rBkAfxjt6q/lWKFbnKai8+i7X5A= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Jan 2016 02:46:01.7271 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: HKXPR06MB1015 Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: <linux-renesas-soc.vger.kernel.org> X-Mailing-List: linux-renesas-soc@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=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 |
diff --git a/arch/arm/boot/dts/r8a7791.dtsi b/arch/arm/boot/dts/r8a7791.dtsi index 2a369dd..3acebc8 100644 --- a/arch/arm/boot/dts/r8a7791.dtsi +++ b/arch/arm/boot/dts/r8a7791.dtsi @@ -69,6 +69,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>; @@ -185,12 +204,15 @@ power-domains = <&cpg_clocks>; }; - thermal@e61f0000 { - compatible = "renesas,thermal-r8a7791", "renesas,rcar-thermal"; + thermal: thermal@e61f0000 { + compatible = "renesas,thermal-r8a7791", + "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 R8A7791_CLK_THERMAL>; power-domains = <&cpg_clocks>; + #thermal-sensor-cells = <0>; }; timer {