#include "../../../drivers/spi/rk29_spim.h"
#endif
+#ifdef CONFIG_SND_SOC_RK2928
+#include "../../../sound/soc/codecs/rk2928_codec.h"
+#endif
+
#include "board-rk2928-sdk-camera.c"
#include "board-rk2928-sdk-key.c"
#ifdef CONFIG_SND_SOC_RK2928
+static int hpctl_io_init(void)
+{
+ int ret = 0;
+ return ret;
+}
+
+struct rk2928_codec_pdata rk2928_codec_pdata_info={
+ .hpctl = INVALID_GPIO,
+ .hpctl_io_init = hpctl_io_init,
+};
+
static struct resource resources_acodec[] = {
{
.start = RK2928_ACODEC_PHYS,
.id = -1,
.num_resources = ARRAY_SIZE(resources_acodec),
.resource = resources_acodec,
+ .dev = {
+ .platform_data = &rk2928_codec_pdata_info,
+ }
};
#endif
#include "../../../drivers/spi/rk29_spim.h"
#endif
+#ifdef CONFIG_SND_SOC_RK2928
+#include "../../../sound/soc/codecs/rk2928_codec.h"
+#endif
+
#include "board-rk2928-a720-camera.c"
#include "board-rk2928-a720-key.c"
#endif // CONFIG_SDMMC0_RK29
#ifdef CONFIG_SND_SOC_RK2928
+static int hpctl_io_init(void)
+{
+ int ret=0;
+ return ret;
+}
+
+struct rk2928_codec_pdata rk2928_codec_pdata_info={
+ .hpctl = INVALID_GPIO,
+ .hpctl_io_init = hpctl_io_init,
+};
+
static struct resource resources_acodec[] = {
{
.start = RK2928_ACODEC_PHYS,
.id = -1,
.num_resources = ARRAY_SIZE(resources_acodec),
.resource = resources_acodec,
+ .dev = {
+ .platform_data = &rk2928_codec_pdata_info,
+ }
};
#endif
#include "../../../drivers/spi/rk29_spim.h"
#endif
+#ifdef CONFIG_SND_SOC_RK2928
+#include "../../../sound/soc/codecs/rk2928_codec.h"
+#endif
+
#include "board-rk2928-sdk-camera.c"
#include "board-rk2928-sdk-key.c"
#endif
#ifdef CONFIG_SND_SOC_RK2928
+static int hpctl_io_init(void)
+{
+ int ret = 0;
+ return ret;
+}
+
+struct rk2928_codec_pdata rk2928_codec_pdata_info={
+ .hpctl = INVALID_GPIO,
+ .hpctl_io_init = hpctl_io_init,
+};
+
static struct resource resources_acodec[] = {
{
.start = RK2928_ACODEC_PHYS,
.id = -1,
.num_resources = ARRAY_SIZE(resources_acodec),
.resource = resources_acodec,
+ .dev = {
+ .platform_data = &rk2928_codec_pdata_info,
+ }
};
#endif
#if defined(CONFIG_SPIM_RK29)
#include "../../../drivers/spi/rk29_spim.h"
#endif
+
+#ifdef CONFIG_SND_SOC_RK2928
+#include "../../../sound/soc/codecs/rk2928_codec.h"
+#endif
+
#if defined(CONFIG_GPS_RK)
#include "../../../drivers/misc/gps/rk_gps/rk_gps.h"
#endif
#endif
#ifdef CONFIG_SND_SOC_RK2928
+static int hpctl_io_init(void)
+{
+ int ret=0;
+ return ret;
+}
+
+struct rk2928_codec_pdata rk2928_codec_pdata_info={
+ .hpctl = INVALID_GPIO,
+ .hpctl_io_init = hpctl_io_init,
+};
+
static struct resource resources_acodec[] = {
{
.start = RK2928_ACODEC_PHYS,
.id = -1,
.num_resources = ARRAY_SIZE(resources_acodec),
.resource = resources_acodec,
+ .dev = {
+ .platform_data = &rk2928_codec_pdata_info,
+ }
};
#endif