From mboxrd@z Thu Jan 1 00:00:00 1970 From: Geert Uytterhoeven Subject: Re: [PATCH 2/2] ARM: dts: r8a7743: Add thermal device to DT Date: Tue, 19 Dec 2017 12:44:57 +0100 Message-ID: References: <1513162673-31531-1-git-send-email-biju.das@bp.renesas.com> <1513162673-31531-3-git-send-email-biju.das@bp.renesas.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: In-Reply-To: <1513162673-31531-3-git-send-email-biju.das@bp.renesas.com> Sender: linux-renesas-soc-owner@vger.kernel.org To: Biju Das Cc: Rob Herring , Mark Rutland , Zhang Rui , Eduardo Valentin , Simon Horman , Magnus Damm , Chris Paterson , devicetree@vger.kernel.org, Linux-Renesas , Linux PM list List-Id: devicetree@vger.kernel.org On Wed, Dec 13, 2017 at 11:57 AM, Biju Das wrote: > This patch instantiates the thermal sensor module with thermal-zone > support. > > This patch is based on the commit cac68a56e34b > ("ARM: dts: r8a7791: enable to use thermal-zone") by Kuninori Morimoto. > > Signed-off-by: Biju Das > Reviewed-by: Fabrizio Castro Reviewed-by: Geert Uytterhoeven Minor nit below... > --- a/arch/arm/boot/dts/r8a7743.dtsi > +++ b/arch/arm/boot/dts/r8a7743.dtsi > @@ -250,6 +250,38 @@ > resets = <&cpg 407>; > }; > > + thermal: thermal@e61f0000 { > + compatible = "renesas,thermal-r8a7743", > + "renesas,rcar-gen2-thermal", > + "renesas,rcar-thermal"; > + reg = <0 0xe61f0000 0 0x14>, <0 0xe61f0100 0 0x38>; <0 0xe61f0000 0 0x10>? The register at offset 0x10 seems to exist on R-Mobile APE6 only, but all R-Car Gen2 .dtsis include it in the range... Not that it matters much, mapping granularity is PAGE_SIZE anyway... Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds