Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1664323

Re: [RESEND x3][PATCH v4] arm64: dts: hi6220: Add k3-dma and i2s/hdmi audio support

From John Stultz <john.stultz@linaro.org>
Newsgroups linux.kernel
Subject Re: [RESEND x3][PATCH v4] arm64: dts: hi6220: Add k3-dma and i2s/hdmi audio support
Date 2017-06-13 02:50 +0200
Message-ID <tRIbT-Vs-1@gated-at.bofh.it> (permalink)
References <tREBj-77B-1@gated-at.bofh.it> <tRFQK-83F-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Jun 12, 2017 at 3:10 PM, Mark Brown <broonie@kernel.org> wrote:
> On Mon, Jun 12, 2017 at 01:52:46PM -0700, John Stultz wrote:
>
>> +     sound {
>> +             compatible = "simple-audio-card";
>> +             simple-audio-card,name = "hikey-hdmi";
>
> Now the graph card has been merged it's probably a good idea to be using
> that, it's generally a better idea for pretty much all use cases.

I've taken a shot today trying to convert over to the audio-graph-card
method (which isn't yet upstream, but in -next), but I've been running
into some quirks.

Part of the issue is the adv7533 bridge already has a endpoint port
entry for the dsi output. So when I add the codec_endpoint port, it
wants the two port entries to be enumerated, so I get something like:

port@0 {
    adv7533_in: endpoint {
        remote-endpoint = <&dsi_out0>;
    };
};
port@1 {
    codec_endpoint: endpoint {
        remote-endpoint = <&i2s0_cpu_endpoint>;
    };
};

But this causes it to try to link to hdmi-hifi.1 (which doesn't exist)
instead of hdmi-hifi.0.

If I instead swap the entries, so the codec_endpoint is first on port
0, then the the audio link is properly setup, but the dsi
initialization falls over.

Any suggestions here?

thanks
-john

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[RESEND x3][PATCH v4] arm64: dts: hi6220: Add k3-dma and i2s/hdmi audio support John Stultz <john.stultz@linaro.org> - 2017-06-12 23:00 +0200
  Re: [RESEND x3][PATCH v4] arm64: dts: hi6220: Add k3-dma and  i2s/hdmi audio support Mark Brown <broonie@kernel.org> - 2017-06-13 00:20 +0200
    Re: [RESEND x3][PATCH v4] arm64: dts: hi6220: Add k3-dma and i2s/hdmi  audio support John Stultz <john.stultz@linaro.org> - 2017-06-13 02:50 +0200
      Re: [RESEND x3][PATCH v4] arm64: dts: hi6220: Add k3-dma and i2s/hdmi  audio support John Stultz <john.stultz@linaro.org> - 2017-06-13 21:50 +0200
        Re: [RESEND x3][PATCH v4] arm64: dts: hi6220: Add k3-dma and  i2s/hdmi audio support Mark Brown <broonie@kernel.org> - 2017-06-13 22:00 +0200
          Re: [RESEND x3][PATCH v4] arm64: dts: hi6220: Add k3-dma and i2s/hdmi  audio support John Stultz <john.stultz@linaro.org> - 2017-06-13 22:00 +0200
            Re: [RESEND x3][PATCH v4] arm64: dts: hi6220: Add k3-dma and  i2s/hdmi audio support Mark Brown <broonie@kernel.org> - 2017-06-13 22:20 +0200
              Re: [RESEND x3][PATCH v4] arm64: dts: hi6220: Add k3-dma and i2s/hdmi  audio support John Stultz <john.stultz@linaro.org> - 2017-06-13 22:50 +0200
                Re: [RESEND x3][PATCH v4] arm64: dts: hi6220: Add k3-dma and  i2s/hdmi audio support Mark Brown <broonie@kernel.org> - 2017-06-13 23:50 +0200
                Re: [RESEND x3][PATCH v4] arm64: dts: hi6220: Add k3-dma and i2s/hdmi  audio support John Stultz <john.stultz@linaro.org> - 2017-06-14 00:10 +0200
                Re: [RESEND x3][PATCH v4] arm64: dts: hi6220: Add k3-dma and  i2s/hdmi audio support Mark Brown <broonie@kernel.org> - 2017-06-14 16:50 +0200
                Re: [RESEND x3][PATCH v4] arm64: dts: hi6220: Add k3-dma and i2s/hdmi  audio support John Stultz <john.stultz@linaro.org> - 2017-06-14 20:10 +0200

csiph-web