Re: [PATCH 5/5] dt-bindings: Fix incorrect 'reg' property sizes

From: Geert Uytterhoeven
Date: Wed May 13 2020 - 03:04:43 EST


Hi Rob,

On Tue, May 12, 2020 at 10:46 PM Rob Herring <robh@xxxxxxxxxx> wrote:
> The examples template is a 'simple-bus' with a size of 1 cell for
> #address-cells and #size-cells. The schema was only checking the entries
> had between 2 and 4 cells which really only errors on I2C or SPI type
> devices with a single cell.
>
> The easiest fix in most cases is to change the 'reg' property to for 1 cell
> address and size. In some cases with child devices having 2 cells, that
> doesn't make sense so a bus node is needed.
>
> Signed-off-by: Rob Herring <robh@xxxxxxxxxx>

Thanks for your patch!

> .../devicetree/bindings/arm/renesas,prr.yaml | 2 +-
> .../bindings/display/renesas,cmm.yaml | 2 +-
> .../interrupt-controller/renesas,irqc.yaml | 2 +-
> .../bindings/media/renesas,csi2.yaml | 2 +-
> .../bindings/media/renesas,vin.yaml | 6 +-
> .../bindings/net/renesas,ether.yaml | 2 +-
> .../bindings/pwm/renesas,pwm-rcar.yaml | 2 +-
> .../bindings/spi/renesas,sh-msiof.yaml | 2 +-
> .../bindings/thermal/rcar-thermal.yaml | 6 +-
> .../bindings/usb/renesas,usb3-peri.yaml | 2 +-
> .../bindings/usb/renesas,usbhs.yaml | 2 +-

Reviewed-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
Acked-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>

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