Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932710AbbLHF02 (ORCPT ); Tue, 8 Dec 2015 00:26:28 -0500 Received: from relmlor3.renesas.com ([210.160.252.173]:57772 "EHLO relmlie2.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751335AbbLHF0Z (ORCPT ); Tue, 8 Dec 2015 00:26:25 -0500 X-IronPort-AV: E=Sophos;i="5.20,397,1444662000"; d="scan'";a="201319493" Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=kuninori.morimoto.gx@renesas.com; Message-ID: <87vb895x9d.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto To: Simon , Zhang Rui , Eduardo Valentin , Geert Uytterhoeven CC: Magnus , , , , "devicetree@vger.kernel.org" Subject: [PATCH 0/8 v4] enable to use thermal-zone on r8a7790/1 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: Tue, 8 Dec 2015 05:26:20 +0000 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: HK2PR02CA0041.apcprd02.prod.outlook.com (25.163.104.179) To HKXPR06MB1016.apcprd06.prod.outlook.com (25.161.181.156) X-Microsoft-Exchange-Diagnostics: 1;HKXPR06MB1016;2:eXlcdZv0TKE8lioZE8IXdebyldAihIIjC9uYLOvGaJQUHSnHTWpTXYtc9oEKlORoDpOonlRfgCLWIDeDVyS7ohj3mVk/Evm91ni05rPrew0VN382ZwI/SfvktMAWhzZhicede9jRveJ7a0BbNi5cnw==;3:a+3pTAuyXMo+Q+NezR8XtF1YIxbH0mI9oHJ8rnPg1GgelzTVqi+ZZS/3gLfw8mBLr8boDm1YnUBv21vjvY4Kxcs9FahE3Z1a6EwEcLf3NzJ7MvRvEBZDDFVJk8vzqDoJ;25:KAatGMQTtAAdU/+ltELWhiyI718By2/S//6XY9VFBk9+gBdR9h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fseKGcbKTrQ4J+zy5DCbjSMnTPPsBnMyfJoxUl4HNp8DkQGJzo4DBWlmcethdm+GBfzMWNufP4CCwboMz+KnG4H0s7p9ixAIRu6VNJziLyoSo1UFIC9Z X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(2401047)(5005006)(520078)(8121501046)(3002001)(10201501046);SRVR:HKXPR06MB1016;BCL:0;PCL:0;RULEID:;SRVR:HKXPR06MB1016; X-Forefront-PRVS: 0784C803FD X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(6009001)(189002)(199003)(86362001)(586003)(54356999)(6116002)(105586002)(42186005)(3846002)(69596002)(106356001)(5004730100002)(19580395003)(53416004)(5008740100001)(1096002)(40100003)(23726003)(50466002)(33646002)(122386002)(36756003)(81156007)(97736004)(92566002)(5001960100002)(5001770100001)(229853001)(46406003)(77096005)(47776003)(189998001)(83506001)(50986999)(101416001)(87976001)(4001350100001)(66066001)(21314002);DIR:OUT;SFP:1102;SCL:1;SRVR:HKXPR06MB1016;H:morimoto-PC.renesas.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;HKXPR06MB1016;23:EZ3alIlyDureb2fGMf9nSgipTS650zkZKTPg1W+gh?= =?us-ascii?Q?rxb3MEq2CobBpF0mixND6goN4NqMY7cEChcBxYTSgDSI0M66vtmXGgMphSoc?= =?us-ascii?Q?eT/B+2NXe/P/gpb1M0ujkvUwV9IEmKF+MkrefNCZiebPWnmDQhwXkhiusKcy?= =?us-ascii?Q?WziPRD++zOl4IgTNpoq2/Bgx8eJEj7Xi2qqPTSsMiLa8jZRt9IUeJg0RII9p?= =?us-ascii?Q?AtYvUCiYikM3mmcw3TqLRnVvmWd0gjzRYFNLMCgRrskQ8pENMc7Z9oQ6JLdD?= =?us-ascii?Q?y+4JwqjDDRPf/yLWSs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bFtEKkiR7lal+Xo2hYDiPZW0+zwXNJJPTEYLb5bkx/4KjIXeCevjfR9ePtAuAwjJWqSdhuti6kclYoIlw==;24:Naqg1IxbnjH6HXDl0Hh4hMqzN28JvzcMgZm5e0Z8XXtXPU2OxBrnnIaL5qP/Cjw2Vs+A7d7KypM736Wu1yzBsFkLUsttZrukxNYhNTsHNBE=;20:p8QXZvzBrZsdmvRl7yB8Du/vUmHfE7U/RngQtJPrDNLvcRL+/K6pBmnCTzd+mpqWGIHKmQbJB1Rhe41J3yANHO0y60QrNrT2mic5JVPLYiX5DEs7eCCNQUalHIFdbv7ZTicmOJ8kJxUtvfTobO/t8YfpUlnE1rV3KPjwVpJrP2I= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Dec 2015 05:26:20.4203 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: HKXPR06MB1016 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1578 Lines: 33 Hi These are v4 of thermal-zone support for r8a7790/r8a7791. Mainly, it cares return value of get_temp() I think 8) is needed on of-thermal (?) Kuninori Morimoto (8): 1) thermal: rcar: move rcar_thermal_dt_ids to upside 2) thermal: rcar: check every rcar_thermal_update_temp() return value 3) thermal: rcar: check irq possibility in rcar_thermal_irq_xxx() 4) thermal: rcar: retern error rcar_thermal_get_temp() if no ctemp update 5) thermal: rcar: enable to use thermal-zone on DT 6) ARM: shmobile: r8a7790: enable to use thermal-zone 7) ARM: shmobile: r8a7791: enable to use thermal-zone 8) thermal: of-thermal: of_thermal_set_trip_temp() call thermal_zone_device_update() Documentation/devicetree/bindings/thermal/rcar-thermal.txt | 37 +++++++++++++++++++++++++++++++++++-- arch/arm/boot/dts/r8a7790.dtsi | 26 ++++++++++++++++++++++++-- arch/arm/boot/dts/r8a7791.dtsi | 26 ++++++++++++++++++++++++-- drivers/thermal/of-thermal.c | 2 ++ drivers/thermal/rcar_thermal.c | 96 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------- 5 files changed, 160 insertions(+), 27 deletions(-) Best regards --- Kuninori Morimoto -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/