ASoC: Add ssm2518 support
This patch adds a ASoC CODEC driver for the SSM2516. The SSM2516 is a stereo Class-D audio amplifier with an I2S interface for audio in and a built-in dynamic range control processor. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
parent
c7788792a5
commit
b6b5e76bb8
6 changed files with 924 additions and 0 deletions
22
include/linux/platform_data/ssm2518.h
Normal file
22
include/linux/platform_data/ssm2518.h
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
/*
|
||||
* SSM2518 amplifier audio driver
|
||||
*
|
||||
* Copyright 2013 Analog Devices Inc.
|
||||
* Author: Lars-Peter Clausen <lars@metafoo.de>
|
||||
*
|
||||
* Licensed under the GPL-2.
|
||||
*/
|
||||
|
||||
#ifndef __LINUX_PLATFORM_DATA_SSM2518_H__
|
||||
#define __LINUX_PLATFORM_DATA_SSM2518_H__
|
||||
|
||||
/**
|
||||
* struct ssm2518_platform_data - Platform data for the ssm2518 driver
|
||||
* @enable_gpio: GPIO connected to the nSD pin. Set to -1 if the nSD pin is
|
||||
* hardwired.
|
||||
*/
|
||||
struct ssm2518_platform_data {
|
||||
int enable_gpio;
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue