ADV7513 на yocto - ядро ​​4.14 - PullRequest
       75

ADV7513 на yocto - ядро ​​4.14

0 голосов
/ 24 октября 2018

Я работаю над IMX6QP с yocto rocko / Linux 4.14.24 и пытаюсь использовать ADV7513.Моя системная плата представляет собой karo TX6QP .

На моем жестком диске: DISP0_output (IPU1) -> adv7513_in -> разъем HDMI

Конфигурация ядра:

CONFIG_DRM = y
CONFIG_DRM_I2C_ADV7511 = m

dtb: в разделе I2C:

hdmi@39 {
compatible = "adi,adv7513";
reg = <0x39>;
interrupt-parent = <&gpio4>;
interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
pd-gpio = <&gpio3 18 GPIO_ACTIVE_HIGH>;

adi,input-depth = <8>;
adi,input-colorspace = "rgb";
adi,input-clock = "1x";
adi,input-style = <1>;
adi,input-justification = "evenly";

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

port@0 { /* DISP out */
reg = <0>;
adv7513_in: endpoint {
remote-endpoint = <&ipu1_di0_disp0>;
};
};

port@1 { /* HDMI out */
reg = <1>;
adv7513_out: endpoint {
remote-endpoint = <&hdmi_con>;
};
};
};
};

В основном разделе:

hdmi-out0 {

status = "okay";
compatible = "hdmi-connector";
type = "a";

port {
hdmi_con: endpoint {
remote-endpoint = <&adv7513_out>;
};
};
};

ADV7513 не запускается, потому что он не связан: функция "adv7511_bridge_attach" никогда не вызывается.

Что я могу сделать, чтобы привязать кодировщик к выводу DISP?

Есть идеи?

rBeal

1 Ответ

0 голосов
/ 27 ноября 2018

Проблема была в связывании ipu1 и adv7511.Решено с помощью:

display: disp0 {
        compatible = "fsl,imx-parallel-display";
        #address-cells = <1>;
        #size-cells = <0>;
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_disp0_2>;
        interface-pix-fmt = "rgb24";

        bits-per-pixel = <32>;
        bus-width = <24>;

        status = "okay";

        port@0 {
                reg = <0>;
                lcd_in: endpoint {
                        remote-endpoint = <&ipu1_di0_disp0>;
                };
        };

        port@1 {
                reg = <1>;
                lcd_out: endpoint {
                        remote-endpoint = <&adv7511_in>;
                };
        };

Теперь ipu1 привязан к adv7511.

Решено

...