summaryrefslogtreecommitdiff
path: root/firmware/export/as3514.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/as3514.h')
-rw-r--r--firmware/export/as3514.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/firmware/export/as3514.h b/firmware/export/as3514.h
index a9b12de36e..39a99415b6 100644
--- a/firmware/export/as3514.h
+++ b/firmware/export/as3514.h
@@ -283,6 +283,21 @@ extern void audiohw_set_lineout_vol(int vol_l, int vol_r);
283#define RVDD_WASLOW (0x1 << 1) 283#define RVDD_WASLOW (0x1 << 1)
284#define BVDD_ISLOW (0x1 << 0) 284#define BVDD_ISLOW (0x1 << 0)
285 285
286#define IRQ_ENDOFCH (0x1 << 6)
287#define IRQ_CHGSTAT (0x1 << 4)
288#define IRQ_USBSTAT (0x1 << 2)
289
290/* AS3514_IRQ_ENRD2 */
291#define DEBOUNCE_128MS (0x2 << 6)
292#define DEBOUNCE_256MS (0x1 << 6)
293#define DEBOUNCE_512MS (0x0 << 6)
294#define IRQ_HIGHACTIVE (0x1 << 5)
295#define IRQ_PUSHPULL (0x1 << 4)
296#define IRQ_REMDET2 (0x1 << 3)
297#define IRQ_REMDET1 (0x1 << 2)
298#define IRQ_RTC (0x1 << 1)
299#define IRQ_ADC (0x1 << 0)
300
286#define AS3514_I2C_ADDR 0x46 301#define AS3514_I2C_ADDR 0x46
287 302
288#endif /* _AS3514_H */ 303#endif /* _AS3514_H */