Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0dc73398 authored by Kieran Bingham's avatar Kieran Bingham Committed by Simon Horman
Browse files

arm64: dts: renesas: r8a77995: Add LVDS support



The r8a77995 D3 platform has 2 LVDS channels connected to the DU.

Signed-off-by: default avatarKieran Bingham <kieran.bingham+renesas@ideasonboard.com>
[uli: moved lvds* into the soc node, added PM domains, resets]
Signed-off-by: default avatarUlrich Hecht <uli+renesas@fpond.eu>
Reviewed-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: default avatarJacopo Mondi <jacopo+renesas@jmondi.org>
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent 13ee2bfc
Loading
Loading
Loading
Loading
+56 −0
Original line number Diff line number Diff line
@@ -972,12 +972,68 @@
				port@1 {
					reg = <1>;
					du_out_lvds0: endpoint {
						remote-endpoint = <&lvds0_in>;
					};
				};

				port@2 {
					reg = <2>;
					du_out_lvds1: endpoint {
						remote-endpoint = <&lvds1_in>;
					};
				};
			};
		};

		lvds0: lvds-encoder@feb90000 {
			compatible = "renesas,r8a77995-lvds";
			reg = <0 0xfeb90000 0 0x20>;
			clocks = <&cpg CPG_MOD 727>;
			power-domains = <&sysc R8A77995_PD_ALWAYS_ON>;
			resets = <&cpg 727>;
			status = "disabled";

			ports {
				#address-cells = <1>;
				#size-cells = <0>;

				port@0 {
					reg = <0>;
					lvds0_in: endpoint {
						remote-endpoint = <&du_out_lvds0>;
					};
				};

				port@1 {
					reg = <1>;
					lvds0_out: endpoint {
					};
				};
			};
		};

		lvds1: lvds-encoder@feb90100 {
			compatible = "renesas,r8a77995-lvds";
			reg = <0 0xfeb90100 0 0x20>;
			clocks = <&cpg CPG_MOD 727>;
			power-domains = <&sysc R8A77995_PD_ALWAYS_ON>;
			resets = <&cpg 726>;
			status = "disabled";

			ports {
				#address-cells = <1>;
				#size-cells = <0>;

				port@0 {
					reg = <0>;
					lvds1_in: endpoint {
						remote-endpoint = <&du_out_lvds1>;
					};
				};

				port@1 {
					reg = <1>;
					lvds1_out: endpoint {
					};
				};
			};