|
【Android】
求助:RK3128 kernel修改液晶屏后进不去系统
发表于 2019-7-5 17:16:54
浏览:6429
|
回复:0
打印
只看该作者
[复制链接]
楼主
求大神帮帮忙
日志:
[ 0.568410] PTP clock support registered
[ 0.568498] i2c-core: driver [bq24296] using legacy suspend method
[ 0.568519] i2c-core: driver [bq24296] using legacy resume method
[ 0.569994] Rockchip ion module is successfully loaded (v1.1)
[ 0.570273] Advanced Linux Sound Architecture Driver Initialized.
[ 0.571466] cfg80211: Calling CRDA to update world regulatory domain
[ 0.574776] rockchip-i2s 10200000.i2s1: i2s1 has no mclk
[ 0.577433] Switching to clocksource arch_sys_counter
[ 0.612118] fb disp policy is box
[ 0.612150] uboot-logo-on:0
[ 0.612218] rk-fb rockchip-fb: rk fb ion client create success!
[ 0.612243] rk-fb rockchip-fb: rockchip framebuffer driver probe
[ 0.612826] can't find screen_init node
[ 0.612859] rk-screen rk_screen.11: rockchip screen probe success
[ 0.614345] rk312x-lcdc lcdc0: no den pinctrl state
[ 0.61
rk3128-box.dts文件:
&disp_timings {
native-mode = <&timing0>;
};
&rk_screen {
display-timings = <&disp_timings>;
};
&fb {
rockchip,disp-mode = <NO_DUAL>;//NO_DUAL
rockchip,disp-policy = <DISPLAY_POLICY_BOX>;
rockchip,uboot-logo-on = <0>;
};
/*&lvds{
status="okay";
};*/
&lcdc {
status = "okay";
rockchip,fb-win-map = <FB0_WIN0_FB1_WIN1_FB2_WIN2>;
};
&hdmi {
status = "disabled";
};
&tve {
status = "okay";
test_mode = <0>;
};
RK312X.dtsi文件:
fb: fb{
compatible = "rockchip,rk-fb";
rockchip,disp-mode = <ONE_DUAL>;
};
rk_screen: rk_screen{
compatible = "rockchip,screen";
};
lvds: lvds@20038000 {
compatible = "rockchip,rk31xx-lvds";
reg = <0x20038000 0x4000>, <0x101100b0 0x01>;
reg-names = "mipi_lvds_phy", "mipi_lvds_ctl";
clocks = <&clk_gates5 0>, <&clk_gates9 6>, <&clk_gates9 5>;
clock-names = "pclk_lvds", "pclk_lvds_ctl", "hclk_vio_h2p";
status = "disabled";
};
lcdc: lcdc@1010e000 {
compatible = "rockchip,rk312x-lcdc";
rockchip,prop = <PRMRY>;
reg = <0x1010e000 0x1000>;
interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk_gates6 0>, <&dclk_lcdc0>, <&clk_gates6 1>, <&sclk_lcdc0>, <&pd_vop>, <&clk_cpll>;
clock-names = "aclk_lcdc", "dclk_lcdc", "hclk_lcdc", "sclk_lcdc", "pd_lcdc", "sclk_pll";
rockchip,iommu-enabled = <1>;
status = "disabled";
};
hdmi: hdmi@20034000 {
compatible = "rockchip,rk312x-hdmi";
reg = <0x20034000 0x4000>;
interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
rockchip,hdmi_lcdc_source = <0>;
pinctrl-names = "default", "gpio";
pinctrl-0 = <&hdmi_cec &hdmi_sda &hdmi_scl &hdmi_hpd>;
pinctrl-1 = <&hdmi_gpio>;
clocks = <&clk_gates3 8>, <&pd_hdmi>;
clock-names = "pclk_hdmi", "pd_hdmi";
rockchip,hdcp_enable = <0>;
rockchip,cec_enable = <0>;
status = "disabled";
};
tve: tve{
compatible = "rockchip,rk312x-tve";
reg = <0x1010e200 0x100>;
saturation = <0x002b4d3c>;
brightcontrast = <0x00007700>;
adjtiming = <0xa6c00880>;
lumafilter0 = <0x02ff0000>;
lumafilter1 = <0xf40202fd>;
lumafilter2 = <0xf332d919>;
daclevel = <0x3a>;
status = "disabled";
};
RK312X-Pinctrl.dtsi文件:
gpio2_lcdc0_d {
lcdc0_lcdc_d: lcdc0-lcdc_d {
rockchip,pins =
<LCDC0_D10>,
<LCDC0_D11>,
<LCDC0_D12>,
<LCDC0_D13>,
<LCDC0_D14>,
<LCDC0_D15>,
<LCDC0_D16>,
<LCDC0_D17>,
<LCDC0_DCLK>;
/*
<LCDC0_D18>,
<LCDC0_D19>,
<LCDC0_D20>,
<LCDC0_D21>,
<LCDC0_D22>,
<LCDC0_D23>;
*/
rockchip,pull = <VALUE_PULL_DISABLE>;
};
lcdc0_lcdc_gpio: lcdc0-lcdc_gpio {
rockchip,pins =
<FUNC_TO_GPIO(LCDC0_D10)>,
<FUNC_TO_GPIO(LCDC0_D11)>,
<FUNC_TO_GPIO(LCDC0_D12)>,
<FUNC_TO_GPIO(LCDC0_D13)>,
<FUNC_TO_GPIO(LCDC0_D14)>,
<FUNC_TO_GPIO(LCDC0_D15)>,
<FUNC_TO_GPIO(LCDC0_D16)>,
<FUNC_TO_GPIO(LCDC0_D17)>,
<FUNC_TO_GPIO(LCDC0_DCLK)>;
/*
<FUNC_TO_GPIO(LCDC0_D18)>,
<FUNC_TO_GPIO(LCDC0_D19)>,
<FUNC_TO_GPIO(LCDC0_D20)>,
<FUNC_TO_GPIO(LCDC0_D21)>,
<FUNC_TO_GPIO(LCDC0_D22)>,
<FUNC_TO_GPIO(LCDC0_D23)>;
*/
rockchip,pull = <VALUE_PULL_DOWN>;
};
};
|
|