Hi Kieran, On Sun, Feb 17, 2019 at 11:13 PM Kieran Bingham <kieran.bingham@xxxxxxxxxxxxxxxx> wrote: > On 16/02/2019 23:58, Niklas Söderlund wrote: > > From: Takeshi Kihara <takeshi.kihara.df@xxxxxxxxxxx> > > > > The register address used for the reg property of the adv7482 node in > > other Renesas device trees are decimal not hex, change this for Ebisu to > > align it with the others. > > > > Signed-off-by: Takeshi Kihara <takeshi.kihara.df@xxxxxxxxxxx> > > [Niklas: rewrite commit message] > > Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@xxxxxxxxxxxx> > > --- > > arch/arm64/boot/dts/renesas/r8a77990-ebisu.dts | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/arch/arm64/boot/dts/renesas/r8a77990-ebisu.dts b/arch/arm64/boot/dts/renesas/r8a77990-ebisu.dts > > index 62bdddcbbae7d9e9..23914c2b83965621 100644 > > --- a/arch/arm64/boot/dts/renesas/r8a77990-ebisu.dts > > +++ b/arch/arm64/boot/dts/renesas/r8a77990-ebisu.dts > > @@ -383,7 +383,7 @@ > > }; > > > > port@a { > > - reg = <0xa>; > > + reg = <10>; > > From the discussions on this before, we converted the port number to be hex. > > I really dislike that we have port@a, but reg=<10>; > > However as long as the value is written by the DTC as 'ten' and > correctly interpreted as decimal this is still correct. > > I guess it doesn't hurt to have a decimal representation as that will > then match the bindings port descriptions. It's a shame this can't be > the 'port@10' for comprehension though. > > My only hesitation on providing either an RB/or AB tag here is whether > perhaps we should instead convert the salvator-common to use hex so that > they match that way instead? (More rationale, which may be considered bikeshedding ;-) I believe we tend to use decimal for small numbers, and hex for large numbers. Exceptions are values where the meaning of the individual bits is important, and hex is thus more suitable (e.g. rohm,ddr-backup-power = <0xf>). Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx 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