greybus: Audio: Add skeleton code for GB virtual codec driver
authorVaibhav Agarwal <vaibhav.agarwal@linaro.org>
Mon, 23 Nov 2015 10:27:45 +0000 (15:57 +0530)
committerGreg Kroah-Hartman <gregkh@google.com>
Tue, 24 Nov 2015 00:38:22 +0000 (16:38 -0800)
commitd3d2af51f9c2f29a0bf5df278503820004d71e36
tree4db0a2a3ad9103c87a6b7d9faf307bfd8e8ad2e5
parent3823c614793131afcfd87ba87bd83012ec52a879
greybus: Audio: Add skeleton code for GB virtual codec driver

This patch adds gb-codec driver with static information for
DAPM widgets, controls & dapm_routes.

Including some changes in kernel code(machine driver):
- Able to register codec and glue it with existing sound card successfully.
- Able to view & modify mixer controls:
        (volume/mute[left/right][input/output])
- Able to view DAPM widgets registered via /debug interface.
- Able to establish DAPM path for playback.

Since, FE<->BE path not yet verified with default jetson build,
registering GB DAI as normal DAI link to verify GB virtual codec
specific DAPM path.

Signed-off-by: Vaibhav Agarwal <vaibhav.agarwal@linaro.org>
Reviewed-by: Mark Greer <mgreer@animalcreek.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/Makefile
drivers/staging/greybus/audio-codec.c [new file with mode: 0644]
drivers/staging/greybus/audio.h [new file with mode: 0644]