Merge remote-tracking branch 'asoc/topic/arizona' into asoc-next
This commit is contained in:
@@ -78,6 +78,8 @@ enum arizona_type {
|
||||
|
||||
#define ARIZONA_NUM_IRQ 50
|
||||
|
||||
struct snd_soc_dapm_context;
|
||||
|
||||
struct arizona {
|
||||
struct regmap *regmap;
|
||||
struct device *dev;
|
||||
@@ -98,6 +100,8 @@ struct arizona {
|
||||
|
||||
struct mutex clk_lock;
|
||||
int clk32k_ref;
|
||||
|
||||
struct snd_soc_dapm_context *dapm;
|
||||
};
|
||||
|
||||
int arizona_clk32k_enable(struct arizona *arizona);
|
||||
|
||||
@@ -62,6 +62,9 @@
|
||||
|
||||
#define ARIZONA_MAX_OUTPUT 6
|
||||
|
||||
#define ARIZONA_HAP_ACT_ERM 0
|
||||
#define ARIZONA_HAP_ACT_LRA 2
|
||||
|
||||
#define ARIZONA_MAX_PDM_SPK 2
|
||||
|
||||
struct regulator_init_data;
|
||||
@@ -114,6 +117,9 @@ struct arizona_pdata {
|
||||
|
||||
/** PDM speaker format */
|
||||
unsigned int spk_fmt[ARIZONA_MAX_PDM_SPK];
|
||||
|
||||
/** Haptic actuator type */
|
||||
unsigned int hap_act;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user