Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1725490

[PATCH v8 2/3] ARM: dts: Add LVDS info for rk3288

From Sandy Huang <hjc@rock-chips.com>
Newsgroups linux.kernel
Subject [PATCH v8 2/3] ARM: dts: Add LVDS info for rk3288
Date 2017-09-02 13:30 +0200
Message-ID <uleMF-2kz-9@gated-at.bofh.it> (permalink)
References <uleMF-2kz-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


add LVDS info in rk3288.dtsi for LVDS driver
This based on the patches from Mark yao and Heiko Stuebner.

Signed-off-by: Mark yao <mark.yao@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
---
Change the Signed-off order

 arch/arm/boot/dts/rk3288.dtsi | 52 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)

diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi
index 858e1fed..b82c31a 100644
--- a/arch/arm/boot/dts/rk3288.dtsi
+++ b/arch/arm/boot/dts/rk3288.dtsi
@@ -983,6 +983,11 @@
 				reg = <2>;
 				remote-endpoint = <&mipi_in_vopb>;
 			};
+
+			vopb_out_lvds: endpoint@3 {
+				reg = <3>;
+				remote-endpoint = <&lvds_in_vopb>;
+			};
 		};
 	};
 
@@ -1026,6 +1031,11 @@
 				reg = <2>;
 				remote-endpoint = <&mipi_in_vopl>;
 			};
+
+			vopl_out_lvds: endpoint@3 {
+				reg = <3>;
+				remote-endpoint = <&lvds_in_vopl>;
+			};
 		};
 	};
 
@@ -1099,6 +1109,39 @@
 		};
 	};
 
+	lvds: lvds@ff96c000 {
+		compatible = "rockchip,rk3288-lvds";
+		reg = <0xff96c000 0x4000>;
+		clocks = <&cru PCLK_LVDS_PHY>;
+		clock-names = "pclk_lvds";
+		pinctrl-names = "lcdc";
+		pinctrl-0 = <&lcdc_ctl>;
+		power-domains = <&power RK3288_PD_VIO>;
+		rockchip,grf = <&grf>;
+		status = "disabled";
+
+		ports {
+			#address-cells = <1>;
+			#size-cells = <0>;
+
+			lvds_in: port@0 {
+				reg = <0>;
+
+				#address-cells = <1>;
+				#size-cells = <0>;
+
+				lvds_in_vopb: endpoint@0 {
+					reg = <0>;
+					remote-endpoint = <&vopb_out_lvds>;
+				};
+				lvds_in_vopl: endpoint@1 {
+					reg = <1>;
+					remote-endpoint = <&vopl_out_lvds>;
+				};
+			};
+		};
+	};
+
 	hdmi: hdmi@ff980000 {
 		compatible = "rockchip,rk3288-dw-hdmi";
 		reg = <0xff980000 0x20000>;
@@ -1823,5 +1866,14 @@
 				rockchip,pins = <RK_GPIO6 11 RK_FUNC_1 &pcfg_pull_none>;
 			};
 		};
+
+		lcdc {
+			lcdc_ctl: lcdc-ctl {
+				rockchip,pins = <1 24 RK_FUNC_1 &pcfg_pull_none>,
+						<1 25 RK_FUNC_1 &pcfg_pull_none>,
+						<1 26 RK_FUNC_1 &pcfg_pull_none>,
+						<1 27 RK_FUNC_1 &pcfg_pull_none>;
+			};
+		};
 	};
 };
-- 
2.7.4

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v8 0/3] Add support Rockchip Soc LVDS Sandy Huang <hjc@rock-chips.com> - 2017-09-02 13:30 +0200
  [PATCH v8 1/3] dt-bindings: display: Add Document for Rockchip Soc LVDS Sandy Huang <hjc@rock-chips.com> - 2017-09-02 13:30 +0200
  [PATCH v8 2/3] ARM: dts: Add LVDS info for rk3288 Sandy Huang <hjc@rock-chips.com> - 2017-09-02 13:30 +0200
    Re: [PATCH v8 2/3] ARM: dts: Add LVDS info for rk3288 Heiko Stuebner <heiko@sntech.de> - 2017-09-09 01:50 +0200
  [PATCH v8 3/3] drm/rockchip: Add support for Rockchip Soc LVDS Sandy Huang <hjc@rock-chips.com> - 2017-09-02 13:30 +0200
    Re: [PATCH v8 3/3] drm/rockchip: Add support for Rockchip Soc LVDS Mark yao <mark.yao@rock-chips.com> - 2017-09-07 12:20 +0200
      Re: [PATCH v8 3/3] drm/rockchip: Add support for Rockchip Soc LVDS Heiko Stübner <heiko@sntech.de> - 2017-09-07 14:10 +0200
        Re: [PATCH v8 3/3] drm/rockchip: Add support for Rockchip Soc LVDS Mark yao <mark.yao@rock-chips.com> - 2017-09-08 03:30 +0200
          Re: [PATCH v8 3/3] drm/rockchip: Add support for Rockchip Soc LVDS Heiko Stuebner <heiko@sntech.de> - 2017-09-08 07:10 +0200
            Re: [PATCH v8 3/3] drm/rockchip: Add support for Rockchip Soc LVDS Mark yao <mark.yao@rock-chips.com> - 2017-09-08 08:20 +0200
              Re: [PATCH v8 3/3] drm/rockchip: Add support for Rockchip Soc LVDS Mark yao <mark.yao@rock-chips.com> - 2017-09-08 09:10 +0200

csiph-web