kernel: bump 5.4 to 5.4.48
[oweals/openwrt.git] / target / linux / bcm27xx / patches-5.4 / 950-0673-overlays-rpivid-v4l2-also-needs-size-cells-2.patch
1 From 096fc044170aa40a99dd66b0a8b072ef76327ddb Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.com>
3 Date: Fri, 24 Apr 2020 15:17:06 +0100
4 Subject: [PATCH] overlays: rpivid-v4l2 also needs size-cells = 2
5
6 Fixes: "dts: bcm2711: set #size-cells = <2>"
7
8 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
9 ---
10  arch/arm/boot/dts/overlays/rpivid-v4l2-overlay.dts | 7 ++++---
11  1 file changed, 4 insertions(+), 3 deletions(-)
12
13 --- a/arch/arm/boot/dts/overlays/rpivid-v4l2-overlay.dts
14 +++ b/arch/arm/boot/dts/overlays/rpivid-v4l2-overlay.dts
15 @@ -13,11 +13,12 @@
16                 __overlay__ {
17                         /* needed to avoid dtc warning */
18                         #address-cells = <2>;
19 -                       #size-cells = <1>;
20 +                       #size-cells = <2>;
21 +
22                         codec@7eb10000 {
23                                 compatible = "raspberrypi,rpivid-vid-decoder";
24 -                               reg = <0x0 0x7eb10000 0x1000>,  /* INTC */
25 -                                     <0x0 0x7eb00000 0x10000>; /* HEVC */
26 +                               reg = <0x0 0x7eb10000  0x0 0x1000>,  /* INTC */
27 +                                     <0x0 0x7eb00000  0x0 0x10000>; /* HEVC */
28                                 reg-names = "intc",
29                                             "hevc";
30