ASoC: wsa883x: Enable WSA883x codec driver

Enable WSA883x codec driver to support WSA883x smart speaker
amplifier.

Change-Id: I0a773459c28ca2afc7232ec33001351152a7249a
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
此提交包含在:
Sudheer Papothi
2019-12-17 18:24:09 +05:30
提交者 Gerrit - the friendly Code Review server
父節點 4a03bd5171
當前提交 7f9dfd57cc
共有 7 個檔案被更改,包括 220 行新增130 行删除

查看文件

@@ -6,6 +6,7 @@
#ifndef WSA883X_INTERNAL_H
#define WSA883X_INTERNAL_H
#include <asoc/wcd-irq.h>
#include "wsa883x.h"
#include "wsa883x-registers.h"
@@ -63,9 +64,9 @@ enum {
};
struct wsa_ctrl_platform_data {
void *handle,
void *handle;
int (*update_wsa_event)(void *handle, u16 event, u32 data);
int (*register_notifier)(void *handle, struct notifer_block *nblock,
int (*register_notifier)(void *handle, struct notifier_block *nblock,
bool enable);
};
@@ -101,6 +102,7 @@ struct wsa883x_priv {
int pa_mute;
int curr_temp;
int variant;
u8 pa_gain;
struct irq_domain *virq;
struct wcd_irq_info irq_info;
#ifdef CONFIG_DEBUG_FS