diff options
author | Rob Herring <robh@kernel.org> | 2020-05-12 23:45:43 +0300 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2020-05-14 22:43:27 +0300 |
commit | fba5618451d2b3af5e55f8af5ce9c5d3677ad9c4 (patch) | |
tree | eb7b2e3f31c660bb1a332028319639a80a4e062b /Documentation/devicetree/bindings/usb/nvidia,tegra-xudc.yaml | |
parent | 1195b303a661f1dcfc5f97b6504d7d22a46289bc (diff) | |
download | linux-fba5618451d2b3af5e55f8af5ce9c5d3677ad9c4.tar.xz |
dt-bindings: Fix incorrect 'reg' property sizes
The examples template is a 'simple-bus' with a size of 1 cell for
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.
Acked-by: Stephen Boyd <sboyd@kernel.org> # clk
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/usb/nvidia,tegra-xudc.yaml')
-rw-r--r-- | Documentation/devicetree/bindings/usb/nvidia,tegra-xudc.yaml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/devicetree/bindings/usb/nvidia,tegra-xudc.yaml b/Documentation/devicetree/bindings/usb/nvidia,tegra-xudc.yaml index b84ed8ee8cfc..d814d2db19ee 100644 --- a/Documentation/devicetree/bindings/usb/nvidia,tegra-xudc.yaml +++ b/Documentation/devicetree/bindings/usb/nvidia,tegra-xudc.yaml @@ -163,9 +163,9 @@ examples: usb@700d0000 { compatible = "nvidia,tegra210-xudc"; - reg = <0x0 0x700d0000 0x0 0x8000>, - <0x0 0x700d8000 0x0 0x1000>, - <0x0 0x700d9000 0x0 0x1000>; + reg = <0x700d0000 0x8000>, + <0x700d8000 0x1000>, + <0x700d9000 0x1000>; reg-names = "base", "fpci", "ipfs"; interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>; |