Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752180AbaLOLwc (ORCPT ); Mon, 15 Dec 2014 06:52:32 -0500 Received: from regular1.263xmail.com ([211.150.99.137]:58311 "EHLO regular1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751629AbaLOLw0 (ORCPT ); Mon, 15 Dec 2014 06:52:26 -0500 X-263anti-spam: KSV:0; X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-KSVirus-check: 0 X-ABS-CHECKED: 4 X-RL-SENDER: ykk@rock-chips.com X-FST-TO: jsarha@ti.com X-SENDER-IP: 104.167.231.7 X-LOGIN-NAME: ykk@rock-chips.com X-UNIQUE-TAG: <24045990696865e737fc0cb66f454cb8> X-ATTACHMENT-NUM: 0 X-DNS-TYPE: 0 Message-ID: <548ECB66.70004@rock-chips.com> Date: Mon, 15 Dec 2014 19:52:06 +0800 From: "Kuankuan.Yang" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Russell King - ARM Linux CC: Philipp Zabel , Zubair.Kakakhel@imgtec.com, Fabio Estevam , Shawn Guo , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Heiko Stuebner , Daniel Kurtz , Sonny Rao , Dylan Reid , Xu Jianqun , =?UTF-8?B?U3TDqXBoYW5lIE1hcmNoZXNpbg==?= , Lars-Peter Clausen , Brian Austin , Bard Liao , Max Filippov , Oder Chiou , Arnd Bergmann , Kumar Gala , Ian Campbell , Rob Herring , David Airlie , Sean Cross , Grant Likely , linux-rockchip@lists.infradead.org, Pawel Moll , Greg Kroah-Hartman , Ben Zhang , devicetree@vger.kernel.org, Liam Girdwood , linux-arm-kernel@lists.infradead.org, Jaroslav Kysela , Mark Brown , Takashi Iwai , Mark Rutland , Jyri Sarha Subject: Re: [RFC PATCH 0/6] Those patches is used for dw_hdmi audio. References: <1418609494-15820-1-git-send-email-ykk@rock-chips.com> <20141215103830.GD11285@n2100.arm.linux.org.uk> <548EC9E1.5040206@rock-chips.com> In-Reply-To: <548EC9E1.5040206@rock-chips.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Russell: thks for your replay, actually you also have send me those dw-hdmi-audio.c patches, and I also agree it's an beautiful way to make hdmi-audio works. Beside, I try to reuse it into our platform, and actually the system have created the DW_HDMI sound card successfully, but i cannot play any sound with this sound card. After dump the registers, I found the part of "Audio DMA Registers" cannot write and always read with 0x00. So I searching the document "Designware Core HDMI Transmitter Controller Databook", and found that "Audio DMA Registers" only present when the hardware configuration parameter AUDIO_IF is set to AHBAUDDMA. Than I communicate with our IC colleagues, they told me that our cpu rk3288 only support two way to transmit audio data( I2S & SPDIF ), in that way we do not support AHB_DMA, it's very sad, and this it why i give up this way, also it's my bad that i should replay to u first in the before mail. Best Regards. > 在 2014年12月15日 18:38, Russell King - ARM Linux 写道: >> On Mon, Dec 15, 2014 at 10:11:28AM +0800, Yakir Yang wrote: >>> rk3288 use Designware HDMI IP, Designware HDMI supports four interfaces to >>> config hdmi audio(I2S, S/PDIF, Generic Parallel Audio, AHB Audio DMA), but >>> rk3288 only support two ways to config hdmi audio(I2S, S/PDIF), So we take >>> I2S as hdmi audio operation interfaces, and then treat hdmi audio as an >>> standard ALSA devices(only got platback function). >> There is no need for dw-hdmi audio to be implemented as an ASoC >> device - as I've already sent patches to Andy with my ALSA driver >> which has been around for the last two years, and works well, and >> doesn't require any additional DT description. >> > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/