ASoC: add rt298 codec driver

It is the initial version of ALC298 codec driver.

Signed-off-by: Bard Liao <bardliao@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Bard Liao
2015-06-26 10:59:49 +08:00
committed by Mark Brown
parent d770e558e2
commit 6adcafae6e
5 changed files with 1509 additions and 0 deletions

20
include/sound/rt298.h Normal file
View File

@@ -0,0 +1,20 @@
/*
* linux/sound/rt286.h -- Platform data for RT286
*
* Copyright 2013 Realtek Microelectronics
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#ifndef __LINUX_SND_RT298_H
#define __LINUX_SND_RT298_H
struct rt298_platform_data {
bool cbj_en; /*combo jack enable*/
bool gpio2_en; /*GPIO2 enable*/
bool suspend_power_off; /* power is off during suspend */
};
#endif