buildroot MangoPi T113-S3 пытаюсь прописать LVDS в DT
dolmatov
Пункты: 1802
Регистрация: 03.07.2016
Планирую использовать свою плату на Т113 с 7'' 1024x600 LVDS панелью, платы пока нет, играюсь с MangoPi.
С dts отношения пока что складываются плохо, на основании примеров пытаюсь прописать LVDS в dtsi/dts:
Разумеется ничего не работает ..
выдержки из dmesg
Код root@MangoPI_MQ-Dual:~$ dmesg | grep 5461000
[ 0.089484] platform 5461000.lcd-controller: Fixed dependency cycle(s) with /soc/tcon-top@5460000/ports/port@3/endpoint@0
[ 0.089646] platform 5461000.lcd-controller: Fixed dependency cycle(s) with /soc/tcon-top@5460000/ports/port@1/endpoint@0
[ 0.101617] platform panel: Fixed dependency cycle(s) with /soc/lcd-controller@5461000/ports/port@1/endpoint@0
[ 0.592164] sun4i-drm display-engine: failed to bind 5461000.lcd-controller (ops 0xc0a56960): -22
[ 0.593697] sun4i-tcon: probe of 5461000.lcd-controller failed with error -22
Код
root@MangoPI_MQ-Dual:~$ dmesg | grep sun4i-drm
[ 0.582707] sun4i-drm display-engine: bound 5100000.mixer (ops 0xc0a5a9c4)
[ 0.589226] sun4i-drm display-engine: bound 5200000.mixer (ops 0xc0a5a9c4)
[ 0.590116] sun4i-drm display-engine: bound 5460000.tcon-top (ops 0xc0a5eea8)
[ 0.592164] sun4i-drm display-engine: failed to bind 5461000.lcd-controller (ops 0xc0a56960): -22
[ 0.593321] sun4i-drm display-engine: Couldn't bind all pipelines components
[ 0.593647] sun4i-drm display-engine: adev bind failed: -22
буду крайне признателен за помощь.
dolmatov
Пункты: 1802
Регистрация: 03.07.2016
dolmatov
Пункты: 1802
Регистрация: 03.07.2016
Теперь так ...
Код root@MangoPI_MQ-Dual:~$ dmesg | grep lcd
[ 0.091247] platform 5461000.lcd-controller: Fixed dependency cycle(s) with /soc/tcon-top@5460000/ports/port@3/endpoint@0
[ 0.091407] platform 5461000.lcd-controller: Fixed dependency cycle(s) with /soc/tcon-top@5460000/ports/port@1/endpoint@0
[ 0.104466] platform panel: Fixed dependency cycle(s) with /soc/lcd-controller@5461000/ports/port@1/endpoint@0
[ 19.059282] platform 5461000.lcd-controller: deferred probe pending
Код root@MangoPI_MQ-Dual:~$ dmesg | grep deferred
[ 19.048879] platform panel: deferred probe pending
[ 19.049032] platform 5461000.lcd-controller: deferred probe pending
Здесь что то не так?
Код
backlight: backlight {
compatible = "pwm-backlight";
pwms = <&pwm 0 50000 PWM_POLARITY_INVERTED>;
enable-gpios = <&pio 3 22 GPIO_ACTIVE_HIGH>;
power-supply = <®_vcc_3v3>;
brightness-levels = <0 1 2 4 8 16 32 64 128 255>;
default-brightness-level = <9>;
};
panel {
compatible = "panel-lvds";
backlight = <&backlight>;
power-supply = <®_vcc_3v3>;
width-mm = <153>;
height-mm = <90>;
data-mapping = "vesa-24";
panel-timing {
/* 1024x600 @60Hz */
clock-frequency = <52000000>;
hactive = <1024>;
vactive = <600>;
hsync-len = <20>;
hfront-porch = <180>;
hback-porch = <160>;
vfront-porch = <12>;
vback-porch = <23>;
vsync-len = <5>;
};
port {
panel_input: endpoint {
remote-endpoint = <&tcon_lcd0_out_panel>;
};
};
};
dolmatov
Пункты: 1802
Регистрация: 03.07.2016