Skip to content

Commit 6a6a797

Browse files
bijudashorms
authored andcommitted
ARM: dts: r8a7743: Convert to new LVDS DT bindings
The internal LVDS encoder now has DT bindings separate from the DU. Port the device tree over to the new model. Fixes: c6a27fa ("drm: rcar-du: Convert LVDS encoder code to bridge driver") Signed-off-by: Biju Das <biju.das@bp.renesas.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
1 parent 05c8478 commit 6a6a797

File tree

1 file changed

+30
-6
lines changed

1 file changed

+30
-6
lines changed

arch/arm/boot/dts/r8a7743.dtsi

Lines changed: 30 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1681,15 +1681,12 @@
16811681

16821682
du: display@feb00000 {
16831683
compatible = "renesas,du-r8a7743";
1684-
reg = <0 0xfeb00000 0 0x40000>,
1685-
<0 0xfeb90000 0 0x1c>;
1686-
reg-names = "du", "lvds.0";
1684+
reg = <0 0xfeb00000 0 0x40000>;
16871685
interrupts = <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>,
16881686
<GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>;
16891687
clocks = <&cpg CPG_MOD 724>,
1690-
<&cpg CPG_MOD 723>,
1691-
<&cpg CPG_MOD 726>;
1692-
clock-names = "du.0", "du.1", "lvds.0";
1688+
<&cpg CPG_MOD 723>;
1689+
clock-names = "du.0", "du.1";
16931690
status = "disabled";
16941691

16951692
ports {
@@ -1704,6 +1701,33 @@
17041701
port@1 {
17051702
reg = <1>;
17061703
du_out_lvds0: endpoint {
1704+
remote-endpoint = <&lvds0_in>;
1705+
};
1706+
};
1707+
};
1708+
};
1709+
1710+
lvds0: lvds@feb90000 {
1711+
compatible = "renesas,r8a7743-lvds";
1712+
reg = <0 0xfeb90000 0 0x1c>;
1713+
clocks = <&cpg CPG_MOD 726>;
1714+
power-domains = <&sysc R8A7743_PD_ALWAYS_ON>;
1715+
resets = <&cpg 726>;
1716+
status = "disabled";
1717+
1718+
ports {
1719+
#address-cells = <1>;
1720+
#size-cells = <0>;
1721+
1722+
port@0 {
1723+
reg = <0>;
1724+
lvds0_in: endpoint {
1725+
remote-endpoint = <&du_out_lvds0>;
1726+
};
1727+
};
1728+
port@1 {
1729+
reg = <1>;
1730+
lvds0_out: endpoint {
17071731
};
17081732
};
17091733
};

0 commit comments

Comments
 (0)