You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
24 lines
536 B
C
24 lines
536 B
C
|
|
/*
|
||
|
|
* wm8962.h -- WM8962 Soc Audio driver platform data
|
||
|
|
*
|
||
|
|
* 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 _WM8962_PDATA_H
|
||
|
|
#define _WM8962_PDATA_H
|
||
|
|
|
||
|
|
#define WM8962_MAX_GPIO 6
|
||
|
|
|
||
|
|
/* Use to set GPIO default values to zero */
|
||
|
|
#define WM8962_GPIO_SET 0x10000
|
||
|
|
|
||
|
|
struct wm8962_pdata {
|
||
|
|
u32 gpio_init[WM8962_MAX_GPIO];
|
||
|
|
|
||
|
|
bool spk_mono; /* Speaker outputs tied together as mono */
|
||
|
|
};
|
||
|
|
|
||
|
|
#endif
|