导航

    全志在线开发者论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 在线文档
    • 社区主页
    1. 主页
    2. xubaoguo002
    X
    • 资料
    • 关注 0
    • 粉丝 0
    • 我的积分 66
    • 主题 1
    • 帖子 1
    • 最佳 0
    • 群组 0

    xubaoguo002LV 2

    @xubaoguo002

    66
    积分
    0
    声望
    1
    资料浏览
    1
    帖子
    0
    粉丝
    0
    关注
    注册时间 最后登录

    xubaoguo002 取消关注 关注

    xubaoguo002 发布的最新帖子

    • 全志T3怎样配置LVDS接口液晶屏

      使用的是主线代码,内核版本5.18,设备树用的sun8i-r40-bananapi-m2-ultra.dts,不清楚该怎样配置。求教一下哪位大佬配置过LVDS相关的设备树参数。对下面这部分内容很少迷糊啊

      	tcon_top: tcon-top@1c70000 {
      		compatible = "allwinner,sun8i-r40-tcon-top";
      		reg = <0x01c70000 0x1000>;
      		clocks = <&ccu CLK_BUS_TCON_TOP>,
      			 <&ccu CLK_TCON_TV0>,
      			 <&ccu CLK_TVE0>,
      			 <&ccu CLK_TCON_TV1>,
      			 <&ccu CLK_TVE1>,
      			 <&ccu CLK_DSI_DPHY>;
      		clock-names = "bus",
      			      "tcon-tv0",
      			      "tve0",
      			      "tcon-tv1",
      			      "tve1",
      			      "dsi";
      		clock-output-names = "tcon-top-tv0",
      				     "tcon-top-tv1",
      				     "tcon-top-dsi";
      		resets = <&ccu RST_BUS_TCON_TOP>;
      		#clock-cells = <1>;
      
      		ports {
      			#address-cells = <1>;
      			#size-cells = <0>;
      
      			tcon_top_mixer0_in: port@0 {
      				reg = <0>;
      
      				tcon_top_mixer0_in_mixer0: endpoint {
      					remote-endpoint = <&mixer0_out_tcon_top>;
      				};
      			};
      
      			tcon_top_mixer0_out: port@1 {
      				#address-cells = <1>;
      				#size-cells = <0>;
      				reg = <1>;
      
      				tcon_top_mixer0_out_tcon_lcd0: endpoint@0 {
      					reg = <0>;
      				};
      
      				tcon_top_mixer0_out_tcon_lcd1: endpoint@1 {
      					reg = <1>;
      				};
      
      				tcon_top_mixer0_out_tcon_tv0: endpoint@2 {
      					reg = <2>;
      					remote-endpoint = <&tcon_tv0_in_tcon_top_mixer0>;
      				};
      
      				tcon_top_mixer0_out_tcon_tv1: endpoint@3 {
      					reg = <3>;
      					remote-endpoint = <&tcon_tv1_in_tcon_top_mixer0>;
      				};
      			};
      
      			tcon_top_mixer1_in: port@2 {
      				#address-cells = <1>;
      				#size-cells = <0>;
      				reg = <2>;
      
      				tcon_top_mixer1_in_mixer1: endpoint@1 {
      					reg = <1>;
      					remote-endpoint = <&mixer1_out_tcon_top>;
      				};
      			};
      
      			tcon_top_mixer1_out: port@3 {
      				#address-cells = <1>;
      				#size-cells = <0>;
      				reg = <3>;
      
      				tcon_top_mixer1_out_tcon_lcd0: endpoint@0 {
      					reg = <0>;
      				};
      
      				tcon_top_mixer1_out_tcon_lcd1: endpoint@1 {
      					reg = <1>;
      				};
      
      				tcon_top_mixer1_out_tcon_tv0: endpoint@2 {
      					reg = <2>;
      					remote-endpoint = <&tcon_tv0_in_tcon_top_mixer1>;
      				};
      
      				tcon_top_mixer1_out_tcon_tv1: endpoint@3 {
      					reg = <3>;
      					remote-endpoint = <&tcon_tv1_in_tcon_top_mixer1>;
      				};
      			};
      
      			tcon_top_hdmi_in: port@4 {
      				#address-cells = <1>;
      				#size-cells = <0>;
      				reg = <4>;
      
      				tcon_top_hdmi_in_tcon_tv0: endpoint@0 {
      					reg = <0>;
      					remote-endpoint = <&tcon_tv0_out_tcon_top>;
      				};
      
      				tcon_top_hdmi_in_tcon_tv1: endpoint@1 {
      					reg = <1>;
      					remote-endpoint = <&tcon_tv1_out_tcon_top>;
      				};
      			};
      
      			tcon_top_hdmi_out: port@5 {
      				reg = <5>;
      
      				tcon_top_hdmi_out_hdmi: endpoint {
      					remote-endpoint = <&hdmi_in_tcon_top>;
      				};
      			};
      		};
      	};
      
      	tcon_tv0: lcd-controller@1c73000 {
      		compatible = "allwinner,sun8i-r40-tcon-tv";
      		reg = <0x01c73000 0x1000>;
      		interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>;
      		clocks = <&ccu CLK_BUS_TCON_TV0>, <&tcon_top CLK_TCON_TOP_TV0>;
      		clock-names = "ahb", "tcon-ch0";
      		resets = <&ccu RST_BUS_TCON_TV0>, <&ccu RST_BUS_LVDS>;
      		reset-names = "lcd", "lvds";
      		clock-output-names = "tcon0-pixel-clock";
      		status = "disabled";
      
      		ports {
      			#address-cells = <1>;
      			#size-cells = <0>;
      
      			tcon_tv0_in: port@0 {
      				#address-cells = <1>;
      				#size-cells = <0>;
      				reg = <0>;
      
      				tcon_tv0_in_tcon_top_mixer0: endpoint@0 {
      					reg = <0>;
      					remote-endpoint = <&tcon_top_mixer0_out_tcon_tv0>;
      				};
      
      				tcon_tv0_in_tcon_top_mixer1: endpoint@1 {
      					reg = <1>;
      					remote-endpoint = <&tcon_top_mixer1_out_tcon_tv0>;
      				};
      			};
      
      			tcon_tv0_out: port@1 {
      				#address-cells = <1>;
      				#size-cells = <0>;
      				reg = <1>;
      
      				tcon_tv0_out_tcon_top: endpoint@1 {
      					reg = <1>;
      					remote-endpoint = <&tcon_top_hdmi_in_tcon_tv0>;
      				};
      			};
      		};
      	};
      
      发布在 Linux
      X
      xubaoguo002