Message ID | 87y4bk3ieo.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 478279F1CC for <patchwork-linux-pm@patchwork.kernel.org>; Wed, 20 Jan 2016 05:58:06 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 762372034A for <patchwork-linux-pm@patchwork.kernel.org>; Wed, 20 Jan 2016 05:58:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7FA3420306 for <patchwork-linux-pm@patchwork.kernel.org>; Wed, 20 Jan 2016 05:58:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757921AbcATF6C (ORCPT <rfc822;patchwork-linux-pm@patchwork.kernel.org>); Wed, 20 Jan 2016 00:58:02 -0500 Received: from relmlor3.renesas.com ([210.160.252.173]:13613 "EHLO relmlie2.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1757746AbcATF6A (ORCPT <rfc822;linux-pm@vger.kernel.org>); Wed, 20 Jan 2016 00:58:00 -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:59 +0900 Received: from relmlac1.idc.renesas.com (relmlac1.idc.renesas.com [10.200.69.21]) by relmlir1.idc.renesas.com (Postfix) with ESMTP id 884D44727B; Wed, 20 Jan 2016 14:57:59 +0900 (JST) Received: by relmlac1.idc.renesas.com (Postfix, from userid 0) id 6A4FA8002E; Wed, 20 Jan 2016 14:57:59 +0900 (JST) Received: from relmlac1.idc.renesas.com (localhost [127.0.0.1]) by relmlac1.idc.renesas.com (Postfix) with ESMTP id 650778002D; Wed, 20 Jan 2016 14:57:59 +0900 (JST) Received: from relmlii2.idc.renesas.com [10.200.68.66] by relmlac1.idc.renesas.com with ESMTP id QAF06573; Wed, 20 Jan 2016 14:57:59 +0900 X-IronPort-AV: E=Sophos;i="5.22,319,1449500400"; d="scan'";a="203877977" Received: from mail-sg2apc01lp0246.outbound.protection.outlook.com (HELO APC01-SG2-obe.outbound.protection.outlook.com) ([65.55.88.246]) by relmlii2.idc.renesas.com with ESMTP/TLS/AES256-SHA; 20 Jan 2016 14:57:58 +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:56 +0000 Message-ID: <87y4bk3ieo.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Subject: [PATCH 4/4] ARM: shmobile: r8a7793: enable to use thermal-zone 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> User-Agent: Wanderlust/2.15.9 Emacs/24.3 Mule/6.0 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:56 +0000 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: HK2PR02CA0003.apcprd02.prod.outlook.com (25.163.104.141) To HK2PR06MB1010.apcprd06.prod.outlook.com (25.161.187.27) X-Microsoft-Exchange-Diagnostics: 1; HK2PR06MB1010; 2:S29iDpL2gEFZCcbiIIcpmdPni8nAbLxeJJBDMlWVSJzeqMwoWd1/5jlSQ9YfOJCdG8+67cQb4AohywkzhIX2ECRAb8wkA8Z0JSOYWINhVm20pSzwa0AkS0Fase/GAjuaM6VYy0lVqqTMYPLOYLNRnA==; 3:pVK6fNFx4sYG01iUbwxpaqLIgzq5g5fKHorjhcJcHpqSxvgI8YlgDUFRUC+RcWT4XzEVsw/+WGwPBjhyCR1F5RvAEBtzMqhXEZSP+/6u+OiXZvwIv2TC9F/t31rWIKYk; 25:lPxO739/HjEFLd27tx4Di44wj4oU/1bnuIqxGeITto85hebQtW+Iqz4a+6ZK5NRVk3as+VTkqwUk87C8943F8W80TvKW66TK++PBrrLg2QdBoidAwvY/sXK4xhMXiBjMIAscsyTIr+945nTxfFzLT0x+cXoHlJE/uJSacvxIr2baEEIuDrA8TYv6IloO5rl9xwaoaL9e6QjdanjLvyY+P0jTQ7FIw1IkzO6svmqPQ6JFTB9pMDGeDRYnKOUeCpiV X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:HK2PR06MB1010; X-MS-Office365-Filtering-Correlation-Id: ebdc517d-95fa-4e97-b975-08d3215ea555 X-Microsoft-Exchange-Diagnostics: 1; HK2PR06MB1010; 20:7nNA4kzmEYJYWeaOHK4AEoE+UnyjNdqnJMaBZlbhRBdq8xyRGn/o3Xq9X1Z4O7lnzx2Rlb+46uvSi48oBCTI2o5MNLBmq5gtwD77nSef3Gfwm+o4J6EZuPisZmQIlhMtwNtPYVIGUh7sx++ixMqmnRSAFfhjb8wbRytTFvrbxOv44H7mNSX98tlRS1APE9JfI4dYLkCgyypOqlJMOIgjIt3HICJC4vL8WxTi8CHnhChdE0AHVzrLlzgCnkajItx3FSLEkili3NCpJoAqUcTzxODVMcbS1oNapf+rpChiwFb/tTc5GVgqJE/DjUe1f23a3sA6PkFrr8ywqPzB6apQVSicfDhkaNVNyiAGh+WetqTdFHmKNZL2IwD8O0B7vsQsOuaFqgN1smzMC13LitM9huDIUxIjBuOWEAMRSDJGActnV3slyaWHl8+lmY32O3JdkJh899fwkKrPU+1gDjHdWbP/6oDSkPUvRkSECjQb8Mn8Og/kyJiGqtAxkZb1fIaE; 4:LwUVdJU/M8rbEg5vxN+JiGbPnNSoPsa8VVmvWOxTSzMWyUj/RrEGXZulwhcQipL1UwWBXrkpBeRL+TPFQ/1qPo64ZwGwUC0FD2wLD/OyoyFATVuBfpDfZfuBW059kS4vSpETe3a9n5CLR+7USXDOvaubbgRTfM3sAfXagzTNd73cncj2nYSdYmYsdNtNeNMUD7eKHw1BaX7lGpUP1PEUnmOMkKx0mOODttXPw1aGiFp5+54itmLgF8cwAcIKQTwd2CiXqmARRzm8CrkGjmveQXgmv6raG4fmn76zHIBcSnoog1W/SMn5asR1DKbrwaMLgG1PfFQnf9YNaCaTl0GOxHNKGEDZUZlHkgE5lF/M7eKwtlrn6UzNQdDrFZ9Zx/l1 X-Microsoft-Antispam-PRVS: <HK2PR06MB101073967759F2638735D67BD4C20@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:+4pKQnb34Gjl0CnFAJeWURBpia/FDctzdBmJ8f+J3?= =?us-ascii?Q?PbvTpnYQv6bQuhIeHoynhvK3YlP51kMa9uYE9LM0EIR/U/jvRDWLaRljzhHT?= =?us-ascii?Q?J0TJPFL9gvOkKSsh/byWhI+bQ5XolDCGldAb0lAUG/kx0qPb1OXBrGWOJsgR?= =?us-ascii?Q?G6w3uJbMeAdbzFBOM0u/4TAcLeFoortjKxsnB44FZ7a30zHUKXtIgTLdU0t1?= =?us-ascii?Q?x/dDLHwpzwnB9xHKwy1pWI1ygNw9oGQ1Il1WuPfkMyXp8KDV73fb3HNkd8VZ?= =?us-ascii?Q?OWkKOer9h3dYWlMzBr/c/eCmznUR4gg+/hDXxlEz+djX0kXXlkm6K00pc0g9?= =?us-ascii?Q?xyClKbiSu84SP5gCJqxL3T/TmuBd39VK1MD1Wg+BlQ/vEHS2sexJbSfXKnfT?= =?us-ascii?Q?KxsX/McV/ghbJwA5pUcuqZalognph1OFyqqfoCXbUTCh7eWBGAqfeGM3Wtru?= =?us-ascii?Q?1JyHbZFgR0xAXG6gjDbHG2r+VonWYp7YssWNemtq54bDLKP0OxgmsTACIXto?= =?us-ascii?Q?tgBccmLieBoAqpxAoJ5pIQmshJM+AXkBoUbc+QEZi/mjrgOS1lTcBS8i3VMN?= =?us-ascii?Q?gtdZ3/5yjv8pMY87h4pk2vtSKCYsazIRwgZ9oLP0MOWcWEbRAYvBZYSrVMw2?= =?us-ascii?Q?85Y8o0aPMy7V/2gpO3btg6AYX86OxnYZcKWXp9MXpIaB6wh1CZpH908KPg67?= =?us-ascii?Q?jst9GOawo7jw87d+svMQ7WfTCFNOgMrvKeQunC5VD5C2dAJvgDC2A7xN8zVq?= =?us-ascii?Q?5RlKp8qcRj1/XqDXJFTgl6gZqEAmUtdZsA/SfkwuNclriuNZsHec23uzGQUi?= =?us-ascii?Q?U9hk1yRsIWf/YA7J0ve1saAD8knTpvkWWrMpx8G09HS5p5ugIsDQx1HF5vUD?= =?us-ascii?Q?CDfT5j6WSz7dG6ms4S3P4gsVgbKpK5QjR9qO3MB2NdDttUxPqrFaEPE95hvR?= =?us-ascii?Q?BW9qXk23CBSrdfWxC/xW7tOtXJhgP6DHM0Q16nj+m0ufLFQhSBIDqxOm+6PN?= =?us-ascii?Q?XTgHUDz9vx1MQoPjfuj0CZYBsOy53KQJhxzVThq3YqOlzrV5FNduDmyFC7MF?= =?us-ascii?Q?5oXQubTClnD7lGoKhF/BdEvYb5qdmlEp/R0aB6UgcgvaB4Al+nOGoPvINwZl?= =?us-ascii?Q?Th0FDUnfNfy5GM4Kli+fdKdL8oj7kYfVFLuii202UW0G1+KeRJddTxrzQWNg?= =?us-ascii?Q?KprVfdH09NEa9k=3D?= X-Microsoft-Exchange-Diagnostics: 1; HK2PR06MB1010; 5:OTmEGDtVxz+Andnv0VVNaYjuufctOkL4p/RMDoJjU7VEGbGVvxTgzL703jfFFJeRLNLhCN6ey4xK4UoVRpFD4S3IvJKcXT1aOtmV93bkUYzKjrHEfJVho22L6RIS1hg6yNz2ZzqFB0L4HpOnX8h4Xg==; 24:oKVlqFpvxBzK2jfFH+pZtr5W9Lgt4jj7h/pQ76oQv0fbCBJMXSO10WrB3e7dVXRc19NfPfl14kMh9t3eFZXQIlAypAUP2BpnPy4X1kV5C4E=; 20:uRFXIXJvxMCPyA4PtouxuN7EiOTbGvgTxELmMyEsreZpk1TS7lJmwsboVsF9APSfxaiC5zizUcBVJycpcGMJ9aBwzpCMWX7AmGVwZ9Vg0t2PVTveLwIWX9NSDCavcnk8fNYsZ4m1F/IopN4fQR5dJj9l0W+vpUs4ASIszKaEpDM= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jan 2016 05:57:56.8404 (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/r8a7793.dtsi b/arch/arm/boot/dts/r8a7793.dtsi index 82c3bc9..44d07f4 100644 --- a/arch/arm/boot/dts/r8a7793.dtsi +++ b/arch/arm/boot/dts/r8a7793.dtsi @@ -54,6 +54,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>; @@ -170,12 +189,15 @@ power-domains = <&cpg_clocks>; }; - thermal@e61f0000 { - compatible = "renesas,thermal-r8a7793", "renesas,rcar-thermal"; + thermal: thermal@e61f0000 { + compatible = "renesas,thermal-r8a7793", + "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 R8A7793_CLK_THERMAL>; power-domains = <&cpg_clocks>; + #thermal-sensor-cells = <0>; }; timer {