diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/i2c-id.h | 1 | ||||
-rw-r--r-- | include/linux/spi/at73c213.h | 25 |
2 files changed, 26 insertions, 0 deletions
diff --git a/include/linux/i2c-id.h b/include/linux/i2c-id.h index a271b67a8e2d..88c81403eb3f 100644 --- a/include/linux/i2c-id.h +++ b/include/linux/i2c-id.h | |||
@@ -120,6 +120,7 @@ | |||
120 | #define I2C_DRIVERID_WM8753 91 /* Wolfson WM8753 audio codec */ | 120 | #define I2C_DRIVERID_WM8753 91 /* Wolfson WM8753 audio codec */ |
121 | #define I2C_DRIVERID_LM4857 92 /* LM4857 Audio Amplifier */ | 121 | #define I2C_DRIVERID_LM4857 92 /* LM4857 Audio Amplifier */ |
122 | #define I2C_DRIVERID_VP27SMPX 93 /* Panasonic VP27s tuner internal MPX */ | 122 | #define I2C_DRIVERID_VP27SMPX 93 /* Panasonic VP27s tuner internal MPX */ |
123 | #define I2C_DRIVERID_CS4270 94 /* Cirrus Logic 4270 audio codec */ | ||
123 | 124 | ||
124 | #define I2C_DRIVERID_I2CDEV 900 | 125 | #define I2C_DRIVERID_I2CDEV 900 |
125 | #define I2C_DRIVERID_ARP 902 /* SMBus ARP Client */ | 126 | #define I2C_DRIVERID_ARP 902 /* SMBus ARP Client */ |
diff --git a/include/linux/spi/at73c213.h b/include/linux/spi/at73c213.h new file mode 100644 index 000000000000..0f20a70e5eb4 --- /dev/null +++ b/include/linux/spi/at73c213.h | |||
@@ -0,0 +1,25 @@ | |||
1 | /* | ||
2 | * Board-specific data used to set up AT73c213 audio DAC driver. | ||
3 | */ | ||
4 | |||
5 | #ifndef __LINUX_SPI_AT73C213_H | ||
6 | #define __LINUX_SPI_AT73C213_H | ||
7 | |||
8 | /** | ||
9 | * at73c213_board_info - how the external DAC is wired to the device. | ||
10 | * | ||
11 | * @ssc_id: SSC platform_driver id the DAC shall use to stream the audio. | ||
12 | * @dac_clk: the external clock used to provide master clock to the DAC. | ||
13 | * @shortname: a short discription for the DAC, seen by userspace tools. | ||
14 | * | ||
15 | * This struct contains the configuration of the hardware connection to the | ||
16 | * external DAC. The DAC needs a master clock and a I2S audio stream. It also | ||
17 | * provides a name which is used to identify it in userspace tools. | ||
18 | */ | ||
19 | struct at73c213_board_info { | ||
20 | int ssc_id; | ||
21 | struct clk *dac_clk; | ||
22 | char shortname[32]; | ||
23 | }; | ||
24 | |||
25 | #endif /* __LINUX_SPI_AT73C213_H */ | ||