Thread (14 messages) 14 messages, 7 authors, 2020-05-13

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

From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2020-05-13 07:04:42
Also in: linux-clk, linux-spi, linux-usb, lkml

Hi Rob,

On Tue, May 12, 2020 at 10:46 PM Rob Herring [off-list ref] 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@kernel.org>
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@glider.be>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help