mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-17 15:47:39 +07:00
b6b5e76bb8
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>
23 lines
489 B
C
23 lines
489 B
C
/*
|
|
* 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
|