]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blob - releases/4.17.12/arm-dts-imx53-fix-ldb-of-graph-warning.patch
4.14-stable patches
[thirdparty/kernel/stable-queue.git] / releases / 4.17.12 / arm-dts-imx53-fix-ldb-of-graph-warning.patch
1 From foo@baz Sat Jul 28 10:14:30 CEST 2018
2 From: Rob Herring <robh@kernel.org>
3 Date: Tue, 8 May 2018 08:59:27 -0500
4 Subject: ARM: dts: imx53: Fix LDB OF graph warning
5
6 From: Rob Herring <robh@kernel.org>
7
8 [ Upstream commit 77dd4bd0c0db8e4856e7abc2192f126e226e14c5 ]
9
10 Single child nodes in OF graph don't need an address and now dtc will
11 warn about this:
12
13 Warning (graph_child_address): /soc/aips@50000000/ldb@53fa8008/lvds-channel@0: graph node has single child node 'port@0', #address-cells/#size-cells are not necessary
14
15 Since the LDB should always have an output port, fix the warning by
16 adding the output port, 2, to the DT.
17
18 Cc: Sascha Hauer <s.hauer@pengutronix.de>
19 Cc: Pengutronix Kernel Team <kernel@pengutronix.de>
20 Cc: Fabio Estevam <fabio.estevam@nxp.com>
21 Signed-off-by: Rob Herring <robh@kernel.org>
22 Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
23 Signed-off-by: Shawn Guo <shawnguo@kernel.org>
24 Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
25 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
26 ---
27 arch/arm/boot/dts/imx53-ppd.dts | 2 --
28 arch/arm/boot/dts/imx53.dtsi | 8 ++++++++
29 2 files changed, 8 insertions(+), 2 deletions(-)
30
31 --- a/arch/arm/boot/dts/imx53-ppd.dts
32 +++ b/arch/arm/boot/dts/imx53-ppd.dts
33 @@ -559,8 +559,6 @@
34 status = "okay";
35
36 port@2 {
37 - reg = <2>;
38 -
39 lvds0_out: endpoint {
40 remote-endpoint = <&panel_in_lvds0>;
41 };
42 --- a/arch/arm/boot/dts/imx53.dtsi
43 +++ b/arch/arm/boot/dts/imx53.dtsi
44 @@ -488,6 +488,10 @@
45 remote-endpoint = <&ipu_di0_lvds0>;
46 };
47 };
48 +
49 + port@2 {
50 + reg = <2>;
51 + };
52 };
53
54 lvds-channel@1 {
55 @@ -503,6 +507,10 @@
56 remote-endpoint = <&ipu_di1_lvds1>;
57 };
58 };
59 +
60 + port@2 {
61 + reg = <2>;
62 + };
63 };
64 };
65