Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932762AbbLSERM (ORCPT ); Fri, 18 Dec 2015 23:17:12 -0500 Received: from mail.kernel.org ([198.145.29.136]:58165 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932284AbbLSERK (ORCPT ); Fri, 18 Dec 2015 23:17:10 -0500 Date: Fri, 18 Dec 2015 22:17:06 -0600 From: Rob Herring To: Kuninori Morimoto Cc: Eduardo Valentin , Simon , Zhang Rui , Geert Uytterhoeven , Magnus , linux-sh@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, "devicetree@vger.kernel.org" Subject: Re: [PATCH 5/8 v6] thermal: rcar: enable to use thermal-zone on DT Message-ID: <20151219041706.GA14936@rob-hp-laptop> References: <87d1u8qzsy.wl%kuninori.morimoto.gx@renesas.com> <876100qzp6.wl%kuninori.morimoto.gx@renesas.com> <20151217203707.GD7999@localhost.localdomain> <87wpsctxjv.wl%kuninori.morimoto.gx@renesas.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87wpsctxjv.wl%kuninori.morimoto.gx@renesas.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1984 Lines: 53 On Fri, Dec 18, 2015 at 12:25:51AM +0000, Kuninori Morimoto wrote: > > From: Kuninori Morimoto > > This patch enables to use thermal-zone on DT if it was calles as > "renesas,rcar-thermal-gen2". > Previous style (= non thermal-zone) is still supported by > "renesas,rcar-thermal" to keep compatibility for "git bisect". > > Signed-off-by: Kuninori Morimoto > --- > v5 -> v6 > > - "was call" -> "was called" Except there is a typo... > - add reason why it keeps previous style > > .../devicetree/bindings/thermal/rcar-thermal.txt | 37 +++++++++++++++++- > drivers/thermal/rcar_thermal.c | 45 +++++++++++++++++++--- > 2 files changed, 75 insertions(+), 7 deletions(-) > > diff --git a/Documentation/devicetree/bindings/thermal/rcar-thermal.txt b/Documentation/devicetree/bindings/thermal/rcar-thermal.txt > index 332e625..e5ee3f1 100644 > --- a/Documentation/devicetree/bindings/thermal/rcar-thermal.txt > +++ b/Documentation/devicetree/bindings/thermal/rcar-thermal.txt > @@ -1,8 +1,9 @@ > * Renesas R-Car Thermal > > Required properties: > -- compatible : "renesas,thermal-", "renesas,rcar-thermal" > - as fallback. > +- compatible : "renesas,thermal-", > + "renesas,rcar-gen2-thermal" (with thermal-zone) or > + "renesas,rcar-thermal" (without thermal-zone) as fallback. > Examples with soctypes are: > - "renesas,thermal-r8a73a4" (R-Mobile APE6) > - "renesas,thermal-r8a7779" (R-Car H1) > +thermal: thermal@e61f0000 { > + compatible = "renesas,thermal-r8a7790", > + "renesas,rcar-gen2-thermal", > + "renesas,rcar-thermal"; Isn't having both mutually exclusive? Rob -- 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/