All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vicente Bergas <vicencb-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Jakob Unterwurzacher
	<jakob.unterwurzacher-SN7IsUiht6C/RdPyistoZJqQE7yCjDx5@public.gmane.org>
Cc: linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	Klaus Goger
	<klaus.goger-SN7IsUiht6C/RdPyistoZJqQE7yCjDx5@public.gmane.org>,
	Heiko Stuebner <heiko-4mtYJXux2i+zQB+pC5nmwQ@public.gmane.org>
Subject: Re: [PATCH] arm64: dts: rockchip: enable hdmi on rk3399-puma-haikou
Date: Wed, 2 May 2018 21:12:05 +0200	[thread overview]
Message-ID: <CAAMcf8CBH+fmw3-+x15G=7R0EFCwN9o_vEjt8K-n5EYuRnfb4A@mail.gmail.com> (raw)
In-Reply-To: <d32fa12f-ceb8-a869-2450-0df5cb4086ff-SN7IsUiht6C/RdPyistoZJqQE7yCjDx5@public.gmane.org>

Hi,

On Wed, May 2, 2018 at 4:19 PM, Jakob Unterwurzacher
<jakob.unterwurzacher-SN7IsUiht6C/RdPyistoZJqQE7yCjDx5@public.gmane.org> wrote:
> On 30.04.18 20:51, Vicente Bergas wrote:
>>
>> Does HDMI audio work on rk3399-puma-haikou?
>
>
> Hi Vicente, works on v4.4 vendor kernel, but does not seem to work on
> mainline.
>
> Best regards,
> Jakob

just for reference, this is what I tested:
 1.- enable CONFIG_SND_SIMPLE_CARD in the kernel configuration
 2.- patch rk3399-sapphire.dtsi with
--- a/arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtsi
@@ -119,6 +119,19 @@
         };
     };

+    sapphire-sound {
+        compatible = "simple-audio-card";
+        simple-audio-card,name = "rockchip,sapphire-codec";
+        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>;
+        };
+    };
+
     /* switched by pmic_sleep */
     vcc1v8_s3: vcca1v8_s3: vcc1v8-s3 {
         compatible = "regulator-fixed";
@@ -223,6 +246,7 @@
 };

 &hdmi {
+    #sound-dai-cells = <0>;
     ddc-i2c-bus = <&i2c3>;
     status = "okay";
 };

But I am always getting:
ALSA device list:
  No soundcards found.

Regards,
  Vicente.

  parent reply	other threads:[~2018-05-02 19:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-24 14:24 [PATCH] arm64: dts: rockchip: enable hdmi on rk3399-puma-haikou Jakob Unterwurzacher
     [not found] ` <20180424142459.3339-1-jakob.unterwurzacher-SN7IsUiht6C/RdPyistoZJqQE7yCjDx5@public.gmane.org>
2018-04-30 18:51   ` Vicente Bergas
     [not found]     ` <20180430185107.3197-1-vicencb-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2018-05-02 14:19       ` Jakob Unterwurzacher
     [not found]         ` <d32fa12f-ceb8-a869-2450-0df5cb4086ff-SN7IsUiht6C/RdPyistoZJqQE7yCjDx5@public.gmane.org>
2018-05-02 19:12           ` Vicente Bergas [this message]
2018-05-03 12:40   ` Heiko Stuebner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAAMcf8CBH+fmw3-+x15G=7R0EFCwN9o_vEjt8K-n5EYuRnfb4A@mail.gmail.com' \
    --to=vicencb-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=heiko-4mtYJXux2i+zQB+pC5nmwQ@public.gmane.org \
    --cc=jakob.unterwurzacher-SN7IsUiht6C/RdPyistoZJqQE7yCjDx5@public.gmane.org \
    --cc=klaus.goger-SN7IsUiht6C/RdPyistoZJqQE7yCjDx5@public.gmane.org \
    --cc=linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.