tda998x and atmel-hlcdc

Discussion around products based on ARM Cortex-A5 core.

Moderator: nferre

giometti
Posts: 3
Joined: Fri Jun 21, 2013 8:54 am

tda998x and atmel-hlcdc

Wed Oct 18, 2017 12:06 pm

Hello,

I'm trying to use a tda998x chip on a sama5d3 based board in order to have and HDMI video ouput.

I used the following DTS settings but I suppose the driver is not compatible with atmel-hlcdc due the fact it requires a panel or bridge device as output.

Do you know if there is any chances to make them work together?

Thanks in advance,

Rodolfo

---

Code: Select all

                        ssc0: ssc@f0008000 {
                                pinctrl-0 = <&pinctrl_ssc0_tx>;
                                #sound-dai-cells = <0>;
                                status = "okay";
                        };

                        i2c0: i2c@f0014000 {
                                status = "okay";

                                tda19988: hdmi@70 {
                                        compatible = "nxp,tda998x";
                                        reg = <0x70>;

                                        pinctrl-names = "default";
                                        pinctrl-0 = <&pinctrl_tda19988_irq>;

                                        interrupt-parent = <&pioB>;
                                        interrupts = <13 IRQ_TYPE_EDGE_FALLING>;

                                        #sound-dai-cells = <0>;
                                        audio-ports = < TDA998x_I2S     0x03>;

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

                                                hdmi_input: endpoint@0 {
                                                        reg = <0>;
                                                        remote-endpoint = <&hlcdc_hdmi_output>;
                                                };
                                        };
                                };
                        };
...
                        hlcdc: hlcdc@f0030000 {
                                status = "okay";

                                hlcdc-display-controller {
                                        pinctrl-names = "default";
                                        pinctrl-0 = <&pinctrl_lcd_base &pinctrl_lcd_rgb888>;

                                        port@0 {
                                                hlcdc_hdmi_output: endpoint@0 {
                                                        reg = <0>;
                                                        remote-endpoint = <&hdmi_input>;
                                               };
                                       };
                                };
                        };
...
        sound {
                compatible = "simple-audio-card";
                simple-audio-card,name = "HDMI audio";
                simple-audio-card,format = "i2s";
                simple-audio-card,frame-master = <&dailink0_master>;
                simple-audio-card,bitclock-master = <&dailink0_master>;

                dailink0_master: simple-audio-card,cpu {
                        sound-dai = <&ssc0>;
                        clocks = <&pck0>;
                };

                simple-audio-card,codec {
                        sound-dai = <&tda19988>;
                };
        }; 

Return to “SAMA5D Cortex-A5 MPU”

Who is online

Users browsing this forum: No registered users and 1 guest