Skip to contentSkip to conversation

dt-bindings: thermal: rcar-gen3-thermal: update register size in example

PATCH In review Niklas Söderlund 5 participants 6 messages Apr 17, 2018 – Apr 24, 2018

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dt-bindings: thermal: rcar-gen3-thermal: update register size in example

From: Niklas Söderlund <[email protected]>

The datasheet have been expanded with more registers and the DT files have been updated with the new size. This change updates the example so writing new DT files can use the enchanted driver which uses the new registers.

---
 .../devicetree/bindings/thermal/rcar-gen3-thermal.txt       | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.txt +3 -3
index fdf5caa6229b4fff..39e7d4e61a63c038 100644
@@ -27,9 +27,9 @@ Example:
 
 	tsc: thermal@e6198000 {
 		compatible = "renesas,r8a7795-thermal";
-		reg = <0 0xe6198000 0 0x68>,
-		      <0 0xe61a0000 0 0x5c>,
-		      <0 0xe61a8000 0 0x5c>;
+		reg = <0 0xe6198000 0 0x100>,
+		      <0 0xe61a0000 0 0x100>,
+		      <0 0xe61a8000 0 0x100>;
 		interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>,
 			     <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
 			     <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
Signature · 1 line
2.17.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 8 lines · Niklas Söderlund

From: Niklas Söderlund <[email protected]>

The datasheet have been expanded with more registers and the DT files have been updated with the new size. This change updates the example so writing new DT files can use the enchanted driver which uses the new registers.

Gr{oetje,eeting}s,

Geert

Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

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
#2 lore raw
In reply to Niklas Söderlund

Hello!

Quoted 5 lines · Niklas Söderlund

From: Niklas Söderlund <[email protected]>

The datasheet have been expanded with more registers and the DT files have been updated with the new size. This change updates the example so writing new DT files can use the enchanted driver which uses the new

Enhanced, maybe? Or was there indeed some magic in the air? :-)

Quoted 3 lines

registers.

[...]

MBR, Sergei

Reviewed-by on v1 1/1
#3 lore raw
In reply to Niklas Söderlund
Quoted 3 lines · Niklas Söderlund

From: Niklas Söderlund <[email protected]>

The datasheet have been expanded with more registers and the DT files

Nit: "datasheets have" or "datasheet has"

Quoted 3 lines

have been updated with the new size. This change updates the example so writing new DT files can use the enchanted driver which uses the new registers.

As Sergei mentioned, maybe enhanced rather than enchanted :)

Quoted 1 line

The documentation change itself looks fine to me:

Quoted 24 lines
---
 .../devicetree/bindings/thermal/rcar-gen3-thermal.txt       | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.txt +3 -3
index fdf5caa6229b4fff..39e7d4e61a63c038 100644
@@ -27,9 +27,9 @@ Example:
 
 	tsc: thermal@e6198000 {
 		compatible = "renesas,r8a7795-thermal";
-		reg = <0 0xe6198000 0 0x68>,
-		      <0 0xe61a0000 0 0x5c>,
-		      <0 0xe61a8000 0 0x5c>;
+		reg = <0 0xe6198000 0 0x100>,
+		      <0 0xe61a0000 0 0x100>,
+		      <0 0xe61a8000 0 0x100>;
 		interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>,
 			     <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
 			     <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
Signature · 1 line
2.17.0
maintainer
#4 lore raw
In reply to Niklas Söderlund
Quoted 11 lines · Niklas S�derlund

From: Niklas S�derlund <[email protected]>

The datasheet have been expanded with more registers and the DT files have been updated with the new size. This change updates the example so writing new DT files can use the enchanted driver which uses the new registers.

---
 .../devicetree/bindings/thermal/rcar-gen3-thermal.txt       | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Applied with Simon's comments addressed.

Rob

#5 lore raw

Hi Rob,

Quoted 8 lines · Rob Herring
Quoted 7 lines · Niklas S�derlund

From: Niklas S�derlund <[email protected]>

The datasheet have been expanded with more registers and the DT files have been updated with the new size. This change updates the example so writing new DT files can use the enchanted driver which uses the new registers.

Quoted 6 lines
Quoted 4 lines
---
 .../devicetree/bindings/thermal/rcar-gen3-thermal.txt       | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Applied with Simon's comments addressed.

Thanks for addressing Simon's comments while applying. I had planed to repost the thermal patches I got comments for later today so this is one less thing for me to do :-)

Quoted 2 lines

Rob

Signature · 2 lines
Regards,
Niklas S�derlund