diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/firewire.h | 7 | ||||
| -rw-r--r-- | include/linux/mfd/wm8994/pdata.h | 12 | ||||
| -rw-r--r-- | include/linux/mfd/wm8994/registers.h | 2 |
3 files changed, 19 insertions, 2 deletions
diff --git a/include/linux/firewire.h b/include/linux/firewire.h index 9a3f5f9383f6..fc023d67676f 100644 --- a/include/linux/firewire.h +++ b/include/linux/firewire.h | |||
| @@ -42,6 +42,10 @@ | |||
| 42 | #define CSR_BROADCAST_CHANNEL 0x234 | 42 | #define CSR_BROADCAST_CHANNEL 0x234 |
| 43 | #define CSR_CONFIG_ROM 0x400 | 43 | #define CSR_CONFIG_ROM 0x400 |
| 44 | #define CSR_CONFIG_ROM_END 0x800 | 44 | #define CSR_CONFIG_ROM_END 0x800 |
| 45 | #define CSR_OMPR 0x900 | ||
| 46 | #define CSR_OPCR(i) (0x904 + (i) * 4) | ||
| 47 | #define CSR_IMPR 0x980 | ||
| 48 | #define CSR_IPCR(i) (0x984 + (i) * 4) | ||
| 45 | #define CSR_FCP_COMMAND 0xB00 | 49 | #define CSR_FCP_COMMAND 0xB00 |
| 46 | #define CSR_FCP_RESPONSE 0xD00 | 50 | #define CSR_FCP_RESPONSE 0xD00 |
| 47 | #define CSR_FCP_END 0xF00 | 51 | #define CSR_FCP_END 0xF00 |
| @@ -441,5 +445,8 @@ int fw_iso_context_start(struct fw_iso_context *ctx, | |||
| 441 | int cycle, int sync, int tags); | 445 | int cycle, int sync, int tags); |
| 442 | int fw_iso_context_stop(struct fw_iso_context *ctx); | 446 | int fw_iso_context_stop(struct fw_iso_context *ctx); |
| 443 | void fw_iso_context_destroy(struct fw_iso_context *ctx); | 447 | void fw_iso_context_destroy(struct fw_iso_context *ctx); |
| 448 | void fw_iso_resource_manage(struct fw_card *card, int generation, | ||
| 449 | u64 channels_mask, int *channel, int *bandwidth, | ||
| 450 | bool allocate, __be32 buffer[2]); | ||
| 444 | 451 | ||
| 445 | #endif /* _LINUX_FIREWIRE_H */ | 452 | #endif /* _LINUX_FIREWIRE_H */ |
diff --git a/include/linux/mfd/wm8994/pdata.h b/include/linux/mfd/wm8994/pdata.h index 9eab263658be..466b1c777aff 100644 --- a/include/linux/mfd/wm8994/pdata.h +++ b/include/linux/mfd/wm8994/pdata.h | |||
| @@ -103,13 +103,21 @@ struct wm8994_pdata { | |||
| 103 | unsigned int lineout1fb:1; | 103 | unsigned int lineout1fb:1; |
| 104 | unsigned int lineout2fb:1; | 104 | unsigned int lineout2fb:1; |
| 105 | 105 | ||
| 106 | /* Microphone biases: 0=0.9*AVDD1 1=0.65*AVVD1 */ | 106 | /* IRQ for microphone detection if brought out directly as a |
| 107 | * signal. | ||
| 108 | */ | ||
| 109 | int micdet_irq; | ||
| 110 | |||
| 111 | /* WM8994 microphone biases: 0=0.9*AVDD1 1=0.65*AVVD1 */ | ||
| 107 | unsigned int micbias1_lvl:1; | 112 | unsigned int micbias1_lvl:1; |
| 108 | unsigned int micbias2_lvl:1; | 113 | unsigned int micbias2_lvl:1; |
| 109 | 114 | ||
| 110 | /* Jack detect threashold levels, see datasheet for values */ | 115 | /* WM8994 jack detect threashold levels, see datasheet for values */ |
| 111 | unsigned int jd_scthr:2; | 116 | unsigned int jd_scthr:2; |
| 112 | unsigned int jd_thr:2; | 117 | unsigned int jd_thr:2; |
| 118 | |||
| 119 | /* WM8958 microphone bias configuration */ | ||
| 120 | int micbias[2]; | ||
| 113 | }; | 121 | }; |
| 114 | 122 | ||
| 115 | #endif | 123 | #endif |
diff --git a/include/linux/mfd/wm8994/registers.h b/include/linux/mfd/wm8994/registers.h index be072faec6f0..f3ee84284670 100644 --- a/include/linux/mfd/wm8994/registers.h +++ b/include/linux/mfd/wm8994/registers.h | |||
| @@ -63,6 +63,8 @@ | |||
| 63 | #define WM8994_MICBIAS 0x3A | 63 | #define WM8994_MICBIAS 0x3A |
| 64 | #define WM8994_LDO_1 0x3B | 64 | #define WM8994_LDO_1 0x3B |
| 65 | #define WM8994_LDO_2 0x3C | 65 | #define WM8994_LDO_2 0x3C |
| 66 | #define WM8958_MICBIAS1 0x3D | ||
| 67 | #define WM8958_MICBIAS2 0x3E | ||
| 66 | #define WM8994_CHARGE_PUMP_1 0x4C | 68 | #define WM8994_CHARGE_PUMP_1 0x4C |
| 67 | #define WM8958_CHARGE_PUMP_2 0x4D | 69 | #define WM8958_CHARGE_PUMP_2 0x4D |
| 68 | #define WM8994_CLASS_W_1 0x51 | 70 | #define WM8994_CLASS_W_1 0x51 |
