Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754242AbbLGHmN (ORCPT ); Mon, 7 Dec 2015 02:42:13 -0500 Received: from relmlor2.renesas.com ([210.160.252.172]:22199 "EHLO relmlie1.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754065AbbLGHmH (ORCPT ); Mon, 7 Dec 2015 02:42:07 -0500 X-IronPort-AV: E=Sophos;i="5.20,393,1444662000"; d="scan'";a="200013559" Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=kuninori.morimoto.gx@renesas.com; Message-ID: <87y4d6672t.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 v3] 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: Mon, 7 Dec 2015 07:42:02 +0000 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: OS1PR01CA0023.jpnprd01.prod.outlook.com (25.161.225.161) To HK2PR06MB1011.apcprd06.prod.outlook.com (25.161.187.28) X-Microsoft-Exchange-Diagnostics: 1;HK2PR06MB1011;2:vqYNXs0AmsUaBlwroPRl1hzBbb1TwaCX4sXSesPy+DoPg7oOojVI3x7CFLvKOtMCvodF/dBSHMop92TJnR4gqTShZ+Zum/LUmJmbLzJxwpI4vuhtvsXMF2UZ2THMEUIjIg3HgplXiagVxnBQ/C6iQg==;3:eM/Y5IHsjAAJVK6lTmDos6oSp5eOHL4b6jxrcHXtqJhBwxx6Q5wLA8JpyuK7q1tRaSwu9zYlStLk9JByC1PDht/ivArNzTTnBZPz0IAsna9jmkHmRFNm2AI5q7WYpZRF3EPY31eSUyfYYS8LkYk4F3jdB5J9MZnvkjyQcAeOnNWO+w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WmSMh7pP8B9RRjLyt4CuB1dXoFjyX88YjrBYknF6IGStbqoMhNBnIlQRk6aeVZAFhNpiVokjm54f17N61YouxghVb1TkAioWntYt++6UnLnbiwQLCt52kxgn59SWs07HLa90xiMIv1rCB9En4oyrMATXen2euELvVYL1Koi4TrJBoKbEJ231gRXYOwKT648ZOd8FpWLkqY6RfrUoY1k 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:HK2PR06MB1011;BCL:0;PCL:0;RULEID:;SRVR:HK2PR06MB1011; X-Forefront-PRVS: 078310077C X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(6009001)(189002)(199003)(5001770100001)(5001960100002)(36756003)(5004730100002)(5008740100001)(83506001)(105586002)(106356001)(50466002)(53416004)(46406003)(586003)(40100003)(6116002)(3846002)(1096002)(23726003)(87976001)(47776003)(54356999)(42186005)(86362001)(4001350100001)(50986999)(189998001)(33646002)(69596002)(66066001)(19580405001)(19580395003)(229853001)(101416001)(81156007)(97736004)(15975445007)(92566002)(77096005)(122386002)(21314002)(422495003);DIR:OUT;SFP:1102;SCL:1;SRVR:HK2PR06MB1011;H:morimoto-PC.renesas.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;HK2PR06MB1011;23:j+a7LIAEYRmdBvSCgHWUnbTKOMrSJTC3+BDZy/Hs9?= =?us-ascii?Q?fk7rF4LghbS7BjJyJd9B5j9oXGI8YpgezQe8flX6w4H+ZfK48ynv+Kf4djgN?= =?us-ascii?Q?UtrxDH+676uXynaY83RI/QpF93bMLYvK4K73wCdtFRBdLpU0vpCk67e4oe6h?= =?us-ascii?Q?UUkb9g7xxWYAsjUyyOJz3jcJD0mUiY1XaKULNOVNeVepprsMl8CVTLb130O2?= =?us-ascii?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wQkYj+bBOpS38w9H27MrfXYKxo?= =?us-ascii?Q?Ka1r9FAC5i/vj12mSRRkcuyd61YkY/U?= X-Microsoft-Exchange-Diagnostics: 1;HK2PR06MB1011;5:Z1bolGAGQGeW5XQO1yFZH6HnVRYzf+SO5OsIlTSv8dcEueWBi5GmUfOKF7PFFUjo0QSJ/h7V4cWPFEz288dum6jXeWb7diEu1trCd3mahuNNDU1m9jujIFkECz9teeOcPvAyey4ikG5/2wuVKgWFrw==;24:EIne3wgfEgt9me99nHCDq0Dx9OUjDgliXiWsZdQ6RVsDJ2kiqpQ/QP19K4NH+EME1/Bw+kJCPPv8SE9pWiBkss1ACVkWCVLJrOeqAq/FNgU=;20:1PGzT9zpGM5+CMaxIU45IH5aVgvVCHYc/NkRucdUbHSzjc6xq2RBgs+Rc9sWMlAuTBxlyTPtd0YsnZeX87GDwXMqm8ScGpLhxlf5vrJiNk/RBspp2rRGxxNKA84n2WKGMfH/if9KdvT15QbpU7n5D8qZy8nHWAQDZRxSS0v+gSU= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Dec 2015 07:42:02.2033 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: HK2PR06MB1011 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1962 Lines: 41 Hi These are v3 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-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html -- 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/