On 04/13/2012 04:17 AM, Mark Brown wrote:
On Tue, Apr 10, 2012 at 04:31:59PM -0600, Stephen Warren wrote:
From: Stephen Warren swarren@nvidia.com
The AHUB (Audio Hub) is a mux/crossbar which links all audio-related devices except the HDA controller on Tegra30. The devices include the DMA FIFOs, DAM (Digital Audio Mixers), I2S controllers, and SPDIF controller. Audio data may be routed between these devices in various combinations as required by board design/application.
Applied all, thanks. I'd have been slightly happier if we'd had the machine driver to show how this is used but there's enough plans to continue updating the code anyway so it doesn't seem like a big deal.
Thanks.
The existing tegra_wm8903.c machine driver works fine with these Tegra30 modules, so there is a machine driver in place. Or, were you referring to something more advanced that exposed the AHUB's routing capabilities?
BTW, you'll notice that the AHUB driver uses the same REG_IN_ARRAY macro as I used in the Tegra20 DAS driver's regmap rework earlier. I'd like to just use the same macro in both places for consistency. Are you OK with the DAS driver based on that, or do you still want me to rework the macro in the DAS driver since the use-case is a little simpler there?
Thanks again.