diff options
author | Javier Martinez Canillas <javier@osg.samsung.com> | 2016-06-06 16:24:44 -0400 |
---|---|---|
committer | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2016-06-07 11:00:39 +0200 |
commit | a7d7865fecd83adb98b20eca5eddef7efc94831d (patch) | |
tree | 2595dfd51ff6d81c65422b09b5d0ea7461540b1f | |
parent | 2969c03763b40e946b46aee57ef083527711c69f (diff) | |
download | linux-a7d7865fecd83adb98b20eca5eddef7efc94831d.tar.gz linux-a7d7865fecd83adb98b20eca5eddef7efc94831d.tar.bz2 linux-a7d7865fecd83adb98b20eca5eddef7efc94831d.zip |
ARM: dts: exynos: Fix port nodes names for Exynos5420 Peach Pit board
Commit bea7eef6949c ("ARM: dts: exynos: Fix DTC unit name warnings in
Peach Pit") fixed the DTC warnings about mismatches between unit names
and reg properties in the Exynos5420 Peach Pit DTS.
But unfortunately it also added a regression on the Peach Pit when
changing the port node names since the OF graph logic expects the port
nodes to be always named 'port'.
The Documentation/devicetree/bindings/graph.txt binding document says
that when there is more than one port, '#address-cells', '#size-cells'
and 'reg' properties should be used to number the port nodes.
Fixes: bea7eef6949c ("ARM: dts: exynos: Fix DTC unit name warnings in Peach Pit")
Reported-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
-rw-r--r-- | arch/arm/boot/dts/exynos5420-peach-pit.dts | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/exynos5420-peach-pit.dts b/arch/arm/boot/dts/exynos5420-peach-pit.dts index f9d2e4f1a0e0..1de972d46a87 100644 --- a/arch/arm/boot/dts/exynos5420-peach-pit.dts +++ b/arch/arm/boot/dts/exynos5420-peach-pit.dts @@ -163,7 +163,7 @@ hpd-gpios = <&gpx2 6 GPIO_ACTIVE_HIGH>; ports { - port0 { + port { dp_out: endpoint { remote-endpoint = <&bridge_in>; }; @@ -631,13 +631,20 @@ use-external-pwm; ports { - port0 { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + bridge_out: endpoint { remote-endpoint = <&panel_in>; }; }; - port1 { + port@1 { + reg = <1>; + bridge_in: endpoint { remote-endpoint = <&dp_out>; }; |