RK3399 HDMI support

Vicente Bergas vicencb at gmail.com
Wed Feb 28 15:36:49 PST 2018


Hello,
as stated in [1], RK3399 has incomplete support for HDMI in the
mainline linux kernel.
I have been using it for some time and have spotted a few issues:
 1.- There is no audio support.
 2.- A blue strip randomly appears on the left side.
 3.- While in DPMS off mode, HPD continuously generates uevents.

Please, can somebody help in improving the situation?
>From my side, I can contribute with testing.

Below there is a more detailed description of the issues.

Regards,
  Vicente.


Regarding the 1st issue:
I have tried to add sound in the rk3399-sapphire.dtsi file:
  sound {
    compatible = "simple-audio-card";
    simple-audio-card,name = "rockchip,sapphire-hdmi";
    simple-audio-card,format = "i2s";
    simple-audio-card,mclk-fs = <256>;
    simple-audio-card,cpu {
      sound-dai = <&i2s2>;
    };
    simple-audio-card,codec {
      sound-dai = <&hdmi>;
    };
  };
With the above addition and several other variations I always get:
ALSA device list:
  No soundcards found.
Is HDMI audio support in place and it only needs to be enabled in the
config and dts files? or there are still missing bits and pieces?

Regarding the 2nd issue:
The blue strip is 2 pixels wide and the image is scaled down
to fit in the narrower space. This scaling down causes some blur.
It randomly appears whenever the HDMI transmitter is turned on.

Regarding the 3rd issue:
It does the same when using DPMS standby or DPMS suspend modes.
Just after entering this mode, an interrupt is generated from HPD to
notify a Hot Plug Detect event. A few seconds later, another interrupt
is generated to notify a Hot unPlug Detect event. Then it repeats
forever in a loop.

[1]
http://opensource.rock-chips.com/wiki_Status_Matrix#Mainline_Kernel_Status_Matrix



More information about the Linux-rockchip mailing list