Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751972Ab3GXG6e (ORCPT ); Wed, 24 Jul 2013 02:58:34 -0400 Received: from mailhost.informatik.uni-hamburg.de ([134.100.9.70]:56824 "EHLO mailhost.informatik.uni-hamburg.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751260Ab3GXG6c (ORCPT ); Wed, 24 Jul 2013 02:58:32 -0400 Message-ID: <51EF7B13.4050207@metafoo.de> Date: Wed, 24 Jul 2013 08:58:27 +0200 From: Lars-Peter Clausen User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130704 Icedove/17.0.7 MIME-Version: 1.0 To: Richard Zhao CC: devicetree-discuss@lists.ozlabs.org, linux-doc@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-spi@vger.kernel.org, linux-serial@vger.kernel.org, alsa-devel@alsa-project.org, grant.likely@linaro.org, rob.herring@calxeda.com, rob@landley.net, swarren@wwwdotorg.org, vinod.koul@intel.com, djbw@fb.com, broonie@kernel.org, gregkh@linuxfoundation.org, lgirdwood@gmail.com, linuxzsc@gmail.com, ldewangan@nvidia.com, dev@lynxeye.de Subject: Re: [PATCH 7/9] ASoC: tegra: move to generic DMA DT binding References: <1374639002-16753-1-git-send-email-rizhao@nvidia.com> <1374639002-16753-8-git-send-email-rizhao@nvidia.com> In-Reply-To: <1374639002-16753-8-git-send-email-rizhao@nvidia.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 882 Lines: 17 On 07/24/2013 06:10 AM, Richard Zhao wrote: > - add tegra_dma_filter_data to specify dma info > DMA DT binding needs the device that raise dma request and dma name > to request a dma channel. tegra30_i2s is a special case. It should be ahub > device and it also has dma name that cannot handled by ASoC dmaengine code. > So we pass the info using filter data in snd_dmaengine_dai_dma_data. How about extending the generic dmaengine PCM driver so that it is possible to specify the the DMA channel names? I think that will make the code a bit simpler and also allow you to remove tegra_pcm.c completely eventually. - Lars -- 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/