Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: Fix more incorrect 'reg' property sizes in examples

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 1 cell
for address and size.

Cc: "Heiko Stübner" <heiko@sntech.de>
Cc: Ezequiel Garcia <ezequiel@collabora.com>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: Philipp Zabel <p.zabel@pengutronix.de>
Cc: Miquel Raynal <miquel.raynal@bootlin.com>
Cc: Richard Weinberger <richard@nod.at>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: Kishon Vijay Abraham I <kishon@ti.com>
Cc: Vinod Koul <vkoul@kernel.org>
Cc: Liam Girdwood <lgirdwood@gmail.com>
Cc: linux-rockchip@lists.infradead.org
Cc: linux-media@vger.kernel.org
Cc: linux-mtd@lists.infradead.org
Cc: netdev@vger.kernel.org
Cc: alsa-devel@alsa-project.org
Acked-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Rob Herring <robh@kernel.org>

+13 -13
+2 -2
Documentation/devicetree/bindings/bus/baikal,bt1-apb.yaml
··· 71 71 72 72 bus@1f059000 { 73 73 compatible = "baikal,bt1-apb", "simple-bus"; 74 - reg = <0 0x1f059000 0 0x1000>, 75 - <0 0x1d000000 0 0x2040000>; 74 + reg = <0x1f059000 0x1000>, 75 + <0x1d000000 0x2040000>; 76 76 reg-names = "ehb", "nodev"; 77 77 #address-cells = <1>; 78 78 #size-cells = <1>;
+2 -2
Documentation/devicetree/bindings/bus/baikal,bt1-axi.yaml
··· 85 85 86 86 bus@1f05a000 { 87 87 compatible = "baikal,bt1-axi", "simple-bus"; 88 - reg = <0 0x1f05a000 0 0x1000>, 89 - <0 0x1f04d110 0 0x8>; 88 + reg = <0x1f05a000 0x1000>, 89 + <0x1f04d110 0x8>; 90 90 reg-names = "qos", "ehb"; 91 91 #address-cells = <1>; 92 92 #size-cells = <1>;
+2 -2
Documentation/devicetree/bindings/display/rockchip/rockchip-vop.yaml
··· 106 106 #include <dt-bindings/power/rk3288-power.h> 107 107 vopb: vopb@ff930000 { 108 108 compatible = "rockchip,rk3288-vop"; 109 - reg = <0x0 0xff930000 0x0 0x19c>, 110 - <0x0 0xff931000 0x0 0x1000>; 109 + reg = <0xff930000 0x19c>, 110 + <0xff931000 0x1000>; 111 111 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>; 112 112 clocks = <&cru ACLK_VOP0>, 113 113 <&cru DCLK_VOP0>,
+1 -1
Documentation/devicetree/bindings/mailbox/sprd-mailbox.yaml
··· 51 51 #include <dt-bindings/interrupt-controller/arm-gic.h> 52 52 mailbox: mailbox@400a0000 { 53 53 compatible = "sprd,sc9860-mailbox"; 54 - reg = <0 0x400a0000 0 0x8000>, <0 0x400a8000 0 0x8000>; 54 + reg = <0x400a0000 0x8000>, <0x400a8000 0x8000>; 55 55 #mbox-cells = <1>; 56 56 clock-names = "enable"; 57 57 clocks = <&aon_gate 53>;
+1 -1
Documentation/devicetree/bindings/media/rockchip,vdec.yaml
··· 61 61 62 62 vdec: video-codec@ff660000 { 63 63 compatible = "rockchip,rk3399-vdec"; 64 - reg = <0x0 0xff660000 0x0 0x400>; 64 + reg = <0xff660000 0x400>; 65 65 interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH 0>; 66 66 clocks = <&cru ACLK_VDU>, <&cru HCLK_VDU>, 67 67 <&cru SCLK_VDU_CA>, <&cru SCLK_VDU_CORE>;
+1 -1
Documentation/devicetree/bindings/media/rockchip-vpu.yaml
··· 66 66 67 67 vpu: video-codec@ff9a0000 { 68 68 compatible = "rockchip,rk3288-vpu"; 69 - reg = <0x0 0xff9a0000 0x0 0x800>; 69 + reg = <0xff9a0000 0x800>; 70 70 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>, 71 71 <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; 72 72 interrupt-names = "vepu", "vdpu";
+1 -1
Documentation/devicetree/bindings/mtd/arasan,nand-controller.yaml
··· 53 53 - | 54 54 nfc: nand-controller@ff100000 { 55 55 compatible = "xlnx,zynqmp-nand-controller", "arasan,nfc-v3p10"; 56 - reg = <0x0 0xff100000 0x0 0x1000>; 56 + reg = <0xff100000 0x1000>; 57 57 clock-names = "controller", "bus"; 58 58 clocks = <&clk200>, <&clk100>; 59 59 interrupt-parent = <&gic>;
+1 -1
Documentation/devicetree/bindings/net/ti,k3-am654-cpts.yaml
··· 121 121 122 122 cpts@310d0000 { 123 123 compatible = "ti,am65-cpts"; 124 - reg = <0x0 0x310d0000 0x0 0x400>; 124 + reg = <0x310d0000 0x400>; 125 125 reg-names = "cpts"; 126 126 clocks = <&main_cpts_mux>; 127 127 clock-names = "cpts";
+1 -1
Documentation/devicetree/bindings/phy/qcom,usb-snps-femto-v2.yaml
··· 65 65 #include <dt-bindings/clock/qcom,gcc-sm8150.h> 66 66 phy@88e2000 { 67 67 compatible = "qcom,sm8150-usb-hs-phy"; 68 - reg = <0 0x088e2000 0 0x400>; 68 + reg = <0x088e2000 0x400>; 69 69 #phy-cells = <0>; 70 70 71 71 clocks = <&rpmhcc RPMH_CXO_CLK>;
+1 -1
Documentation/devicetree/bindings/sound/fsl,easrc.yaml
··· 80 80 81 81 easrc: easrc@300c0000 { 82 82 compatible = "fsl,imx8mn-easrc"; 83 - reg = <0x0 0x300c0000 0x0 0x10000>; 83 + reg = <0x300c0000 0x10000>; 84 84 interrupts = <0x0 122 0x4>; 85 85 clocks = <&clk IMX8MN_CLK_ASRC_ROOT>; 86 86 clock-names = "mem";