1*d2912cb1SThomas Gleixner /* SPDX-License-Identifier: GPL-2.0-only */ 26a504a75SDimitris Papastamos /* 36a504a75SDimitris Papastamos * wm8995.h -- WM8995 ALSA SoC Audio driver 46a504a75SDimitris Papastamos * 56a504a75SDimitris Papastamos * Copyright 2010 Wolfson Microelectronics plc 66a504a75SDimitris Papastamos * 76a504a75SDimitris Papastamos * Author: Dimitris Papastamos <dp@opensource.wolfsonmicro.com> 86a504a75SDimitris Papastamos */ 96a504a75SDimitris Papastamos 106a504a75SDimitris Papastamos #ifndef _WM8995_H 116a504a75SDimitris Papastamos #define _WM8995_H 126a504a75SDimitris Papastamos 136a504a75SDimitris Papastamos #include <asm/types.h> 146a504a75SDimitris Papastamos 156a504a75SDimitris Papastamos /* 166a504a75SDimitris Papastamos * Register values. 176a504a75SDimitris Papastamos */ 186a504a75SDimitris Papastamos #define WM8995_SOFTWARE_RESET 0x00 196a504a75SDimitris Papastamos #define WM8995_POWER_MANAGEMENT_1 0x01 206a504a75SDimitris Papastamos #define WM8995_POWER_MANAGEMENT_2 0x02 216a504a75SDimitris Papastamos #define WM8995_POWER_MANAGEMENT_3 0x03 226a504a75SDimitris Papastamos #define WM8995_POWER_MANAGEMENT_4 0x04 236a504a75SDimitris Papastamos #define WM8995_POWER_MANAGEMENT_5 0x05 246a504a75SDimitris Papastamos #define WM8995_LEFT_LINE_INPUT_1_VOLUME 0x10 256a504a75SDimitris Papastamos #define WM8995_RIGHT_LINE_INPUT_1_VOLUME 0x11 266a504a75SDimitris Papastamos #define WM8995_LEFT_LINE_INPUT_CONTROL 0x12 276a504a75SDimitris Papastamos #define WM8995_DAC1_LEFT_VOLUME 0x18 286a504a75SDimitris Papastamos #define WM8995_DAC1_RIGHT_VOLUME 0x19 296a504a75SDimitris Papastamos #define WM8995_DAC2_LEFT_VOLUME 0x1A 306a504a75SDimitris Papastamos #define WM8995_DAC2_RIGHT_VOLUME 0x1B 316a504a75SDimitris Papastamos #define WM8995_OUTPUT_VOLUME_ZC_1 0x1C 326a504a75SDimitris Papastamos #define WM8995_MICBIAS_1 0x20 336a504a75SDimitris Papastamos #define WM8995_MICBIAS_2 0x21 346a504a75SDimitris Papastamos #define WM8995_LDO_1 0x28 356a504a75SDimitris Papastamos #define WM8995_LDO_2 0x29 366a504a75SDimitris Papastamos #define WM8995_ACCESSORY_DETECT_MODE1 0x30 376a504a75SDimitris Papastamos #define WM8995_ACCESSORY_DETECT_MODE2 0x31 386a504a75SDimitris Papastamos #define WM8995_HEADPHONE_DETECT1 0x34 396a504a75SDimitris Papastamos #define WM8995_HEADPHONE_DETECT2 0x35 406a504a75SDimitris Papastamos #define WM8995_MIC_DETECT_1 0x38 416a504a75SDimitris Papastamos #define WM8995_MIC_DETECT_2 0x39 426a504a75SDimitris Papastamos #define WM8995_CHARGE_PUMP_1 0x40 436a504a75SDimitris Papastamos #define WM8995_CLASS_W_1 0x45 446a504a75SDimitris Papastamos #define WM8995_DC_SERVO_1 0x50 456a504a75SDimitris Papastamos #define WM8995_DC_SERVO_2 0x51 466a504a75SDimitris Papastamos #define WM8995_DC_SERVO_3 0x52 476a504a75SDimitris Papastamos #define WM8995_DC_SERVO_5 0x54 486a504a75SDimitris Papastamos #define WM8995_DC_SERVO_6 0x55 496a504a75SDimitris Papastamos #define WM8995_DC_SERVO_7 0x56 506a504a75SDimitris Papastamos #define WM8995_DC_SERVO_READBACK_0 0x57 516a504a75SDimitris Papastamos #define WM8995_ANALOGUE_HP_1 0x60 526a504a75SDimitris Papastamos #define WM8995_ANALOGUE_HP_2 0x61 536a504a75SDimitris Papastamos #define WM8995_CHIP_REVISION 0x100 546a504a75SDimitris Papastamos #define WM8995_CONTROL_INTERFACE_1 0x101 556a504a75SDimitris Papastamos #define WM8995_CONTROL_INTERFACE_2 0x102 566a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_CTRL_1 0x110 576a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_CTRL_2 0x111 586a504a75SDimitris Papastamos #define WM8995_AIF1_CLOCKING_1 0x200 596a504a75SDimitris Papastamos #define WM8995_AIF1_CLOCKING_2 0x201 606a504a75SDimitris Papastamos #define WM8995_AIF2_CLOCKING_1 0x204 616a504a75SDimitris Papastamos #define WM8995_AIF2_CLOCKING_2 0x205 626a504a75SDimitris Papastamos #define WM8995_CLOCKING_1 0x208 636a504a75SDimitris Papastamos #define WM8995_CLOCKING_2 0x209 646a504a75SDimitris Papastamos #define WM8995_AIF1_RATE 0x210 656a504a75SDimitris Papastamos #define WM8995_AIF2_RATE 0x211 666a504a75SDimitris Papastamos #define WM8995_RATE_STATUS 0x212 676a504a75SDimitris Papastamos #define WM8995_FLL1_CONTROL_1 0x220 686a504a75SDimitris Papastamos #define WM8995_FLL1_CONTROL_2 0x221 696a504a75SDimitris Papastamos #define WM8995_FLL1_CONTROL_3 0x222 706a504a75SDimitris Papastamos #define WM8995_FLL1_CONTROL_4 0x223 716a504a75SDimitris Papastamos #define WM8995_FLL1_CONTROL_5 0x224 726a504a75SDimitris Papastamos #define WM8995_FLL2_CONTROL_1 0x240 736a504a75SDimitris Papastamos #define WM8995_FLL2_CONTROL_2 0x241 746a504a75SDimitris Papastamos #define WM8995_FLL2_CONTROL_3 0x242 756a504a75SDimitris Papastamos #define WM8995_FLL2_CONTROL_4 0x243 766a504a75SDimitris Papastamos #define WM8995_FLL2_CONTROL_5 0x244 776a504a75SDimitris Papastamos #define WM8995_AIF1_CONTROL_1 0x300 786a504a75SDimitris Papastamos #define WM8995_AIF1_CONTROL_2 0x301 796a504a75SDimitris Papastamos #define WM8995_AIF1_MASTER_SLAVE 0x302 806a504a75SDimitris Papastamos #define WM8995_AIF1_BCLK 0x303 816a504a75SDimitris Papastamos #define WM8995_AIF1ADC_LRCLK 0x304 826a504a75SDimitris Papastamos #define WM8995_AIF1DAC_LRCLK 0x305 836a504a75SDimitris Papastamos #define WM8995_AIF1DAC_DATA 0x306 846a504a75SDimitris Papastamos #define WM8995_AIF1ADC_DATA 0x307 856a504a75SDimitris Papastamos #define WM8995_AIF2_CONTROL_1 0x310 866a504a75SDimitris Papastamos #define WM8995_AIF2_CONTROL_2 0x311 876a504a75SDimitris Papastamos #define WM8995_AIF2_MASTER_SLAVE 0x312 886a504a75SDimitris Papastamos #define WM8995_AIF2_BCLK 0x313 896a504a75SDimitris Papastamos #define WM8995_AIF2ADC_LRCLK 0x314 906a504a75SDimitris Papastamos #define WM8995_AIF2DAC_LRCLK 0x315 916a504a75SDimitris Papastamos #define WM8995_AIF2DAC_DATA 0x316 926a504a75SDimitris Papastamos #define WM8995_AIF2ADC_DATA 0x317 936a504a75SDimitris Papastamos #define WM8995_AIF1_ADC1_LEFT_VOLUME 0x400 946a504a75SDimitris Papastamos #define WM8995_AIF1_ADC1_RIGHT_VOLUME 0x401 956a504a75SDimitris Papastamos #define WM8995_AIF1_DAC1_LEFT_VOLUME 0x402 966a504a75SDimitris Papastamos #define WM8995_AIF1_DAC1_RIGHT_VOLUME 0x403 976a504a75SDimitris Papastamos #define WM8995_AIF1_ADC2_LEFT_VOLUME 0x404 986a504a75SDimitris Papastamos #define WM8995_AIF1_ADC2_RIGHT_VOLUME 0x405 996a504a75SDimitris Papastamos #define WM8995_AIF1_DAC2_LEFT_VOLUME 0x406 1006a504a75SDimitris Papastamos #define WM8995_AIF1_DAC2_RIGHT_VOLUME 0x407 1016a504a75SDimitris Papastamos #define WM8995_AIF1_ADC1_FILTERS 0x410 1026a504a75SDimitris Papastamos #define WM8995_AIF1_ADC2_FILTERS 0x411 1036a504a75SDimitris Papastamos #define WM8995_AIF1_DAC1_FILTERS_1 0x420 1046a504a75SDimitris Papastamos #define WM8995_AIF1_DAC1_FILTERS_2 0x421 1056a504a75SDimitris Papastamos #define WM8995_AIF1_DAC2_FILTERS_1 0x422 1066a504a75SDimitris Papastamos #define WM8995_AIF1_DAC2_FILTERS_2 0x423 1076a504a75SDimitris Papastamos #define WM8995_AIF1_DRC1_1 0x440 1086a504a75SDimitris Papastamos #define WM8995_AIF1_DRC1_2 0x441 1096a504a75SDimitris Papastamos #define WM8995_AIF1_DRC1_3 0x442 1106a504a75SDimitris Papastamos #define WM8995_AIF1_DRC1_4 0x443 1116a504a75SDimitris Papastamos #define WM8995_AIF1_DRC1_5 0x444 1126a504a75SDimitris Papastamos #define WM8995_AIF1_DRC2_1 0x450 1136a504a75SDimitris Papastamos #define WM8995_AIF1_DRC2_2 0x451 1146a504a75SDimitris Papastamos #define WM8995_AIF1_DRC2_3 0x452 1156a504a75SDimitris Papastamos #define WM8995_AIF1_DRC2_4 0x453 1166a504a75SDimitris Papastamos #define WM8995_AIF1_DRC2_5 0x454 1176a504a75SDimitris Papastamos #define WM8995_AIF1_DAC1_EQ_GAINS_1 0x480 1186a504a75SDimitris Papastamos #define WM8995_AIF1_DAC1_EQ_GAINS_2 0x481 1196a504a75SDimitris Papastamos #define WM8995_AIF1_DAC1_EQ_BAND_1_A 0x482 1206a504a75SDimitris Papastamos #define WM8995_AIF1_DAC1_EQ_BAND_1_B 0x483 1216a504a75SDimitris Papastamos #define WM8995_AIF1_DAC1_EQ_BAND_1_PG 0x484 1226a504a75SDimitris Papastamos #define WM8995_AIF1_DAC1_EQ_BAND_2_A 0x485 1236a504a75SDimitris Papastamos #define WM8995_AIF1_DAC1_EQ_BAND_2_B 0x486 1246a504a75SDimitris Papastamos #define WM8995_AIF1_DAC1_EQ_BAND_2_C 0x487 1256a504a75SDimitris Papastamos #define WM8995_AIF1_DAC1_EQ_BAND_2_PG 0x488 1266a504a75SDimitris Papastamos #define WM8995_AIF1_DAC1_EQ_BAND_3_A 0x489 1276a504a75SDimitris Papastamos #define WM8995_AIF1_DAC1_EQ_BAND_3_B 0x48A 1286a504a75SDimitris Papastamos #define WM8995_AIF1_DAC1_EQ_BAND_3_C 0x48B 1296a504a75SDimitris Papastamos #define WM8995_AIF1_DAC1_EQ_BAND_3_PG 0x48C 1306a504a75SDimitris Papastamos #define WM8995_AIF1_DAC1_EQ_BAND_4_A 0x48D 1316a504a75SDimitris Papastamos #define WM8995_AIF1_DAC1_EQ_BAND_4_B 0x48E 1326a504a75SDimitris Papastamos #define WM8995_AIF1_DAC1_EQ_BAND_4_C 0x48F 1336a504a75SDimitris Papastamos #define WM8995_AIF1_DAC1_EQ_BAND_4_PG 0x490 1346a504a75SDimitris Papastamos #define WM8995_AIF1_DAC1_EQ_BAND_5_A 0x491 1356a504a75SDimitris Papastamos #define WM8995_AIF1_DAC1_EQ_BAND_5_B 0x492 1366a504a75SDimitris Papastamos #define WM8995_AIF1_DAC1_EQ_BAND_5_PG 0x493 1376a504a75SDimitris Papastamos #define WM8995_AIF1_DAC2_EQ_GAINS_1 0x4A0 1386a504a75SDimitris Papastamos #define WM8995_AIF1_DAC2_EQ_GAINS_2 0x4A1 1396a504a75SDimitris Papastamos #define WM8995_AIF1_DAC2_EQ_BAND_1_A 0x4A2 1406a504a75SDimitris Papastamos #define WM8995_AIF1_DAC2_EQ_BAND_1_B 0x4A3 1416a504a75SDimitris Papastamos #define WM8995_AIF1_DAC2_EQ_BAND_1_PG 0x4A4 1426a504a75SDimitris Papastamos #define WM8995_AIF1_DAC2_EQ_BAND_2_A 0x4A5 1436a504a75SDimitris Papastamos #define WM8995_AIF1_DAC2_EQ_BAND_2_B 0x4A6 1446a504a75SDimitris Papastamos #define WM8995_AIF1_DAC2_EQ_BAND_2_C 0x4A7 1456a504a75SDimitris Papastamos #define WM8995_AIF1_DAC2_EQ_BAND_2_PG 0x4A8 1466a504a75SDimitris Papastamos #define WM8995_AIF1_DAC2_EQ_BAND_3_A 0x4A9 1476a504a75SDimitris Papastamos #define WM8995_AIF1_DAC2_EQ_BAND_3_B 0x4AA 1486a504a75SDimitris Papastamos #define WM8995_AIF1_DAC2_EQ_BAND_3_C 0x4AB 1496a504a75SDimitris Papastamos #define WM8995_AIF1_DAC2_EQ_BAND_3_PG 0x4AC 1506a504a75SDimitris Papastamos #define WM8995_AIF1_DAC2_EQ_BAND_4_A 0x4AD 1516a504a75SDimitris Papastamos #define WM8995_AIF1_DAC2_EQ_BAND_4_B 0x4AE 1526a504a75SDimitris Papastamos #define WM8995_AIF1_DAC2_EQ_BAND_4_C 0x4AF 1536a504a75SDimitris Papastamos #define WM8995_AIF1_DAC2_EQ_BAND_4_PG 0x4B0 1546a504a75SDimitris Papastamos #define WM8995_AIF1_DAC2_EQ_BAND_5_A 0x4B1 1556a504a75SDimitris Papastamos #define WM8995_AIF1_DAC2_EQ_BAND_5_B 0x4B2 1566a504a75SDimitris Papastamos #define WM8995_AIF1_DAC2_EQ_BAND_5_PG 0x4B3 1576a504a75SDimitris Papastamos #define WM8995_AIF2_ADC_LEFT_VOLUME 0x500 1586a504a75SDimitris Papastamos #define WM8995_AIF2_ADC_RIGHT_VOLUME 0x501 1596a504a75SDimitris Papastamos #define WM8995_AIF2_DAC_LEFT_VOLUME 0x502 1606a504a75SDimitris Papastamos #define WM8995_AIF2_DAC_RIGHT_VOLUME 0x503 1616a504a75SDimitris Papastamos #define WM8995_AIF2_ADC_FILTERS 0x510 1626a504a75SDimitris Papastamos #define WM8995_AIF2_DAC_FILTERS_1 0x520 1636a504a75SDimitris Papastamos #define WM8995_AIF2_DAC_FILTERS_2 0x521 1646a504a75SDimitris Papastamos #define WM8995_AIF2_DRC_1 0x540 1656a504a75SDimitris Papastamos #define WM8995_AIF2_DRC_2 0x541 1666a504a75SDimitris Papastamos #define WM8995_AIF2_DRC_3 0x542 1676a504a75SDimitris Papastamos #define WM8995_AIF2_DRC_4 0x543 1686a504a75SDimitris Papastamos #define WM8995_AIF2_DRC_5 0x544 1696a504a75SDimitris Papastamos #define WM8995_AIF2_EQ_GAINS_1 0x580 1706a504a75SDimitris Papastamos #define WM8995_AIF2_EQ_GAINS_2 0x581 1716a504a75SDimitris Papastamos #define WM8995_AIF2_EQ_BAND_1_A 0x582 1726a504a75SDimitris Papastamos #define WM8995_AIF2_EQ_BAND_1_B 0x583 1736a504a75SDimitris Papastamos #define WM8995_AIF2_EQ_BAND_1_PG 0x584 1746a504a75SDimitris Papastamos #define WM8995_AIF2_EQ_BAND_2_A 0x585 1756a504a75SDimitris Papastamos #define WM8995_AIF2_EQ_BAND_2_B 0x586 1766a504a75SDimitris Papastamos #define WM8995_AIF2_EQ_BAND_2_C 0x587 1776a504a75SDimitris Papastamos #define WM8995_AIF2_EQ_BAND_2_PG 0x588 1786a504a75SDimitris Papastamos #define WM8995_AIF2_EQ_BAND_3_A 0x589 1796a504a75SDimitris Papastamos #define WM8995_AIF2_EQ_BAND_3_B 0x58A 1806a504a75SDimitris Papastamos #define WM8995_AIF2_EQ_BAND_3_C 0x58B 1816a504a75SDimitris Papastamos #define WM8995_AIF2_EQ_BAND_3_PG 0x58C 1826a504a75SDimitris Papastamos #define WM8995_AIF2_EQ_BAND_4_A 0x58D 1836a504a75SDimitris Papastamos #define WM8995_AIF2_EQ_BAND_4_B 0x58E 1846a504a75SDimitris Papastamos #define WM8995_AIF2_EQ_BAND_4_C 0x58F 1856a504a75SDimitris Papastamos #define WM8995_AIF2_EQ_BAND_4_PG 0x590 1866a504a75SDimitris Papastamos #define WM8995_AIF2_EQ_BAND_5_A 0x591 1876a504a75SDimitris Papastamos #define WM8995_AIF2_EQ_BAND_5_B 0x592 1886a504a75SDimitris Papastamos #define WM8995_AIF2_EQ_BAND_5_PG 0x593 1896a504a75SDimitris Papastamos #define WM8995_DAC1_MIXER_VOLUMES 0x600 1906a504a75SDimitris Papastamos #define WM8995_DAC1_LEFT_MIXER_ROUTING 0x601 1916a504a75SDimitris Papastamos #define WM8995_DAC1_RIGHT_MIXER_ROUTING 0x602 1926a504a75SDimitris Papastamos #define WM8995_DAC2_MIXER_VOLUMES 0x603 1936a504a75SDimitris Papastamos #define WM8995_DAC2_LEFT_MIXER_ROUTING 0x604 1946a504a75SDimitris Papastamos #define WM8995_DAC2_RIGHT_MIXER_ROUTING 0x605 1956a504a75SDimitris Papastamos #define WM8995_AIF1_ADC1_LEFT_MIXER_ROUTING 0x606 1966a504a75SDimitris Papastamos #define WM8995_AIF1_ADC1_RIGHT_MIXER_ROUTING 0x607 1976a504a75SDimitris Papastamos #define WM8995_AIF1_ADC2_LEFT_MIXER_ROUTING 0x608 1986a504a75SDimitris Papastamos #define WM8995_AIF1_ADC2_RIGHT_MIXER_ROUTING 0x609 1996a504a75SDimitris Papastamos #define WM8995_DAC_SOFTMUTE 0x610 2006a504a75SDimitris Papastamos #define WM8995_OVERSAMPLING 0x620 2016a504a75SDimitris Papastamos #define WM8995_SIDETONE 0x621 2026a504a75SDimitris Papastamos #define WM8995_GPIO_1 0x700 2036a504a75SDimitris Papastamos #define WM8995_GPIO_2 0x701 2046a504a75SDimitris Papastamos #define WM8995_GPIO_3 0x702 2056a504a75SDimitris Papastamos #define WM8995_GPIO_4 0x703 2066a504a75SDimitris Papastamos #define WM8995_GPIO_5 0x704 2076a504a75SDimitris Papastamos #define WM8995_GPIO_6 0x705 2086a504a75SDimitris Papastamos #define WM8995_GPIO_7 0x706 2096a504a75SDimitris Papastamos #define WM8995_GPIO_8 0x707 2106a504a75SDimitris Papastamos #define WM8995_GPIO_9 0x708 2116a504a75SDimitris Papastamos #define WM8995_GPIO_10 0x709 2126a504a75SDimitris Papastamos #define WM8995_GPIO_11 0x70A 2136a504a75SDimitris Papastamos #define WM8995_GPIO_12 0x70B 2146a504a75SDimitris Papastamos #define WM8995_GPIO_13 0x70C 2156a504a75SDimitris Papastamos #define WM8995_GPIO_14 0x70D 2166a504a75SDimitris Papastamos #define WM8995_PULL_CONTROL_1 0x720 2176a504a75SDimitris Papastamos #define WM8995_PULL_CONTROL_2 0x721 2186a504a75SDimitris Papastamos #define WM8995_INTERRUPT_STATUS_1 0x730 2196a504a75SDimitris Papastamos #define WM8995_INTERRUPT_STATUS_2 0x731 2206a504a75SDimitris Papastamos #define WM8995_INTERRUPT_RAW_STATUS_2 0x732 2216a504a75SDimitris Papastamos #define WM8995_INTERRUPT_STATUS_1_MASK 0x738 2226a504a75SDimitris Papastamos #define WM8995_INTERRUPT_STATUS_2_MASK 0x739 2236a504a75SDimitris Papastamos #define WM8995_INTERRUPT_CONTROL 0x740 2246a504a75SDimitris Papastamos #define WM8995_LEFT_PDM_SPEAKER_1 0x800 2256a504a75SDimitris Papastamos #define WM8995_RIGHT_PDM_SPEAKER_1 0x801 2266a504a75SDimitris Papastamos #define WM8995_PDM_SPEAKER_1_MUTE_SEQUENCE 0x802 2276a504a75SDimitris Papastamos #define WM8995_LEFT_PDM_SPEAKER_2 0x808 2286a504a75SDimitris Papastamos #define WM8995_RIGHT_PDM_SPEAKER_2 0x809 2296a504a75SDimitris Papastamos #define WM8995_PDM_SPEAKER_2_MUTE_SEQUENCE 0x80A 2306a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_0 0x3000 2316a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_1 0x3001 2326a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_2 0x3002 2336a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_3 0x3003 2346a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_4 0x3004 2356a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_5 0x3005 2366a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_6 0x3006 2376a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_7 0x3007 2386a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_8 0x3008 2396a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_9 0x3009 2406a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_10 0x300A 2416a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_11 0x300B 2426a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_12 0x300C 2436a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_13 0x300D 2446a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_14 0x300E 2456a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_15 0x300F 2466a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_16 0x3010 2476a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_17 0x3011 2486a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_18 0x3012 2496a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_19 0x3013 2506a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_20 0x3014 2516a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_21 0x3015 2526a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_22 0x3016 2536a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_23 0x3017 2546a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_24 0x3018 2556a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_25 0x3019 2566a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_26 0x301A 2576a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_27 0x301B 2586a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_28 0x301C 2596a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_29 0x301D 2606a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_30 0x301E 2616a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_31 0x301F 2626a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_32 0x3020 2636a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_33 0x3021 2646a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_34 0x3022 2656a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_35 0x3023 2666a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_36 0x3024 2676a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_37 0x3025 2686a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_38 0x3026 2696a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_39 0x3027 2706a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_40 0x3028 2716a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_41 0x3029 2726a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_42 0x302A 2736a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_43 0x302B 2746a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_44 0x302C 2756a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_45 0x302D 2766a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_46 0x302E 2776a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_47 0x302F 2786a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_48 0x3030 2796a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_49 0x3031 2806a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_50 0x3032 2816a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_51 0x3033 2826a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_52 0x3034 2836a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_53 0x3035 2846a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_54 0x3036 2856a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_55 0x3037 2866a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_56 0x3038 2876a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_57 0x3039 2886a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_58 0x303A 2896a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_59 0x303B 2906a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_60 0x303C 2916a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_61 0x303D 2926a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_62 0x303E 2936a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_63 0x303F 2946a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_64 0x3040 2956a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_65 0x3041 2966a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_66 0x3042 2976a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_67 0x3043 2986a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_68 0x3044 2996a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_69 0x3045 3006a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_70 0x3046 3016a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_71 0x3047 3026a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_72 0x3048 3036a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_73 0x3049 3046a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_74 0x304A 3056a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_75 0x304B 3066a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_76 0x304C 3076a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_77 0x304D 3086a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_78 0x304E 3096a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_79 0x304F 3106a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_80 0x3050 3116a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_81 0x3051 3126a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_82 0x3052 3136a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_83 0x3053 3146a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_84 0x3054 3156a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_85 0x3055 3166a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_86 0x3056 3176a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_87 0x3057 3186a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_88 0x3058 3196a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_89 0x3059 3206a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_90 0x305A 3216a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_91 0x305B 3226a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_92 0x305C 3236a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_93 0x305D 3246a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_94 0x305E 3256a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_95 0x305F 3266a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_96 0x3060 3276a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_97 0x3061 3286a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_98 0x3062 3296a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_99 0x3063 3306a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_100 0x3064 3316a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_101 0x3065 3326a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_102 0x3066 3336a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_103 0x3067 3346a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_104 0x3068 3356a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_105 0x3069 3366a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_106 0x306A 3376a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_107 0x306B 3386a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_108 0x306C 3396a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_109 0x306D 3406a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_110 0x306E 3416a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_111 0x306F 3426a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_112 0x3070 3436a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_113 0x3071 3446a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_114 0x3072 3456a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_115 0x3073 3466a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_116 0x3074 3476a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_117 0x3075 3486a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_118 0x3076 3496a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_119 0x3077 3506a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_120 0x3078 3516a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_121 0x3079 3526a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_122 0x307A 3536a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_123 0x307B 3546a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_124 0x307C 3556a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_125 0x307D 3566a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_126 0x307E 3576a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_127 0x307F 3586a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_128 0x3080 3596a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_129 0x3081 3606a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_130 0x3082 3616a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_131 0x3083 3626a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_132 0x3084 3636a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_133 0x3085 3646a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_134 0x3086 3656a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_135 0x3087 3666a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_136 0x3088 3676a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_137 0x3089 3686a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_138 0x308A 3696a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_139 0x308B 3706a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_140 0x308C 3716a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_141 0x308D 3726a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_142 0x308E 3736a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_143 0x308F 3746a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_144 0x3090 3756a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_145 0x3091 3766a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_146 0x3092 3776a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_147 0x3093 3786a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_148 0x3094 3796a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_149 0x3095 3806a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_150 0x3096 3816a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_151 0x3097 3826a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_152 0x3098 3836a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_153 0x3099 3846a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_154 0x309A 3856a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_155 0x309B 3866a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_156 0x309C 3876a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_157 0x309D 3886a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_158 0x309E 3896a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_159 0x309F 3906a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_160 0x30A0 3916a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_161 0x30A1 3926a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_162 0x30A2 3936a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_163 0x30A3 3946a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_164 0x30A4 3956a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_165 0x30A5 3966a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_166 0x30A6 3976a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_167 0x30A7 3986a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_168 0x30A8 3996a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_169 0x30A9 4006a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_170 0x30AA 4016a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_171 0x30AB 4026a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_172 0x30AC 4036a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_173 0x30AD 4046a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_174 0x30AE 4056a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_175 0x30AF 4066a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_176 0x30B0 4076a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_177 0x30B1 4086a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_178 0x30B2 4096a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_179 0x30B3 4106a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_180 0x30B4 4116a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_181 0x30B5 4126a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_182 0x30B6 4136a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_183 0x30B7 4146a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_184 0x30B8 4156a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_185 0x30B9 4166a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_186 0x30BA 4176a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_187 0x30BB 4186a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_188 0x30BC 4196a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_189 0x30BD 4206a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_190 0x30BE 4216a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_191 0x30BF 4226a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_192 0x30C0 4236a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_193 0x30C1 4246a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_194 0x30C2 4256a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_195 0x30C3 4266a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_196 0x30C4 4276a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_197 0x30C5 4286a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_198 0x30C6 4296a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_199 0x30C7 4306a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_200 0x30C8 4316a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_201 0x30C9 4326a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_202 0x30CA 4336a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_203 0x30CB 4346a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_204 0x30CC 4356a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_205 0x30CD 4366a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_206 0x30CE 4376a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_207 0x30CF 4386a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_208 0x30D0 4396a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_209 0x30D1 4406a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_210 0x30D2 4416a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_211 0x30D3 4426a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_212 0x30D4 4436a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_213 0x30D5 4446a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_214 0x30D6 4456a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_215 0x30D7 4466a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_216 0x30D8 4476a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_217 0x30D9 4486a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_218 0x30DA 4496a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_219 0x30DB 4506a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_220 0x30DC 4516a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_221 0x30DD 4526a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_222 0x30DE 4536a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_223 0x30DF 4546a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_224 0x30E0 4556a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_225 0x30E1 4566a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_226 0x30E2 4576a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_227 0x30E3 4586a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_228 0x30E4 4596a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_229 0x30E5 4606a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_230 0x30E6 4616a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_231 0x30E7 4626a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_232 0x30E8 4636a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_233 0x30E9 4646a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_234 0x30EA 4656a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_235 0x30EB 4666a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_236 0x30EC 4676a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_237 0x30ED 4686a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_238 0x30EE 4696a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_239 0x30EF 4706a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_240 0x30F0 4716a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_241 0x30F1 4726a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_242 0x30F2 4736a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_243 0x30F3 4746a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_244 0x30F4 4756a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_245 0x30F5 4766a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_246 0x30F6 4776a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_247 0x30F7 4786a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_248 0x30F8 4796a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_249 0x30F9 4806a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_250 0x30FA 4816a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_251 0x30FB 4826a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_252 0x30FC 4836a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_253 0x30FD 4846a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_254 0x30FE 4856a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_255 0x30FF 4866a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_256 0x3100 4876a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_257 0x3101 4886a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_258 0x3102 4896a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_259 0x3103 4906a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_260 0x3104 4916a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_261 0x3105 4926a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_262 0x3106 4936a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_263 0x3107 4946a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_264 0x3108 4956a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_265 0x3109 4966a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_266 0x310A 4976a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_267 0x310B 4986a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_268 0x310C 4996a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_269 0x310D 5006a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_270 0x310E 5016a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_271 0x310F 5026a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_272 0x3110 5036a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_273 0x3111 5046a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_274 0x3112 5056a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_275 0x3113 5066a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_276 0x3114 5076a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_277 0x3115 5086a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_278 0x3116 5096a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_279 0x3117 5106a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_280 0x3118 5116a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_281 0x3119 5126a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_282 0x311A 5136a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_283 0x311B 5146a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_284 0x311C 5156a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_285 0x311D 5166a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_286 0x311E 5176a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_287 0x311F 5186a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_288 0x3120 5196a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_289 0x3121 5206a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_290 0x3122 5216a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_291 0x3123 5226a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_292 0x3124 5236a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_293 0x3125 5246a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_294 0x3126 5256a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_295 0x3127 5266a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_296 0x3128 5276a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_297 0x3129 5286a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_298 0x312A 5296a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_299 0x312B 5306a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_300 0x312C 5316a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_301 0x312D 5326a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_302 0x312E 5336a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_303 0x312F 5346a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_304 0x3130 5356a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_305 0x3131 5366a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_306 0x3132 5376a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_307 0x3133 5386a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_308 0x3134 5396a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_309 0x3135 5406a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_310 0x3136 5416a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_311 0x3137 5426a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_312 0x3138 5436a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_313 0x3139 5446a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_314 0x313A 5456a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_315 0x313B 5466a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_316 0x313C 5476a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_317 0x313D 5486a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_318 0x313E 5496a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_319 0x313F 5506a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_320 0x3140 5516a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_321 0x3141 5526a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_322 0x3142 5536a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_323 0x3143 5546a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_324 0x3144 5556a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_325 0x3145 5566a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_326 0x3146 5576a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_327 0x3147 5586a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_328 0x3148 5596a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_329 0x3149 5606a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_330 0x314A 5616a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_331 0x314B 5626a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_332 0x314C 5636a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_333 0x314D 5646a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_334 0x314E 5656a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_335 0x314F 5666a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_336 0x3150 5676a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_337 0x3151 5686a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_338 0x3152 5696a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_339 0x3153 5706a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_340 0x3154 5716a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_341 0x3155 5726a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_342 0x3156 5736a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_343 0x3157 5746a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_344 0x3158 5756a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_345 0x3159 5766a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_346 0x315A 5776a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_347 0x315B 5786a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_348 0x315C 5796a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_349 0x315D 5806a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_350 0x315E 5816a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_351 0x315F 5826a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_352 0x3160 5836a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_353 0x3161 5846a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_354 0x3162 5856a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_355 0x3163 5866a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_356 0x3164 5876a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_357 0x3165 5886a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_358 0x3166 5896a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_359 0x3167 5906a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_360 0x3168 5916a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_361 0x3169 5926a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_362 0x316A 5936a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_363 0x316B 5946a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_364 0x316C 5956a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_365 0x316D 5966a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_366 0x316E 5976a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_367 0x316F 5986a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_368 0x3170 5996a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_369 0x3171 6006a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_370 0x3172 6016a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_371 0x3173 6026a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_372 0x3174 6036a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_373 0x3175 6046a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_374 0x3176 6056a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_375 0x3177 6066a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_376 0x3178 6076a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_377 0x3179 6086a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_378 0x317A 6096a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_379 0x317B 6106a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_380 0x317C 6116a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_381 0x317D 6126a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_382 0x317E 6136a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_383 0x317F 6146a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_384 0x3180 6156a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_385 0x3181 6166a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_386 0x3182 6176a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_387 0x3183 6186a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_388 0x3184 6196a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_389 0x3185 6206a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_390 0x3186 6216a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_391 0x3187 6226a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_392 0x3188 6236a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_393 0x3189 6246a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_394 0x318A 6256a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_395 0x318B 6266a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_396 0x318C 6276a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_397 0x318D 6286a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_398 0x318E 6296a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_399 0x318F 6306a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_400 0x3190 6316a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_401 0x3191 6326a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_402 0x3192 6336a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_403 0x3193 6346a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_404 0x3194 6356a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_405 0x3195 6366a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_406 0x3196 6376a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_407 0x3197 6386a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_408 0x3198 6396a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_409 0x3199 6406a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_410 0x319A 6416a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_411 0x319B 6426a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_412 0x319C 6436a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_413 0x319D 6446a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_414 0x319E 6456a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_415 0x319F 6466a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_416 0x31A0 6476a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_417 0x31A1 6486a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_418 0x31A2 6496a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_419 0x31A3 6506a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_420 0x31A4 6516a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_421 0x31A5 6526a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_422 0x31A6 6536a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_423 0x31A7 6546a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_424 0x31A8 6556a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_425 0x31A9 6566a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_426 0x31AA 6576a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_427 0x31AB 6586a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_428 0x31AC 6596a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_429 0x31AD 6606a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_430 0x31AE 6616a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_431 0x31AF 6626a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_432 0x31B0 6636a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_433 0x31B1 6646a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_434 0x31B2 6656a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_435 0x31B3 6666a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_436 0x31B4 6676a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_437 0x31B5 6686a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_438 0x31B6 6696a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_439 0x31B7 6706a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_440 0x31B8 6716a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_441 0x31B9 6726a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_442 0x31BA 6736a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_443 0x31BB 6746a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_444 0x31BC 6756a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_445 0x31BD 6766a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_446 0x31BE 6776a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_447 0x31BF 6786a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_448 0x31C0 6796a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_449 0x31C1 6806a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_450 0x31C2 6816a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_451 0x31C3 6826a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_452 0x31C4 6836a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_453 0x31C5 6846a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_454 0x31C6 6856a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_455 0x31C7 6866a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_456 0x31C8 6876a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_457 0x31C9 6886a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_458 0x31CA 6896a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_459 0x31CB 6906a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_460 0x31CC 6916a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_461 0x31CD 6926a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_462 0x31CE 6936a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_463 0x31CF 6946a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_464 0x31D0 6956a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_465 0x31D1 6966a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_466 0x31D2 6976a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_467 0x31D3 6986a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_468 0x31D4 6996a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_469 0x31D5 7006a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_470 0x31D6 7016a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_471 0x31D7 7026a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_472 0x31D8 7036a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_473 0x31D9 7046a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_474 0x31DA 7056a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_475 0x31DB 7066a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_476 0x31DC 7076a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_477 0x31DD 7086a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_478 0x31DE 7096a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_479 0x31DF 7106a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_480 0x31E0 7116a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_481 0x31E1 7126a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_482 0x31E2 7136a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_483 0x31E3 7146a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_484 0x31E4 7156a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_485 0x31E5 7166a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_486 0x31E6 7176a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_487 0x31E7 7186a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_488 0x31E8 7196a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_489 0x31E9 7206a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_490 0x31EA 7216a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_491 0x31EB 7226a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_492 0x31EC 7236a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_493 0x31ED 7246a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_494 0x31EE 7256a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_495 0x31EF 7266a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_496 0x31F0 7276a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_497 0x31F1 7286a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_498 0x31F2 7296a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_499 0x31F3 7306a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_500 0x31F4 7316a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_501 0x31F5 7326a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_502 0x31F6 7336a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_503 0x31F7 7346a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_504 0x31F8 7356a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_505 0x31F9 7366a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_506 0x31FA 7376a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_507 0x31FB 7386a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_508 0x31FC 7396a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_509 0x31FD 7406a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_510 0x31FE 7416a504a75SDimitris Papastamos #define WM8995_WRITE_SEQUENCER_511 0x31FF 7426a504a75SDimitris Papastamos 7436a504a75SDimitris Papastamos #define WM8995_REGISTER_COUNT 725 7446a504a75SDimitris Papastamos #define WM8995_MAX_REGISTER 0x31FF 7456a504a75SDimitris Papastamos 7466a504a75SDimitris Papastamos #define WM8995_MAX_CACHED_REGISTER WM8995_MAX_REGISTER 7476a504a75SDimitris Papastamos 7486a504a75SDimitris Papastamos /* 7496a504a75SDimitris Papastamos * Field Definitions. 7506a504a75SDimitris Papastamos */ 7516a504a75SDimitris Papastamos 7526a504a75SDimitris Papastamos /* 7536a504a75SDimitris Papastamos * R0 (0x00) - Software Reset 7546a504a75SDimitris Papastamos */ 7556a504a75SDimitris Papastamos #define WM8995_SW_RESET_MASK 0xFFFF /* SW_RESET - [15:0] */ 7566a504a75SDimitris Papastamos #define WM8995_SW_RESET_SHIFT 0 /* SW_RESET - [15:0] */ 7576a504a75SDimitris Papastamos #define WM8995_SW_RESET_WIDTH 16 /* SW_RESET - [15:0] */ 7586a504a75SDimitris Papastamos 7596a504a75SDimitris Papastamos /* 7606a504a75SDimitris Papastamos * R1 (0x01) - Power Management (1) 7616a504a75SDimitris Papastamos */ 7626a504a75SDimitris Papastamos #define WM8995_MICB2_ENA 0x0200 /* MICB2_ENA */ 7636a504a75SDimitris Papastamos #define WM8995_MICB2_ENA_MASK 0x0200 /* MICB2_ENA */ 7646a504a75SDimitris Papastamos #define WM8995_MICB2_ENA_SHIFT 9 /* MICB2_ENA */ 7656a504a75SDimitris Papastamos #define WM8995_MICB2_ENA_WIDTH 1 /* MICB2_ENA */ 7666a504a75SDimitris Papastamos #define WM8995_MICB1_ENA 0x0100 /* MICB1_ENA */ 7676a504a75SDimitris Papastamos #define WM8995_MICB1_ENA_MASK 0x0100 /* MICB1_ENA */ 7686a504a75SDimitris Papastamos #define WM8995_MICB1_ENA_SHIFT 8 /* MICB1_ENA */ 7696a504a75SDimitris Papastamos #define WM8995_MICB1_ENA_WIDTH 1 /* MICB1_ENA */ 7706a504a75SDimitris Papastamos #define WM8995_HPOUT2L_ENA 0x0080 /* HPOUT2L_ENA */ 7716a504a75SDimitris Papastamos #define WM8995_HPOUT2L_ENA_MASK 0x0080 /* HPOUT2L_ENA */ 7726a504a75SDimitris Papastamos #define WM8995_HPOUT2L_ENA_SHIFT 7 /* HPOUT2L_ENA */ 7736a504a75SDimitris Papastamos #define WM8995_HPOUT2L_ENA_WIDTH 1 /* HPOUT2L_ENA */ 7746a504a75SDimitris Papastamos #define WM8995_HPOUT2R_ENA 0x0040 /* HPOUT2R_ENA */ 7756a504a75SDimitris Papastamos #define WM8995_HPOUT2R_ENA_MASK 0x0040 /* HPOUT2R_ENA */ 7766a504a75SDimitris Papastamos #define WM8995_HPOUT2R_ENA_SHIFT 6 /* HPOUT2R_ENA */ 7776a504a75SDimitris Papastamos #define WM8995_HPOUT2R_ENA_WIDTH 1 /* HPOUT2R_ENA */ 7786a504a75SDimitris Papastamos #define WM8995_HPOUT1L_ENA 0x0020 /* HPOUT1L_ENA */ 7796a504a75SDimitris Papastamos #define WM8995_HPOUT1L_ENA_MASK 0x0020 /* HPOUT1L_ENA */ 7806a504a75SDimitris Papastamos #define WM8995_HPOUT1L_ENA_SHIFT 5 /* HPOUT1L_ENA */ 7816a504a75SDimitris Papastamos #define WM8995_HPOUT1L_ENA_WIDTH 1 /* HPOUT1L_ENA */ 7826a504a75SDimitris Papastamos #define WM8995_HPOUT1R_ENA 0x0010 /* HPOUT1R_ENA */ 7836a504a75SDimitris Papastamos #define WM8995_HPOUT1R_ENA_MASK 0x0010 /* HPOUT1R_ENA */ 7846a504a75SDimitris Papastamos #define WM8995_HPOUT1R_ENA_SHIFT 4 /* HPOUT1R_ENA */ 7856a504a75SDimitris Papastamos #define WM8995_HPOUT1R_ENA_WIDTH 1 /* HPOUT1R_ENA */ 7866a504a75SDimitris Papastamos #define WM8995_BG_ENA 0x0001 /* BG_ENA */ 7876a504a75SDimitris Papastamos #define WM8995_BG_ENA_MASK 0x0001 /* BG_ENA */ 7886a504a75SDimitris Papastamos #define WM8995_BG_ENA_SHIFT 0 /* BG_ENA */ 7896a504a75SDimitris Papastamos #define WM8995_BG_ENA_WIDTH 1 /* BG_ENA */ 7906a504a75SDimitris Papastamos 7916a504a75SDimitris Papastamos /* 7926a504a75SDimitris Papastamos * R2 (0x02) - Power Management (2) 7936a504a75SDimitris Papastamos */ 7946a504a75SDimitris Papastamos #define WM8995_OPCLK_ENA 0x0800 /* OPCLK_ENA */ 7956a504a75SDimitris Papastamos #define WM8995_OPCLK_ENA_MASK 0x0800 /* OPCLK_ENA */ 7966a504a75SDimitris Papastamos #define WM8995_OPCLK_ENA_SHIFT 11 /* OPCLK_ENA */ 7976a504a75SDimitris Papastamos #define WM8995_OPCLK_ENA_WIDTH 1 /* OPCLK_ENA */ 7986a504a75SDimitris Papastamos #define WM8995_IN1L_ENA 0x0020 /* IN1L_ENA */ 7996a504a75SDimitris Papastamos #define WM8995_IN1L_ENA_MASK 0x0020 /* IN1L_ENA */ 8006a504a75SDimitris Papastamos #define WM8995_IN1L_ENA_SHIFT 5 /* IN1L_ENA */ 8016a504a75SDimitris Papastamos #define WM8995_IN1L_ENA_WIDTH 1 /* IN1L_ENA */ 8026a504a75SDimitris Papastamos #define WM8995_IN1R_ENA 0x0010 /* IN1R_ENA */ 8036a504a75SDimitris Papastamos #define WM8995_IN1R_ENA_MASK 0x0010 /* IN1R_ENA */ 8046a504a75SDimitris Papastamos #define WM8995_IN1R_ENA_SHIFT 4 /* IN1R_ENA */ 8056a504a75SDimitris Papastamos #define WM8995_IN1R_ENA_WIDTH 1 /* IN1R_ENA */ 8066a504a75SDimitris Papastamos #define WM8995_LDO2_ENA 0x0002 /* LDO2_ENA */ 8076a504a75SDimitris Papastamos #define WM8995_LDO2_ENA_MASK 0x0002 /* LDO2_ENA */ 8086a504a75SDimitris Papastamos #define WM8995_LDO2_ENA_SHIFT 1 /* LDO2_ENA */ 8096a504a75SDimitris Papastamos #define WM8995_LDO2_ENA_WIDTH 1 /* LDO2_ENA */ 8106a504a75SDimitris Papastamos 8116a504a75SDimitris Papastamos /* 8126a504a75SDimitris Papastamos * R3 (0x03) - Power Management (3) 8136a504a75SDimitris Papastamos */ 8146a504a75SDimitris Papastamos #define WM8995_AIF2ADCL_ENA 0x2000 /* AIF2ADCL_ENA */ 8156a504a75SDimitris Papastamos #define WM8995_AIF2ADCL_ENA_MASK 0x2000 /* AIF2ADCL_ENA */ 8166a504a75SDimitris Papastamos #define WM8995_AIF2ADCL_ENA_SHIFT 13 /* AIF2ADCL_ENA */ 8176a504a75SDimitris Papastamos #define WM8995_AIF2ADCL_ENA_WIDTH 1 /* AIF2ADCL_ENA */ 8186a504a75SDimitris Papastamos #define WM8995_AIF2ADCR_ENA 0x1000 /* AIF2ADCR_ENA */ 8196a504a75SDimitris Papastamos #define WM8995_AIF2ADCR_ENA_MASK 0x1000 /* AIF2ADCR_ENA */ 8206a504a75SDimitris Papastamos #define WM8995_AIF2ADCR_ENA_SHIFT 12 /* AIF2ADCR_ENA */ 8216a504a75SDimitris Papastamos #define WM8995_AIF2ADCR_ENA_WIDTH 1 /* AIF2ADCR_ENA */ 8226a504a75SDimitris Papastamos #define WM8995_AIF1ADC2L_ENA 0x0800 /* AIF1ADC2L_ENA */ 8236a504a75SDimitris Papastamos #define WM8995_AIF1ADC2L_ENA_MASK 0x0800 /* AIF1ADC2L_ENA */ 8246a504a75SDimitris Papastamos #define WM8995_AIF1ADC2L_ENA_SHIFT 11 /* AIF1ADC2L_ENA */ 8256a504a75SDimitris Papastamos #define WM8995_AIF1ADC2L_ENA_WIDTH 1 /* AIF1ADC2L_ENA */ 8266a504a75SDimitris Papastamos #define WM8995_AIF1ADC2R_ENA 0x0400 /* AIF1ADC2R_ENA */ 8276a504a75SDimitris Papastamos #define WM8995_AIF1ADC2R_ENA_MASK 0x0400 /* AIF1ADC2R_ENA */ 8286a504a75SDimitris Papastamos #define WM8995_AIF1ADC2R_ENA_SHIFT 10 /* AIF1ADC2R_ENA */ 8296a504a75SDimitris Papastamos #define WM8995_AIF1ADC2R_ENA_WIDTH 1 /* AIF1ADC2R_ENA */ 8306a504a75SDimitris Papastamos #define WM8995_AIF1ADC1L_ENA 0x0200 /* AIF1ADC1L_ENA */ 8316a504a75SDimitris Papastamos #define WM8995_AIF1ADC1L_ENA_MASK 0x0200 /* AIF1ADC1L_ENA */ 8326a504a75SDimitris Papastamos #define WM8995_AIF1ADC1L_ENA_SHIFT 9 /* AIF1ADC1L_ENA */ 8336a504a75SDimitris Papastamos #define WM8995_AIF1ADC1L_ENA_WIDTH 1 /* AIF1ADC1L_ENA */ 8346a504a75SDimitris Papastamos #define WM8995_AIF1ADC1R_ENA 0x0100 /* AIF1ADC1R_ENA */ 8356a504a75SDimitris Papastamos #define WM8995_AIF1ADC1R_ENA_MASK 0x0100 /* AIF1ADC1R_ENA */ 8366a504a75SDimitris Papastamos #define WM8995_AIF1ADC1R_ENA_SHIFT 8 /* AIF1ADC1R_ENA */ 8376a504a75SDimitris Papastamos #define WM8995_AIF1ADC1R_ENA_WIDTH 1 /* AIF1ADC1R_ENA */ 8386a504a75SDimitris Papastamos #define WM8995_DMIC3L_ENA 0x0080 /* DMIC3L_ENA */ 8396a504a75SDimitris Papastamos #define WM8995_DMIC3L_ENA_MASK 0x0080 /* DMIC3L_ENA */ 8406a504a75SDimitris Papastamos #define WM8995_DMIC3L_ENA_SHIFT 7 /* DMIC3L_ENA */ 8416a504a75SDimitris Papastamos #define WM8995_DMIC3L_ENA_WIDTH 1 /* DMIC3L_ENA */ 8426a504a75SDimitris Papastamos #define WM8995_DMIC3R_ENA 0x0040 /* DMIC3R_ENA */ 8436a504a75SDimitris Papastamos #define WM8995_DMIC3R_ENA_MASK 0x0040 /* DMIC3R_ENA */ 8446a504a75SDimitris Papastamos #define WM8995_DMIC3R_ENA_SHIFT 6 /* DMIC3R_ENA */ 8456a504a75SDimitris Papastamos #define WM8995_DMIC3R_ENA_WIDTH 1 /* DMIC3R_ENA */ 8466a504a75SDimitris Papastamos #define WM8995_DMIC2L_ENA 0x0020 /* DMIC2L_ENA */ 8476a504a75SDimitris Papastamos #define WM8995_DMIC2L_ENA_MASK 0x0020 /* DMIC2L_ENA */ 8486a504a75SDimitris Papastamos #define WM8995_DMIC2L_ENA_SHIFT 5 /* DMIC2L_ENA */ 8496a504a75SDimitris Papastamos #define WM8995_DMIC2L_ENA_WIDTH 1 /* DMIC2L_ENA */ 8506a504a75SDimitris Papastamos #define WM8995_DMIC2R_ENA 0x0010 /* DMIC2R_ENA */ 8516a504a75SDimitris Papastamos #define WM8995_DMIC2R_ENA_MASK 0x0010 /* DMIC2R_ENA */ 8526a504a75SDimitris Papastamos #define WM8995_DMIC2R_ENA_SHIFT 4 /* DMIC2R_ENA */ 8536a504a75SDimitris Papastamos #define WM8995_DMIC2R_ENA_WIDTH 1 /* DMIC2R_ENA */ 8546a504a75SDimitris Papastamos #define WM8995_DMIC1L_ENA 0x0008 /* DMIC1L_ENA */ 8556a504a75SDimitris Papastamos #define WM8995_DMIC1L_ENA_MASK 0x0008 /* DMIC1L_ENA */ 8566a504a75SDimitris Papastamos #define WM8995_DMIC1L_ENA_SHIFT 3 /* DMIC1L_ENA */ 8576a504a75SDimitris Papastamos #define WM8995_DMIC1L_ENA_WIDTH 1 /* DMIC1L_ENA */ 8586a504a75SDimitris Papastamos #define WM8995_DMIC1R_ENA 0x0004 /* DMIC1R_ENA */ 8596a504a75SDimitris Papastamos #define WM8995_DMIC1R_ENA_MASK 0x0004 /* DMIC1R_ENA */ 8606a504a75SDimitris Papastamos #define WM8995_DMIC1R_ENA_SHIFT 2 /* DMIC1R_ENA */ 8616a504a75SDimitris Papastamos #define WM8995_DMIC1R_ENA_WIDTH 1 /* DMIC1R_ENA */ 8626a504a75SDimitris Papastamos #define WM8995_ADCL_ENA 0x0002 /* ADCL_ENA */ 8636a504a75SDimitris Papastamos #define WM8995_ADCL_ENA_MASK 0x0002 /* ADCL_ENA */ 8646a504a75SDimitris Papastamos #define WM8995_ADCL_ENA_SHIFT 1 /* ADCL_ENA */ 8656a504a75SDimitris Papastamos #define WM8995_ADCL_ENA_WIDTH 1 /* ADCL_ENA */ 8666a504a75SDimitris Papastamos #define WM8995_ADCR_ENA 0x0001 /* ADCR_ENA */ 8676a504a75SDimitris Papastamos #define WM8995_ADCR_ENA_MASK 0x0001 /* ADCR_ENA */ 8686a504a75SDimitris Papastamos #define WM8995_ADCR_ENA_SHIFT 0 /* ADCR_ENA */ 8696a504a75SDimitris Papastamos #define WM8995_ADCR_ENA_WIDTH 1 /* ADCR_ENA */ 8706a504a75SDimitris Papastamos 8716a504a75SDimitris Papastamos /* 8726a504a75SDimitris Papastamos * R4 (0x04) - Power Management (4) 8736a504a75SDimitris Papastamos */ 8746a504a75SDimitris Papastamos #define WM8995_AIF2DACL_ENA 0x2000 /* AIF2DACL_ENA */ 8756a504a75SDimitris Papastamos #define WM8995_AIF2DACL_ENA_MASK 0x2000 /* AIF2DACL_ENA */ 8766a504a75SDimitris Papastamos #define WM8995_AIF2DACL_ENA_SHIFT 13 /* AIF2DACL_ENA */ 8776a504a75SDimitris Papastamos #define WM8995_AIF2DACL_ENA_WIDTH 1 /* AIF2DACL_ENA */ 8786a504a75SDimitris Papastamos #define WM8995_AIF2DACR_ENA 0x1000 /* AIF2DACR_ENA */ 8796a504a75SDimitris Papastamos #define WM8995_AIF2DACR_ENA_MASK 0x1000 /* AIF2DACR_ENA */ 8806a504a75SDimitris Papastamos #define WM8995_AIF2DACR_ENA_SHIFT 12 /* AIF2DACR_ENA */ 8816a504a75SDimitris Papastamos #define WM8995_AIF2DACR_ENA_WIDTH 1 /* AIF2DACR_ENA */ 8826a504a75SDimitris Papastamos #define WM8995_AIF1DAC2L_ENA 0x0800 /* AIF1DAC2L_ENA */ 8836a504a75SDimitris Papastamos #define WM8995_AIF1DAC2L_ENA_MASK 0x0800 /* AIF1DAC2L_ENA */ 8846a504a75SDimitris Papastamos #define WM8995_AIF1DAC2L_ENA_SHIFT 11 /* AIF1DAC2L_ENA */ 8856a504a75SDimitris Papastamos #define WM8995_AIF1DAC2L_ENA_WIDTH 1 /* AIF1DAC2L_ENA */ 8866a504a75SDimitris Papastamos #define WM8995_AIF1DAC2R_ENA 0x0400 /* AIF1DAC2R_ENA */ 8876a504a75SDimitris Papastamos #define WM8995_AIF1DAC2R_ENA_MASK 0x0400 /* AIF1DAC2R_ENA */ 8886a504a75SDimitris Papastamos #define WM8995_AIF1DAC2R_ENA_SHIFT 10 /* AIF1DAC2R_ENA */ 8896a504a75SDimitris Papastamos #define WM8995_AIF1DAC2R_ENA_WIDTH 1 /* AIF1DAC2R_ENA */ 8906a504a75SDimitris Papastamos #define WM8995_AIF1DAC1L_ENA 0x0200 /* AIF1DAC1L_ENA */ 8916a504a75SDimitris Papastamos #define WM8995_AIF1DAC1L_ENA_MASK 0x0200 /* AIF1DAC1L_ENA */ 8926a504a75SDimitris Papastamos #define WM8995_AIF1DAC1L_ENA_SHIFT 9 /* AIF1DAC1L_ENA */ 8936a504a75SDimitris Papastamos #define WM8995_AIF1DAC1L_ENA_WIDTH 1 /* AIF1DAC1L_ENA */ 8946a504a75SDimitris Papastamos #define WM8995_AIF1DAC1R_ENA 0x0100 /* AIF1DAC1R_ENA */ 8956a504a75SDimitris Papastamos #define WM8995_AIF1DAC1R_ENA_MASK 0x0100 /* AIF1DAC1R_ENA */ 8966a504a75SDimitris Papastamos #define WM8995_AIF1DAC1R_ENA_SHIFT 8 /* AIF1DAC1R_ENA */ 8976a504a75SDimitris Papastamos #define WM8995_AIF1DAC1R_ENA_WIDTH 1 /* AIF1DAC1R_ENA */ 8986a504a75SDimitris Papastamos #define WM8995_DAC2L_ENA 0x0008 /* DAC2L_ENA */ 8996a504a75SDimitris Papastamos #define WM8995_DAC2L_ENA_MASK 0x0008 /* DAC2L_ENA */ 9006a504a75SDimitris Papastamos #define WM8995_DAC2L_ENA_SHIFT 3 /* DAC2L_ENA */ 9016a504a75SDimitris Papastamos #define WM8995_DAC2L_ENA_WIDTH 1 /* DAC2L_ENA */ 9026a504a75SDimitris Papastamos #define WM8995_DAC2R_ENA 0x0004 /* DAC2R_ENA */ 9036a504a75SDimitris Papastamos #define WM8995_DAC2R_ENA_MASK 0x0004 /* DAC2R_ENA */ 9046a504a75SDimitris Papastamos #define WM8995_DAC2R_ENA_SHIFT 2 /* DAC2R_ENA */ 9056a504a75SDimitris Papastamos #define WM8995_DAC2R_ENA_WIDTH 1 /* DAC2R_ENA */ 9066a504a75SDimitris Papastamos #define WM8995_DAC1L_ENA 0x0002 /* DAC1L_ENA */ 9076a504a75SDimitris Papastamos #define WM8995_DAC1L_ENA_MASK 0x0002 /* DAC1L_ENA */ 9086a504a75SDimitris Papastamos #define WM8995_DAC1L_ENA_SHIFT 1 /* DAC1L_ENA */ 9096a504a75SDimitris Papastamos #define WM8995_DAC1L_ENA_WIDTH 1 /* DAC1L_ENA */ 9106a504a75SDimitris Papastamos #define WM8995_DAC1R_ENA 0x0001 /* DAC1R_ENA */ 9116a504a75SDimitris Papastamos #define WM8995_DAC1R_ENA_MASK 0x0001 /* DAC1R_ENA */ 9126a504a75SDimitris Papastamos #define WM8995_DAC1R_ENA_SHIFT 0 /* DAC1R_ENA */ 9136a504a75SDimitris Papastamos #define WM8995_DAC1R_ENA_WIDTH 1 /* DAC1R_ENA */ 9146a504a75SDimitris Papastamos 9156a504a75SDimitris Papastamos /* 9166a504a75SDimitris Papastamos * R5 (0x05) - Power Management (5) 9176a504a75SDimitris Papastamos */ 9186a504a75SDimitris Papastamos #define WM8995_DMIC_SRC2_MASK 0x0300 /* DMIC_SRC2 - [9:8] */ 9196a504a75SDimitris Papastamos #define WM8995_DMIC_SRC2_SHIFT 8 /* DMIC_SRC2 - [9:8] */ 9206a504a75SDimitris Papastamos #define WM8995_DMIC_SRC2_WIDTH 2 /* DMIC_SRC2 - [9:8] */ 9216a504a75SDimitris Papastamos #define WM8995_DMIC_SRC1_MASK 0x00C0 /* DMIC_SRC1 - [7:6] */ 9226a504a75SDimitris Papastamos #define WM8995_DMIC_SRC1_SHIFT 6 /* DMIC_SRC1 - [7:6] */ 9236a504a75SDimitris Papastamos #define WM8995_DMIC_SRC1_WIDTH 2 /* DMIC_SRC1 - [7:6] */ 9246a504a75SDimitris Papastamos #define WM8995_AIF3_TRI 0x0020 /* AIF3_TRI */ 9256a504a75SDimitris Papastamos #define WM8995_AIF3_TRI_MASK 0x0020 /* AIF3_TRI */ 9266a504a75SDimitris Papastamos #define WM8995_AIF3_TRI_SHIFT 5 /* AIF3_TRI */ 9276a504a75SDimitris Papastamos #define WM8995_AIF3_TRI_WIDTH 1 /* AIF3_TRI */ 9286a504a75SDimitris Papastamos #define WM8995_AIF3_ADCDAT_SRC_MASK 0x0018 /* AIF3_ADCDAT_SRC - [4:3] */ 9296a504a75SDimitris Papastamos #define WM8995_AIF3_ADCDAT_SRC_SHIFT 3 /* AIF3_ADCDAT_SRC - [4:3] */ 9306a504a75SDimitris Papastamos #define WM8995_AIF3_ADCDAT_SRC_WIDTH 2 /* AIF3_ADCDAT_SRC - [4:3] */ 9316a504a75SDimitris Papastamos #define WM8995_AIF2_ADCDAT_SRC 0x0004 /* AIF2_ADCDAT_SRC */ 9326a504a75SDimitris Papastamos #define WM8995_AIF2_ADCDAT_SRC_MASK 0x0004 /* AIF2_ADCDAT_SRC */ 9336a504a75SDimitris Papastamos #define WM8995_AIF2_ADCDAT_SRC_SHIFT 2 /* AIF2_ADCDAT_SRC */ 9346a504a75SDimitris Papastamos #define WM8995_AIF2_ADCDAT_SRC_WIDTH 1 /* AIF2_ADCDAT_SRC */ 9356a504a75SDimitris Papastamos #define WM8995_AIF2_DACDAT_SRC 0x0002 /* AIF2_DACDAT_SRC */ 9366a504a75SDimitris Papastamos #define WM8995_AIF2_DACDAT_SRC_MASK 0x0002 /* AIF2_DACDAT_SRC */ 9376a504a75SDimitris Papastamos #define WM8995_AIF2_DACDAT_SRC_SHIFT 1 /* AIF2_DACDAT_SRC */ 9386a504a75SDimitris Papastamos #define WM8995_AIF2_DACDAT_SRC_WIDTH 1 /* AIF2_DACDAT_SRC */ 9396a504a75SDimitris Papastamos #define WM8995_AIF1_DACDAT_SRC 0x0001 /* AIF1_DACDAT_SRC */ 9406a504a75SDimitris Papastamos #define WM8995_AIF1_DACDAT_SRC_MASK 0x0001 /* AIF1_DACDAT_SRC */ 9416a504a75SDimitris Papastamos #define WM8995_AIF1_DACDAT_SRC_SHIFT 0 /* AIF1_DACDAT_SRC */ 9426a504a75SDimitris Papastamos #define WM8995_AIF1_DACDAT_SRC_WIDTH 1 /* AIF1_DACDAT_SRC */ 9436a504a75SDimitris Papastamos 9446a504a75SDimitris Papastamos /* 9456a504a75SDimitris Papastamos * R16 (0x10) - Left Line Input 1 Volume 9466a504a75SDimitris Papastamos */ 9476a504a75SDimitris Papastamos #define WM8995_IN1_VU 0x0080 /* IN1_VU */ 9486a504a75SDimitris Papastamos #define WM8995_IN1_VU_MASK 0x0080 /* IN1_VU */ 9496a504a75SDimitris Papastamos #define WM8995_IN1_VU_SHIFT 7 /* IN1_VU */ 9506a504a75SDimitris Papastamos #define WM8995_IN1_VU_WIDTH 1 /* IN1_VU */ 9516a504a75SDimitris Papastamos #define WM8995_IN1L_ZC 0x0020 /* IN1L_ZC */ 9526a504a75SDimitris Papastamos #define WM8995_IN1L_ZC_MASK 0x0020 /* IN1L_ZC */ 9536a504a75SDimitris Papastamos #define WM8995_IN1L_ZC_SHIFT 5 /* IN1L_ZC */ 9546a504a75SDimitris Papastamos #define WM8995_IN1L_ZC_WIDTH 1 /* IN1L_ZC */ 9556a504a75SDimitris Papastamos #define WM8995_IN1L_VOL_MASK 0x001F /* IN1L_VOL - [4:0] */ 9566a504a75SDimitris Papastamos #define WM8995_IN1L_VOL_SHIFT 0 /* IN1L_VOL - [4:0] */ 9576a504a75SDimitris Papastamos #define WM8995_IN1L_VOL_WIDTH 5 /* IN1L_VOL - [4:0] */ 9586a504a75SDimitris Papastamos 9596a504a75SDimitris Papastamos /* 9606a504a75SDimitris Papastamos * R17 (0x11) - Right Line Input 1 Volume 9616a504a75SDimitris Papastamos */ 9626a504a75SDimitris Papastamos #define WM8995_IN1_VU 0x0080 /* IN1_VU */ 9636a504a75SDimitris Papastamos #define WM8995_IN1_VU_MASK 0x0080 /* IN1_VU */ 9646a504a75SDimitris Papastamos #define WM8995_IN1_VU_SHIFT 7 /* IN1_VU */ 9656a504a75SDimitris Papastamos #define WM8995_IN1_VU_WIDTH 1 /* IN1_VU */ 9666a504a75SDimitris Papastamos #define WM8995_IN1R_ZC 0x0020 /* IN1R_ZC */ 9676a504a75SDimitris Papastamos #define WM8995_IN1R_ZC_MASK 0x0020 /* IN1R_ZC */ 9686a504a75SDimitris Papastamos #define WM8995_IN1R_ZC_SHIFT 5 /* IN1R_ZC */ 9696a504a75SDimitris Papastamos #define WM8995_IN1R_ZC_WIDTH 1 /* IN1R_ZC */ 9706a504a75SDimitris Papastamos #define WM8995_IN1R_VOL_MASK 0x001F /* IN1R_VOL - [4:0] */ 9716a504a75SDimitris Papastamos #define WM8995_IN1R_VOL_SHIFT 0 /* IN1R_VOL - [4:0] */ 9726a504a75SDimitris Papastamos #define WM8995_IN1R_VOL_WIDTH 5 /* IN1R_VOL - [4:0] */ 9736a504a75SDimitris Papastamos 9746a504a75SDimitris Papastamos /* 9756a504a75SDimitris Papastamos * R18 (0x12) - Left Line Input Control 9766a504a75SDimitris Papastamos */ 9776a504a75SDimitris Papastamos #define WM8995_IN1L_BOOST_MASK 0x0030 /* IN1L_BOOST - [5:4] */ 9786a504a75SDimitris Papastamos #define WM8995_IN1L_BOOST_SHIFT 4 /* IN1L_BOOST - [5:4] */ 9796a504a75SDimitris Papastamos #define WM8995_IN1L_BOOST_WIDTH 2 /* IN1L_BOOST - [5:4] */ 9806a504a75SDimitris Papastamos #define WM8995_IN1L_MODE_MASK 0x000C /* IN1L_MODE - [3:2] */ 9816a504a75SDimitris Papastamos #define WM8995_IN1L_MODE_SHIFT 2 /* IN1L_MODE - [3:2] */ 9826a504a75SDimitris Papastamos #define WM8995_IN1L_MODE_WIDTH 2 /* IN1L_MODE - [3:2] */ 9836a504a75SDimitris Papastamos #define WM8995_IN1R_MODE_MASK 0x0003 /* IN1R_MODE - [1:0] */ 9846a504a75SDimitris Papastamos #define WM8995_IN1R_MODE_SHIFT 0 /* IN1R_MODE - [1:0] */ 9856a504a75SDimitris Papastamos #define WM8995_IN1R_MODE_WIDTH 2 /* IN1R_MODE - [1:0] */ 9866a504a75SDimitris Papastamos 9876a504a75SDimitris Papastamos /* 9886a504a75SDimitris Papastamos * R24 (0x18) - DAC1 Left Volume 9896a504a75SDimitris Papastamos */ 9906a504a75SDimitris Papastamos #define WM8995_DAC1L_MUTE 0x0200 /* DAC1L_MUTE */ 9916a504a75SDimitris Papastamos #define WM8995_DAC1L_MUTE_MASK 0x0200 /* DAC1L_MUTE */ 9926a504a75SDimitris Papastamos #define WM8995_DAC1L_MUTE_SHIFT 9 /* DAC1L_MUTE */ 9936a504a75SDimitris Papastamos #define WM8995_DAC1L_MUTE_WIDTH 1 /* DAC1L_MUTE */ 9946a504a75SDimitris Papastamos #define WM8995_DAC1_VU 0x0100 /* DAC1_VU */ 9956a504a75SDimitris Papastamos #define WM8995_DAC1_VU_MASK 0x0100 /* DAC1_VU */ 9966a504a75SDimitris Papastamos #define WM8995_DAC1_VU_SHIFT 8 /* DAC1_VU */ 9976a504a75SDimitris Papastamos #define WM8995_DAC1_VU_WIDTH 1 /* DAC1_VU */ 9986a504a75SDimitris Papastamos #define WM8995_DAC1L_VOL_MASK 0x00FF /* DAC1L_VOL - [7:0] */ 9996a504a75SDimitris Papastamos #define WM8995_DAC1L_VOL_SHIFT 0 /* DAC1L_VOL - [7:0] */ 10006a504a75SDimitris Papastamos #define WM8995_DAC1L_VOL_WIDTH 8 /* DAC1L_VOL - [7:0] */ 10016a504a75SDimitris Papastamos 10026a504a75SDimitris Papastamos /* 10036a504a75SDimitris Papastamos * R25 (0x19) - DAC1 Right Volume 10046a504a75SDimitris Papastamos */ 10056a504a75SDimitris Papastamos #define WM8995_DAC1R_MUTE 0x0200 /* DAC1R_MUTE */ 10066a504a75SDimitris Papastamos #define WM8995_DAC1R_MUTE_MASK 0x0200 /* DAC1R_MUTE */ 10076a504a75SDimitris Papastamos #define WM8995_DAC1R_MUTE_SHIFT 9 /* DAC1R_MUTE */ 10086a504a75SDimitris Papastamos #define WM8995_DAC1R_MUTE_WIDTH 1 /* DAC1R_MUTE */ 10096a504a75SDimitris Papastamos #define WM8995_DAC1_VU 0x0100 /* DAC1_VU */ 10106a504a75SDimitris Papastamos #define WM8995_DAC1_VU_MASK 0x0100 /* DAC1_VU */ 10116a504a75SDimitris Papastamos #define WM8995_DAC1_VU_SHIFT 8 /* DAC1_VU */ 10126a504a75SDimitris Papastamos #define WM8995_DAC1_VU_WIDTH 1 /* DAC1_VU */ 10136a504a75SDimitris Papastamos #define WM8995_DAC1R_VOL_MASK 0x00FF /* DAC1R_VOL - [7:0] */ 10146a504a75SDimitris Papastamos #define WM8995_DAC1R_VOL_SHIFT 0 /* DAC1R_VOL - [7:0] */ 10156a504a75SDimitris Papastamos #define WM8995_DAC1R_VOL_WIDTH 8 /* DAC1R_VOL - [7:0] */ 10166a504a75SDimitris Papastamos 10176a504a75SDimitris Papastamos /* 10186a504a75SDimitris Papastamos * R26 (0x1A) - DAC2 Left Volume 10196a504a75SDimitris Papastamos */ 10206a504a75SDimitris Papastamos #define WM8995_DAC2L_MUTE 0x0200 /* DAC2L_MUTE */ 10216a504a75SDimitris Papastamos #define WM8995_DAC2L_MUTE_MASK 0x0200 /* DAC2L_MUTE */ 10226a504a75SDimitris Papastamos #define WM8995_DAC2L_MUTE_SHIFT 9 /* DAC2L_MUTE */ 10236a504a75SDimitris Papastamos #define WM8995_DAC2L_MUTE_WIDTH 1 /* DAC2L_MUTE */ 10246a504a75SDimitris Papastamos #define WM8995_DAC2_VU 0x0100 /* DAC2_VU */ 10256a504a75SDimitris Papastamos #define WM8995_DAC2_VU_MASK 0x0100 /* DAC2_VU */ 10266a504a75SDimitris Papastamos #define WM8995_DAC2_VU_SHIFT 8 /* DAC2_VU */ 10276a504a75SDimitris Papastamos #define WM8995_DAC2_VU_WIDTH 1 /* DAC2_VU */ 10286a504a75SDimitris Papastamos #define WM8995_DAC2L_VOL_MASK 0x00FF /* DAC2L_VOL - [7:0] */ 10296a504a75SDimitris Papastamos #define WM8995_DAC2L_VOL_SHIFT 0 /* DAC2L_VOL - [7:0] */ 10306a504a75SDimitris Papastamos #define WM8995_DAC2L_VOL_WIDTH 8 /* DAC2L_VOL - [7:0] */ 10316a504a75SDimitris Papastamos 10326a504a75SDimitris Papastamos /* 10336a504a75SDimitris Papastamos * R27 (0x1B) - DAC2 Right Volume 10346a504a75SDimitris Papastamos */ 10356a504a75SDimitris Papastamos #define WM8995_DAC2R_MUTE 0x0200 /* DAC2R_MUTE */ 10366a504a75SDimitris Papastamos #define WM8995_DAC2R_MUTE_MASK 0x0200 /* DAC2R_MUTE */ 10376a504a75SDimitris Papastamos #define WM8995_DAC2R_MUTE_SHIFT 9 /* DAC2R_MUTE */ 10386a504a75SDimitris Papastamos #define WM8995_DAC2R_MUTE_WIDTH 1 /* DAC2R_MUTE */ 10396a504a75SDimitris Papastamos #define WM8995_DAC2_VU 0x0100 /* DAC2_VU */ 10406a504a75SDimitris Papastamos #define WM8995_DAC2_VU_MASK 0x0100 /* DAC2_VU */ 10416a504a75SDimitris Papastamos #define WM8995_DAC2_VU_SHIFT 8 /* DAC2_VU */ 10426a504a75SDimitris Papastamos #define WM8995_DAC2_VU_WIDTH 1 /* DAC2_VU */ 10436a504a75SDimitris Papastamos #define WM8995_DAC2R_VOL_MASK 0x00FF /* DAC2R_VOL - [7:0] */ 10446a504a75SDimitris Papastamos #define WM8995_DAC2R_VOL_SHIFT 0 /* DAC2R_VOL - [7:0] */ 10456a504a75SDimitris Papastamos #define WM8995_DAC2R_VOL_WIDTH 8 /* DAC2R_VOL - [7:0] */ 10466a504a75SDimitris Papastamos 10476a504a75SDimitris Papastamos /* 10486a504a75SDimitris Papastamos * R28 (0x1C) - Output Volume ZC (1) 10496a504a75SDimitris Papastamos */ 10506a504a75SDimitris Papastamos #define WM8995_HPOUT2L_ZC 0x0008 /* HPOUT2L_ZC */ 10516a504a75SDimitris Papastamos #define WM8995_HPOUT2L_ZC_MASK 0x0008 /* HPOUT2L_ZC */ 10526a504a75SDimitris Papastamos #define WM8995_HPOUT2L_ZC_SHIFT 3 /* HPOUT2L_ZC */ 10536a504a75SDimitris Papastamos #define WM8995_HPOUT2L_ZC_WIDTH 1 /* HPOUT2L_ZC */ 10546a504a75SDimitris Papastamos #define WM8995_HPOUT2R_ZC 0x0004 /* HPOUT2R_ZC */ 10556a504a75SDimitris Papastamos #define WM8995_HPOUT2R_ZC_MASK 0x0004 /* HPOUT2R_ZC */ 10566a504a75SDimitris Papastamos #define WM8995_HPOUT2R_ZC_SHIFT 2 /* HPOUT2R_ZC */ 10576a504a75SDimitris Papastamos #define WM8995_HPOUT2R_ZC_WIDTH 1 /* HPOUT2R_ZC */ 10586a504a75SDimitris Papastamos #define WM8995_HPOUT1L_ZC 0x0002 /* HPOUT1L_ZC */ 10596a504a75SDimitris Papastamos #define WM8995_HPOUT1L_ZC_MASK 0x0002 /* HPOUT1L_ZC */ 10606a504a75SDimitris Papastamos #define WM8995_HPOUT1L_ZC_SHIFT 1 /* HPOUT1L_ZC */ 10616a504a75SDimitris Papastamos #define WM8995_HPOUT1L_ZC_WIDTH 1 /* HPOUT1L_ZC */ 10626a504a75SDimitris Papastamos #define WM8995_HPOUT1R_ZC 0x0001 /* HPOUT1R_ZC */ 10636a504a75SDimitris Papastamos #define WM8995_HPOUT1R_ZC_MASK 0x0001 /* HPOUT1R_ZC */ 10646a504a75SDimitris Papastamos #define WM8995_HPOUT1R_ZC_SHIFT 0 /* HPOUT1R_ZC */ 10656a504a75SDimitris Papastamos #define WM8995_HPOUT1R_ZC_WIDTH 1 /* HPOUT1R_ZC */ 10666a504a75SDimitris Papastamos 10676a504a75SDimitris Papastamos /* 10686a504a75SDimitris Papastamos * R32 (0x20) - MICBIAS (1) 10696a504a75SDimitris Papastamos */ 10706a504a75SDimitris Papastamos #define WM8995_MICB1_MODE 0x0008 /* MICB1_MODE */ 10716a504a75SDimitris Papastamos #define WM8995_MICB1_MODE_MASK 0x0008 /* MICB1_MODE */ 10726a504a75SDimitris Papastamos #define WM8995_MICB1_MODE_SHIFT 3 /* MICB1_MODE */ 10736a504a75SDimitris Papastamos #define WM8995_MICB1_MODE_WIDTH 1 /* MICB1_MODE */ 10746a504a75SDimitris Papastamos #define WM8995_MICB1_LVL_MASK 0x0006 /* MICB1_LVL - [2:1] */ 10756a504a75SDimitris Papastamos #define WM8995_MICB1_LVL_SHIFT 1 /* MICB1_LVL - [2:1] */ 10766a504a75SDimitris Papastamos #define WM8995_MICB1_LVL_WIDTH 2 /* MICB1_LVL - [2:1] */ 10776a504a75SDimitris Papastamos #define WM8995_MICB1_DISCH 0x0001 /* MICB1_DISCH */ 10786a504a75SDimitris Papastamos #define WM8995_MICB1_DISCH_MASK 0x0001 /* MICB1_DISCH */ 10796a504a75SDimitris Papastamos #define WM8995_MICB1_DISCH_SHIFT 0 /* MICB1_DISCH */ 10806a504a75SDimitris Papastamos #define WM8995_MICB1_DISCH_WIDTH 1 /* MICB1_DISCH */ 10816a504a75SDimitris Papastamos 10826a504a75SDimitris Papastamos /* 10836a504a75SDimitris Papastamos * R33 (0x21) - MICBIAS (2) 10846a504a75SDimitris Papastamos */ 10856a504a75SDimitris Papastamos #define WM8995_MICB2_MODE 0x0008 /* MICB2_MODE */ 10866a504a75SDimitris Papastamos #define WM8995_MICB2_MODE_MASK 0x0008 /* MICB2_MODE */ 10876a504a75SDimitris Papastamos #define WM8995_MICB2_MODE_SHIFT 3 /* MICB2_MODE */ 10886a504a75SDimitris Papastamos #define WM8995_MICB2_MODE_WIDTH 1 /* MICB2_MODE */ 10896a504a75SDimitris Papastamos #define WM8995_MICB2_LVL_MASK 0x0006 /* MICB2_LVL - [2:1] */ 10906a504a75SDimitris Papastamos #define WM8995_MICB2_LVL_SHIFT 1 /* MICB2_LVL - [2:1] */ 10916a504a75SDimitris Papastamos #define WM8995_MICB2_LVL_WIDTH 2 /* MICB2_LVL - [2:1] */ 10926a504a75SDimitris Papastamos #define WM8995_MICB2_DISCH 0x0001 /* MICB2_DISCH */ 10936a504a75SDimitris Papastamos #define WM8995_MICB2_DISCH_MASK 0x0001 /* MICB2_DISCH */ 10946a504a75SDimitris Papastamos #define WM8995_MICB2_DISCH_SHIFT 0 /* MICB2_DISCH */ 10956a504a75SDimitris Papastamos #define WM8995_MICB2_DISCH_WIDTH 1 /* MICB2_DISCH */ 10966a504a75SDimitris Papastamos 10976a504a75SDimitris Papastamos /* 10986a504a75SDimitris Papastamos * R40 (0x28) - LDO 1 10996a504a75SDimitris Papastamos */ 11006a504a75SDimitris Papastamos #define WM8995_LDO1_MODE 0x0020 /* LDO1_MODE */ 11016a504a75SDimitris Papastamos #define WM8995_LDO1_MODE_MASK 0x0020 /* LDO1_MODE */ 11026a504a75SDimitris Papastamos #define WM8995_LDO1_MODE_SHIFT 5 /* LDO1_MODE */ 11036a504a75SDimitris Papastamos #define WM8995_LDO1_MODE_WIDTH 1 /* LDO1_MODE */ 11046a504a75SDimitris Papastamos #define WM8995_LDO1_VSEL_MASK 0x0006 /* LDO1_VSEL - [2:1] */ 11056a504a75SDimitris Papastamos #define WM8995_LDO1_VSEL_SHIFT 1 /* LDO1_VSEL - [2:1] */ 11066a504a75SDimitris Papastamos #define WM8995_LDO1_VSEL_WIDTH 2 /* LDO1_VSEL - [2:1] */ 11076a504a75SDimitris Papastamos #define WM8995_LDO1_DISCH 0x0001 /* LDO1_DISCH */ 11086a504a75SDimitris Papastamos #define WM8995_LDO1_DISCH_MASK 0x0001 /* LDO1_DISCH */ 11096a504a75SDimitris Papastamos #define WM8995_LDO1_DISCH_SHIFT 0 /* LDO1_DISCH */ 11106a504a75SDimitris Papastamos #define WM8995_LDO1_DISCH_WIDTH 1 /* LDO1_DISCH */ 11116a504a75SDimitris Papastamos 11126a504a75SDimitris Papastamos /* 11136a504a75SDimitris Papastamos * R41 (0x29) - LDO 2 11146a504a75SDimitris Papastamos */ 11156a504a75SDimitris Papastamos #define WM8995_LDO2_MODE 0x0020 /* LDO2_MODE */ 11166a504a75SDimitris Papastamos #define WM8995_LDO2_MODE_MASK 0x0020 /* LDO2_MODE */ 11176a504a75SDimitris Papastamos #define WM8995_LDO2_MODE_SHIFT 5 /* LDO2_MODE */ 11186a504a75SDimitris Papastamos #define WM8995_LDO2_MODE_WIDTH 1 /* LDO2_MODE */ 11196a504a75SDimitris Papastamos #define WM8995_LDO2_VSEL_MASK 0x001E /* LDO2_VSEL - [4:1] */ 11206a504a75SDimitris Papastamos #define WM8995_LDO2_VSEL_SHIFT 1 /* LDO2_VSEL - [4:1] */ 11216a504a75SDimitris Papastamos #define WM8995_LDO2_VSEL_WIDTH 4 /* LDO2_VSEL - [4:1] */ 11226a504a75SDimitris Papastamos #define WM8995_LDO2_DISCH 0x0001 /* LDO2_DISCH */ 11236a504a75SDimitris Papastamos #define WM8995_LDO2_DISCH_MASK 0x0001 /* LDO2_DISCH */ 11246a504a75SDimitris Papastamos #define WM8995_LDO2_DISCH_SHIFT 0 /* LDO2_DISCH */ 11256a504a75SDimitris Papastamos #define WM8995_LDO2_DISCH_WIDTH 1 /* LDO2_DISCH */ 11266a504a75SDimitris Papastamos 11276a504a75SDimitris Papastamos /* 11286a504a75SDimitris Papastamos * R48 (0x30) - Accessory Detect Mode1 11296a504a75SDimitris Papastamos */ 11306a504a75SDimitris Papastamos #define WM8995_JD_MODE_MASK 0x0003 /* JD_MODE - [1:0] */ 11316a504a75SDimitris Papastamos #define WM8995_JD_MODE_SHIFT 0 /* JD_MODE - [1:0] */ 11326a504a75SDimitris Papastamos #define WM8995_JD_MODE_WIDTH 2 /* JD_MODE - [1:0] */ 11336a504a75SDimitris Papastamos 11346a504a75SDimitris Papastamos /* 11356a504a75SDimitris Papastamos * R49 (0x31) - Accessory Detect Mode2 11366a504a75SDimitris Papastamos */ 11376a504a75SDimitris Papastamos #define WM8995_VID_ENA 0x0001 /* VID_ENA */ 11386a504a75SDimitris Papastamos #define WM8995_VID_ENA_MASK 0x0001 /* VID_ENA */ 11396a504a75SDimitris Papastamos #define WM8995_VID_ENA_SHIFT 0 /* VID_ENA */ 11406a504a75SDimitris Papastamos #define WM8995_VID_ENA_WIDTH 1 /* VID_ENA */ 11416a504a75SDimitris Papastamos 11426a504a75SDimitris Papastamos /* 11436a504a75SDimitris Papastamos * R52 (0x34) - Headphone Detect1 11446a504a75SDimitris Papastamos */ 11456a504a75SDimitris Papastamos #define WM8995_HP_RAMPRATE 0x0002 /* HP_RAMPRATE */ 11466a504a75SDimitris Papastamos #define WM8995_HP_RAMPRATE_MASK 0x0002 /* HP_RAMPRATE */ 11476a504a75SDimitris Papastamos #define WM8995_HP_RAMPRATE_SHIFT 1 /* HP_RAMPRATE */ 11486a504a75SDimitris Papastamos #define WM8995_HP_RAMPRATE_WIDTH 1 /* HP_RAMPRATE */ 11496a504a75SDimitris Papastamos #define WM8995_HP_POLL 0x0001 /* HP_POLL */ 11506a504a75SDimitris Papastamos #define WM8995_HP_POLL_MASK 0x0001 /* HP_POLL */ 11516a504a75SDimitris Papastamos #define WM8995_HP_POLL_SHIFT 0 /* HP_POLL */ 11526a504a75SDimitris Papastamos #define WM8995_HP_POLL_WIDTH 1 /* HP_POLL */ 11536a504a75SDimitris Papastamos 11546a504a75SDimitris Papastamos /* 11556a504a75SDimitris Papastamos * R53 (0x35) - Headphone Detect2 11566a504a75SDimitris Papastamos */ 11576a504a75SDimitris Papastamos #define WM8995_HP_DONE 0x0080 /* HP_DONE */ 11586a504a75SDimitris Papastamos #define WM8995_HP_DONE_MASK 0x0080 /* HP_DONE */ 11596a504a75SDimitris Papastamos #define WM8995_HP_DONE_SHIFT 7 /* HP_DONE */ 11606a504a75SDimitris Papastamos #define WM8995_HP_DONE_WIDTH 1 /* HP_DONE */ 11616a504a75SDimitris Papastamos #define WM8995_HP_LVL_MASK 0x007F /* HP_LVL - [6:0] */ 11626a504a75SDimitris Papastamos #define WM8995_HP_LVL_SHIFT 0 /* HP_LVL - [6:0] */ 11636a504a75SDimitris Papastamos #define WM8995_HP_LVL_WIDTH 7 /* HP_LVL - [6:0] */ 11646a504a75SDimitris Papastamos 11656a504a75SDimitris Papastamos /* 11666a504a75SDimitris Papastamos * R56 (0x38) - Mic Detect (1) 11676a504a75SDimitris Papastamos */ 11686a504a75SDimitris Papastamos #define WM8995_MICD_RATE_MASK 0x7800 /* MICD_RATE - [14:11] */ 11696a504a75SDimitris Papastamos #define WM8995_MICD_RATE_SHIFT 11 /* MICD_RATE - [14:11] */ 11706a504a75SDimitris Papastamos #define WM8995_MICD_RATE_WIDTH 4 /* MICD_RATE - [14:11] */ 11716a504a75SDimitris Papastamos #define WM8995_MICD_LVL_SEL_MASK 0x01F8 /* MICD_LVL_SEL - [8:3] */ 11726a504a75SDimitris Papastamos #define WM8995_MICD_LVL_SEL_SHIFT 3 /* MICD_LVL_SEL - [8:3] */ 11736a504a75SDimitris Papastamos #define WM8995_MICD_LVL_SEL_WIDTH 6 /* MICD_LVL_SEL - [8:3] */ 11746a504a75SDimitris Papastamos #define WM8995_MICD_DBTIME 0x0002 /* MICD_DBTIME */ 11756a504a75SDimitris Papastamos #define WM8995_MICD_DBTIME_MASK 0x0002 /* MICD_DBTIME */ 11766a504a75SDimitris Papastamos #define WM8995_MICD_DBTIME_SHIFT 1 /* MICD_DBTIME */ 11776a504a75SDimitris Papastamos #define WM8995_MICD_DBTIME_WIDTH 1 /* MICD_DBTIME */ 11786a504a75SDimitris Papastamos #define WM8995_MICD_ENA 0x0001 /* MICD_ENA */ 11796a504a75SDimitris Papastamos #define WM8995_MICD_ENA_MASK 0x0001 /* MICD_ENA */ 11806a504a75SDimitris Papastamos #define WM8995_MICD_ENA_SHIFT 0 /* MICD_ENA */ 11816a504a75SDimitris Papastamos #define WM8995_MICD_ENA_WIDTH 1 /* MICD_ENA */ 11826a504a75SDimitris Papastamos 11836a504a75SDimitris Papastamos /* 11846a504a75SDimitris Papastamos * R57 (0x39) - Mic Detect (2) 11856a504a75SDimitris Papastamos */ 11866a504a75SDimitris Papastamos #define WM8995_MICD_LVL_MASK 0x01FC /* MICD_LVL - [8:2] */ 11876a504a75SDimitris Papastamos #define WM8995_MICD_LVL_SHIFT 2 /* MICD_LVL - [8:2] */ 11886a504a75SDimitris Papastamos #define WM8995_MICD_LVL_WIDTH 7 /* MICD_LVL - [8:2] */ 11896a504a75SDimitris Papastamos #define WM8995_MICD_VALID 0x0002 /* MICD_VALID */ 11906a504a75SDimitris Papastamos #define WM8995_MICD_VALID_MASK 0x0002 /* MICD_VALID */ 11916a504a75SDimitris Papastamos #define WM8995_MICD_VALID_SHIFT 1 /* MICD_VALID */ 11926a504a75SDimitris Papastamos #define WM8995_MICD_VALID_WIDTH 1 /* MICD_VALID */ 11936a504a75SDimitris Papastamos #define WM8995_MICD_STS 0x0001 /* MICD_STS */ 11946a504a75SDimitris Papastamos #define WM8995_MICD_STS_MASK 0x0001 /* MICD_STS */ 11956a504a75SDimitris Papastamos #define WM8995_MICD_STS_SHIFT 0 /* MICD_STS */ 11966a504a75SDimitris Papastamos #define WM8995_MICD_STS_WIDTH 1 /* MICD_STS */ 11976a504a75SDimitris Papastamos 11986a504a75SDimitris Papastamos /* 11996a504a75SDimitris Papastamos * R64 (0x40) - Charge Pump (1) 12006a504a75SDimitris Papastamos */ 12016a504a75SDimitris Papastamos #define WM8995_CP_ENA 0x8000 /* CP_ENA */ 12026a504a75SDimitris Papastamos #define WM8995_CP_ENA_MASK 0x8000 /* CP_ENA */ 12036a504a75SDimitris Papastamos #define WM8995_CP_ENA_SHIFT 15 /* CP_ENA */ 12046a504a75SDimitris Papastamos #define WM8995_CP_ENA_WIDTH 1 /* CP_ENA */ 12056a504a75SDimitris Papastamos 12066a504a75SDimitris Papastamos /* 12076a504a75SDimitris Papastamos * R69 (0x45) - Class W (1) 12086a504a75SDimitris Papastamos */ 12096a504a75SDimitris Papastamos #define WM8995_CP_DYN_SRC_SEL_MASK 0x0300 /* CP_DYN_SRC_SEL - [9:8] */ 12106a504a75SDimitris Papastamos #define WM8995_CP_DYN_SRC_SEL_SHIFT 8 /* CP_DYN_SRC_SEL - [9:8] */ 12116a504a75SDimitris Papastamos #define WM8995_CP_DYN_SRC_SEL_WIDTH 2 /* CP_DYN_SRC_SEL - [9:8] */ 12126a504a75SDimitris Papastamos #define WM8995_CP_DYN_PWR 0x0001 /* CP_DYN_PWR */ 12136a504a75SDimitris Papastamos #define WM8995_CP_DYN_PWR_MASK 0x0001 /* CP_DYN_PWR */ 12146a504a75SDimitris Papastamos #define WM8995_CP_DYN_PWR_SHIFT 0 /* CP_DYN_PWR */ 12156a504a75SDimitris Papastamos #define WM8995_CP_DYN_PWR_WIDTH 1 /* CP_DYN_PWR */ 12166a504a75SDimitris Papastamos 12176a504a75SDimitris Papastamos /* 12186a504a75SDimitris Papastamos * R80 (0x50) - DC Servo (1) 12196a504a75SDimitris Papastamos */ 12206a504a75SDimitris Papastamos #define WM8995_DCS_ENA_CHAN_3 0x0008 /* DCS_ENA_CHAN_3 */ 12216a504a75SDimitris Papastamos #define WM8995_DCS_ENA_CHAN_3_MASK 0x0008 /* DCS_ENA_CHAN_3 */ 12226a504a75SDimitris Papastamos #define WM8995_DCS_ENA_CHAN_3_SHIFT 3 /* DCS_ENA_CHAN_3 */ 12236a504a75SDimitris Papastamos #define WM8995_DCS_ENA_CHAN_3_WIDTH 1 /* DCS_ENA_CHAN_3 */ 12246a504a75SDimitris Papastamos #define WM8995_DCS_ENA_CHAN_2 0x0004 /* DCS_ENA_CHAN_2 */ 12256a504a75SDimitris Papastamos #define WM8995_DCS_ENA_CHAN_2_MASK 0x0004 /* DCS_ENA_CHAN_2 */ 12266a504a75SDimitris Papastamos #define WM8995_DCS_ENA_CHAN_2_SHIFT 2 /* DCS_ENA_CHAN_2 */ 12276a504a75SDimitris Papastamos #define WM8995_DCS_ENA_CHAN_2_WIDTH 1 /* DCS_ENA_CHAN_2 */ 12286a504a75SDimitris Papastamos #define WM8995_DCS_ENA_CHAN_1 0x0002 /* DCS_ENA_CHAN_1 */ 12296a504a75SDimitris Papastamos #define WM8995_DCS_ENA_CHAN_1_MASK 0x0002 /* DCS_ENA_CHAN_1 */ 12306a504a75SDimitris Papastamos #define WM8995_DCS_ENA_CHAN_1_SHIFT 1 /* DCS_ENA_CHAN_1 */ 12316a504a75SDimitris Papastamos #define WM8995_DCS_ENA_CHAN_1_WIDTH 1 /* DCS_ENA_CHAN_1 */ 12326a504a75SDimitris Papastamos #define WM8995_DCS_ENA_CHAN_0 0x0001 /* DCS_ENA_CHAN_0 */ 12336a504a75SDimitris Papastamos #define WM8995_DCS_ENA_CHAN_0_MASK 0x0001 /* DCS_ENA_CHAN_0 */ 12346a504a75SDimitris Papastamos #define WM8995_DCS_ENA_CHAN_0_SHIFT 0 /* DCS_ENA_CHAN_0 */ 12356a504a75SDimitris Papastamos #define WM8995_DCS_ENA_CHAN_0_WIDTH 1 /* DCS_ENA_CHAN_0 */ 12366a504a75SDimitris Papastamos 12376a504a75SDimitris Papastamos /* 12386a504a75SDimitris Papastamos * R81 (0x51) - DC Servo (2) 12396a504a75SDimitris Papastamos */ 12406a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_SINGLE_3 0x8000 /* DCS_TRIG_SINGLE_3 */ 12416a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_SINGLE_3_MASK 0x8000 /* DCS_TRIG_SINGLE_3 */ 12426a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_SINGLE_3_SHIFT 15 /* DCS_TRIG_SINGLE_3 */ 12436a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_SINGLE_3_WIDTH 1 /* DCS_TRIG_SINGLE_3 */ 12446a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_SINGLE_2 0x4000 /* DCS_TRIG_SINGLE_2 */ 12456a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_SINGLE_2_MASK 0x4000 /* DCS_TRIG_SINGLE_2 */ 12466a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_SINGLE_2_SHIFT 14 /* DCS_TRIG_SINGLE_2 */ 12476a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_SINGLE_2_WIDTH 1 /* DCS_TRIG_SINGLE_2 */ 12486a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_SINGLE_1 0x2000 /* DCS_TRIG_SINGLE_1 */ 12496a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_SINGLE_1_MASK 0x2000 /* DCS_TRIG_SINGLE_1 */ 12506a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_SINGLE_1_SHIFT 13 /* DCS_TRIG_SINGLE_1 */ 12516a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_SINGLE_1_WIDTH 1 /* DCS_TRIG_SINGLE_1 */ 12526a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_SINGLE_0 0x1000 /* DCS_TRIG_SINGLE_0 */ 12536a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_SINGLE_0_MASK 0x1000 /* DCS_TRIG_SINGLE_0 */ 12546a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_SINGLE_0_SHIFT 12 /* DCS_TRIG_SINGLE_0 */ 12556a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_SINGLE_0_WIDTH 1 /* DCS_TRIG_SINGLE_0 */ 12566a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_SERIES_3 0x0800 /* DCS_TRIG_SERIES_3 */ 12576a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_SERIES_3_MASK 0x0800 /* DCS_TRIG_SERIES_3 */ 12586a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_SERIES_3_SHIFT 11 /* DCS_TRIG_SERIES_3 */ 12596a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_SERIES_3_WIDTH 1 /* DCS_TRIG_SERIES_3 */ 12606a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_SERIES_2 0x0400 /* DCS_TRIG_SERIES_2 */ 12616a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_SERIES_2_MASK 0x0400 /* DCS_TRIG_SERIES_2 */ 12626a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_SERIES_2_SHIFT 10 /* DCS_TRIG_SERIES_2 */ 12636a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_SERIES_2_WIDTH 1 /* DCS_TRIG_SERIES_2 */ 12646a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_SERIES_1 0x0200 /* DCS_TRIG_SERIES_1 */ 12656a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_SERIES_1_MASK 0x0200 /* DCS_TRIG_SERIES_1 */ 12666a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_SERIES_1_SHIFT 9 /* DCS_TRIG_SERIES_1 */ 12676a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_SERIES_1_WIDTH 1 /* DCS_TRIG_SERIES_1 */ 12686a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_SERIES_0 0x0100 /* DCS_TRIG_SERIES_0 */ 12696a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_SERIES_0_MASK 0x0100 /* DCS_TRIG_SERIES_0 */ 12706a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_SERIES_0_SHIFT 8 /* DCS_TRIG_SERIES_0 */ 12716a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_SERIES_0_WIDTH 1 /* DCS_TRIG_SERIES_0 */ 12726a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_STARTUP_3 0x0080 /* DCS_TRIG_STARTUP_3 */ 12736a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_STARTUP_3_MASK 0x0080 /* DCS_TRIG_STARTUP_3 */ 12746a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_STARTUP_3_SHIFT 7 /* DCS_TRIG_STARTUP_3 */ 12756a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_STARTUP_3_WIDTH 1 /* DCS_TRIG_STARTUP_3 */ 12766a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_STARTUP_2 0x0040 /* DCS_TRIG_STARTUP_2 */ 12776a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_STARTUP_2_MASK 0x0040 /* DCS_TRIG_STARTUP_2 */ 12786a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_STARTUP_2_SHIFT 6 /* DCS_TRIG_STARTUP_2 */ 12796a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_STARTUP_2_WIDTH 1 /* DCS_TRIG_STARTUP_2 */ 12806a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_STARTUP_1 0x0020 /* DCS_TRIG_STARTUP_1 */ 12816a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_STARTUP_1_MASK 0x0020 /* DCS_TRIG_STARTUP_1 */ 12826a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_STARTUP_1_SHIFT 5 /* DCS_TRIG_STARTUP_1 */ 12836a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_STARTUP_1_WIDTH 1 /* DCS_TRIG_STARTUP_1 */ 12846a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_STARTUP_0 0x0010 /* DCS_TRIG_STARTUP_0 */ 12856a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_STARTUP_0_MASK 0x0010 /* DCS_TRIG_STARTUP_0 */ 12866a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_STARTUP_0_SHIFT 4 /* DCS_TRIG_STARTUP_0 */ 12876a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_STARTUP_0_WIDTH 1 /* DCS_TRIG_STARTUP_0 */ 12886a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_DAC_WR_3 0x0008 /* DCS_TRIG_DAC_WR_3 */ 12896a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_DAC_WR_3_MASK 0x0008 /* DCS_TRIG_DAC_WR_3 */ 12906a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_DAC_WR_3_SHIFT 3 /* DCS_TRIG_DAC_WR_3 */ 12916a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_DAC_WR_3_WIDTH 1 /* DCS_TRIG_DAC_WR_3 */ 12926a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_DAC_WR_2 0x0004 /* DCS_TRIG_DAC_WR_2 */ 12936a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_DAC_WR_2_MASK 0x0004 /* DCS_TRIG_DAC_WR_2 */ 12946a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_DAC_WR_2_SHIFT 2 /* DCS_TRIG_DAC_WR_2 */ 12956a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_DAC_WR_2_WIDTH 1 /* DCS_TRIG_DAC_WR_2 */ 12966a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_DAC_WR_1 0x0002 /* DCS_TRIG_DAC_WR_1 */ 12976a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_DAC_WR_1_MASK 0x0002 /* DCS_TRIG_DAC_WR_1 */ 12986a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_DAC_WR_1_SHIFT 1 /* DCS_TRIG_DAC_WR_1 */ 12996a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_DAC_WR_1_WIDTH 1 /* DCS_TRIG_DAC_WR_1 */ 13006a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_DAC_WR_0 0x0001 /* DCS_TRIG_DAC_WR_0 */ 13016a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_DAC_WR_0_MASK 0x0001 /* DCS_TRIG_DAC_WR_0 */ 13026a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_DAC_WR_0_SHIFT 0 /* DCS_TRIG_DAC_WR_0 */ 13036a504a75SDimitris Papastamos #define WM8995_DCS_TRIG_DAC_WR_0_WIDTH 1 /* DCS_TRIG_DAC_WR_0 */ 13046a504a75SDimitris Papastamos 13056a504a75SDimitris Papastamos /* 13066a504a75SDimitris Papastamos * R82 (0x52) - DC Servo (3) 13076a504a75SDimitris Papastamos */ 13086a504a75SDimitris Papastamos #define WM8995_DCS_TIMER_PERIOD_23_MASK 0x0F00 /* DCS_TIMER_PERIOD_23 - [11:8] */ 13096a504a75SDimitris Papastamos #define WM8995_DCS_TIMER_PERIOD_23_SHIFT 8 /* DCS_TIMER_PERIOD_23 - [11:8] */ 13106a504a75SDimitris Papastamos #define WM8995_DCS_TIMER_PERIOD_23_WIDTH 4 /* DCS_TIMER_PERIOD_23 - [11:8] */ 13116a504a75SDimitris Papastamos #define WM8995_DCS_TIMER_PERIOD_01_MASK 0x000F /* DCS_TIMER_PERIOD_01 - [3:0] */ 13126a504a75SDimitris Papastamos #define WM8995_DCS_TIMER_PERIOD_01_SHIFT 0 /* DCS_TIMER_PERIOD_01 - [3:0] */ 13136a504a75SDimitris Papastamos #define WM8995_DCS_TIMER_PERIOD_01_WIDTH 4 /* DCS_TIMER_PERIOD_01 - [3:0] */ 13146a504a75SDimitris Papastamos 13156a504a75SDimitris Papastamos /* 13166a504a75SDimitris Papastamos * R84 (0x54) - DC Servo (5) 13176a504a75SDimitris Papastamos */ 13186a504a75SDimitris Papastamos #define WM8995_DCS_SERIES_NO_23_MASK 0x7F00 /* DCS_SERIES_NO_23 - [14:8] */ 13196a504a75SDimitris Papastamos #define WM8995_DCS_SERIES_NO_23_SHIFT 8 /* DCS_SERIES_NO_23 - [14:8] */ 13206a504a75SDimitris Papastamos #define WM8995_DCS_SERIES_NO_23_WIDTH 7 /* DCS_SERIES_NO_23 - [14:8] */ 13216a504a75SDimitris Papastamos #define WM8995_DCS_SERIES_NO_01_MASK 0x007F /* DCS_SERIES_NO_01 - [6:0] */ 13226a504a75SDimitris Papastamos #define WM8995_DCS_SERIES_NO_01_SHIFT 0 /* DCS_SERIES_NO_01 - [6:0] */ 13236a504a75SDimitris Papastamos #define WM8995_DCS_SERIES_NO_01_WIDTH 7 /* DCS_SERIES_NO_01 - [6:0] */ 13246a504a75SDimitris Papastamos 13256a504a75SDimitris Papastamos /* 13266a504a75SDimitris Papastamos * R85 (0x55) - DC Servo (6) 13276a504a75SDimitris Papastamos */ 13286a504a75SDimitris Papastamos #define WM8995_DCS_DAC_WR_VAL_3_MASK 0xFF00 /* DCS_DAC_WR_VAL_3 - [15:8] */ 13296a504a75SDimitris Papastamos #define WM8995_DCS_DAC_WR_VAL_3_SHIFT 8 /* DCS_DAC_WR_VAL_3 - [15:8] */ 13306a504a75SDimitris Papastamos #define WM8995_DCS_DAC_WR_VAL_3_WIDTH 8 /* DCS_DAC_WR_VAL_3 - [15:8] */ 13316a504a75SDimitris Papastamos #define WM8995_DCS_DAC_WR_VAL_2_MASK 0x00FF /* DCS_DAC_WR_VAL_2 - [7:0] */ 13326a504a75SDimitris Papastamos #define WM8995_DCS_DAC_WR_VAL_2_SHIFT 0 /* DCS_DAC_WR_VAL_2 - [7:0] */ 13336a504a75SDimitris Papastamos #define WM8995_DCS_DAC_WR_VAL_2_WIDTH 8 /* DCS_DAC_WR_VAL_2 - [7:0] */ 13346a504a75SDimitris Papastamos 13356a504a75SDimitris Papastamos /* 13366a504a75SDimitris Papastamos * R86 (0x56) - DC Servo (7) 13376a504a75SDimitris Papastamos */ 13386a504a75SDimitris Papastamos #define WM8995_DCS_DAC_WR_VAL_1_MASK 0xFF00 /* DCS_DAC_WR_VAL_1 - [15:8] */ 13396a504a75SDimitris Papastamos #define WM8995_DCS_DAC_WR_VAL_1_SHIFT 8 /* DCS_DAC_WR_VAL_1 - [15:8] */ 13406a504a75SDimitris Papastamos #define WM8995_DCS_DAC_WR_VAL_1_WIDTH 8 /* DCS_DAC_WR_VAL_1 - [15:8] */ 13416a504a75SDimitris Papastamos #define WM8995_DCS_DAC_WR_VAL_0_MASK 0x00FF /* DCS_DAC_WR_VAL_0 - [7:0] */ 13426a504a75SDimitris Papastamos #define WM8995_DCS_DAC_WR_VAL_0_SHIFT 0 /* DCS_DAC_WR_VAL_0 - [7:0] */ 13436a504a75SDimitris Papastamos #define WM8995_DCS_DAC_WR_VAL_0_WIDTH 8 /* DCS_DAC_WR_VAL_0 - [7:0] */ 13446a504a75SDimitris Papastamos 13456a504a75SDimitris Papastamos /* 13466a504a75SDimitris Papastamos * R87 (0x57) - DC Servo Readback 0 13476a504a75SDimitris Papastamos */ 13486a504a75SDimitris Papastamos #define WM8995_DCS_CAL_COMPLETE_MASK 0x0F00 /* DCS_CAL_COMPLETE - [11:8] */ 13496a504a75SDimitris Papastamos #define WM8995_DCS_CAL_COMPLETE_SHIFT 8 /* DCS_CAL_COMPLETE - [11:8] */ 13506a504a75SDimitris Papastamos #define WM8995_DCS_CAL_COMPLETE_WIDTH 4 /* DCS_CAL_COMPLETE - [11:8] */ 13516a504a75SDimitris Papastamos #define WM8995_DCS_DAC_WR_COMPLETE_MASK 0x00F0 /* DCS_DAC_WR_COMPLETE - [7:4] */ 13526a504a75SDimitris Papastamos #define WM8995_DCS_DAC_WR_COMPLETE_SHIFT 4 /* DCS_DAC_WR_COMPLETE - [7:4] */ 13536a504a75SDimitris Papastamos #define WM8995_DCS_DAC_WR_COMPLETE_WIDTH 4 /* DCS_DAC_WR_COMPLETE - [7:4] */ 13546a504a75SDimitris Papastamos #define WM8995_DCS_STARTUP_COMPLETE_MASK 0x000F /* DCS_STARTUP_COMPLETE - [3:0] */ 13556a504a75SDimitris Papastamos #define WM8995_DCS_STARTUP_COMPLETE_SHIFT 0 /* DCS_STARTUP_COMPLETE - [3:0] */ 13566a504a75SDimitris Papastamos #define WM8995_DCS_STARTUP_COMPLETE_WIDTH 4 /* DCS_STARTUP_COMPLETE - [3:0] */ 13576a504a75SDimitris Papastamos 13586a504a75SDimitris Papastamos /* 13596a504a75SDimitris Papastamos * R96 (0x60) - Analogue HP (1) 13606a504a75SDimitris Papastamos */ 13616a504a75SDimitris Papastamos #define WM8995_HPOUT1L_RMV_SHORT 0x0080 /* HPOUT1L_RMV_SHORT */ 13626a504a75SDimitris Papastamos #define WM8995_HPOUT1L_RMV_SHORT_MASK 0x0080 /* HPOUT1L_RMV_SHORT */ 13636a504a75SDimitris Papastamos #define WM8995_HPOUT1L_RMV_SHORT_SHIFT 7 /* HPOUT1L_RMV_SHORT */ 13646a504a75SDimitris Papastamos #define WM8995_HPOUT1L_RMV_SHORT_WIDTH 1 /* HPOUT1L_RMV_SHORT */ 13656a504a75SDimitris Papastamos #define WM8995_HPOUT1L_OUTP 0x0040 /* HPOUT1L_OUTP */ 13666a504a75SDimitris Papastamos #define WM8995_HPOUT1L_OUTP_MASK 0x0040 /* HPOUT1L_OUTP */ 13676a504a75SDimitris Papastamos #define WM8995_HPOUT1L_OUTP_SHIFT 6 /* HPOUT1L_OUTP */ 13686a504a75SDimitris Papastamos #define WM8995_HPOUT1L_OUTP_WIDTH 1 /* HPOUT1L_OUTP */ 13696a504a75SDimitris Papastamos #define WM8995_HPOUT1L_DLY 0x0020 /* HPOUT1L_DLY */ 13706a504a75SDimitris Papastamos #define WM8995_HPOUT1L_DLY_MASK 0x0020 /* HPOUT1L_DLY */ 13716a504a75SDimitris Papastamos #define WM8995_HPOUT1L_DLY_SHIFT 5 /* HPOUT1L_DLY */ 13726a504a75SDimitris Papastamos #define WM8995_HPOUT1L_DLY_WIDTH 1 /* HPOUT1L_DLY */ 13736a504a75SDimitris Papastamos #define WM8995_HPOUT1R_RMV_SHORT 0x0008 /* HPOUT1R_RMV_SHORT */ 13746a504a75SDimitris Papastamos #define WM8995_HPOUT1R_RMV_SHORT_MASK 0x0008 /* HPOUT1R_RMV_SHORT */ 13756a504a75SDimitris Papastamos #define WM8995_HPOUT1R_RMV_SHORT_SHIFT 3 /* HPOUT1R_RMV_SHORT */ 13766a504a75SDimitris Papastamos #define WM8995_HPOUT1R_RMV_SHORT_WIDTH 1 /* HPOUT1R_RMV_SHORT */ 13776a504a75SDimitris Papastamos #define WM8995_HPOUT1R_OUTP 0x0004 /* HPOUT1R_OUTP */ 13786a504a75SDimitris Papastamos #define WM8995_HPOUT1R_OUTP_MASK 0x0004 /* HPOUT1R_OUTP */ 13796a504a75SDimitris Papastamos #define WM8995_HPOUT1R_OUTP_SHIFT 2 /* HPOUT1R_OUTP */ 13806a504a75SDimitris Papastamos #define WM8995_HPOUT1R_OUTP_WIDTH 1 /* HPOUT1R_OUTP */ 13816a504a75SDimitris Papastamos #define WM8995_HPOUT1R_DLY 0x0002 /* HPOUT1R_DLY */ 13826a504a75SDimitris Papastamos #define WM8995_HPOUT1R_DLY_MASK 0x0002 /* HPOUT1R_DLY */ 13836a504a75SDimitris Papastamos #define WM8995_HPOUT1R_DLY_SHIFT 1 /* HPOUT1R_DLY */ 13846a504a75SDimitris Papastamos #define WM8995_HPOUT1R_DLY_WIDTH 1 /* HPOUT1R_DLY */ 13856a504a75SDimitris Papastamos 13866a504a75SDimitris Papastamos /* 13876a504a75SDimitris Papastamos * R97 (0x61) - Analogue HP (2) 13886a504a75SDimitris Papastamos */ 13896a504a75SDimitris Papastamos #define WM8995_HPOUT2L_RMV_SHORT 0x0080 /* HPOUT2L_RMV_SHORT */ 13906a504a75SDimitris Papastamos #define WM8995_HPOUT2L_RMV_SHORT_MASK 0x0080 /* HPOUT2L_RMV_SHORT */ 13916a504a75SDimitris Papastamos #define WM8995_HPOUT2L_RMV_SHORT_SHIFT 7 /* HPOUT2L_RMV_SHORT */ 13926a504a75SDimitris Papastamos #define WM8995_HPOUT2L_RMV_SHORT_WIDTH 1 /* HPOUT2L_RMV_SHORT */ 13936a504a75SDimitris Papastamos #define WM8995_HPOUT2L_OUTP 0x0040 /* HPOUT2L_OUTP */ 13946a504a75SDimitris Papastamos #define WM8995_HPOUT2L_OUTP_MASK 0x0040 /* HPOUT2L_OUTP */ 13956a504a75SDimitris Papastamos #define WM8995_HPOUT2L_OUTP_SHIFT 6 /* HPOUT2L_OUTP */ 13966a504a75SDimitris Papastamos #define WM8995_HPOUT2L_OUTP_WIDTH 1 /* HPOUT2L_OUTP */ 13976a504a75SDimitris Papastamos #define WM8995_HPOUT2L_DLY 0x0020 /* HPOUT2L_DLY */ 13986a504a75SDimitris Papastamos #define WM8995_HPOUT2L_DLY_MASK 0x0020 /* HPOUT2L_DLY */ 13996a504a75SDimitris Papastamos #define WM8995_HPOUT2L_DLY_SHIFT 5 /* HPOUT2L_DLY */ 14006a504a75SDimitris Papastamos #define WM8995_HPOUT2L_DLY_WIDTH 1 /* HPOUT2L_DLY */ 14016a504a75SDimitris Papastamos #define WM8995_HPOUT2R_RMV_SHORT 0x0008 /* HPOUT2R_RMV_SHORT */ 14026a504a75SDimitris Papastamos #define WM8995_HPOUT2R_RMV_SHORT_MASK 0x0008 /* HPOUT2R_RMV_SHORT */ 14036a504a75SDimitris Papastamos #define WM8995_HPOUT2R_RMV_SHORT_SHIFT 3 /* HPOUT2R_RMV_SHORT */ 14046a504a75SDimitris Papastamos #define WM8995_HPOUT2R_RMV_SHORT_WIDTH 1 /* HPOUT2R_RMV_SHORT */ 14056a504a75SDimitris Papastamos #define WM8995_HPOUT2R_OUTP 0x0004 /* HPOUT2R_OUTP */ 14066a504a75SDimitris Papastamos #define WM8995_HPOUT2R_OUTP_MASK 0x0004 /* HPOUT2R_OUTP */ 14076a504a75SDimitris Papastamos #define WM8995_HPOUT2R_OUTP_SHIFT 2 /* HPOUT2R_OUTP */ 14086a504a75SDimitris Papastamos #define WM8995_HPOUT2R_OUTP_WIDTH 1 /* HPOUT2R_OUTP */ 14096a504a75SDimitris Papastamos #define WM8995_HPOUT2R_DLY 0x0002 /* HPOUT2R_DLY */ 14106a504a75SDimitris Papastamos #define WM8995_HPOUT2R_DLY_MASK 0x0002 /* HPOUT2R_DLY */ 14116a504a75SDimitris Papastamos #define WM8995_HPOUT2R_DLY_SHIFT 1 /* HPOUT2R_DLY */ 14126a504a75SDimitris Papastamos #define WM8995_HPOUT2R_DLY_WIDTH 1 /* HPOUT2R_DLY */ 14136a504a75SDimitris Papastamos 14146a504a75SDimitris Papastamos /* 14156a504a75SDimitris Papastamos * R256 (0x100) - Chip Revision 14166a504a75SDimitris Papastamos */ 14176a504a75SDimitris Papastamos #define WM8995_CHIP_REV_MASK 0x000F /* CHIP_REV - [3:0] */ 14186a504a75SDimitris Papastamos #define WM8995_CHIP_REV_SHIFT 0 /* CHIP_REV - [3:0] */ 14196a504a75SDimitris Papastamos #define WM8995_CHIP_REV_WIDTH 4 /* CHIP_REV - [3:0] */ 14206a504a75SDimitris Papastamos 14216a504a75SDimitris Papastamos /* 14226a504a75SDimitris Papastamos * R257 (0x101) - Control Interface (1) 14236a504a75SDimitris Papastamos */ 14246a504a75SDimitris Papastamos #define WM8995_REG_SYNC 0x8000 /* REG_SYNC */ 14256a504a75SDimitris Papastamos #define WM8995_REG_SYNC_MASK 0x8000 /* REG_SYNC */ 14266a504a75SDimitris Papastamos #define WM8995_REG_SYNC_SHIFT 15 /* REG_SYNC */ 14276a504a75SDimitris Papastamos #define WM8995_REG_SYNC_WIDTH 1 /* REG_SYNC */ 14286a504a75SDimitris Papastamos #define WM8995_SPI_CONTRD 0x0040 /* SPI_CONTRD */ 14296a504a75SDimitris Papastamos #define WM8995_SPI_CONTRD_MASK 0x0040 /* SPI_CONTRD */ 14306a504a75SDimitris Papastamos #define WM8995_SPI_CONTRD_SHIFT 6 /* SPI_CONTRD */ 14316a504a75SDimitris Papastamos #define WM8995_SPI_CONTRD_WIDTH 1 /* SPI_CONTRD */ 14326a504a75SDimitris Papastamos #define WM8995_SPI_4WIRE 0x0020 /* SPI_4WIRE */ 14336a504a75SDimitris Papastamos #define WM8995_SPI_4WIRE_MASK 0x0020 /* SPI_4WIRE */ 14346a504a75SDimitris Papastamos #define WM8995_SPI_4WIRE_SHIFT 5 /* SPI_4WIRE */ 14356a504a75SDimitris Papastamos #define WM8995_SPI_4WIRE_WIDTH 1 /* SPI_4WIRE */ 14366a504a75SDimitris Papastamos #define WM8995_SPI_CFG 0x0010 /* SPI_CFG */ 14376a504a75SDimitris Papastamos #define WM8995_SPI_CFG_MASK 0x0010 /* SPI_CFG */ 14386a504a75SDimitris Papastamos #define WM8995_SPI_CFG_SHIFT 4 /* SPI_CFG */ 14396a504a75SDimitris Papastamos #define WM8995_SPI_CFG_WIDTH 1 /* SPI_CFG */ 14406a504a75SDimitris Papastamos #define WM8995_AUTO_INC 0x0004 /* AUTO_INC */ 14416a504a75SDimitris Papastamos #define WM8995_AUTO_INC_MASK 0x0004 /* AUTO_INC */ 14426a504a75SDimitris Papastamos #define WM8995_AUTO_INC_SHIFT 2 /* AUTO_INC */ 14436a504a75SDimitris Papastamos #define WM8995_AUTO_INC_WIDTH 1 /* AUTO_INC */ 14446a504a75SDimitris Papastamos 14456a504a75SDimitris Papastamos /* 14466a504a75SDimitris Papastamos * R258 (0x102) - Control Interface (2) 14476a504a75SDimitris Papastamos */ 14486a504a75SDimitris Papastamos #define WM8995_CTRL_IF_SRC 0x0001 /* CTRL_IF_SRC */ 14496a504a75SDimitris Papastamos #define WM8995_CTRL_IF_SRC_MASK 0x0001 /* CTRL_IF_SRC */ 14506a504a75SDimitris Papastamos #define WM8995_CTRL_IF_SRC_SHIFT 0 /* CTRL_IF_SRC */ 14516a504a75SDimitris Papastamos #define WM8995_CTRL_IF_SRC_WIDTH 1 /* CTRL_IF_SRC */ 14526a504a75SDimitris Papastamos 14536a504a75SDimitris Papastamos /* 14546a504a75SDimitris Papastamos * R272 (0x110) - Write Sequencer Ctrl (1) 14556a504a75SDimitris Papastamos */ 14566a504a75SDimitris Papastamos #define WM8995_WSEQ_ENA 0x8000 /* WSEQ_ENA */ 14576a504a75SDimitris Papastamos #define WM8995_WSEQ_ENA_MASK 0x8000 /* WSEQ_ENA */ 14586a504a75SDimitris Papastamos #define WM8995_WSEQ_ENA_SHIFT 15 /* WSEQ_ENA */ 14596a504a75SDimitris Papastamos #define WM8995_WSEQ_ENA_WIDTH 1 /* WSEQ_ENA */ 14606a504a75SDimitris Papastamos #define WM8995_WSEQ_ABORT 0x0200 /* WSEQ_ABORT */ 14616a504a75SDimitris Papastamos #define WM8995_WSEQ_ABORT_MASK 0x0200 /* WSEQ_ABORT */ 14626a504a75SDimitris Papastamos #define WM8995_WSEQ_ABORT_SHIFT 9 /* WSEQ_ABORT */ 14636a504a75SDimitris Papastamos #define WM8995_WSEQ_ABORT_WIDTH 1 /* WSEQ_ABORT */ 14646a504a75SDimitris Papastamos #define WM8995_WSEQ_START 0x0100 /* WSEQ_START */ 14656a504a75SDimitris Papastamos #define WM8995_WSEQ_START_MASK 0x0100 /* WSEQ_START */ 14666a504a75SDimitris Papastamos #define WM8995_WSEQ_START_SHIFT 8 /* WSEQ_START */ 14676a504a75SDimitris Papastamos #define WM8995_WSEQ_START_WIDTH 1 /* WSEQ_START */ 14686a504a75SDimitris Papastamos #define WM8995_WSEQ_START_INDEX_MASK 0x007F /* WSEQ_START_INDEX - [6:0] */ 14696a504a75SDimitris Papastamos #define WM8995_WSEQ_START_INDEX_SHIFT 0 /* WSEQ_START_INDEX - [6:0] */ 14706a504a75SDimitris Papastamos #define WM8995_WSEQ_START_INDEX_WIDTH 7 /* WSEQ_START_INDEX - [6:0] */ 14716a504a75SDimitris Papastamos 14726a504a75SDimitris Papastamos /* 14736a504a75SDimitris Papastamos * R273 (0x111) - Write Sequencer Ctrl (2) 14746a504a75SDimitris Papastamos */ 14756a504a75SDimitris Papastamos #define WM8995_WSEQ_BUSY 0x0100 /* WSEQ_BUSY */ 14766a504a75SDimitris Papastamos #define WM8995_WSEQ_BUSY_MASK 0x0100 /* WSEQ_BUSY */ 14776a504a75SDimitris Papastamos #define WM8995_WSEQ_BUSY_SHIFT 8 /* WSEQ_BUSY */ 14786a504a75SDimitris Papastamos #define WM8995_WSEQ_BUSY_WIDTH 1 /* WSEQ_BUSY */ 14796a504a75SDimitris Papastamos #define WM8995_WSEQ_CURRENT_INDEX_MASK 0x007F /* WSEQ_CURRENT_INDEX - [6:0] */ 14806a504a75SDimitris Papastamos #define WM8995_WSEQ_CURRENT_INDEX_SHIFT 0 /* WSEQ_CURRENT_INDEX - [6:0] */ 14816a504a75SDimitris Papastamos #define WM8995_WSEQ_CURRENT_INDEX_WIDTH 7 /* WSEQ_CURRENT_INDEX - [6:0] */ 14826a504a75SDimitris Papastamos 14836a504a75SDimitris Papastamos /* 14846a504a75SDimitris Papastamos * R512 (0x200) - AIF1 Clocking (1) 14856a504a75SDimitris Papastamos */ 14866a504a75SDimitris Papastamos #define WM8995_AIF1CLK_SRC_MASK 0x0018 /* AIF1CLK_SRC - [4:3] */ 14876a504a75SDimitris Papastamos #define WM8995_AIF1CLK_SRC_SHIFT 3 /* AIF1CLK_SRC - [4:3] */ 14886a504a75SDimitris Papastamos #define WM8995_AIF1CLK_SRC_WIDTH 2 /* AIF1CLK_SRC - [4:3] */ 14896a504a75SDimitris Papastamos #define WM8995_AIF1CLK_INV 0x0004 /* AIF1CLK_INV */ 14906a504a75SDimitris Papastamos #define WM8995_AIF1CLK_INV_MASK 0x0004 /* AIF1CLK_INV */ 14916a504a75SDimitris Papastamos #define WM8995_AIF1CLK_INV_SHIFT 2 /* AIF1CLK_INV */ 14926a504a75SDimitris Papastamos #define WM8995_AIF1CLK_INV_WIDTH 1 /* AIF1CLK_INV */ 14936a504a75SDimitris Papastamos #define WM8995_AIF1CLK_DIV 0x0002 /* AIF1CLK_DIV */ 14946a504a75SDimitris Papastamos #define WM8995_AIF1CLK_DIV_MASK 0x0002 /* AIF1CLK_DIV */ 14956a504a75SDimitris Papastamos #define WM8995_AIF1CLK_DIV_SHIFT 1 /* AIF1CLK_DIV */ 14966a504a75SDimitris Papastamos #define WM8995_AIF1CLK_DIV_WIDTH 1 /* AIF1CLK_DIV */ 14976a504a75SDimitris Papastamos #define WM8995_AIF1CLK_ENA 0x0001 /* AIF1CLK_ENA */ 14986a504a75SDimitris Papastamos #define WM8995_AIF1CLK_ENA_MASK 0x0001 /* AIF1CLK_ENA */ 14996a504a75SDimitris Papastamos #define WM8995_AIF1CLK_ENA_SHIFT 0 /* AIF1CLK_ENA */ 15006a504a75SDimitris Papastamos #define WM8995_AIF1CLK_ENA_WIDTH 1 /* AIF1CLK_ENA */ 15016a504a75SDimitris Papastamos 15026a504a75SDimitris Papastamos /* 15036a504a75SDimitris Papastamos * R513 (0x201) - AIF1 Clocking (2) 15046a504a75SDimitris Papastamos */ 15056a504a75SDimitris Papastamos #define WM8995_AIF1DAC_DIV_MASK 0x0038 /* AIF1DAC_DIV - [5:3] */ 15066a504a75SDimitris Papastamos #define WM8995_AIF1DAC_DIV_SHIFT 3 /* AIF1DAC_DIV - [5:3] */ 15076a504a75SDimitris Papastamos #define WM8995_AIF1DAC_DIV_WIDTH 3 /* AIF1DAC_DIV - [5:3] */ 15086a504a75SDimitris Papastamos #define WM8995_AIF1ADC_DIV_MASK 0x0007 /* AIF1ADC_DIV - [2:0] */ 15096a504a75SDimitris Papastamos #define WM8995_AIF1ADC_DIV_SHIFT 0 /* AIF1ADC_DIV - [2:0] */ 15106a504a75SDimitris Papastamos #define WM8995_AIF1ADC_DIV_WIDTH 3 /* AIF1ADC_DIV - [2:0] */ 15116a504a75SDimitris Papastamos 15126a504a75SDimitris Papastamos /* 15136a504a75SDimitris Papastamos * R516 (0x204) - AIF2 Clocking (1) 15146a504a75SDimitris Papastamos */ 15156a504a75SDimitris Papastamos #define WM8995_AIF2CLK_SRC_MASK 0x0018 /* AIF2CLK_SRC - [4:3] */ 15166a504a75SDimitris Papastamos #define WM8995_AIF2CLK_SRC_SHIFT 3 /* AIF2CLK_SRC - [4:3] */ 15176a504a75SDimitris Papastamos #define WM8995_AIF2CLK_SRC_WIDTH 2 /* AIF2CLK_SRC - [4:3] */ 15186a504a75SDimitris Papastamos #define WM8995_AIF2CLK_INV 0x0004 /* AIF2CLK_INV */ 15196a504a75SDimitris Papastamos #define WM8995_AIF2CLK_INV_MASK 0x0004 /* AIF2CLK_INV */ 15206a504a75SDimitris Papastamos #define WM8995_AIF2CLK_INV_SHIFT 2 /* AIF2CLK_INV */ 15216a504a75SDimitris Papastamos #define WM8995_AIF2CLK_INV_WIDTH 1 /* AIF2CLK_INV */ 15226a504a75SDimitris Papastamos #define WM8995_AIF2CLK_DIV 0x0002 /* AIF2CLK_DIV */ 15236a504a75SDimitris Papastamos #define WM8995_AIF2CLK_DIV_MASK 0x0002 /* AIF2CLK_DIV */ 15246a504a75SDimitris Papastamos #define WM8995_AIF2CLK_DIV_SHIFT 1 /* AIF2CLK_DIV */ 15256a504a75SDimitris Papastamos #define WM8995_AIF2CLK_DIV_WIDTH 1 /* AIF2CLK_DIV */ 15266a504a75SDimitris Papastamos #define WM8995_AIF2CLK_ENA 0x0001 /* AIF2CLK_ENA */ 15276a504a75SDimitris Papastamos #define WM8995_AIF2CLK_ENA_MASK 0x0001 /* AIF2CLK_ENA */ 15286a504a75SDimitris Papastamos #define WM8995_AIF2CLK_ENA_SHIFT 0 /* AIF2CLK_ENA */ 15296a504a75SDimitris Papastamos #define WM8995_AIF2CLK_ENA_WIDTH 1 /* AIF2CLK_ENA */ 15306a504a75SDimitris Papastamos 15316a504a75SDimitris Papastamos /* 15326a504a75SDimitris Papastamos * R517 (0x205) - AIF2 Clocking (2) 15336a504a75SDimitris Papastamos */ 15346a504a75SDimitris Papastamos #define WM8995_AIF2DAC_DIV_MASK 0x0038 /* AIF2DAC_DIV - [5:3] */ 15356a504a75SDimitris Papastamos #define WM8995_AIF2DAC_DIV_SHIFT 3 /* AIF2DAC_DIV - [5:3] */ 15366a504a75SDimitris Papastamos #define WM8995_AIF2DAC_DIV_WIDTH 3 /* AIF2DAC_DIV - [5:3] */ 15376a504a75SDimitris Papastamos #define WM8995_AIF2ADC_DIV_MASK 0x0007 /* AIF2ADC_DIV - [2:0] */ 15386a504a75SDimitris Papastamos #define WM8995_AIF2ADC_DIV_SHIFT 0 /* AIF2ADC_DIV - [2:0] */ 15396a504a75SDimitris Papastamos #define WM8995_AIF2ADC_DIV_WIDTH 3 /* AIF2ADC_DIV - [2:0] */ 15406a504a75SDimitris Papastamos 15416a504a75SDimitris Papastamos /* 15426a504a75SDimitris Papastamos * R520 (0x208) - Clocking (1) 15436a504a75SDimitris Papastamos */ 15446a504a75SDimitris Papastamos #define WM8995_LFCLK_ENA 0x0020 /* LFCLK_ENA */ 15456a504a75SDimitris Papastamos #define WM8995_LFCLK_ENA_MASK 0x0020 /* LFCLK_ENA */ 15466a504a75SDimitris Papastamos #define WM8995_LFCLK_ENA_SHIFT 5 /* LFCLK_ENA */ 15476a504a75SDimitris Papastamos #define WM8995_LFCLK_ENA_WIDTH 1 /* LFCLK_ENA */ 15486a504a75SDimitris Papastamos #define WM8995_TOCLK_ENA 0x0010 /* TOCLK_ENA */ 15496a504a75SDimitris Papastamos #define WM8995_TOCLK_ENA_MASK 0x0010 /* TOCLK_ENA */ 15506a504a75SDimitris Papastamos #define WM8995_TOCLK_ENA_SHIFT 4 /* TOCLK_ENA */ 15516a504a75SDimitris Papastamos #define WM8995_TOCLK_ENA_WIDTH 1 /* TOCLK_ENA */ 15526a504a75SDimitris Papastamos #define WM8995_AIF1DSPCLK_ENA 0x0008 /* AIF1DSPCLK_ENA */ 15536a504a75SDimitris Papastamos #define WM8995_AIF1DSPCLK_ENA_MASK 0x0008 /* AIF1DSPCLK_ENA */ 15546a504a75SDimitris Papastamos #define WM8995_AIF1DSPCLK_ENA_SHIFT 3 /* AIF1DSPCLK_ENA */ 15556a504a75SDimitris Papastamos #define WM8995_AIF1DSPCLK_ENA_WIDTH 1 /* AIF1DSPCLK_ENA */ 15566a504a75SDimitris Papastamos #define WM8995_AIF2DSPCLK_ENA 0x0004 /* AIF2DSPCLK_ENA */ 15576a504a75SDimitris Papastamos #define WM8995_AIF2DSPCLK_ENA_MASK 0x0004 /* AIF2DSPCLK_ENA */ 15586a504a75SDimitris Papastamos #define WM8995_AIF2DSPCLK_ENA_SHIFT 2 /* AIF2DSPCLK_ENA */ 15596a504a75SDimitris Papastamos #define WM8995_AIF2DSPCLK_ENA_WIDTH 1 /* AIF2DSPCLK_ENA */ 15606a504a75SDimitris Papastamos #define WM8995_SYSDSPCLK_ENA 0x0002 /* SYSDSPCLK_ENA */ 15616a504a75SDimitris Papastamos #define WM8995_SYSDSPCLK_ENA_MASK 0x0002 /* SYSDSPCLK_ENA */ 15626a504a75SDimitris Papastamos #define WM8995_SYSDSPCLK_ENA_SHIFT 1 /* SYSDSPCLK_ENA */ 15636a504a75SDimitris Papastamos #define WM8995_SYSDSPCLK_ENA_WIDTH 1 /* SYSDSPCLK_ENA */ 15646a504a75SDimitris Papastamos #define WM8995_SYSCLK_SRC 0x0001 /* SYSCLK_SRC */ 15656a504a75SDimitris Papastamos #define WM8995_SYSCLK_SRC_MASK 0x0001 /* SYSCLK_SRC */ 15666a504a75SDimitris Papastamos #define WM8995_SYSCLK_SRC_SHIFT 0 /* SYSCLK_SRC */ 15676a504a75SDimitris Papastamos #define WM8995_SYSCLK_SRC_WIDTH 1 /* SYSCLK_SRC */ 15686a504a75SDimitris Papastamos 15696a504a75SDimitris Papastamos /* 15706a504a75SDimitris Papastamos * R521 (0x209) - Clocking (2) 15716a504a75SDimitris Papastamos */ 15726a504a75SDimitris Papastamos #define WM8995_TOCLK_DIV_MASK 0x0700 /* TOCLK_DIV - [10:8] */ 15736a504a75SDimitris Papastamos #define WM8995_TOCLK_DIV_SHIFT 8 /* TOCLK_DIV - [10:8] */ 15746a504a75SDimitris Papastamos #define WM8995_TOCLK_DIV_WIDTH 3 /* TOCLK_DIV - [10:8] */ 15756a504a75SDimitris Papastamos #define WM8995_DBCLK_DIV_MASK 0x00F0 /* DBCLK_DIV - [7:4] */ 15766a504a75SDimitris Papastamos #define WM8995_DBCLK_DIV_SHIFT 4 /* DBCLK_DIV - [7:4] */ 15776a504a75SDimitris Papastamos #define WM8995_DBCLK_DIV_WIDTH 4 /* DBCLK_DIV - [7:4] */ 15786a504a75SDimitris Papastamos #define WM8995_OPCLK_DIV_MASK 0x0007 /* OPCLK_DIV - [2:0] */ 15796a504a75SDimitris Papastamos #define WM8995_OPCLK_DIV_SHIFT 0 /* OPCLK_DIV - [2:0] */ 15806a504a75SDimitris Papastamos #define WM8995_OPCLK_DIV_WIDTH 3 /* OPCLK_DIV - [2:0] */ 15816a504a75SDimitris Papastamos 15826a504a75SDimitris Papastamos /* 15836a504a75SDimitris Papastamos * R528 (0x210) - AIF1 Rate 15846a504a75SDimitris Papastamos */ 15856a504a75SDimitris Papastamos #define WM8995_AIF1_SR_MASK 0x00F0 /* AIF1_SR - [7:4] */ 15866a504a75SDimitris Papastamos #define WM8995_AIF1_SR_SHIFT 4 /* AIF1_SR - [7:4] */ 15876a504a75SDimitris Papastamos #define WM8995_AIF1_SR_WIDTH 4 /* AIF1_SR - [7:4] */ 15886a504a75SDimitris Papastamos #define WM8995_AIF1CLK_RATE_MASK 0x000F /* AIF1CLK_RATE - [3:0] */ 15896a504a75SDimitris Papastamos #define WM8995_AIF1CLK_RATE_SHIFT 0 /* AIF1CLK_RATE - [3:0] */ 15906a504a75SDimitris Papastamos #define WM8995_AIF1CLK_RATE_WIDTH 4 /* AIF1CLK_RATE - [3:0] */ 15916a504a75SDimitris Papastamos 15926a504a75SDimitris Papastamos /* 15936a504a75SDimitris Papastamos * R529 (0x211) - AIF2 Rate 15946a504a75SDimitris Papastamos */ 15956a504a75SDimitris Papastamos #define WM8995_AIF2_SR_MASK 0x00F0 /* AIF2_SR - [7:4] */ 15966a504a75SDimitris Papastamos #define WM8995_AIF2_SR_SHIFT 4 /* AIF2_SR - [7:4] */ 15976a504a75SDimitris Papastamos #define WM8995_AIF2_SR_WIDTH 4 /* AIF2_SR - [7:4] */ 15986a504a75SDimitris Papastamos #define WM8995_AIF2CLK_RATE_MASK 0x000F /* AIF2CLK_RATE - [3:0] */ 15996a504a75SDimitris Papastamos #define WM8995_AIF2CLK_RATE_SHIFT 0 /* AIF2CLK_RATE - [3:0] */ 16006a504a75SDimitris Papastamos #define WM8995_AIF2CLK_RATE_WIDTH 4 /* AIF2CLK_RATE - [3:0] */ 16016a504a75SDimitris Papastamos 16026a504a75SDimitris Papastamos /* 16036a504a75SDimitris Papastamos * R530 (0x212) - Rate Status 16046a504a75SDimitris Papastamos */ 16056a504a75SDimitris Papastamos #define WM8995_SR_ERROR_MASK 0x000F /* SR_ERROR - [3:0] */ 16066a504a75SDimitris Papastamos #define WM8995_SR_ERROR_SHIFT 0 /* SR_ERROR - [3:0] */ 16076a504a75SDimitris Papastamos #define WM8995_SR_ERROR_WIDTH 4 /* SR_ERROR - [3:0] */ 16086a504a75SDimitris Papastamos 16096a504a75SDimitris Papastamos /* 16106a504a75SDimitris Papastamos * R544 (0x220) - FLL1 Control (1) 16116a504a75SDimitris Papastamos */ 16126a504a75SDimitris Papastamos #define WM8995_FLL1_OSC_ENA 0x0002 /* FLL1_OSC_ENA */ 16136a504a75SDimitris Papastamos #define WM8995_FLL1_OSC_ENA_MASK 0x0002 /* FLL1_OSC_ENA */ 16146a504a75SDimitris Papastamos #define WM8995_FLL1_OSC_ENA_SHIFT 1 /* FLL1_OSC_ENA */ 16156a504a75SDimitris Papastamos #define WM8995_FLL1_OSC_ENA_WIDTH 1 /* FLL1_OSC_ENA */ 16166a504a75SDimitris Papastamos #define WM8995_FLL1_ENA 0x0001 /* FLL1_ENA */ 16176a504a75SDimitris Papastamos #define WM8995_FLL1_ENA_MASK 0x0001 /* FLL1_ENA */ 16186a504a75SDimitris Papastamos #define WM8995_FLL1_ENA_SHIFT 0 /* FLL1_ENA */ 16196a504a75SDimitris Papastamos #define WM8995_FLL1_ENA_WIDTH 1 /* FLL1_ENA */ 16206a504a75SDimitris Papastamos 16216a504a75SDimitris Papastamos /* 16226a504a75SDimitris Papastamos * R545 (0x221) - FLL1 Control (2) 16236a504a75SDimitris Papastamos */ 16246a504a75SDimitris Papastamos #define WM8995_FLL1_OUTDIV_MASK 0x3F00 /* FLL1_OUTDIV - [13:8] */ 16256a504a75SDimitris Papastamos #define WM8995_FLL1_OUTDIV_SHIFT 8 /* FLL1_OUTDIV - [13:8] */ 16266a504a75SDimitris Papastamos #define WM8995_FLL1_OUTDIV_WIDTH 6 /* FLL1_OUTDIV - [13:8] */ 16276a504a75SDimitris Papastamos #define WM8995_FLL1_CTRL_RATE_MASK 0x0070 /* FLL1_CTRL_RATE - [6:4] */ 16286a504a75SDimitris Papastamos #define WM8995_FLL1_CTRL_RATE_SHIFT 4 /* FLL1_CTRL_RATE - [6:4] */ 16296a504a75SDimitris Papastamos #define WM8995_FLL1_CTRL_RATE_WIDTH 3 /* FLL1_CTRL_RATE - [6:4] */ 16306a504a75SDimitris Papastamos #define WM8995_FLL1_FRATIO_MASK 0x0007 /* FLL1_FRATIO - [2:0] */ 16316a504a75SDimitris Papastamos #define WM8995_FLL1_FRATIO_SHIFT 0 /* FLL1_FRATIO - [2:0] */ 16326a504a75SDimitris Papastamos #define WM8995_FLL1_FRATIO_WIDTH 3 /* FLL1_FRATIO - [2:0] */ 16336a504a75SDimitris Papastamos 16346a504a75SDimitris Papastamos /* 16356a504a75SDimitris Papastamos * R546 (0x222) - FLL1 Control (3) 16366a504a75SDimitris Papastamos */ 16376a504a75SDimitris Papastamos #define WM8995_FLL1_K_MASK 0xFFFF /* FLL1_K - [15:0] */ 16386a504a75SDimitris Papastamos #define WM8995_FLL1_K_SHIFT 0 /* FLL1_K - [15:0] */ 16396a504a75SDimitris Papastamos #define WM8995_FLL1_K_WIDTH 16 /* FLL1_K - [15:0] */ 16406a504a75SDimitris Papastamos 16416a504a75SDimitris Papastamos /* 16426a504a75SDimitris Papastamos * R547 (0x223) - FLL1 Control (4) 16436a504a75SDimitris Papastamos */ 16446a504a75SDimitris Papastamos #define WM8995_FLL1_N_MASK 0x7FE0 /* FLL1_N - [14:5] */ 16456a504a75SDimitris Papastamos #define WM8995_FLL1_N_SHIFT 5 /* FLL1_N - [14:5] */ 16466a504a75SDimitris Papastamos #define WM8995_FLL1_N_WIDTH 10 /* FLL1_N - [14:5] */ 16476a504a75SDimitris Papastamos #define WM8995_FLL1_LOOP_GAIN_MASK 0x000F /* FLL1_LOOP_GAIN - [3:0] */ 16486a504a75SDimitris Papastamos #define WM8995_FLL1_LOOP_GAIN_SHIFT 0 /* FLL1_LOOP_GAIN - [3:0] */ 16496a504a75SDimitris Papastamos #define WM8995_FLL1_LOOP_GAIN_WIDTH 4 /* FLL1_LOOP_GAIN - [3:0] */ 16506a504a75SDimitris Papastamos 16516a504a75SDimitris Papastamos /* 16526a504a75SDimitris Papastamos * R548 (0x224) - FLL1 Control (5) 16536a504a75SDimitris Papastamos */ 16546a504a75SDimitris Papastamos #define WM8995_FLL1_FRC_NCO_VAL_MASK 0x1F80 /* FLL1_FRC_NCO_VAL - [12:7] */ 16556a504a75SDimitris Papastamos #define WM8995_FLL1_FRC_NCO_VAL_SHIFT 7 /* FLL1_FRC_NCO_VAL - [12:7] */ 16566a504a75SDimitris Papastamos #define WM8995_FLL1_FRC_NCO_VAL_WIDTH 6 /* FLL1_FRC_NCO_VAL - [12:7] */ 16576a504a75SDimitris Papastamos #define WM8995_FLL1_FRC_NCO 0x0040 /* FLL1_FRC_NCO */ 16586a504a75SDimitris Papastamos #define WM8995_FLL1_FRC_NCO_MASK 0x0040 /* FLL1_FRC_NCO */ 16596a504a75SDimitris Papastamos #define WM8995_FLL1_FRC_NCO_SHIFT 6 /* FLL1_FRC_NCO */ 16606a504a75SDimitris Papastamos #define WM8995_FLL1_FRC_NCO_WIDTH 1 /* FLL1_FRC_NCO */ 16616a504a75SDimitris Papastamos #define WM8995_FLL1_REFCLK_DIV_MASK 0x0018 /* FLL1_REFCLK_DIV - [4:3] */ 16626a504a75SDimitris Papastamos #define WM8995_FLL1_REFCLK_DIV_SHIFT 3 /* FLL1_REFCLK_DIV - [4:3] */ 16636a504a75SDimitris Papastamos #define WM8995_FLL1_REFCLK_DIV_WIDTH 2 /* FLL1_REFCLK_DIV - [4:3] */ 16646a504a75SDimitris Papastamos #define WM8995_FLL1_REFCLK_SRC_MASK 0x0003 /* FLL1_REFCLK_SRC - [1:0] */ 16656a504a75SDimitris Papastamos #define WM8995_FLL1_REFCLK_SRC_SHIFT 0 /* FLL1_REFCLK_SRC - [1:0] */ 16666a504a75SDimitris Papastamos #define WM8995_FLL1_REFCLK_SRC_WIDTH 2 /* FLL1_REFCLK_SRC - [1:0] */ 16676a504a75SDimitris Papastamos 16686a504a75SDimitris Papastamos /* 16696a504a75SDimitris Papastamos * R576 (0x240) - FLL2 Control (1) 16706a504a75SDimitris Papastamos */ 16716a504a75SDimitris Papastamos #define WM8995_FLL2_OSC_ENA 0x0002 /* FLL2_OSC_ENA */ 16726a504a75SDimitris Papastamos #define WM8995_FLL2_OSC_ENA_MASK 0x0002 /* FLL2_OSC_ENA */ 16736a504a75SDimitris Papastamos #define WM8995_FLL2_OSC_ENA_SHIFT 1 /* FLL2_OSC_ENA */ 16746a504a75SDimitris Papastamos #define WM8995_FLL2_OSC_ENA_WIDTH 1 /* FLL2_OSC_ENA */ 16756a504a75SDimitris Papastamos #define WM8995_FLL2_ENA 0x0001 /* FLL2_ENA */ 16766a504a75SDimitris Papastamos #define WM8995_FLL2_ENA_MASK 0x0001 /* FLL2_ENA */ 16776a504a75SDimitris Papastamos #define WM8995_FLL2_ENA_SHIFT 0 /* FLL2_ENA */ 16786a504a75SDimitris Papastamos #define WM8995_FLL2_ENA_WIDTH 1 /* FLL2_ENA */ 16796a504a75SDimitris Papastamos 16806a504a75SDimitris Papastamos /* 16816a504a75SDimitris Papastamos * R577 (0x241) - FLL2 Control (2) 16826a504a75SDimitris Papastamos */ 16836a504a75SDimitris Papastamos #define WM8995_FLL2_OUTDIV_MASK 0x3F00 /* FLL2_OUTDIV - [13:8] */ 16846a504a75SDimitris Papastamos #define WM8995_FLL2_OUTDIV_SHIFT 8 /* FLL2_OUTDIV - [13:8] */ 16856a504a75SDimitris Papastamos #define WM8995_FLL2_OUTDIV_WIDTH 6 /* FLL2_OUTDIV - [13:8] */ 16866a504a75SDimitris Papastamos #define WM8995_FLL2_CTRL_RATE_MASK 0x0070 /* FLL2_CTRL_RATE - [6:4] */ 16876a504a75SDimitris Papastamos #define WM8995_FLL2_CTRL_RATE_SHIFT 4 /* FLL2_CTRL_RATE - [6:4] */ 16886a504a75SDimitris Papastamos #define WM8995_FLL2_CTRL_RATE_WIDTH 3 /* FLL2_CTRL_RATE - [6:4] */ 16896a504a75SDimitris Papastamos #define WM8995_FLL2_FRATIO_MASK 0x0007 /* FLL2_FRATIO - [2:0] */ 16906a504a75SDimitris Papastamos #define WM8995_FLL2_FRATIO_SHIFT 0 /* FLL2_FRATIO - [2:0] */ 16916a504a75SDimitris Papastamos #define WM8995_FLL2_FRATIO_WIDTH 3 /* FLL2_FRATIO - [2:0] */ 16926a504a75SDimitris Papastamos 16936a504a75SDimitris Papastamos /* 16946a504a75SDimitris Papastamos * R578 (0x242) - FLL2 Control (3) 16956a504a75SDimitris Papastamos */ 16966a504a75SDimitris Papastamos #define WM8995_FLL2_K_MASK 0xFFFF /* FLL2_K - [15:0] */ 16976a504a75SDimitris Papastamos #define WM8995_FLL2_K_SHIFT 0 /* FLL2_K - [15:0] */ 16986a504a75SDimitris Papastamos #define WM8995_FLL2_K_WIDTH 16 /* FLL2_K - [15:0] */ 16996a504a75SDimitris Papastamos 17006a504a75SDimitris Papastamos /* 17016a504a75SDimitris Papastamos * R579 (0x243) - FLL2 Control (4) 17026a504a75SDimitris Papastamos */ 17036a504a75SDimitris Papastamos #define WM8995_FLL2_N_MASK 0x7FE0 /* FLL2_N - [14:5] */ 17046a504a75SDimitris Papastamos #define WM8995_FLL2_N_SHIFT 5 /* FLL2_N - [14:5] */ 17056a504a75SDimitris Papastamos #define WM8995_FLL2_N_WIDTH 10 /* FLL2_N - [14:5] */ 17066a504a75SDimitris Papastamos #define WM8995_FLL2_LOOP_GAIN_MASK 0x000F /* FLL2_LOOP_GAIN - [3:0] */ 17076a504a75SDimitris Papastamos #define WM8995_FLL2_LOOP_GAIN_SHIFT 0 /* FLL2_LOOP_GAIN - [3:0] */ 17086a504a75SDimitris Papastamos #define WM8995_FLL2_LOOP_GAIN_WIDTH 4 /* FLL2_LOOP_GAIN - [3:0] */ 17096a504a75SDimitris Papastamos 17106a504a75SDimitris Papastamos /* 17116a504a75SDimitris Papastamos * R580 (0x244) - FLL2 Control (5) 17126a504a75SDimitris Papastamos */ 17136a504a75SDimitris Papastamos #define WM8995_FLL2_FRC_NCO_VAL_MASK 0x1F80 /* FLL2_FRC_NCO_VAL - [12:7] */ 17146a504a75SDimitris Papastamos #define WM8995_FLL2_FRC_NCO_VAL_SHIFT 7 /* FLL2_FRC_NCO_VAL - [12:7] */ 17156a504a75SDimitris Papastamos #define WM8995_FLL2_FRC_NCO_VAL_WIDTH 6 /* FLL2_FRC_NCO_VAL - [12:7] */ 17166a504a75SDimitris Papastamos #define WM8995_FLL2_FRC_NCO 0x0040 /* FLL2_FRC_NCO */ 17176a504a75SDimitris Papastamos #define WM8995_FLL2_FRC_NCO_MASK 0x0040 /* FLL2_FRC_NCO */ 17186a504a75SDimitris Papastamos #define WM8995_FLL2_FRC_NCO_SHIFT 6 /* FLL2_FRC_NCO */ 17196a504a75SDimitris Papastamos #define WM8995_FLL2_FRC_NCO_WIDTH 1 /* FLL2_FRC_NCO */ 17206a504a75SDimitris Papastamos #define WM8995_FLL2_REFCLK_DIV_MASK 0x0018 /* FLL2_REFCLK_DIV - [4:3] */ 17216a504a75SDimitris Papastamos #define WM8995_FLL2_REFCLK_DIV_SHIFT 3 /* FLL2_REFCLK_DIV - [4:3] */ 17226a504a75SDimitris Papastamos #define WM8995_FLL2_REFCLK_DIV_WIDTH 2 /* FLL2_REFCLK_DIV - [4:3] */ 17236a504a75SDimitris Papastamos #define WM8995_FLL2_REFCLK_SRC_MASK 0x0003 /* FLL2_REFCLK_SRC - [1:0] */ 17246a504a75SDimitris Papastamos #define WM8995_FLL2_REFCLK_SRC_SHIFT 0 /* FLL2_REFCLK_SRC - [1:0] */ 17256a504a75SDimitris Papastamos #define WM8995_FLL2_REFCLK_SRC_WIDTH 2 /* FLL2_REFCLK_SRC - [1:0] */ 17266a504a75SDimitris Papastamos 17276a504a75SDimitris Papastamos /* 17286a504a75SDimitris Papastamos * R768 (0x300) - AIF1 Control (1) 17296a504a75SDimitris Papastamos */ 17306a504a75SDimitris Papastamos #define WM8995_AIF1ADCL_SRC 0x8000 /* AIF1ADCL_SRC */ 17316a504a75SDimitris Papastamos #define WM8995_AIF1ADCL_SRC_MASK 0x8000 /* AIF1ADCL_SRC */ 17326a504a75SDimitris Papastamos #define WM8995_AIF1ADCL_SRC_SHIFT 15 /* AIF1ADCL_SRC */ 17336a504a75SDimitris Papastamos #define WM8995_AIF1ADCL_SRC_WIDTH 1 /* AIF1ADCL_SRC */ 17346a504a75SDimitris Papastamos #define WM8995_AIF1ADCR_SRC 0x4000 /* AIF1ADCR_SRC */ 17356a504a75SDimitris Papastamos #define WM8995_AIF1ADCR_SRC_MASK 0x4000 /* AIF1ADCR_SRC */ 17366a504a75SDimitris Papastamos #define WM8995_AIF1ADCR_SRC_SHIFT 14 /* AIF1ADCR_SRC */ 17376a504a75SDimitris Papastamos #define WM8995_AIF1ADCR_SRC_WIDTH 1 /* AIF1ADCR_SRC */ 17386a504a75SDimitris Papastamos #define WM8995_AIF1ADC_TDM 0x2000 /* AIF1ADC_TDM */ 17396a504a75SDimitris Papastamos #define WM8995_AIF1ADC_TDM_MASK 0x2000 /* AIF1ADC_TDM */ 17406a504a75SDimitris Papastamos #define WM8995_AIF1ADC_TDM_SHIFT 13 /* AIF1ADC_TDM */ 17416a504a75SDimitris Papastamos #define WM8995_AIF1ADC_TDM_WIDTH 1 /* AIF1ADC_TDM */ 17426a504a75SDimitris Papastamos #define WM8995_AIF1_BCLK_INV 0x0100 /* AIF1_BCLK_INV */ 17436a504a75SDimitris Papastamos #define WM8995_AIF1_BCLK_INV_MASK 0x0100 /* AIF1_BCLK_INV */ 17446a504a75SDimitris Papastamos #define WM8995_AIF1_BCLK_INV_SHIFT 8 /* AIF1_BCLK_INV */ 17456a504a75SDimitris Papastamos #define WM8995_AIF1_BCLK_INV_WIDTH 1 /* AIF1_BCLK_INV */ 17466a504a75SDimitris Papastamos #define WM8995_AIF1_LRCLK_INV 0x0080 /* AIF1_LRCLK_INV */ 17476a504a75SDimitris Papastamos #define WM8995_AIF1_LRCLK_INV_MASK 0x0080 /* AIF1_LRCLK_INV */ 17486a504a75SDimitris Papastamos #define WM8995_AIF1_LRCLK_INV_SHIFT 7 /* AIF1_LRCLK_INV */ 17496a504a75SDimitris Papastamos #define WM8995_AIF1_LRCLK_INV_WIDTH 1 /* AIF1_LRCLK_INV */ 17506a504a75SDimitris Papastamos #define WM8995_AIF1_WL_MASK 0x0060 /* AIF1_WL - [6:5] */ 17516a504a75SDimitris Papastamos #define WM8995_AIF1_WL_SHIFT 5 /* AIF1_WL - [6:5] */ 17526a504a75SDimitris Papastamos #define WM8995_AIF1_WL_WIDTH 2 /* AIF1_WL - [6:5] */ 17536a504a75SDimitris Papastamos #define WM8995_AIF1_FMT_MASK 0x0018 /* AIF1_FMT - [4:3] */ 17546a504a75SDimitris Papastamos #define WM8995_AIF1_FMT_SHIFT 3 /* AIF1_FMT - [4:3] */ 17556a504a75SDimitris Papastamos #define WM8995_AIF1_FMT_WIDTH 2 /* AIF1_FMT - [4:3] */ 17566a504a75SDimitris Papastamos 17576a504a75SDimitris Papastamos /* 17586a504a75SDimitris Papastamos * R769 (0x301) - AIF1 Control (2) 17596a504a75SDimitris Papastamos */ 17606a504a75SDimitris Papastamos #define WM8995_AIF1DACL_SRC 0x8000 /* AIF1DACL_SRC */ 17616a504a75SDimitris Papastamos #define WM8995_AIF1DACL_SRC_MASK 0x8000 /* AIF1DACL_SRC */ 17626a504a75SDimitris Papastamos #define WM8995_AIF1DACL_SRC_SHIFT 15 /* AIF1DACL_SRC */ 17636a504a75SDimitris Papastamos #define WM8995_AIF1DACL_SRC_WIDTH 1 /* AIF1DACL_SRC */ 17646a504a75SDimitris Papastamos #define WM8995_AIF1DACR_SRC 0x4000 /* AIF1DACR_SRC */ 17656a504a75SDimitris Papastamos #define WM8995_AIF1DACR_SRC_MASK 0x4000 /* AIF1DACR_SRC */ 17666a504a75SDimitris Papastamos #define WM8995_AIF1DACR_SRC_SHIFT 14 /* AIF1DACR_SRC */ 17676a504a75SDimitris Papastamos #define WM8995_AIF1DACR_SRC_WIDTH 1 /* AIF1DACR_SRC */ 17686a504a75SDimitris Papastamos #define WM8995_AIF1DAC_BOOST_MASK 0x0C00 /* AIF1DAC_BOOST - [11:10] */ 17696a504a75SDimitris Papastamos #define WM8995_AIF1DAC_BOOST_SHIFT 10 /* AIF1DAC_BOOST - [11:10] */ 17706a504a75SDimitris Papastamos #define WM8995_AIF1DAC_BOOST_WIDTH 2 /* AIF1DAC_BOOST - [11:10] */ 17716a504a75SDimitris Papastamos #define WM8995_AIF1DAC_COMP 0x0010 /* AIF1DAC_COMP */ 17726a504a75SDimitris Papastamos #define WM8995_AIF1DAC_COMP_MASK 0x0010 /* AIF1DAC_COMP */ 17736a504a75SDimitris Papastamos #define WM8995_AIF1DAC_COMP_SHIFT 4 /* AIF1DAC_COMP */ 17746a504a75SDimitris Papastamos #define WM8995_AIF1DAC_COMP_WIDTH 1 /* AIF1DAC_COMP */ 17756a504a75SDimitris Papastamos #define WM8995_AIF1DAC_COMPMODE 0x0008 /* AIF1DAC_COMPMODE */ 17766a504a75SDimitris Papastamos #define WM8995_AIF1DAC_COMPMODE_MASK 0x0008 /* AIF1DAC_COMPMODE */ 17776a504a75SDimitris Papastamos #define WM8995_AIF1DAC_COMPMODE_SHIFT 3 /* AIF1DAC_COMPMODE */ 17786a504a75SDimitris Papastamos #define WM8995_AIF1DAC_COMPMODE_WIDTH 1 /* AIF1DAC_COMPMODE */ 17796a504a75SDimitris Papastamos #define WM8995_AIF1ADC_COMP 0x0004 /* AIF1ADC_COMP */ 17806a504a75SDimitris Papastamos #define WM8995_AIF1ADC_COMP_MASK 0x0004 /* AIF1ADC_COMP */ 17816a504a75SDimitris Papastamos #define WM8995_AIF1ADC_COMP_SHIFT 2 /* AIF1ADC_COMP */ 17826a504a75SDimitris Papastamos #define WM8995_AIF1ADC_COMP_WIDTH 1 /* AIF1ADC_COMP */ 17836a504a75SDimitris Papastamos #define WM8995_AIF1ADC_COMPMODE 0x0002 /* AIF1ADC_COMPMODE */ 17846a504a75SDimitris Papastamos #define WM8995_AIF1ADC_COMPMODE_MASK 0x0002 /* AIF1ADC_COMPMODE */ 17856a504a75SDimitris Papastamos #define WM8995_AIF1ADC_COMPMODE_SHIFT 1 /* AIF1ADC_COMPMODE */ 17866a504a75SDimitris Papastamos #define WM8995_AIF1ADC_COMPMODE_WIDTH 1 /* AIF1ADC_COMPMODE */ 17876a504a75SDimitris Papastamos #define WM8995_AIF1_LOOPBACK 0x0001 /* AIF1_LOOPBACK */ 17886a504a75SDimitris Papastamos #define WM8995_AIF1_LOOPBACK_MASK 0x0001 /* AIF1_LOOPBACK */ 17896a504a75SDimitris Papastamos #define WM8995_AIF1_LOOPBACK_SHIFT 0 /* AIF1_LOOPBACK */ 17906a504a75SDimitris Papastamos #define WM8995_AIF1_LOOPBACK_WIDTH 1 /* AIF1_LOOPBACK */ 17916a504a75SDimitris Papastamos 17926a504a75SDimitris Papastamos /* 17936a504a75SDimitris Papastamos * R770 (0x302) - AIF1 Master/Slave 17946a504a75SDimitris Papastamos */ 17956a504a75SDimitris Papastamos #define WM8995_AIF1_TRI 0x8000 /* AIF1_TRI */ 17966a504a75SDimitris Papastamos #define WM8995_AIF1_TRI_MASK 0x8000 /* AIF1_TRI */ 17976a504a75SDimitris Papastamos #define WM8995_AIF1_TRI_SHIFT 15 /* AIF1_TRI */ 17986a504a75SDimitris Papastamos #define WM8995_AIF1_TRI_WIDTH 1 /* AIF1_TRI */ 17996a504a75SDimitris Papastamos #define WM8995_AIF1_MSTR 0x4000 /* AIF1_MSTR */ 18006a504a75SDimitris Papastamos #define WM8995_AIF1_MSTR_MASK 0x4000 /* AIF1_MSTR */ 18016a504a75SDimitris Papastamos #define WM8995_AIF1_MSTR_SHIFT 14 /* AIF1_MSTR */ 18026a504a75SDimitris Papastamos #define WM8995_AIF1_MSTR_WIDTH 1 /* AIF1_MSTR */ 18036a504a75SDimitris Papastamos #define WM8995_AIF1_CLK_FRC 0x2000 /* AIF1_CLK_FRC */ 18046a504a75SDimitris Papastamos #define WM8995_AIF1_CLK_FRC_MASK 0x2000 /* AIF1_CLK_FRC */ 18056a504a75SDimitris Papastamos #define WM8995_AIF1_CLK_FRC_SHIFT 13 /* AIF1_CLK_FRC */ 18066a504a75SDimitris Papastamos #define WM8995_AIF1_CLK_FRC_WIDTH 1 /* AIF1_CLK_FRC */ 18076a504a75SDimitris Papastamos #define WM8995_AIF1_LRCLK_FRC 0x1000 /* AIF1_LRCLK_FRC */ 18086a504a75SDimitris Papastamos #define WM8995_AIF1_LRCLK_FRC_MASK 0x1000 /* AIF1_LRCLK_FRC */ 18096a504a75SDimitris Papastamos #define WM8995_AIF1_LRCLK_FRC_SHIFT 12 /* AIF1_LRCLK_FRC */ 18106a504a75SDimitris Papastamos #define WM8995_AIF1_LRCLK_FRC_WIDTH 1 /* AIF1_LRCLK_FRC */ 18116a504a75SDimitris Papastamos 18126a504a75SDimitris Papastamos /* 18136a504a75SDimitris Papastamos * R771 (0x303) - AIF1 BCLK 18146a504a75SDimitris Papastamos */ 18156a504a75SDimitris Papastamos #define WM8995_AIF1_BCLK_DIV_MASK 0x00F0 /* AIF1_BCLK_DIV - [7:4] */ 18166a504a75SDimitris Papastamos #define WM8995_AIF1_BCLK_DIV_SHIFT 4 /* AIF1_BCLK_DIV - [7:4] */ 18176a504a75SDimitris Papastamos #define WM8995_AIF1_BCLK_DIV_WIDTH 4 /* AIF1_BCLK_DIV - [7:4] */ 18186a504a75SDimitris Papastamos 18196a504a75SDimitris Papastamos /* 18206a504a75SDimitris Papastamos * R772 (0x304) - AIF1ADC LRCLK 18216a504a75SDimitris Papastamos */ 18226a504a75SDimitris Papastamos #define WM8995_AIF1ADC_LRCLK_DIR 0x0800 /* AIF1ADC_LRCLK_DIR */ 18236a504a75SDimitris Papastamos #define WM8995_AIF1ADC_LRCLK_DIR_MASK 0x0800 /* AIF1ADC_LRCLK_DIR */ 18246a504a75SDimitris Papastamos #define WM8995_AIF1ADC_LRCLK_DIR_SHIFT 11 /* AIF1ADC_LRCLK_DIR */ 18256a504a75SDimitris Papastamos #define WM8995_AIF1ADC_LRCLK_DIR_WIDTH 1 /* AIF1ADC_LRCLK_DIR */ 18266a504a75SDimitris Papastamos #define WM8995_AIF1ADC_RATE_MASK 0x07FF /* AIF1ADC_RATE - [10:0] */ 18276a504a75SDimitris Papastamos #define WM8995_AIF1ADC_RATE_SHIFT 0 /* AIF1ADC_RATE - [10:0] */ 18286a504a75SDimitris Papastamos #define WM8995_AIF1ADC_RATE_WIDTH 11 /* AIF1ADC_RATE - [10:0] */ 18296a504a75SDimitris Papastamos 18306a504a75SDimitris Papastamos /* 18316a504a75SDimitris Papastamos * R773 (0x305) - AIF1DAC LRCLK 18326a504a75SDimitris Papastamos */ 18336a504a75SDimitris Papastamos #define WM8995_AIF1DAC_LRCLK_DIR 0x0800 /* AIF1DAC_LRCLK_DIR */ 18346a504a75SDimitris Papastamos #define WM8995_AIF1DAC_LRCLK_DIR_MASK 0x0800 /* AIF1DAC_LRCLK_DIR */ 18356a504a75SDimitris Papastamos #define WM8995_AIF1DAC_LRCLK_DIR_SHIFT 11 /* AIF1DAC_LRCLK_DIR */ 18366a504a75SDimitris Papastamos #define WM8995_AIF1DAC_LRCLK_DIR_WIDTH 1 /* AIF1DAC_LRCLK_DIR */ 18376a504a75SDimitris Papastamos #define WM8995_AIF1DAC_RATE_MASK 0x07FF /* AIF1DAC_RATE - [10:0] */ 18386a504a75SDimitris Papastamos #define WM8995_AIF1DAC_RATE_SHIFT 0 /* AIF1DAC_RATE - [10:0] */ 18396a504a75SDimitris Papastamos #define WM8995_AIF1DAC_RATE_WIDTH 11 /* AIF1DAC_RATE - [10:0] */ 18406a504a75SDimitris Papastamos 18416a504a75SDimitris Papastamos /* 18426a504a75SDimitris Papastamos * R774 (0x306) - AIF1DAC Data 18436a504a75SDimitris Papastamos */ 18446a504a75SDimitris Papastamos #define WM8995_AIF1DACL_DAT_INV 0x0002 /* AIF1DACL_DAT_INV */ 18456a504a75SDimitris Papastamos #define WM8995_AIF1DACL_DAT_INV_MASK 0x0002 /* AIF1DACL_DAT_INV */ 18466a504a75SDimitris Papastamos #define WM8995_AIF1DACL_DAT_INV_SHIFT 1 /* AIF1DACL_DAT_INV */ 18476a504a75SDimitris Papastamos #define WM8995_AIF1DACL_DAT_INV_WIDTH 1 /* AIF1DACL_DAT_INV */ 18486a504a75SDimitris Papastamos #define WM8995_AIF1DACR_DAT_INV 0x0001 /* AIF1DACR_DAT_INV */ 18496a504a75SDimitris Papastamos #define WM8995_AIF1DACR_DAT_INV_MASK 0x0001 /* AIF1DACR_DAT_INV */ 18506a504a75SDimitris Papastamos #define WM8995_AIF1DACR_DAT_INV_SHIFT 0 /* AIF1DACR_DAT_INV */ 18516a504a75SDimitris Papastamos #define WM8995_AIF1DACR_DAT_INV_WIDTH 1 /* AIF1DACR_DAT_INV */ 18526a504a75SDimitris Papastamos 18536a504a75SDimitris Papastamos /* 18546a504a75SDimitris Papastamos * R775 (0x307) - AIF1ADC Data 18556a504a75SDimitris Papastamos */ 18566a504a75SDimitris Papastamos #define WM8995_AIF1ADCL_DAT_INV 0x0002 /* AIF1ADCL_DAT_INV */ 18576a504a75SDimitris Papastamos #define WM8995_AIF1ADCL_DAT_INV_MASK 0x0002 /* AIF1ADCL_DAT_INV */ 18586a504a75SDimitris Papastamos #define WM8995_AIF1ADCL_DAT_INV_SHIFT 1 /* AIF1ADCL_DAT_INV */ 18596a504a75SDimitris Papastamos #define WM8995_AIF1ADCL_DAT_INV_WIDTH 1 /* AIF1ADCL_DAT_INV */ 18606a504a75SDimitris Papastamos #define WM8995_AIF1ADCR_DAT_INV 0x0001 /* AIF1ADCR_DAT_INV */ 18616a504a75SDimitris Papastamos #define WM8995_AIF1ADCR_DAT_INV_MASK 0x0001 /* AIF1ADCR_DAT_INV */ 18626a504a75SDimitris Papastamos #define WM8995_AIF1ADCR_DAT_INV_SHIFT 0 /* AIF1ADCR_DAT_INV */ 18636a504a75SDimitris Papastamos #define WM8995_AIF1ADCR_DAT_INV_WIDTH 1 /* AIF1ADCR_DAT_INV */ 18646a504a75SDimitris Papastamos 18656a504a75SDimitris Papastamos /* 18666a504a75SDimitris Papastamos * R784 (0x310) - AIF2 Control (1) 18676a504a75SDimitris Papastamos */ 18686a504a75SDimitris Papastamos #define WM8995_AIF2ADCL_SRC 0x8000 /* AIF2ADCL_SRC */ 18696a504a75SDimitris Papastamos #define WM8995_AIF2ADCL_SRC_MASK 0x8000 /* AIF2ADCL_SRC */ 18706a504a75SDimitris Papastamos #define WM8995_AIF2ADCL_SRC_SHIFT 15 /* AIF2ADCL_SRC */ 18716a504a75SDimitris Papastamos #define WM8995_AIF2ADCL_SRC_WIDTH 1 /* AIF2ADCL_SRC */ 18726a504a75SDimitris Papastamos #define WM8995_AIF2ADCR_SRC 0x4000 /* AIF2ADCR_SRC */ 18736a504a75SDimitris Papastamos #define WM8995_AIF2ADCR_SRC_MASK 0x4000 /* AIF2ADCR_SRC */ 18746a504a75SDimitris Papastamos #define WM8995_AIF2ADCR_SRC_SHIFT 14 /* AIF2ADCR_SRC */ 18756a504a75SDimitris Papastamos #define WM8995_AIF2ADCR_SRC_WIDTH 1 /* AIF2ADCR_SRC */ 18766a504a75SDimitris Papastamos #define WM8995_AIF2ADC_TDM 0x2000 /* AIF2ADC_TDM */ 18776a504a75SDimitris Papastamos #define WM8995_AIF2ADC_TDM_MASK 0x2000 /* AIF2ADC_TDM */ 18786a504a75SDimitris Papastamos #define WM8995_AIF2ADC_TDM_SHIFT 13 /* AIF2ADC_TDM */ 18796a504a75SDimitris Papastamos #define WM8995_AIF2ADC_TDM_WIDTH 1 /* AIF2ADC_TDM */ 18806a504a75SDimitris Papastamos #define WM8995_AIF2ADC_TDM_CHAN 0x1000 /* AIF2ADC_TDM_CHAN */ 18816a504a75SDimitris Papastamos #define WM8995_AIF2ADC_TDM_CHAN_MASK 0x1000 /* AIF2ADC_TDM_CHAN */ 18826a504a75SDimitris Papastamos #define WM8995_AIF2ADC_TDM_CHAN_SHIFT 12 /* AIF2ADC_TDM_CHAN */ 18836a504a75SDimitris Papastamos #define WM8995_AIF2ADC_TDM_CHAN_WIDTH 1 /* AIF2ADC_TDM_CHAN */ 18846a504a75SDimitris Papastamos #define WM8995_AIF2_BCLK_INV 0x0100 /* AIF2_BCLK_INV */ 18856a504a75SDimitris Papastamos #define WM8995_AIF2_BCLK_INV_MASK 0x0100 /* AIF2_BCLK_INV */ 18866a504a75SDimitris Papastamos #define WM8995_AIF2_BCLK_INV_SHIFT 8 /* AIF2_BCLK_INV */ 18876a504a75SDimitris Papastamos #define WM8995_AIF2_BCLK_INV_WIDTH 1 /* AIF2_BCLK_INV */ 18886a504a75SDimitris Papastamos #define WM8995_AIF2_LRCLK_INV 0x0080 /* AIF2_LRCLK_INV */ 18896a504a75SDimitris Papastamos #define WM8995_AIF2_LRCLK_INV_MASK 0x0080 /* AIF2_LRCLK_INV */ 18906a504a75SDimitris Papastamos #define WM8995_AIF2_LRCLK_INV_SHIFT 7 /* AIF2_LRCLK_INV */ 18916a504a75SDimitris Papastamos #define WM8995_AIF2_LRCLK_INV_WIDTH 1 /* AIF2_LRCLK_INV */ 18926a504a75SDimitris Papastamos #define WM8995_AIF2_WL_MASK 0x0060 /* AIF2_WL - [6:5] */ 18936a504a75SDimitris Papastamos #define WM8995_AIF2_WL_SHIFT 5 /* AIF2_WL - [6:5] */ 18946a504a75SDimitris Papastamos #define WM8995_AIF2_WL_WIDTH 2 /* AIF2_WL - [6:5] */ 18956a504a75SDimitris Papastamos #define WM8995_AIF2_FMT_MASK 0x0018 /* AIF2_FMT - [4:3] */ 18966a504a75SDimitris Papastamos #define WM8995_AIF2_FMT_SHIFT 3 /* AIF2_FMT - [4:3] */ 18976a504a75SDimitris Papastamos #define WM8995_AIF2_FMT_WIDTH 2 /* AIF2_FMT - [4:3] */ 18986a504a75SDimitris Papastamos 18996a504a75SDimitris Papastamos /* 19006a504a75SDimitris Papastamos * R785 (0x311) - AIF2 Control (2) 19016a504a75SDimitris Papastamos */ 19026a504a75SDimitris Papastamos #define WM8995_AIF2DACL_SRC 0x8000 /* AIF2DACL_SRC */ 19036a504a75SDimitris Papastamos #define WM8995_AIF2DACL_SRC_MASK 0x8000 /* AIF2DACL_SRC */ 19046a504a75SDimitris Papastamos #define WM8995_AIF2DACL_SRC_SHIFT 15 /* AIF2DACL_SRC */ 19056a504a75SDimitris Papastamos #define WM8995_AIF2DACL_SRC_WIDTH 1 /* AIF2DACL_SRC */ 19066a504a75SDimitris Papastamos #define WM8995_AIF2DACR_SRC 0x4000 /* AIF2DACR_SRC */ 19076a504a75SDimitris Papastamos #define WM8995_AIF2DACR_SRC_MASK 0x4000 /* AIF2DACR_SRC */ 19086a504a75SDimitris Papastamos #define WM8995_AIF2DACR_SRC_SHIFT 14 /* AIF2DACR_SRC */ 19096a504a75SDimitris Papastamos #define WM8995_AIF2DACR_SRC_WIDTH 1 /* AIF2DACR_SRC */ 19106a504a75SDimitris Papastamos #define WM8995_AIF2DAC_TDM 0x2000 /* AIF2DAC_TDM */ 19116a504a75SDimitris Papastamos #define WM8995_AIF2DAC_TDM_MASK 0x2000 /* AIF2DAC_TDM */ 19126a504a75SDimitris Papastamos #define WM8995_AIF2DAC_TDM_SHIFT 13 /* AIF2DAC_TDM */ 19136a504a75SDimitris Papastamos #define WM8995_AIF2DAC_TDM_WIDTH 1 /* AIF2DAC_TDM */ 19146a504a75SDimitris Papastamos #define WM8995_AIF2DAC_TDM_CHAN 0x1000 /* AIF2DAC_TDM_CHAN */ 19156a504a75SDimitris Papastamos #define WM8995_AIF2DAC_TDM_CHAN_MASK 0x1000 /* AIF2DAC_TDM_CHAN */ 19166a504a75SDimitris Papastamos #define WM8995_AIF2DAC_TDM_CHAN_SHIFT 12 /* AIF2DAC_TDM_CHAN */ 19176a504a75SDimitris Papastamos #define WM8995_AIF2DAC_TDM_CHAN_WIDTH 1 /* AIF2DAC_TDM_CHAN */ 19186a504a75SDimitris Papastamos #define WM8995_AIF2DAC_BOOST_MASK 0x0C00 /* AIF2DAC_BOOST - [11:10] */ 19196a504a75SDimitris Papastamos #define WM8995_AIF2DAC_BOOST_SHIFT 10 /* AIF2DAC_BOOST - [11:10] */ 19206a504a75SDimitris Papastamos #define WM8995_AIF2DAC_BOOST_WIDTH 2 /* AIF2DAC_BOOST - [11:10] */ 19216a504a75SDimitris Papastamos #define WM8995_AIF2DAC_COMP 0x0010 /* AIF2DAC_COMP */ 19226a504a75SDimitris Papastamos #define WM8995_AIF2DAC_COMP_MASK 0x0010 /* AIF2DAC_COMP */ 19236a504a75SDimitris Papastamos #define WM8995_AIF2DAC_COMP_SHIFT 4 /* AIF2DAC_COMP */ 19246a504a75SDimitris Papastamos #define WM8995_AIF2DAC_COMP_WIDTH 1 /* AIF2DAC_COMP */ 19256a504a75SDimitris Papastamos #define WM8995_AIF2DAC_COMPMODE 0x0008 /* AIF2DAC_COMPMODE */ 19266a504a75SDimitris Papastamos #define WM8995_AIF2DAC_COMPMODE_MASK 0x0008 /* AIF2DAC_COMPMODE */ 19276a504a75SDimitris Papastamos #define WM8995_AIF2DAC_COMPMODE_SHIFT 3 /* AIF2DAC_COMPMODE */ 19286a504a75SDimitris Papastamos #define WM8995_AIF2DAC_COMPMODE_WIDTH 1 /* AIF2DAC_COMPMODE */ 19296a504a75SDimitris Papastamos #define WM8995_AIF2ADC_COMP 0x0004 /* AIF2ADC_COMP */ 19306a504a75SDimitris Papastamos #define WM8995_AIF2ADC_COMP_MASK 0x0004 /* AIF2ADC_COMP */ 19316a504a75SDimitris Papastamos #define WM8995_AIF2ADC_COMP_SHIFT 2 /* AIF2ADC_COMP */ 19326a504a75SDimitris Papastamos #define WM8995_AIF2ADC_COMP_WIDTH 1 /* AIF2ADC_COMP */ 19336a504a75SDimitris Papastamos #define WM8995_AIF2ADC_COMPMODE 0x0002 /* AIF2ADC_COMPMODE */ 19346a504a75SDimitris Papastamos #define WM8995_AIF2ADC_COMPMODE_MASK 0x0002 /* AIF2ADC_COMPMODE */ 19356a504a75SDimitris Papastamos #define WM8995_AIF2ADC_COMPMODE_SHIFT 1 /* AIF2ADC_COMPMODE */ 19366a504a75SDimitris Papastamos #define WM8995_AIF2ADC_COMPMODE_WIDTH 1 /* AIF2ADC_COMPMODE */ 19376a504a75SDimitris Papastamos #define WM8995_AIF2_LOOPBACK 0x0001 /* AIF2_LOOPBACK */ 19386a504a75SDimitris Papastamos #define WM8995_AIF2_LOOPBACK_MASK 0x0001 /* AIF2_LOOPBACK */ 19396a504a75SDimitris Papastamos #define WM8995_AIF2_LOOPBACK_SHIFT 0 /* AIF2_LOOPBACK */ 19406a504a75SDimitris Papastamos #define WM8995_AIF2_LOOPBACK_WIDTH 1 /* AIF2_LOOPBACK */ 19416a504a75SDimitris Papastamos 19426a504a75SDimitris Papastamos /* 19436a504a75SDimitris Papastamos * R786 (0x312) - AIF2 Master/Slave 19446a504a75SDimitris Papastamos */ 19456a504a75SDimitris Papastamos #define WM8995_AIF2_TRI 0x8000 /* AIF2_TRI */ 19466a504a75SDimitris Papastamos #define WM8995_AIF2_TRI_MASK 0x8000 /* AIF2_TRI */ 19476a504a75SDimitris Papastamos #define WM8995_AIF2_TRI_SHIFT 15 /* AIF2_TRI */ 19486a504a75SDimitris Papastamos #define WM8995_AIF2_TRI_WIDTH 1 /* AIF2_TRI */ 19496a504a75SDimitris Papastamos #define WM8995_AIF2_MSTR 0x4000 /* AIF2_MSTR */ 19506a504a75SDimitris Papastamos #define WM8995_AIF2_MSTR_MASK 0x4000 /* AIF2_MSTR */ 19516a504a75SDimitris Papastamos #define WM8995_AIF2_MSTR_SHIFT 14 /* AIF2_MSTR */ 19526a504a75SDimitris Papastamos #define WM8995_AIF2_MSTR_WIDTH 1 /* AIF2_MSTR */ 19536a504a75SDimitris Papastamos #define WM8995_AIF2_CLK_FRC 0x2000 /* AIF2_CLK_FRC */ 19546a504a75SDimitris Papastamos #define WM8995_AIF2_CLK_FRC_MASK 0x2000 /* AIF2_CLK_FRC */ 19556a504a75SDimitris Papastamos #define WM8995_AIF2_CLK_FRC_SHIFT 13 /* AIF2_CLK_FRC */ 19566a504a75SDimitris Papastamos #define WM8995_AIF2_CLK_FRC_WIDTH 1 /* AIF2_CLK_FRC */ 19576a504a75SDimitris Papastamos #define WM8995_AIF2_LRCLK_FRC 0x1000 /* AIF2_LRCLK_FRC */ 19586a504a75SDimitris Papastamos #define WM8995_AIF2_LRCLK_FRC_MASK 0x1000 /* AIF2_LRCLK_FRC */ 19596a504a75SDimitris Papastamos #define WM8995_AIF2_LRCLK_FRC_SHIFT 12 /* AIF2_LRCLK_FRC */ 19606a504a75SDimitris Papastamos #define WM8995_AIF2_LRCLK_FRC_WIDTH 1 /* AIF2_LRCLK_FRC */ 19616a504a75SDimitris Papastamos 19626a504a75SDimitris Papastamos /* 19636a504a75SDimitris Papastamos * R787 (0x313) - AIF2 BCLK 19646a504a75SDimitris Papastamos */ 19656a504a75SDimitris Papastamos #define WM8995_AIF2_BCLK_DIV_MASK 0x00F0 /* AIF2_BCLK_DIV - [7:4] */ 19666a504a75SDimitris Papastamos #define WM8995_AIF2_BCLK_DIV_SHIFT 4 /* AIF2_BCLK_DIV - [7:4] */ 19676a504a75SDimitris Papastamos #define WM8995_AIF2_BCLK_DIV_WIDTH 4 /* AIF2_BCLK_DIV - [7:4] */ 19686a504a75SDimitris Papastamos 19696a504a75SDimitris Papastamos /* 19706a504a75SDimitris Papastamos * R788 (0x314) - AIF2ADC LRCLK 19716a504a75SDimitris Papastamos */ 19726a504a75SDimitris Papastamos #define WM8995_AIF2ADC_LRCLK_DIR 0x0800 /* AIF2ADC_LRCLK_DIR */ 19736a504a75SDimitris Papastamos #define WM8995_AIF2ADC_LRCLK_DIR_MASK 0x0800 /* AIF2ADC_LRCLK_DIR */ 19746a504a75SDimitris Papastamos #define WM8995_AIF2ADC_LRCLK_DIR_SHIFT 11 /* AIF2ADC_LRCLK_DIR */ 19756a504a75SDimitris Papastamos #define WM8995_AIF2ADC_LRCLK_DIR_WIDTH 1 /* AIF2ADC_LRCLK_DIR */ 19766a504a75SDimitris Papastamos #define WM8995_AIF2ADC_RATE_MASK 0x07FF /* AIF2ADC_RATE - [10:0] */ 19776a504a75SDimitris Papastamos #define WM8995_AIF2ADC_RATE_SHIFT 0 /* AIF2ADC_RATE - [10:0] */ 19786a504a75SDimitris Papastamos #define WM8995_AIF2ADC_RATE_WIDTH 11 /* AIF2ADC_RATE - [10:0] */ 19796a504a75SDimitris Papastamos 19806a504a75SDimitris Papastamos /* 19816a504a75SDimitris Papastamos * R789 (0x315) - AIF2DAC LRCLK 19826a504a75SDimitris Papastamos */ 19836a504a75SDimitris Papastamos #define WM8995_AIF2DAC_LRCLK_DIR 0x0800 /* AIF2DAC_LRCLK_DIR */ 19846a504a75SDimitris Papastamos #define WM8995_AIF2DAC_LRCLK_DIR_MASK 0x0800 /* AIF2DAC_LRCLK_DIR */ 19856a504a75SDimitris Papastamos #define WM8995_AIF2DAC_LRCLK_DIR_SHIFT 11 /* AIF2DAC_LRCLK_DIR */ 19866a504a75SDimitris Papastamos #define WM8995_AIF2DAC_LRCLK_DIR_WIDTH 1 /* AIF2DAC_LRCLK_DIR */ 19876a504a75SDimitris Papastamos #define WM8995_AIF2DAC_RATE_MASK 0x07FF /* AIF2DAC_RATE - [10:0] */ 19886a504a75SDimitris Papastamos #define WM8995_AIF2DAC_RATE_SHIFT 0 /* AIF2DAC_RATE - [10:0] */ 19896a504a75SDimitris Papastamos #define WM8995_AIF2DAC_RATE_WIDTH 11 /* AIF2DAC_RATE - [10:0] */ 19906a504a75SDimitris Papastamos 19916a504a75SDimitris Papastamos /* 19926a504a75SDimitris Papastamos * R790 (0x316) - AIF2DAC Data 19936a504a75SDimitris Papastamos */ 19946a504a75SDimitris Papastamos #define WM8995_AIF2DACL_DAT_INV 0x0002 /* AIF2DACL_DAT_INV */ 19956a504a75SDimitris Papastamos #define WM8995_AIF2DACL_DAT_INV_MASK 0x0002 /* AIF2DACL_DAT_INV */ 19966a504a75SDimitris Papastamos #define WM8995_AIF2DACL_DAT_INV_SHIFT 1 /* AIF2DACL_DAT_INV */ 19976a504a75SDimitris Papastamos #define WM8995_AIF2DACL_DAT_INV_WIDTH 1 /* AIF2DACL_DAT_INV */ 19986a504a75SDimitris Papastamos #define WM8995_AIF2DACR_DAT_INV 0x0001 /* AIF2DACR_DAT_INV */ 19996a504a75SDimitris Papastamos #define WM8995_AIF2DACR_DAT_INV_MASK 0x0001 /* AIF2DACR_DAT_INV */ 20006a504a75SDimitris Papastamos #define WM8995_AIF2DACR_DAT_INV_SHIFT 0 /* AIF2DACR_DAT_INV */ 20016a504a75SDimitris Papastamos #define WM8995_AIF2DACR_DAT_INV_WIDTH 1 /* AIF2DACR_DAT_INV */ 20026a504a75SDimitris Papastamos 20036a504a75SDimitris Papastamos /* 20046a504a75SDimitris Papastamos * R791 (0x317) - AIF2ADC Data 20056a504a75SDimitris Papastamos */ 20066a504a75SDimitris Papastamos #define WM8995_AIF2ADCL_DAT_INV 0x0002 /* AIF2ADCL_DAT_INV */ 20076a504a75SDimitris Papastamos #define WM8995_AIF2ADCL_DAT_INV_MASK 0x0002 /* AIF2ADCL_DAT_INV */ 20086a504a75SDimitris Papastamos #define WM8995_AIF2ADCL_DAT_INV_SHIFT 1 /* AIF2ADCL_DAT_INV */ 20096a504a75SDimitris Papastamos #define WM8995_AIF2ADCL_DAT_INV_WIDTH 1 /* AIF2ADCL_DAT_INV */ 20106a504a75SDimitris Papastamos #define WM8995_AIF2ADCR_DAT_INV 0x0001 /* AIF2ADCR_DAT_INV */ 20116a504a75SDimitris Papastamos #define WM8995_AIF2ADCR_DAT_INV_MASK 0x0001 /* AIF2ADCR_DAT_INV */ 20126a504a75SDimitris Papastamos #define WM8995_AIF2ADCR_DAT_INV_SHIFT 0 /* AIF2ADCR_DAT_INV */ 20136a504a75SDimitris Papastamos #define WM8995_AIF2ADCR_DAT_INV_WIDTH 1 /* AIF2ADCR_DAT_INV */ 20146a504a75SDimitris Papastamos 20156a504a75SDimitris Papastamos /* 20166a504a75SDimitris Papastamos * R1024 (0x400) - AIF1 ADC1 Left Volume 20176a504a75SDimitris Papastamos */ 20186a504a75SDimitris Papastamos #define WM8995_AIF1ADC1_VU 0x0100 /* AIF1ADC1_VU */ 20196a504a75SDimitris Papastamos #define WM8995_AIF1ADC1_VU_MASK 0x0100 /* AIF1ADC1_VU */ 20206a504a75SDimitris Papastamos #define WM8995_AIF1ADC1_VU_SHIFT 8 /* AIF1ADC1_VU */ 20216a504a75SDimitris Papastamos #define WM8995_AIF1ADC1_VU_WIDTH 1 /* AIF1ADC1_VU */ 20226a504a75SDimitris Papastamos #define WM8995_AIF1ADC1L_VOL_MASK 0x00FF /* AIF1ADC1L_VOL - [7:0] */ 20236a504a75SDimitris Papastamos #define WM8995_AIF1ADC1L_VOL_SHIFT 0 /* AIF1ADC1L_VOL - [7:0] */ 20246a504a75SDimitris Papastamos #define WM8995_AIF1ADC1L_VOL_WIDTH 8 /* AIF1ADC1L_VOL - [7:0] */ 20256a504a75SDimitris Papastamos 20266a504a75SDimitris Papastamos /* 20276a504a75SDimitris Papastamos * R1025 (0x401) - AIF1 ADC1 Right Volume 20286a504a75SDimitris Papastamos */ 20296a504a75SDimitris Papastamos #define WM8995_AIF1ADC1_VU 0x0100 /* AIF1ADC1_VU */ 20306a504a75SDimitris Papastamos #define WM8995_AIF1ADC1_VU_MASK 0x0100 /* AIF1ADC1_VU */ 20316a504a75SDimitris Papastamos #define WM8995_AIF1ADC1_VU_SHIFT 8 /* AIF1ADC1_VU */ 20326a504a75SDimitris Papastamos #define WM8995_AIF1ADC1_VU_WIDTH 1 /* AIF1ADC1_VU */ 20336a504a75SDimitris Papastamos #define WM8995_AIF1ADC1R_VOL_MASK 0x00FF /* AIF1ADC1R_VOL - [7:0] */ 20346a504a75SDimitris Papastamos #define WM8995_AIF1ADC1R_VOL_SHIFT 0 /* AIF1ADC1R_VOL - [7:0] */ 20356a504a75SDimitris Papastamos #define WM8995_AIF1ADC1R_VOL_WIDTH 8 /* AIF1ADC1R_VOL - [7:0] */ 20366a504a75SDimitris Papastamos 20376a504a75SDimitris Papastamos /* 20386a504a75SDimitris Papastamos * R1026 (0x402) - AIF1 DAC1 Left Volume 20396a504a75SDimitris Papastamos */ 20406a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_VU 0x0100 /* AIF1DAC1_VU */ 20416a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_VU_MASK 0x0100 /* AIF1DAC1_VU */ 20426a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_VU_SHIFT 8 /* AIF1DAC1_VU */ 20436a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_VU_WIDTH 1 /* AIF1DAC1_VU */ 20446a504a75SDimitris Papastamos #define WM8995_AIF1DAC1L_VOL_MASK 0x00FF /* AIF1DAC1L_VOL - [7:0] */ 20456a504a75SDimitris Papastamos #define WM8995_AIF1DAC1L_VOL_SHIFT 0 /* AIF1DAC1L_VOL - [7:0] */ 20466a504a75SDimitris Papastamos #define WM8995_AIF1DAC1L_VOL_WIDTH 8 /* AIF1DAC1L_VOL - [7:0] */ 20476a504a75SDimitris Papastamos 20486a504a75SDimitris Papastamos /* 20496a504a75SDimitris Papastamos * R1027 (0x403) - AIF1 DAC1 Right Volume 20506a504a75SDimitris Papastamos */ 20516a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_VU 0x0100 /* AIF1DAC1_VU */ 20526a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_VU_MASK 0x0100 /* AIF1DAC1_VU */ 20536a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_VU_SHIFT 8 /* AIF1DAC1_VU */ 20546a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_VU_WIDTH 1 /* AIF1DAC1_VU */ 20556a504a75SDimitris Papastamos #define WM8995_AIF1DAC1R_VOL_MASK 0x00FF /* AIF1DAC1R_VOL - [7:0] */ 20566a504a75SDimitris Papastamos #define WM8995_AIF1DAC1R_VOL_SHIFT 0 /* AIF1DAC1R_VOL - [7:0] */ 20576a504a75SDimitris Papastamos #define WM8995_AIF1DAC1R_VOL_WIDTH 8 /* AIF1DAC1R_VOL - [7:0] */ 20586a504a75SDimitris Papastamos 20596a504a75SDimitris Papastamos /* 20606a504a75SDimitris Papastamos * R1028 (0x404) - AIF1 ADC2 Left Volume 20616a504a75SDimitris Papastamos */ 20626a504a75SDimitris Papastamos #define WM8995_AIF1ADC2_VU 0x0100 /* AIF1ADC2_VU */ 20636a504a75SDimitris Papastamos #define WM8995_AIF1ADC2_VU_MASK 0x0100 /* AIF1ADC2_VU */ 20646a504a75SDimitris Papastamos #define WM8995_AIF1ADC2_VU_SHIFT 8 /* AIF1ADC2_VU */ 20656a504a75SDimitris Papastamos #define WM8995_AIF1ADC2_VU_WIDTH 1 /* AIF1ADC2_VU */ 20666a504a75SDimitris Papastamos #define WM8995_AIF1ADC2L_VOL_MASK 0x00FF /* AIF1ADC2L_VOL - [7:0] */ 20676a504a75SDimitris Papastamos #define WM8995_AIF1ADC2L_VOL_SHIFT 0 /* AIF1ADC2L_VOL - [7:0] */ 20686a504a75SDimitris Papastamos #define WM8995_AIF1ADC2L_VOL_WIDTH 8 /* AIF1ADC2L_VOL - [7:0] */ 20696a504a75SDimitris Papastamos 20706a504a75SDimitris Papastamos /* 20716a504a75SDimitris Papastamos * R1029 (0x405) - AIF1 ADC2 Right Volume 20726a504a75SDimitris Papastamos */ 20736a504a75SDimitris Papastamos #define WM8995_AIF1ADC2_VU 0x0100 /* AIF1ADC2_VU */ 20746a504a75SDimitris Papastamos #define WM8995_AIF1ADC2_VU_MASK 0x0100 /* AIF1ADC2_VU */ 20756a504a75SDimitris Papastamos #define WM8995_AIF1ADC2_VU_SHIFT 8 /* AIF1ADC2_VU */ 20766a504a75SDimitris Papastamos #define WM8995_AIF1ADC2_VU_WIDTH 1 /* AIF1ADC2_VU */ 20776a504a75SDimitris Papastamos #define WM8995_AIF1ADC2R_VOL_MASK 0x00FF /* AIF1ADC2R_VOL - [7:0] */ 20786a504a75SDimitris Papastamos #define WM8995_AIF1ADC2R_VOL_SHIFT 0 /* AIF1ADC2R_VOL - [7:0] */ 20796a504a75SDimitris Papastamos #define WM8995_AIF1ADC2R_VOL_WIDTH 8 /* AIF1ADC2R_VOL - [7:0] */ 20806a504a75SDimitris Papastamos 20816a504a75SDimitris Papastamos /* 20826a504a75SDimitris Papastamos * R1030 (0x406) - AIF1 DAC2 Left Volume 20836a504a75SDimitris Papastamos */ 20846a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_VU 0x0100 /* AIF1DAC2_VU */ 20856a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_VU_MASK 0x0100 /* AIF1DAC2_VU */ 20866a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_VU_SHIFT 8 /* AIF1DAC2_VU */ 20876a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_VU_WIDTH 1 /* AIF1DAC2_VU */ 20886a504a75SDimitris Papastamos #define WM8995_AIF1DAC2L_VOL_MASK 0x00FF /* AIF1DAC2L_VOL - [7:0] */ 20896a504a75SDimitris Papastamos #define WM8995_AIF1DAC2L_VOL_SHIFT 0 /* AIF1DAC2L_VOL - [7:0] */ 20906a504a75SDimitris Papastamos #define WM8995_AIF1DAC2L_VOL_WIDTH 8 /* AIF1DAC2L_VOL - [7:0] */ 20916a504a75SDimitris Papastamos 20926a504a75SDimitris Papastamos /* 20936a504a75SDimitris Papastamos * R1031 (0x407) - AIF1 DAC2 Right Volume 20946a504a75SDimitris Papastamos */ 20956a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_VU 0x0100 /* AIF1DAC2_VU */ 20966a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_VU_MASK 0x0100 /* AIF1DAC2_VU */ 20976a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_VU_SHIFT 8 /* AIF1DAC2_VU */ 20986a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_VU_WIDTH 1 /* AIF1DAC2_VU */ 20996a504a75SDimitris Papastamos #define WM8995_AIF1DAC2R_VOL_MASK 0x00FF /* AIF1DAC2R_VOL - [7:0] */ 21006a504a75SDimitris Papastamos #define WM8995_AIF1DAC2R_VOL_SHIFT 0 /* AIF1DAC2R_VOL - [7:0] */ 21016a504a75SDimitris Papastamos #define WM8995_AIF1DAC2R_VOL_WIDTH 8 /* AIF1DAC2R_VOL - [7:0] */ 21026a504a75SDimitris Papastamos 21036a504a75SDimitris Papastamos /* 21046a504a75SDimitris Papastamos * R1040 (0x410) - AIF1 ADC1 Filters 21056a504a75SDimitris Papastamos */ 21066a504a75SDimitris Papastamos #define WM8995_AIF1ADC_4FS 0x8000 /* AIF1ADC_4FS */ 21076a504a75SDimitris Papastamos #define WM8995_AIF1ADC_4FS_MASK 0x8000 /* AIF1ADC_4FS */ 21086a504a75SDimitris Papastamos #define WM8995_AIF1ADC_4FS_SHIFT 15 /* AIF1ADC_4FS */ 21096a504a75SDimitris Papastamos #define WM8995_AIF1ADC_4FS_WIDTH 1 /* AIF1ADC_4FS */ 21106a504a75SDimitris Papastamos #define WM8995_AIF1ADC1L_HPF 0x1000 /* AIF1ADC1L_HPF */ 21116a504a75SDimitris Papastamos #define WM8995_AIF1ADC1L_HPF_MASK 0x1000 /* AIF1ADC1L_HPF */ 21126a504a75SDimitris Papastamos #define WM8995_AIF1ADC1L_HPF_SHIFT 12 /* AIF1ADC1L_HPF */ 21136a504a75SDimitris Papastamos #define WM8995_AIF1ADC1L_HPF_WIDTH 1 /* AIF1ADC1L_HPF */ 21146a504a75SDimitris Papastamos #define WM8995_AIF1ADC1R_HPF 0x0800 /* AIF1ADC1R_HPF */ 21156a504a75SDimitris Papastamos #define WM8995_AIF1ADC1R_HPF_MASK 0x0800 /* AIF1ADC1R_HPF */ 21166a504a75SDimitris Papastamos #define WM8995_AIF1ADC1R_HPF_SHIFT 11 /* AIF1ADC1R_HPF */ 21176a504a75SDimitris Papastamos #define WM8995_AIF1ADC1R_HPF_WIDTH 1 /* AIF1ADC1R_HPF */ 21186a504a75SDimitris Papastamos #define WM8995_AIF1ADC1_HPF_MODE 0x0008 /* AIF1ADC1_HPF_MODE */ 21196a504a75SDimitris Papastamos #define WM8995_AIF1ADC1_HPF_MODE_MASK 0x0008 /* AIF1ADC1_HPF_MODE */ 21206a504a75SDimitris Papastamos #define WM8995_AIF1ADC1_HPF_MODE_SHIFT 3 /* AIF1ADC1_HPF_MODE */ 21216a504a75SDimitris Papastamos #define WM8995_AIF1ADC1_HPF_MODE_WIDTH 1 /* AIF1ADC1_HPF_MODE */ 21226a504a75SDimitris Papastamos #define WM8995_AIF1ADC1_HPF_CUT_MASK 0x0007 /* AIF1ADC1_HPF_CUT - [2:0] */ 21236a504a75SDimitris Papastamos #define WM8995_AIF1ADC1_HPF_CUT_SHIFT 0 /* AIF1ADC1_HPF_CUT - [2:0] */ 21246a504a75SDimitris Papastamos #define WM8995_AIF1ADC1_HPF_CUT_WIDTH 3 /* AIF1ADC1_HPF_CUT - [2:0] */ 21256a504a75SDimitris Papastamos 21266a504a75SDimitris Papastamos /* 21276a504a75SDimitris Papastamos * R1041 (0x411) - AIF1 ADC2 Filters 21286a504a75SDimitris Papastamos */ 21296a504a75SDimitris Papastamos #define WM8995_AIF1ADC2L_HPF 0x1000 /* AIF1ADC2L_HPF */ 21306a504a75SDimitris Papastamos #define WM8995_AIF1ADC2L_HPF_MASK 0x1000 /* AIF1ADC2L_HPF */ 21316a504a75SDimitris Papastamos #define WM8995_AIF1ADC2L_HPF_SHIFT 12 /* AIF1ADC2L_HPF */ 21326a504a75SDimitris Papastamos #define WM8995_AIF1ADC2L_HPF_WIDTH 1 /* AIF1ADC2L_HPF */ 21336a504a75SDimitris Papastamos #define WM8995_AIF1ADC2R_HPF 0x0800 /* AIF1ADC2R_HPF */ 21346a504a75SDimitris Papastamos #define WM8995_AIF1ADC2R_HPF_MASK 0x0800 /* AIF1ADC2R_HPF */ 21356a504a75SDimitris Papastamos #define WM8995_AIF1ADC2R_HPF_SHIFT 11 /* AIF1ADC2R_HPF */ 21366a504a75SDimitris Papastamos #define WM8995_AIF1ADC2R_HPF_WIDTH 1 /* AIF1ADC2R_HPF */ 21376a504a75SDimitris Papastamos #define WM8995_AIF1ADC2_HPF_MODE 0x0008 /* AIF1ADC2_HPF_MODE */ 21386a504a75SDimitris Papastamos #define WM8995_AIF1ADC2_HPF_MODE_MASK 0x0008 /* AIF1ADC2_HPF_MODE */ 21396a504a75SDimitris Papastamos #define WM8995_AIF1ADC2_HPF_MODE_SHIFT 3 /* AIF1ADC2_HPF_MODE */ 21406a504a75SDimitris Papastamos #define WM8995_AIF1ADC2_HPF_MODE_WIDTH 1 /* AIF1ADC2_HPF_MODE */ 21416a504a75SDimitris Papastamos #define WM8995_AIF1ADC2_HPF_CUT_MASK 0x0007 /* AIF1ADC2_HPF_CUT - [2:0] */ 21426a504a75SDimitris Papastamos #define WM8995_AIF1ADC2_HPF_CUT_SHIFT 0 /* AIF1ADC2_HPF_CUT - [2:0] */ 21436a504a75SDimitris Papastamos #define WM8995_AIF1ADC2_HPF_CUT_WIDTH 3 /* AIF1ADC2_HPF_CUT - [2:0] */ 21446a504a75SDimitris Papastamos 21456a504a75SDimitris Papastamos /* 21466a504a75SDimitris Papastamos * R1056 (0x420) - AIF1 DAC1 Filters (1) 21476a504a75SDimitris Papastamos */ 21486a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_MUTE 0x0200 /* AIF1DAC1_MUTE */ 21496a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_MUTE_MASK 0x0200 /* AIF1DAC1_MUTE */ 21506a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_MUTE_SHIFT 9 /* AIF1DAC1_MUTE */ 21516a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_MUTE_WIDTH 1 /* AIF1DAC1_MUTE */ 21526a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_MONO 0x0080 /* AIF1DAC1_MONO */ 21536a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_MONO_MASK 0x0080 /* AIF1DAC1_MONO */ 21546a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_MONO_SHIFT 7 /* AIF1DAC1_MONO */ 21556a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_MONO_WIDTH 1 /* AIF1DAC1_MONO */ 21566a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_MUTERATE 0x0020 /* AIF1DAC1_MUTERATE */ 21576a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_MUTERATE_MASK 0x0020 /* AIF1DAC1_MUTERATE */ 21586a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_MUTERATE_SHIFT 5 /* AIF1DAC1_MUTERATE */ 21596a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_MUTERATE_WIDTH 1 /* AIF1DAC1_MUTERATE */ 21606a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_UNMUTE_RAMP 0x0010 /* AIF1DAC1_UNMUTE_RAMP */ 21616a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_UNMUTE_RAMP_MASK 0x0010 /* AIF1DAC1_UNMUTE_RAMP */ 21626a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_UNMUTE_RAMP_SHIFT 4 /* AIF1DAC1_UNMUTE_RAMP */ 21636a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_UNMUTE_RAMP_WIDTH 1 /* AIF1DAC1_UNMUTE_RAMP */ 21646a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_DEEMP_MASK 0x0006 /* AIF1DAC1_DEEMP - [2:1] */ 21656a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_DEEMP_SHIFT 1 /* AIF1DAC1_DEEMP - [2:1] */ 21666a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_DEEMP_WIDTH 2 /* AIF1DAC1_DEEMP - [2:1] */ 21676a504a75SDimitris Papastamos 21686a504a75SDimitris Papastamos /* 21696a504a75SDimitris Papastamos * R1057 (0x421) - AIF1 DAC1 Filters (2) 21706a504a75SDimitris Papastamos */ 21716a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_3D_GAIN_MASK 0x3E00 /* AIF1DAC1_3D_GAIN - [13:9] */ 21726a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_3D_GAIN_SHIFT 9 /* AIF1DAC1_3D_GAIN - [13:9] */ 21736a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_3D_GAIN_WIDTH 5 /* AIF1DAC1_3D_GAIN - [13:9] */ 21746a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_3D_ENA 0x0100 /* AIF1DAC1_3D_ENA */ 21756a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_3D_ENA_MASK 0x0100 /* AIF1DAC1_3D_ENA */ 21766a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_3D_ENA_SHIFT 8 /* AIF1DAC1_3D_ENA */ 21776a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_3D_ENA_WIDTH 1 /* AIF1DAC1_3D_ENA */ 21786a504a75SDimitris Papastamos 21796a504a75SDimitris Papastamos /* 21806a504a75SDimitris Papastamos * R1058 (0x422) - AIF1 DAC2 Filters (1) 21816a504a75SDimitris Papastamos */ 21826a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_MUTE 0x0200 /* AIF1DAC2_MUTE */ 21836a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_MUTE_MASK 0x0200 /* AIF1DAC2_MUTE */ 21846a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_MUTE_SHIFT 9 /* AIF1DAC2_MUTE */ 21856a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_MUTE_WIDTH 1 /* AIF1DAC2_MUTE */ 21866a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_MONO 0x0080 /* AIF1DAC2_MONO */ 21876a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_MONO_MASK 0x0080 /* AIF1DAC2_MONO */ 21886a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_MONO_SHIFT 7 /* AIF1DAC2_MONO */ 21896a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_MONO_WIDTH 1 /* AIF1DAC2_MONO */ 21906a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_MUTERATE 0x0020 /* AIF1DAC2_MUTERATE */ 21916a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_MUTERATE_MASK 0x0020 /* AIF1DAC2_MUTERATE */ 21926a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_MUTERATE_SHIFT 5 /* AIF1DAC2_MUTERATE */ 21936a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_MUTERATE_WIDTH 1 /* AIF1DAC2_MUTERATE */ 21946a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_UNMUTE_RAMP 0x0010 /* AIF1DAC2_UNMUTE_RAMP */ 21956a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_UNMUTE_RAMP_MASK 0x0010 /* AIF1DAC2_UNMUTE_RAMP */ 21966a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_UNMUTE_RAMP_SHIFT 4 /* AIF1DAC2_UNMUTE_RAMP */ 21976a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_UNMUTE_RAMP_WIDTH 1 /* AIF1DAC2_UNMUTE_RAMP */ 21986a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_DEEMP_MASK 0x0006 /* AIF1DAC2_DEEMP - [2:1] */ 21996a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_DEEMP_SHIFT 1 /* AIF1DAC2_DEEMP - [2:1] */ 22006a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_DEEMP_WIDTH 2 /* AIF1DAC2_DEEMP - [2:1] */ 22016a504a75SDimitris Papastamos 22026a504a75SDimitris Papastamos /* 22036a504a75SDimitris Papastamos * R1059 (0x423) - AIF1 DAC2 Filters (2) 22046a504a75SDimitris Papastamos */ 22056a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_3D_GAIN_MASK 0x3E00 /* AIF1DAC2_3D_GAIN - [13:9] */ 22066a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_3D_GAIN_SHIFT 9 /* AIF1DAC2_3D_GAIN - [13:9] */ 22076a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_3D_GAIN_WIDTH 5 /* AIF1DAC2_3D_GAIN - [13:9] */ 22086a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_3D_ENA 0x0100 /* AIF1DAC2_3D_ENA */ 22096a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_3D_ENA_MASK 0x0100 /* AIF1DAC2_3D_ENA */ 22106a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_3D_ENA_SHIFT 8 /* AIF1DAC2_3D_ENA */ 22116a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_3D_ENA_WIDTH 1 /* AIF1DAC2_3D_ENA */ 22126a504a75SDimitris Papastamos 22136a504a75SDimitris Papastamos /* 22146a504a75SDimitris Papastamos * R1088 (0x440) - AIF1 DRC1 (1) 22156a504a75SDimitris Papastamos */ 22166a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_SIG_DET_RMS_MASK 0xF800 /* AIF1DRC1_SIG_DET_RMS - [15:11] */ 22176a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_SIG_DET_RMS_SHIFT 11 /* AIF1DRC1_SIG_DET_RMS - [15:11] */ 22186a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_SIG_DET_RMS_WIDTH 5 /* AIF1DRC1_SIG_DET_RMS - [15:11] */ 22196a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_SIG_DET_PK_MASK 0x0600 /* AIF1DRC1_SIG_DET_PK - [10:9] */ 22206a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_SIG_DET_PK_SHIFT 9 /* AIF1DRC1_SIG_DET_PK - [10:9] */ 22216a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_SIG_DET_PK_WIDTH 2 /* AIF1DRC1_SIG_DET_PK - [10:9] */ 22226a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_NG_ENA 0x0100 /* AIF1DRC1_NG_ENA */ 22236a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_NG_ENA_MASK 0x0100 /* AIF1DRC1_NG_ENA */ 22246a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_NG_ENA_SHIFT 8 /* AIF1DRC1_NG_ENA */ 22256a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_NG_ENA_WIDTH 1 /* AIF1DRC1_NG_ENA */ 22266a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_SIG_DET_MODE 0x0080 /* AIF1DRC1_SIG_DET_MODE */ 22276a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_SIG_DET_MODE_MASK 0x0080 /* AIF1DRC1_SIG_DET_MODE */ 22286a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_SIG_DET_MODE_SHIFT 7 /* AIF1DRC1_SIG_DET_MODE */ 22296a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_SIG_DET_MODE_WIDTH 1 /* AIF1DRC1_SIG_DET_MODE */ 22306a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_SIG_DET 0x0040 /* AIF1DRC1_SIG_DET */ 22316a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_SIG_DET_MASK 0x0040 /* AIF1DRC1_SIG_DET */ 22326a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_SIG_DET_SHIFT 6 /* AIF1DRC1_SIG_DET */ 22336a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_SIG_DET_WIDTH 1 /* AIF1DRC1_SIG_DET */ 22346a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_KNEE2_OP_ENA 0x0020 /* AIF1DRC1_KNEE2_OP_ENA */ 22356a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_KNEE2_OP_ENA_MASK 0x0020 /* AIF1DRC1_KNEE2_OP_ENA */ 22366a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_KNEE2_OP_ENA_SHIFT 5 /* AIF1DRC1_KNEE2_OP_ENA */ 22376a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_KNEE2_OP_ENA_WIDTH 1 /* AIF1DRC1_KNEE2_OP_ENA */ 22386a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_QR 0x0010 /* AIF1DRC1_QR */ 22396a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_QR_MASK 0x0010 /* AIF1DRC1_QR */ 22406a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_QR_SHIFT 4 /* AIF1DRC1_QR */ 22416a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_QR_WIDTH 1 /* AIF1DRC1_QR */ 22426a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_ANTICLIP 0x0008 /* AIF1DRC1_ANTICLIP */ 22436a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_ANTICLIP_MASK 0x0008 /* AIF1DRC1_ANTICLIP */ 22446a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_ANTICLIP_SHIFT 3 /* AIF1DRC1_ANTICLIP */ 22456a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_ANTICLIP_WIDTH 1 /* AIF1DRC1_ANTICLIP */ 22466a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_DRC_ENA 0x0004 /* AIF1DAC1_DRC_ENA */ 22476a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_DRC_ENA_MASK 0x0004 /* AIF1DAC1_DRC_ENA */ 22486a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_DRC_ENA_SHIFT 2 /* AIF1DAC1_DRC_ENA */ 22496a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_DRC_ENA_WIDTH 1 /* AIF1DAC1_DRC_ENA */ 22506a504a75SDimitris Papastamos #define WM8995_AIF1ADC1L_DRC_ENA 0x0002 /* AIF1ADC1L_DRC_ENA */ 22516a504a75SDimitris Papastamos #define WM8995_AIF1ADC1L_DRC_ENA_MASK 0x0002 /* AIF1ADC1L_DRC_ENA */ 22526a504a75SDimitris Papastamos #define WM8995_AIF1ADC1L_DRC_ENA_SHIFT 1 /* AIF1ADC1L_DRC_ENA */ 22536a504a75SDimitris Papastamos #define WM8995_AIF1ADC1L_DRC_ENA_WIDTH 1 /* AIF1ADC1L_DRC_ENA */ 22546a504a75SDimitris Papastamos #define WM8995_AIF1ADC1R_DRC_ENA 0x0001 /* AIF1ADC1R_DRC_ENA */ 22556a504a75SDimitris Papastamos #define WM8995_AIF1ADC1R_DRC_ENA_MASK 0x0001 /* AIF1ADC1R_DRC_ENA */ 22566a504a75SDimitris Papastamos #define WM8995_AIF1ADC1R_DRC_ENA_SHIFT 0 /* AIF1ADC1R_DRC_ENA */ 22576a504a75SDimitris Papastamos #define WM8995_AIF1ADC1R_DRC_ENA_WIDTH 1 /* AIF1ADC1R_DRC_ENA */ 22586a504a75SDimitris Papastamos 22596a504a75SDimitris Papastamos /* 22606a504a75SDimitris Papastamos * R1089 (0x441) - AIF1 DRC1 (2) 22616a504a75SDimitris Papastamos */ 22626a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_ATK_MASK 0x1E00 /* AIF1DRC1_ATK - [12:9] */ 22636a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_ATK_SHIFT 9 /* AIF1DRC1_ATK - [12:9] */ 22646a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_ATK_WIDTH 4 /* AIF1DRC1_ATK - [12:9] */ 22656a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_DCY_MASK 0x01E0 /* AIF1DRC1_DCY - [8:5] */ 22666a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_DCY_SHIFT 5 /* AIF1DRC1_DCY - [8:5] */ 22676a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_DCY_WIDTH 4 /* AIF1DRC1_DCY - [8:5] */ 22686a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_MINGAIN_MASK 0x001C /* AIF1DRC1_MINGAIN - [4:2] */ 22696a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_MINGAIN_SHIFT 2 /* AIF1DRC1_MINGAIN - [4:2] */ 22706a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_MINGAIN_WIDTH 3 /* AIF1DRC1_MINGAIN - [4:2] */ 22716a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_MAXGAIN_MASK 0x0003 /* AIF1DRC1_MAXGAIN - [1:0] */ 22726a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_MAXGAIN_SHIFT 0 /* AIF1DRC1_MAXGAIN - [1:0] */ 22736a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_MAXGAIN_WIDTH 2 /* AIF1DRC1_MAXGAIN - [1:0] */ 22746a504a75SDimitris Papastamos 22756a504a75SDimitris Papastamos /* 22766a504a75SDimitris Papastamos * R1090 (0x442) - AIF1 DRC1 (3) 22776a504a75SDimitris Papastamos */ 22786a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_NG_MINGAIN_MASK 0xF000 /* AIF1DRC1_NG_MINGAIN - [15:12] */ 22796a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_NG_MINGAIN_SHIFT 12 /* AIF1DRC1_NG_MINGAIN - [15:12] */ 22806a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_NG_MINGAIN_WIDTH 4 /* AIF1DRC1_NG_MINGAIN - [15:12] */ 22816a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_NG_EXP_MASK 0x0C00 /* AIF1DRC1_NG_EXP - [11:10] */ 22826a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_NG_EXP_SHIFT 10 /* AIF1DRC1_NG_EXP - [11:10] */ 22836a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_NG_EXP_WIDTH 2 /* AIF1DRC1_NG_EXP - [11:10] */ 22846a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_QR_THR_MASK 0x0300 /* AIF1DRC1_QR_THR - [9:8] */ 22856a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_QR_THR_SHIFT 8 /* AIF1DRC1_QR_THR - [9:8] */ 22866a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_QR_THR_WIDTH 2 /* AIF1DRC1_QR_THR - [9:8] */ 22876a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_QR_DCY_MASK 0x00C0 /* AIF1DRC1_QR_DCY - [7:6] */ 22886a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_QR_DCY_SHIFT 6 /* AIF1DRC1_QR_DCY - [7:6] */ 22896a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_QR_DCY_WIDTH 2 /* AIF1DRC1_QR_DCY - [7:6] */ 22906a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_HI_COMP_MASK 0x0038 /* AIF1DRC1_HI_COMP - [5:3] */ 22916a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_HI_COMP_SHIFT 3 /* AIF1DRC1_HI_COMP - [5:3] */ 22926a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_HI_COMP_WIDTH 3 /* AIF1DRC1_HI_COMP - [5:3] */ 22936a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_LO_COMP_MASK 0x0007 /* AIF1DRC1_LO_COMP - [2:0] */ 22946a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_LO_COMP_SHIFT 0 /* AIF1DRC1_LO_COMP - [2:0] */ 22956a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_LO_COMP_WIDTH 3 /* AIF1DRC1_LO_COMP - [2:0] */ 22966a504a75SDimitris Papastamos 22976a504a75SDimitris Papastamos /* 22986a504a75SDimitris Papastamos * R1091 (0x443) - AIF1 DRC1 (4) 22996a504a75SDimitris Papastamos */ 23006a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_KNEE_IP_MASK 0x07E0 /* AIF1DRC1_KNEE_IP - [10:5] */ 23016a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_KNEE_IP_SHIFT 5 /* AIF1DRC1_KNEE_IP - [10:5] */ 23026a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_KNEE_IP_WIDTH 6 /* AIF1DRC1_KNEE_IP - [10:5] */ 23036a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_KNEE_OP_MASK 0x001F /* AIF1DRC1_KNEE_OP - [4:0] */ 23046a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_KNEE_OP_SHIFT 0 /* AIF1DRC1_KNEE_OP - [4:0] */ 23056a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_KNEE_OP_WIDTH 5 /* AIF1DRC1_KNEE_OP - [4:0] */ 23066a504a75SDimitris Papastamos 23076a504a75SDimitris Papastamos /* 23086a504a75SDimitris Papastamos * R1092 (0x444) - AIF1 DRC1 (5) 23096a504a75SDimitris Papastamos */ 23106a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_KNEE2_IP_MASK 0x03E0 /* AIF1DRC1_KNEE2_IP - [9:5] */ 23116a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_KNEE2_IP_SHIFT 5 /* AIF1DRC1_KNEE2_IP - [9:5] */ 23126a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_KNEE2_IP_WIDTH 5 /* AIF1DRC1_KNEE2_IP - [9:5] */ 23136a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_KNEE2_OP_MASK 0x001F /* AIF1DRC1_KNEE2_OP - [4:0] */ 23146a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_KNEE2_OP_SHIFT 0 /* AIF1DRC1_KNEE2_OP - [4:0] */ 23156a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_KNEE2_OP_WIDTH 5 /* AIF1DRC1_KNEE2_OP - [4:0] */ 23166a504a75SDimitris Papastamos 23176a504a75SDimitris Papastamos /* 23186a504a75SDimitris Papastamos * R1104 (0x450) - AIF1 DRC2 (1) 23196a504a75SDimitris Papastamos */ 23206a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_SIG_DET_RMS_MASK 0xF800 /* AIF1DRC2_SIG_DET_RMS - [15:11] */ 23216a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_SIG_DET_RMS_SHIFT 11 /* AIF1DRC2_SIG_DET_RMS - [15:11] */ 23226a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_SIG_DET_RMS_WIDTH 5 /* AIF1DRC2_SIG_DET_RMS - [15:11] */ 23236a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_SIG_DET_PK_MASK 0x0600 /* AIF1DRC2_SIG_DET_PK - [10:9] */ 23246a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_SIG_DET_PK_SHIFT 9 /* AIF1DRC2_SIG_DET_PK - [10:9] */ 23256a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_SIG_DET_PK_WIDTH 2 /* AIF1DRC2_SIG_DET_PK - [10:9] */ 23266a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_NG_ENA 0x0100 /* AIF1DRC2_NG_ENA */ 23276a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_NG_ENA_MASK 0x0100 /* AIF1DRC2_NG_ENA */ 23286a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_NG_ENA_SHIFT 8 /* AIF1DRC2_NG_ENA */ 23296a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_NG_ENA_WIDTH 1 /* AIF1DRC2_NG_ENA */ 23306a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_SIG_DET_MODE 0x0080 /* AIF1DRC2_SIG_DET_MODE */ 23316a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_SIG_DET_MODE_MASK 0x0080 /* AIF1DRC2_SIG_DET_MODE */ 23326a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_SIG_DET_MODE_SHIFT 7 /* AIF1DRC2_SIG_DET_MODE */ 23336a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_SIG_DET_MODE_WIDTH 1 /* AIF1DRC2_SIG_DET_MODE */ 23346a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_SIG_DET 0x0040 /* AIF1DRC2_SIG_DET */ 23356a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_SIG_DET_MASK 0x0040 /* AIF1DRC2_SIG_DET */ 23366a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_SIG_DET_SHIFT 6 /* AIF1DRC2_SIG_DET */ 23376a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_SIG_DET_WIDTH 1 /* AIF1DRC2_SIG_DET */ 23386a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_KNEE2_OP_ENA 0x0020 /* AIF1DRC2_KNEE2_OP_ENA */ 23396a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_KNEE2_OP_ENA_MASK 0x0020 /* AIF1DRC2_KNEE2_OP_ENA */ 23406a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_KNEE2_OP_ENA_SHIFT 5 /* AIF1DRC2_KNEE2_OP_ENA */ 23416a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_KNEE2_OP_ENA_WIDTH 1 /* AIF1DRC2_KNEE2_OP_ENA */ 23426a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_QR 0x0010 /* AIF1DRC2_QR */ 23436a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_QR_MASK 0x0010 /* AIF1DRC2_QR */ 23446a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_QR_SHIFT 4 /* AIF1DRC2_QR */ 23456a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_QR_WIDTH 1 /* AIF1DRC2_QR */ 23466a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_ANTICLIP 0x0008 /* AIF1DRC2_ANTICLIP */ 23476a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_ANTICLIP_MASK 0x0008 /* AIF1DRC2_ANTICLIP */ 23486a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_ANTICLIP_SHIFT 3 /* AIF1DRC2_ANTICLIP */ 23496a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_ANTICLIP_WIDTH 1 /* AIF1DRC2_ANTICLIP */ 23506a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_DRC_ENA 0x0004 /* AIF1DAC2_DRC_ENA */ 23516a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_DRC_ENA_MASK 0x0004 /* AIF1DAC2_DRC_ENA */ 23526a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_DRC_ENA_SHIFT 2 /* AIF1DAC2_DRC_ENA */ 23536a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_DRC_ENA_WIDTH 1 /* AIF1DAC2_DRC_ENA */ 23546a504a75SDimitris Papastamos #define WM8995_AIF1ADC2L_DRC_ENA 0x0002 /* AIF1ADC2L_DRC_ENA */ 23556a504a75SDimitris Papastamos #define WM8995_AIF1ADC2L_DRC_ENA_MASK 0x0002 /* AIF1ADC2L_DRC_ENA */ 23566a504a75SDimitris Papastamos #define WM8995_AIF1ADC2L_DRC_ENA_SHIFT 1 /* AIF1ADC2L_DRC_ENA */ 23576a504a75SDimitris Papastamos #define WM8995_AIF1ADC2L_DRC_ENA_WIDTH 1 /* AIF1ADC2L_DRC_ENA */ 23586a504a75SDimitris Papastamos #define WM8995_AIF1ADC2R_DRC_ENA 0x0001 /* AIF1ADC2R_DRC_ENA */ 23596a504a75SDimitris Papastamos #define WM8995_AIF1ADC2R_DRC_ENA_MASK 0x0001 /* AIF1ADC2R_DRC_ENA */ 23606a504a75SDimitris Papastamos #define WM8995_AIF1ADC2R_DRC_ENA_SHIFT 0 /* AIF1ADC2R_DRC_ENA */ 23616a504a75SDimitris Papastamos #define WM8995_AIF1ADC2R_DRC_ENA_WIDTH 1 /* AIF1ADC2R_DRC_ENA */ 23626a504a75SDimitris Papastamos 23636a504a75SDimitris Papastamos /* 23646a504a75SDimitris Papastamos * R1105 (0x451) - AIF1 DRC2 (2) 23656a504a75SDimitris Papastamos */ 23666a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_ATK_MASK 0x1E00 /* AIF1DRC2_ATK - [12:9] */ 23676a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_ATK_SHIFT 9 /* AIF1DRC2_ATK - [12:9] */ 23686a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_ATK_WIDTH 4 /* AIF1DRC2_ATK - [12:9] */ 23696a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_DCY_MASK 0x01E0 /* AIF1DRC2_DCY - [8:5] */ 23706a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_DCY_SHIFT 5 /* AIF1DRC2_DCY - [8:5] */ 23716a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_DCY_WIDTH 4 /* AIF1DRC2_DCY - [8:5] */ 23726a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_MINGAIN_MASK 0x001C /* AIF1DRC2_MINGAIN - [4:2] */ 23736a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_MINGAIN_SHIFT 2 /* AIF1DRC2_MINGAIN - [4:2] */ 23746a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_MINGAIN_WIDTH 3 /* AIF1DRC2_MINGAIN - [4:2] */ 23756a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_MAXGAIN_MASK 0x0003 /* AIF1DRC2_MAXGAIN - [1:0] */ 23766a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_MAXGAIN_SHIFT 0 /* AIF1DRC2_MAXGAIN - [1:0] */ 23776a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_MAXGAIN_WIDTH 2 /* AIF1DRC2_MAXGAIN - [1:0] */ 23786a504a75SDimitris Papastamos 23796a504a75SDimitris Papastamos /* 23806a504a75SDimitris Papastamos * R1106 (0x452) - AIF1 DRC2 (3) 23816a504a75SDimitris Papastamos */ 23826a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_NG_MINGAIN_MASK 0xF000 /* AIF1DRC2_NG_MINGAIN - [15:12] */ 23836a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_NG_MINGAIN_SHIFT 12 /* AIF1DRC2_NG_MINGAIN - [15:12] */ 23846a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_NG_MINGAIN_WIDTH 4 /* AIF1DRC2_NG_MINGAIN - [15:12] */ 23856a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_NG_EXP_MASK 0x0C00 /* AIF1DRC2_NG_EXP - [11:10] */ 23866a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_NG_EXP_SHIFT 10 /* AIF1DRC2_NG_EXP - [11:10] */ 23876a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_NG_EXP_WIDTH 2 /* AIF1DRC2_NG_EXP - [11:10] */ 23886a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_QR_THR_MASK 0x0300 /* AIF1DRC2_QR_THR - [9:8] */ 23896a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_QR_THR_SHIFT 8 /* AIF1DRC2_QR_THR - [9:8] */ 23906a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_QR_THR_WIDTH 2 /* AIF1DRC2_QR_THR - [9:8] */ 23916a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_QR_DCY_MASK 0x00C0 /* AIF1DRC2_QR_DCY - [7:6] */ 23926a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_QR_DCY_SHIFT 6 /* AIF1DRC2_QR_DCY - [7:6] */ 23936a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_QR_DCY_WIDTH 2 /* AIF1DRC2_QR_DCY - [7:6] */ 23946a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_HI_COMP_MASK 0x0038 /* AIF1DRC2_HI_COMP - [5:3] */ 23956a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_HI_COMP_SHIFT 3 /* AIF1DRC2_HI_COMP - [5:3] */ 23966a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_HI_COMP_WIDTH 3 /* AIF1DRC2_HI_COMP - [5:3] */ 23976a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_LO_COMP_MASK 0x0007 /* AIF1DRC2_LO_COMP - [2:0] */ 23986a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_LO_COMP_SHIFT 0 /* AIF1DRC2_LO_COMP - [2:0] */ 23996a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_LO_COMP_WIDTH 3 /* AIF1DRC2_LO_COMP - [2:0] */ 24006a504a75SDimitris Papastamos 24016a504a75SDimitris Papastamos /* 24026a504a75SDimitris Papastamos * R1107 (0x453) - AIF1 DRC2 (4) 24036a504a75SDimitris Papastamos */ 24046a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_KNEE_IP_MASK 0x07E0 /* AIF1DRC2_KNEE_IP - [10:5] */ 24056a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_KNEE_IP_SHIFT 5 /* AIF1DRC2_KNEE_IP - [10:5] */ 24066a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_KNEE_IP_WIDTH 6 /* AIF1DRC2_KNEE_IP - [10:5] */ 24076a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_KNEE_OP_MASK 0x001F /* AIF1DRC2_KNEE_OP - [4:0] */ 24086a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_KNEE_OP_SHIFT 0 /* AIF1DRC2_KNEE_OP - [4:0] */ 24096a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_KNEE_OP_WIDTH 5 /* AIF1DRC2_KNEE_OP - [4:0] */ 24106a504a75SDimitris Papastamos 24116a504a75SDimitris Papastamos /* 24126a504a75SDimitris Papastamos * R1108 (0x454) - AIF1 DRC2 (5) 24136a504a75SDimitris Papastamos */ 24146a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_KNEE2_IP_MASK 0x03E0 /* AIF1DRC2_KNEE2_IP - [9:5] */ 24156a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_KNEE2_IP_SHIFT 5 /* AIF1DRC2_KNEE2_IP - [9:5] */ 24166a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_KNEE2_IP_WIDTH 5 /* AIF1DRC2_KNEE2_IP - [9:5] */ 24176a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_KNEE2_OP_MASK 0x001F /* AIF1DRC2_KNEE2_OP - [4:0] */ 24186a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_KNEE2_OP_SHIFT 0 /* AIF1DRC2_KNEE2_OP - [4:0] */ 24196a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_KNEE2_OP_WIDTH 5 /* AIF1DRC2_KNEE2_OP - [4:0] */ 24206a504a75SDimitris Papastamos 24216a504a75SDimitris Papastamos /* 24226a504a75SDimitris Papastamos * R1152 (0x480) - AIF1 DAC1 EQ Gains (1) 24236a504a75SDimitris Papastamos */ 24246a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B1_GAIN_MASK 0xF800 /* AIF1DAC1_EQ_B1_GAIN - [15:11] */ 24256a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B1_GAIN_SHIFT 11 /* AIF1DAC1_EQ_B1_GAIN - [15:11] */ 24266a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B1_GAIN_WIDTH 5 /* AIF1DAC1_EQ_B1_GAIN - [15:11] */ 24276a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B2_GAIN_MASK 0x07C0 /* AIF1DAC1_EQ_B2_GAIN - [10:6] */ 24286a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B2_GAIN_SHIFT 6 /* AIF1DAC1_EQ_B2_GAIN - [10:6] */ 24296a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B2_GAIN_WIDTH 5 /* AIF1DAC1_EQ_B2_GAIN - [10:6] */ 24306a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B3_GAIN_MASK 0x003E /* AIF1DAC1_EQ_B3_GAIN - [5:1] */ 24316a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B3_GAIN_SHIFT 1 /* AIF1DAC1_EQ_B3_GAIN - [5:1] */ 24326a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B3_GAIN_WIDTH 5 /* AIF1DAC1_EQ_B3_GAIN - [5:1] */ 24336a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_ENA 0x0001 /* AIF1DAC1_EQ_ENA */ 24346a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_ENA_MASK 0x0001 /* AIF1DAC1_EQ_ENA */ 24356a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_ENA_SHIFT 0 /* AIF1DAC1_EQ_ENA */ 24366a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_ENA_WIDTH 1 /* AIF1DAC1_EQ_ENA */ 24376a504a75SDimitris Papastamos 24386a504a75SDimitris Papastamos /* 24396a504a75SDimitris Papastamos * R1153 (0x481) - AIF1 DAC1 EQ Gains (2) 24406a504a75SDimitris Papastamos */ 24416a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B4_GAIN_MASK 0xF800 /* AIF1DAC1_EQ_B4_GAIN - [15:11] */ 24426a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B4_GAIN_SHIFT 11 /* AIF1DAC1_EQ_B4_GAIN - [15:11] */ 24436a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B4_GAIN_WIDTH 5 /* AIF1DAC1_EQ_B4_GAIN - [15:11] */ 24446a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B5_GAIN_MASK 0x07C0 /* AIF1DAC1_EQ_B5_GAIN - [10:6] */ 24456a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B5_GAIN_SHIFT 6 /* AIF1DAC1_EQ_B5_GAIN - [10:6] */ 24466a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B5_GAIN_WIDTH 5 /* AIF1DAC1_EQ_B5_GAIN - [10:6] */ 24476a504a75SDimitris Papastamos 24486a504a75SDimitris Papastamos /* 24496a504a75SDimitris Papastamos * R1154 (0x482) - AIF1 DAC1 EQ Band 1 A 24506a504a75SDimitris Papastamos */ 24516a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B1_A_MASK 0xFFFF /* AIF1DAC1_EQ_B1_A - [15:0] */ 24526a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B1_A_SHIFT 0 /* AIF1DAC1_EQ_B1_A - [15:0] */ 24536a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B1_A_WIDTH 16 /* AIF1DAC1_EQ_B1_A - [15:0] */ 24546a504a75SDimitris Papastamos 24556a504a75SDimitris Papastamos /* 24566a504a75SDimitris Papastamos * R1155 (0x483) - AIF1 DAC1 EQ Band 1 B 24576a504a75SDimitris Papastamos */ 24586a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B1_B_MASK 0xFFFF /* AIF1DAC1_EQ_B1_B - [15:0] */ 24596a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B1_B_SHIFT 0 /* AIF1DAC1_EQ_B1_B - [15:0] */ 24606a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B1_B_WIDTH 16 /* AIF1DAC1_EQ_B1_B - [15:0] */ 24616a504a75SDimitris Papastamos 24626a504a75SDimitris Papastamos /* 24636a504a75SDimitris Papastamos * R1156 (0x484) - AIF1 DAC1 EQ Band 1 PG 24646a504a75SDimitris Papastamos */ 24656a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B1_PG_MASK 0xFFFF /* AIF1DAC1_EQ_B1_PG - [15:0] */ 24666a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B1_PG_SHIFT 0 /* AIF1DAC1_EQ_B1_PG - [15:0] */ 24676a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B1_PG_WIDTH 16 /* AIF1DAC1_EQ_B1_PG - [15:0] */ 24686a504a75SDimitris Papastamos 24696a504a75SDimitris Papastamos /* 24706a504a75SDimitris Papastamos * R1157 (0x485) - AIF1 DAC1 EQ Band 2 A 24716a504a75SDimitris Papastamos */ 24726a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B2_A_MASK 0xFFFF /* AIF1DAC1_EQ_B2_A - [15:0] */ 24736a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B2_A_SHIFT 0 /* AIF1DAC1_EQ_B2_A - [15:0] */ 24746a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B2_A_WIDTH 16 /* AIF1DAC1_EQ_B2_A - [15:0] */ 24756a504a75SDimitris Papastamos 24766a504a75SDimitris Papastamos /* 24776a504a75SDimitris Papastamos * R1158 (0x486) - AIF1 DAC1 EQ Band 2 B 24786a504a75SDimitris Papastamos */ 24796a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B2_B_MASK 0xFFFF /* AIF1DAC1_EQ_B2_B - [15:0] */ 24806a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B2_B_SHIFT 0 /* AIF1DAC1_EQ_B2_B - [15:0] */ 24816a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B2_B_WIDTH 16 /* AIF1DAC1_EQ_B2_B - [15:0] */ 24826a504a75SDimitris Papastamos 24836a504a75SDimitris Papastamos /* 24846a504a75SDimitris Papastamos * R1159 (0x487) - AIF1 DAC1 EQ Band 2 C 24856a504a75SDimitris Papastamos */ 24866a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B2_C_MASK 0xFFFF /* AIF1DAC1_EQ_B2_C - [15:0] */ 24876a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B2_C_SHIFT 0 /* AIF1DAC1_EQ_B2_C - [15:0] */ 24886a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B2_C_WIDTH 16 /* AIF1DAC1_EQ_B2_C - [15:0] */ 24896a504a75SDimitris Papastamos 24906a504a75SDimitris Papastamos /* 24916a504a75SDimitris Papastamos * R1160 (0x488) - AIF1 DAC1 EQ Band 2 PG 24926a504a75SDimitris Papastamos */ 24936a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B2_PG_MASK 0xFFFF /* AIF1DAC1_EQ_B2_PG - [15:0] */ 24946a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B2_PG_SHIFT 0 /* AIF1DAC1_EQ_B2_PG - [15:0] */ 24956a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B2_PG_WIDTH 16 /* AIF1DAC1_EQ_B2_PG - [15:0] */ 24966a504a75SDimitris Papastamos 24976a504a75SDimitris Papastamos /* 24986a504a75SDimitris Papastamos * R1161 (0x489) - AIF1 DAC1 EQ Band 3 A 24996a504a75SDimitris Papastamos */ 25006a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B3_A_MASK 0xFFFF /* AIF1DAC1_EQ_B3_A - [15:0] */ 25016a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B3_A_SHIFT 0 /* AIF1DAC1_EQ_B3_A - [15:0] */ 25026a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B3_A_WIDTH 16 /* AIF1DAC1_EQ_B3_A - [15:0] */ 25036a504a75SDimitris Papastamos 25046a504a75SDimitris Papastamos /* 25056a504a75SDimitris Papastamos * R1162 (0x48A) - AIF1 DAC1 EQ Band 3 B 25066a504a75SDimitris Papastamos */ 25076a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B3_B_MASK 0xFFFF /* AIF1DAC1_EQ_B3_B - [15:0] */ 25086a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B3_B_SHIFT 0 /* AIF1DAC1_EQ_B3_B - [15:0] */ 25096a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B3_B_WIDTH 16 /* AIF1DAC1_EQ_B3_B - [15:0] */ 25106a504a75SDimitris Papastamos 25116a504a75SDimitris Papastamos /* 25126a504a75SDimitris Papastamos * R1163 (0x48B) - AIF1 DAC1 EQ Band 3 C 25136a504a75SDimitris Papastamos */ 25146a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B3_C_MASK 0xFFFF /* AIF1DAC1_EQ_B3_C - [15:0] */ 25156a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B3_C_SHIFT 0 /* AIF1DAC1_EQ_B3_C - [15:0] */ 25166a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B3_C_WIDTH 16 /* AIF1DAC1_EQ_B3_C - [15:0] */ 25176a504a75SDimitris Papastamos 25186a504a75SDimitris Papastamos /* 25196a504a75SDimitris Papastamos * R1164 (0x48C) - AIF1 DAC1 EQ Band 3 PG 25206a504a75SDimitris Papastamos */ 25216a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B3_PG_MASK 0xFFFF /* AIF1DAC1_EQ_B3_PG - [15:0] */ 25226a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B3_PG_SHIFT 0 /* AIF1DAC1_EQ_B3_PG - [15:0] */ 25236a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B3_PG_WIDTH 16 /* AIF1DAC1_EQ_B3_PG - [15:0] */ 25246a504a75SDimitris Papastamos 25256a504a75SDimitris Papastamos /* 25266a504a75SDimitris Papastamos * R1165 (0x48D) - AIF1 DAC1 EQ Band 4 A 25276a504a75SDimitris Papastamos */ 25286a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B4_A_MASK 0xFFFF /* AIF1DAC1_EQ_B4_A - [15:0] */ 25296a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B4_A_SHIFT 0 /* AIF1DAC1_EQ_B4_A - [15:0] */ 25306a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B4_A_WIDTH 16 /* AIF1DAC1_EQ_B4_A - [15:0] */ 25316a504a75SDimitris Papastamos 25326a504a75SDimitris Papastamos /* 25336a504a75SDimitris Papastamos * R1166 (0x48E) - AIF1 DAC1 EQ Band 4 B 25346a504a75SDimitris Papastamos */ 25356a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B4_B_MASK 0xFFFF /* AIF1DAC1_EQ_B4_B - [15:0] */ 25366a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B4_B_SHIFT 0 /* AIF1DAC1_EQ_B4_B - [15:0] */ 25376a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B4_B_WIDTH 16 /* AIF1DAC1_EQ_B4_B - [15:0] */ 25386a504a75SDimitris Papastamos 25396a504a75SDimitris Papastamos /* 25406a504a75SDimitris Papastamos * R1167 (0x48F) - AIF1 DAC1 EQ Band 4 C 25416a504a75SDimitris Papastamos */ 25426a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B4_C_MASK 0xFFFF /* AIF1DAC1_EQ_B4_C - [15:0] */ 25436a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B4_C_SHIFT 0 /* AIF1DAC1_EQ_B4_C - [15:0] */ 25446a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B4_C_WIDTH 16 /* AIF1DAC1_EQ_B4_C - [15:0] */ 25456a504a75SDimitris Papastamos 25466a504a75SDimitris Papastamos /* 25476a504a75SDimitris Papastamos * R1168 (0x490) - AIF1 DAC1 EQ Band 4 PG 25486a504a75SDimitris Papastamos */ 25496a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B4_PG_MASK 0xFFFF /* AIF1DAC1_EQ_B4_PG - [15:0] */ 25506a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B4_PG_SHIFT 0 /* AIF1DAC1_EQ_B4_PG - [15:0] */ 25516a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B4_PG_WIDTH 16 /* AIF1DAC1_EQ_B4_PG - [15:0] */ 25526a504a75SDimitris Papastamos 25536a504a75SDimitris Papastamos /* 25546a504a75SDimitris Papastamos * R1169 (0x491) - AIF1 DAC1 EQ Band 5 A 25556a504a75SDimitris Papastamos */ 25566a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B5_A_MASK 0xFFFF /* AIF1DAC1_EQ_B5_A - [15:0] */ 25576a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B5_A_SHIFT 0 /* AIF1DAC1_EQ_B5_A - [15:0] */ 25586a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B5_A_WIDTH 16 /* AIF1DAC1_EQ_B5_A - [15:0] */ 25596a504a75SDimitris Papastamos 25606a504a75SDimitris Papastamos /* 25616a504a75SDimitris Papastamos * R1170 (0x492) - AIF1 DAC1 EQ Band 5 B 25626a504a75SDimitris Papastamos */ 25636a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B5_B_MASK 0xFFFF /* AIF1DAC1_EQ_B5_B - [15:0] */ 25646a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B5_B_SHIFT 0 /* AIF1DAC1_EQ_B5_B - [15:0] */ 25656a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B5_B_WIDTH 16 /* AIF1DAC1_EQ_B5_B - [15:0] */ 25666a504a75SDimitris Papastamos 25676a504a75SDimitris Papastamos /* 25686a504a75SDimitris Papastamos * R1171 (0x493) - AIF1 DAC1 EQ Band 5 PG 25696a504a75SDimitris Papastamos */ 25706a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B5_PG_MASK 0xFFFF /* AIF1DAC1_EQ_B5_PG - [15:0] */ 25716a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B5_PG_SHIFT 0 /* AIF1DAC1_EQ_B5_PG - [15:0] */ 25726a504a75SDimitris Papastamos #define WM8995_AIF1DAC1_EQ_B5_PG_WIDTH 16 /* AIF1DAC1_EQ_B5_PG - [15:0] */ 25736a504a75SDimitris Papastamos 25746a504a75SDimitris Papastamos /* 25756a504a75SDimitris Papastamos * R1184 (0x4A0) - AIF1 DAC2 EQ Gains (1) 25766a504a75SDimitris Papastamos */ 25776a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B1_GAIN_MASK 0xF800 /* AIF1DAC2_EQ_B1_GAIN - [15:11] */ 25786a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B1_GAIN_SHIFT 11 /* AIF1DAC2_EQ_B1_GAIN - [15:11] */ 25796a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B1_GAIN_WIDTH 5 /* AIF1DAC2_EQ_B1_GAIN - [15:11] */ 25806a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B2_GAIN_MASK 0x07C0 /* AIF1DAC2_EQ_B2_GAIN - [10:6] */ 25816a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B2_GAIN_SHIFT 6 /* AIF1DAC2_EQ_B2_GAIN - [10:6] */ 25826a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B2_GAIN_WIDTH 5 /* AIF1DAC2_EQ_B2_GAIN - [10:6] */ 25836a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B3_GAIN_MASK 0x003E /* AIF1DAC2_EQ_B3_GAIN - [5:1] */ 25846a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B3_GAIN_SHIFT 1 /* AIF1DAC2_EQ_B3_GAIN - [5:1] */ 25856a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B3_GAIN_WIDTH 5 /* AIF1DAC2_EQ_B3_GAIN - [5:1] */ 25866a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_ENA 0x0001 /* AIF1DAC2_EQ_ENA */ 25876a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_ENA_MASK 0x0001 /* AIF1DAC2_EQ_ENA */ 25886a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_ENA_SHIFT 0 /* AIF1DAC2_EQ_ENA */ 25896a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_ENA_WIDTH 1 /* AIF1DAC2_EQ_ENA */ 25906a504a75SDimitris Papastamos 25916a504a75SDimitris Papastamos /* 25926a504a75SDimitris Papastamos * R1185 (0x4A1) - AIF1 DAC2 EQ Gains (2) 25936a504a75SDimitris Papastamos */ 25946a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B4_GAIN_MASK 0xF800 /* AIF1DAC2_EQ_B4_GAIN - [15:11] */ 25956a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B4_GAIN_SHIFT 11 /* AIF1DAC2_EQ_B4_GAIN - [15:11] */ 25966a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B4_GAIN_WIDTH 5 /* AIF1DAC2_EQ_B4_GAIN - [15:11] */ 25976a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B5_GAIN_MASK 0x07C0 /* AIF1DAC2_EQ_B5_GAIN - [10:6] */ 25986a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B5_GAIN_SHIFT 6 /* AIF1DAC2_EQ_B5_GAIN - [10:6] */ 25996a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B5_GAIN_WIDTH 5 /* AIF1DAC2_EQ_B5_GAIN - [10:6] */ 26006a504a75SDimitris Papastamos 26016a504a75SDimitris Papastamos /* 26026a504a75SDimitris Papastamos * R1186 (0x4A2) - AIF1 DAC2 EQ Band 1 A 26036a504a75SDimitris Papastamos */ 26046a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B1_A_MASK 0xFFFF /* AIF1DAC2_EQ_B1_A - [15:0] */ 26056a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B1_A_SHIFT 0 /* AIF1DAC2_EQ_B1_A - [15:0] */ 26066a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B1_A_WIDTH 16 /* AIF1DAC2_EQ_B1_A - [15:0] */ 26076a504a75SDimitris Papastamos 26086a504a75SDimitris Papastamos /* 26096a504a75SDimitris Papastamos * R1187 (0x4A3) - AIF1 DAC2 EQ Band 1 B 26106a504a75SDimitris Papastamos */ 26116a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B1_B_MASK 0xFFFF /* AIF1DAC2_EQ_B1_B - [15:0] */ 26126a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B1_B_SHIFT 0 /* AIF1DAC2_EQ_B1_B - [15:0] */ 26136a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B1_B_WIDTH 16 /* AIF1DAC2_EQ_B1_B - [15:0] */ 26146a504a75SDimitris Papastamos 26156a504a75SDimitris Papastamos /* 26166a504a75SDimitris Papastamos * R1188 (0x4A4) - AIF1 DAC2 EQ Band 1 PG 26176a504a75SDimitris Papastamos */ 26186a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B1_PG_MASK 0xFFFF /* AIF1DAC2_EQ_B1_PG - [15:0] */ 26196a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B1_PG_SHIFT 0 /* AIF1DAC2_EQ_B1_PG - [15:0] */ 26206a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B1_PG_WIDTH 16 /* AIF1DAC2_EQ_B1_PG - [15:0] */ 26216a504a75SDimitris Papastamos 26226a504a75SDimitris Papastamos /* 26236a504a75SDimitris Papastamos * R1189 (0x4A5) - AIF1 DAC2 EQ Band 2 A 26246a504a75SDimitris Papastamos */ 26256a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B2_A_MASK 0xFFFF /* AIF1DAC2_EQ_B2_A - [15:0] */ 26266a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B2_A_SHIFT 0 /* AIF1DAC2_EQ_B2_A - [15:0] */ 26276a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B2_A_WIDTH 16 /* AIF1DAC2_EQ_B2_A - [15:0] */ 26286a504a75SDimitris Papastamos 26296a504a75SDimitris Papastamos /* 26306a504a75SDimitris Papastamos * R1190 (0x4A6) - AIF1 DAC2 EQ Band 2 B 26316a504a75SDimitris Papastamos */ 26326a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B2_B_MASK 0xFFFF /* AIF1DAC2_EQ_B2_B - [15:0] */ 26336a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B2_B_SHIFT 0 /* AIF1DAC2_EQ_B2_B - [15:0] */ 26346a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B2_B_WIDTH 16 /* AIF1DAC2_EQ_B2_B - [15:0] */ 26356a504a75SDimitris Papastamos 26366a504a75SDimitris Papastamos /* 26376a504a75SDimitris Papastamos * R1191 (0x4A7) - AIF1 DAC2 EQ Band 2 C 26386a504a75SDimitris Papastamos */ 26396a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B2_C_MASK 0xFFFF /* AIF1DAC2_EQ_B2_C - [15:0] */ 26406a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B2_C_SHIFT 0 /* AIF1DAC2_EQ_B2_C - [15:0] */ 26416a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B2_C_WIDTH 16 /* AIF1DAC2_EQ_B2_C - [15:0] */ 26426a504a75SDimitris Papastamos 26436a504a75SDimitris Papastamos /* 26446a504a75SDimitris Papastamos * R1192 (0x4A8) - AIF1 DAC2 EQ Band 2 PG 26456a504a75SDimitris Papastamos */ 26466a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B2_PG_MASK 0xFFFF /* AIF1DAC2_EQ_B2_PG - [15:0] */ 26476a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B2_PG_SHIFT 0 /* AIF1DAC2_EQ_B2_PG - [15:0] */ 26486a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B2_PG_WIDTH 16 /* AIF1DAC2_EQ_B2_PG - [15:0] */ 26496a504a75SDimitris Papastamos 26506a504a75SDimitris Papastamos /* 26516a504a75SDimitris Papastamos * R1193 (0x4A9) - AIF1 DAC2 EQ Band 3 A 26526a504a75SDimitris Papastamos */ 26536a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B3_A_MASK 0xFFFF /* AIF1DAC2_EQ_B3_A - [15:0] */ 26546a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B3_A_SHIFT 0 /* AIF1DAC2_EQ_B3_A - [15:0] */ 26556a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B3_A_WIDTH 16 /* AIF1DAC2_EQ_B3_A - [15:0] */ 26566a504a75SDimitris Papastamos 26576a504a75SDimitris Papastamos /* 26586a504a75SDimitris Papastamos * R1194 (0x4AA) - AIF1 DAC2 EQ Band 3 B 26596a504a75SDimitris Papastamos */ 26606a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B3_B_MASK 0xFFFF /* AIF1DAC2_EQ_B3_B - [15:0] */ 26616a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B3_B_SHIFT 0 /* AIF1DAC2_EQ_B3_B - [15:0] */ 26626a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B3_B_WIDTH 16 /* AIF1DAC2_EQ_B3_B - [15:0] */ 26636a504a75SDimitris Papastamos 26646a504a75SDimitris Papastamos /* 26656a504a75SDimitris Papastamos * R1195 (0x4AB) - AIF1 DAC2 EQ Band 3 C 26666a504a75SDimitris Papastamos */ 26676a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B3_C_MASK 0xFFFF /* AIF1DAC2_EQ_B3_C - [15:0] */ 26686a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B3_C_SHIFT 0 /* AIF1DAC2_EQ_B3_C - [15:0] */ 26696a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B3_C_WIDTH 16 /* AIF1DAC2_EQ_B3_C - [15:0] */ 26706a504a75SDimitris Papastamos 26716a504a75SDimitris Papastamos /* 26726a504a75SDimitris Papastamos * R1196 (0x4AC) - AIF1 DAC2 EQ Band 3 PG 26736a504a75SDimitris Papastamos */ 26746a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B3_PG_MASK 0xFFFF /* AIF1DAC2_EQ_B3_PG - [15:0] */ 26756a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B3_PG_SHIFT 0 /* AIF1DAC2_EQ_B3_PG - [15:0] */ 26766a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B3_PG_WIDTH 16 /* AIF1DAC2_EQ_B3_PG - [15:0] */ 26776a504a75SDimitris Papastamos 26786a504a75SDimitris Papastamos /* 26796a504a75SDimitris Papastamos * R1197 (0x4AD) - AIF1 DAC2 EQ Band 4 A 26806a504a75SDimitris Papastamos */ 26816a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B4_A_MASK 0xFFFF /* AIF1DAC2_EQ_B4_A - [15:0] */ 26826a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B4_A_SHIFT 0 /* AIF1DAC2_EQ_B4_A - [15:0] */ 26836a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B4_A_WIDTH 16 /* AIF1DAC2_EQ_B4_A - [15:0] */ 26846a504a75SDimitris Papastamos 26856a504a75SDimitris Papastamos /* 26866a504a75SDimitris Papastamos * R1198 (0x4AE) - AIF1 DAC2 EQ Band 4 B 26876a504a75SDimitris Papastamos */ 26886a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B4_B_MASK 0xFFFF /* AIF1DAC2_EQ_B4_B - [15:0] */ 26896a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B4_B_SHIFT 0 /* AIF1DAC2_EQ_B4_B - [15:0] */ 26906a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B4_B_WIDTH 16 /* AIF1DAC2_EQ_B4_B - [15:0] */ 26916a504a75SDimitris Papastamos 26926a504a75SDimitris Papastamos /* 26936a504a75SDimitris Papastamos * R1199 (0x4AF) - AIF1 DAC2 EQ Band 4 C 26946a504a75SDimitris Papastamos */ 26956a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B4_C_MASK 0xFFFF /* AIF1DAC2_EQ_B4_C - [15:0] */ 26966a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B4_C_SHIFT 0 /* AIF1DAC2_EQ_B4_C - [15:0] */ 26976a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B4_C_WIDTH 16 /* AIF1DAC2_EQ_B4_C - [15:0] */ 26986a504a75SDimitris Papastamos 26996a504a75SDimitris Papastamos /* 27006a504a75SDimitris Papastamos * R1200 (0x4B0) - AIF1 DAC2 EQ Band 4 PG 27016a504a75SDimitris Papastamos */ 27026a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B4_PG_MASK 0xFFFF /* AIF1DAC2_EQ_B4_PG - [15:0] */ 27036a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B4_PG_SHIFT 0 /* AIF1DAC2_EQ_B4_PG - [15:0] */ 27046a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B4_PG_WIDTH 16 /* AIF1DAC2_EQ_B4_PG - [15:0] */ 27056a504a75SDimitris Papastamos 27066a504a75SDimitris Papastamos /* 27076a504a75SDimitris Papastamos * R1201 (0x4B1) - AIF1 DAC2 EQ Band 5 A 27086a504a75SDimitris Papastamos */ 27096a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B5_A_MASK 0xFFFF /* AIF1DAC2_EQ_B5_A - [15:0] */ 27106a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B5_A_SHIFT 0 /* AIF1DAC2_EQ_B5_A - [15:0] */ 27116a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B5_A_WIDTH 16 /* AIF1DAC2_EQ_B5_A - [15:0] */ 27126a504a75SDimitris Papastamos 27136a504a75SDimitris Papastamos /* 27146a504a75SDimitris Papastamos * R1202 (0x4B2) - AIF1 DAC2 EQ Band 5 B 27156a504a75SDimitris Papastamos */ 27166a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B5_B_MASK 0xFFFF /* AIF1DAC2_EQ_B5_B - [15:0] */ 27176a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B5_B_SHIFT 0 /* AIF1DAC2_EQ_B5_B - [15:0] */ 27186a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B5_B_WIDTH 16 /* AIF1DAC2_EQ_B5_B - [15:0] */ 27196a504a75SDimitris Papastamos 27206a504a75SDimitris Papastamos /* 27216a504a75SDimitris Papastamos * R1203 (0x4B3) - AIF1 DAC2 EQ Band 5 PG 27226a504a75SDimitris Papastamos */ 27236a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B5_PG_MASK 0xFFFF /* AIF1DAC2_EQ_B5_PG - [15:0] */ 27246a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B5_PG_SHIFT 0 /* AIF1DAC2_EQ_B5_PG - [15:0] */ 27256a504a75SDimitris Papastamos #define WM8995_AIF1DAC2_EQ_B5_PG_WIDTH 16 /* AIF1DAC2_EQ_B5_PG - [15:0] */ 27266a504a75SDimitris Papastamos 27276a504a75SDimitris Papastamos /* 27286a504a75SDimitris Papastamos * R1280 (0x500) - AIF2 ADC Left Volume 27296a504a75SDimitris Papastamos */ 27306a504a75SDimitris Papastamos #define WM8995_AIF2ADC_VU 0x0100 /* AIF2ADC_VU */ 27316a504a75SDimitris Papastamos #define WM8995_AIF2ADC_VU_MASK 0x0100 /* AIF2ADC_VU */ 27326a504a75SDimitris Papastamos #define WM8995_AIF2ADC_VU_SHIFT 8 /* AIF2ADC_VU */ 27336a504a75SDimitris Papastamos #define WM8995_AIF2ADC_VU_WIDTH 1 /* AIF2ADC_VU */ 27346a504a75SDimitris Papastamos #define WM8995_AIF2ADCL_VOL_MASK 0x00FF /* AIF2ADCL_VOL - [7:0] */ 27356a504a75SDimitris Papastamos #define WM8995_AIF2ADCL_VOL_SHIFT 0 /* AIF2ADCL_VOL - [7:0] */ 27366a504a75SDimitris Papastamos #define WM8995_AIF2ADCL_VOL_WIDTH 8 /* AIF2ADCL_VOL - [7:0] */ 27376a504a75SDimitris Papastamos 27386a504a75SDimitris Papastamos /* 27396a504a75SDimitris Papastamos * R1281 (0x501) - AIF2 ADC Right Volume 27406a504a75SDimitris Papastamos */ 27416a504a75SDimitris Papastamos #define WM8995_AIF2ADC_VU 0x0100 /* AIF2ADC_VU */ 27426a504a75SDimitris Papastamos #define WM8995_AIF2ADC_VU_MASK 0x0100 /* AIF2ADC_VU */ 27436a504a75SDimitris Papastamos #define WM8995_AIF2ADC_VU_SHIFT 8 /* AIF2ADC_VU */ 27446a504a75SDimitris Papastamos #define WM8995_AIF2ADC_VU_WIDTH 1 /* AIF2ADC_VU */ 27456a504a75SDimitris Papastamos #define WM8995_AIF2ADCR_VOL_MASK 0x00FF /* AIF2ADCR_VOL - [7:0] */ 27466a504a75SDimitris Papastamos #define WM8995_AIF2ADCR_VOL_SHIFT 0 /* AIF2ADCR_VOL - [7:0] */ 27476a504a75SDimitris Papastamos #define WM8995_AIF2ADCR_VOL_WIDTH 8 /* AIF2ADCR_VOL - [7:0] */ 27486a504a75SDimitris Papastamos 27496a504a75SDimitris Papastamos /* 27506a504a75SDimitris Papastamos * R1282 (0x502) - AIF2 DAC Left Volume 27516a504a75SDimitris Papastamos */ 27526a504a75SDimitris Papastamos #define WM8995_AIF2DAC_VU 0x0100 /* AIF2DAC_VU */ 27536a504a75SDimitris Papastamos #define WM8995_AIF2DAC_VU_MASK 0x0100 /* AIF2DAC_VU */ 27546a504a75SDimitris Papastamos #define WM8995_AIF2DAC_VU_SHIFT 8 /* AIF2DAC_VU */ 27556a504a75SDimitris Papastamos #define WM8995_AIF2DAC_VU_WIDTH 1 /* AIF2DAC_VU */ 27566a504a75SDimitris Papastamos #define WM8995_AIF2DACL_VOL_MASK 0x00FF /* AIF2DACL_VOL - [7:0] */ 27576a504a75SDimitris Papastamos #define WM8995_AIF2DACL_VOL_SHIFT 0 /* AIF2DACL_VOL - [7:0] */ 27586a504a75SDimitris Papastamos #define WM8995_AIF2DACL_VOL_WIDTH 8 /* AIF2DACL_VOL - [7:0] */ 27596a504a75SDimitris Papastamos 27606a504a75SDimitris Papastamos /* 27616a504a75SDimitris Papastamos * R1283 (0x503) - AIF2 DAC Right Volume 27626a504a75SDimitris Papastamos */ 27636a504a75SDimitris Papastamos #define WM8995_AIF2DAC_VU 0x0100 /* AIF2DAC_VU */ 27646a504a75SDimitris Papastamos #define WM8995_AIF2DAC_VU_MASK 0x0100 /* AIF2DAC_VU */ 27656a504a75SDimitris Papastamos #define WM8995_AIF2DAC_VU_SHIFT 8 /* AIF2DAC_VU */ 27666a504a75SDimitris Papastamos #define WM8995_AIF2DAC_VU_WIDTH 1 /* AIF2DAC_VU */ 27676a504a75SDimitris Papastamos #define WM8995_AIF2DACR_VOL_MASK 0x00FF /* AIF2DACR_VOL - [7:0] */ 27686a504a75SDimitris Papastamos #define WM8995_AIF2DACR_VOL_SHIFT 0 /* AIF2DACR_VOL - [7:0] */ 27696a504a75SDimitris Papastamos #define WM8995_AIF2DACR_VOL_WIDTH 8 /* AIF2DACR_VOL - [7:0] */ 27706a504a75SDimitris Papastamos 27716a504a75SDimitris Papastamos /* 27726a504a75SDimitris Papastamos * R1296 (0x510) - AIF2 ADC Filters 27736a504a75SDimitris Papastamos */ 27746a504a75SDimitris Papastamos #define WM8995_AIF2ADC_4FS 0x8000 /* AIF2ADC_4FS */ 27756a504a75SDimitris Papastamos #define WM8995_AIF2ADC_4FS_MASK 0x8000 /* AIF2ADC_4FS */ 27766a504a75SDimitris Papastamos #define WM8995_AIF2ADC_4FS_SHIFT 15 /* AIF2ADC_4FS */ 27776a504a75SDimitris Papastamos #define WM8995_AIF2ADC_4FS_WIDTH 1 /* AIF2ADC_4FS */ 27786a504a75SDimitris Papastamos #define WM8995_AIF2ADCL_HPF 0x1000 /* AIF2ADCL_HPF */ 27796a504a75SDimitris Papastamos #define WM8995_AIF2ADCL_HPF_MASK 0x1000 /* AIF2ADCL_HPF */ 27806a504a75SDimitris Papastamos #define WM8995_AIF2ADCL_HPF_SHIFT 12 /* AIF2ADCL_HPF */ 27816a504a75SDimitris Papastamos #define WM8995_AIF2ADCL_HPF_WIDTH 1 /* AIF2ADCL_HPF */ 27826a504a75SDimitris Papastamos #define WM8995_AIF2ADCR_HPF 0x0800 /* AIF2ADCR_HPF */ 27836a504a75SDimitris Papastamos #define WM8995_AIF2ADCR_HPF_MASK 0x0800 /* AIF2ADCR_HPF */ 27846a504a75SDimitris Papastamos #define WM8995_AIF2ADCR_HPF_SHIFT 11 /* AIF2ADCR_HPF */ 27856a504a75SDimitris Papastamos #define WM8995_AIF2ADCR_HPF_WIDTH 1 /* AIF2ADCR_HPF */ 27866a504a75SDimitris Papastamos #define WM8995_AIF2ADC_HPF_MODE 0x0008 /* AIF2ADC_HPF_MODE */ 27876a504a75SDimitris Papastamos #define WM8995_AIF2ADC_HPF_MODE_MASK 0x0008 /* AIF2ADC_HPF_MODE */ 27886a504a75SDimitris Papastamos #define WM8995_AIF2ADC_HPF_MODE_SHIFT 3 /* AIF2ADC_HPF_MODE */ 27896a504a75SDimitris Papastamos #define WM8995_AIF2ADC_HPF_MODE_WIDTH 1 /* AIF2ADC_HPF_MODE */ 27906a504a75SDimitris Papastamos #define WM8995_AIF2ADC_HPF_CUT_MASK 0x0007 /* AIF2ADC_HPF_CUT - [2:0] */ 27916a504a75SDimitris Papastamos #define WM8995_AIF2ADC_HPF_CUT_SHIFT 0 /* AIF2ADC_HPF_CUT - [2:0] */ 27926a504a75SDimitris Papastamos #define WM8995_AIF2ADC_HPF_CUT_WIDTH 3 /* AIF2ADC_HPF_CUT - [2:0] */ 27936a504a75SDimitris Papastamos 27946a504a75SDimitris Papastamos /* 27956a504a75SDimitris Papastamos * R1312 (0x520) - AIF2 DAC Filters (1) 27966a504a75SDimitris Papastamos */ 27976a504a75SDimitris Papastamos #define WM8995_AIF2DAC_MUTE 0x0200 /* AIF2DAC_MUTE */ 27986a504a75SDimitris Papastamos #define WM8995_AIF2DAC_MUTE_MASK 0x0200 /* AIF2DAC_MUTE */ 27996a504a75SDimitris Papastamos #define WM8995_AIF2DAC_MUTE_SHIFT 9 /* AIF2DAC_MUTE */ 28006a504a75SDimitris Papastamos #define WM8995_AIF2DAC_MUTE_WIDTH 1 /* AIF2DAC_MUTE */ 28016a504a75SDimitris Papastamos #define WM8995_AIF2DAC_MONO 0x0080 /* AIF2DAC_MONO */ 28026a504a75SDimitris Papastamos #define WM8995_AIF2DAC_MONO_MASK 0x0080 /* AIF2DAC_MONO */ 28036a504a75SDimitris Papastamos #define WM8995_AIF2DAC_MONO_SHIFT 7 /* AIF2DAC_MONO */ 28046a504a75SDimitris Papastamos #define WM8995_AIF2DAC_MONO_WIDTH 1 /* AIF2DAC_MONO */ 28056a504a75SDimitris Papastamos #define WM8995_AIF2DAC_MUTERATE 0x0020 /* AIF2DAC_MUTERATE */ 28066a504a75SDimitris Papastamos #define WM8995_AIF2DAC_MUTERATE_MASK 0x0020 /* AIF2DAC_MUTERATE */ 28076a504a75SDimitris Papastamos #define WM8995_AIF2DAC_MUTERATE_SHIFT 5 /* AIF2DAC_MUTERATE */ 28086a504a75SDimitris Papastamos #define WM8995_AIF2DAC_MUTERATE_WIDTH 1 /* AIF2DAC_MUTERATE */ 28096a504a75SDimitris Papastamos #define WM8995_AIF2DAC_UNMUTE_RAMP 0x0010 /* AIF2DAC_UNMUTE_RAMP */ 28106a504a75SDimitris Papastamos #define WM8995_AIF2DAC_UNMUTE_RAMP_MASK 0x0010 /* AIF2DAC_UNMUTE_RAMP */ 28116a504a75SDimitris Papastamos #define WM8995_AIF2DAC_UNMUTE_RAMP_SHIFT 4 /* AIF2DAC_UNMUTE_RAMP */ 28126a504a75SDimitris Papastamos #define WM8995_AIF2DAC_UNMUTE_RAMP_WIDTH 1 /* AIF2DAC_UNMUTE_RAMP */ 28136a504a75SDimitris Papastamos #define WM8995_AIF2DAC_DEEMP_MASK 0x0006 /* AIF2DAC_DEEMP - [2:1] */ 28146a504a75SDimitris Papastamos #define WM8995_AIF2DAC_DEEMP_SHIFT 1 /* AIF2DAC_DEEMP - [2:1] */ 28156a504a75SDimitris Papastamos #define WM8995_AIF2DAC_DEEMP_WIDTH 2 /* AIF2DAC_DEEMP - [2:1] */ 28166a504a75SDimitris Papastamos 28176a504a75SDimitris Papastamos /* 28186a504a75SDimitris Papastamos * R1313 (0x521) - AIF2 DAC Filters (2) 28196a504a75SDimitris Papastamos */ 28206a504a75SDimitris Papastamos #define WM8995_AIF2DAC_3D_GAIN_MASK 0x3E00 /* AIF2DAC_3D_GAIN - [13:9] */ 28216a504a75SDimitris Papastamos #define WM8995_AIF2DAC_3D_GAIN_SHIFT 9 /* AIF2DAC_3D_GAIN - [13:9] */ 28226a504a75SDimitris Papastamos #define WM8995_AIF2DAC_3D_GAIN_WIDTH 5 /* AIF2DAC_3D_GAIN - [13:9] */ 28236a504a75SDimitris Papastamos #define WM8995_AIF2DAC_3D_ENA 0x0100 /* AIF2DAC_3D_ENA */ 28246a504a75SDimitris Papastamos #define WM8995_AIF2DAC_3D_ENA_MASK 0x0100 /* AIF2DAC_3D_ENA */ 28256a504a75SDimitris Papastamos #define WM8995_AIF2DAC_3D_ENA_SHIFT 8 /* AIF2DAC_3D_ENA */ 28266a504a75SDimitris Papastamos #define WM8995_AIF2DAC_3D_ENA_WIDTH 1 /* AIF2DAC_3D_ENA */ 28276a504a75SDimitris Papastamos 28286a504a75SDimitris Papastamos /* 28296a504a75SDimitris Papastamos * R1344 (0x540) - AIF2 DRC (1) 28306a504a75SDimitris Papastamos */ 28316a504a75SDimitris Papastamos #define WM8995_AIF2DRC_SIG_DET_RMS_MASK 0xF800 /* AIF2DRC_SIG_DET_RMS - [15:11] */ 28326a504a75SDimitris Papastamos #define WM8995_AIF2DRC_SIG_DET_RMS_SHIFT 11 /* AIF2DRC_SIG_DET_RMS - [15:11] */ 28336a504a75SDimitris Papastamos #define WM8995_AIF2DRC_SIG_DET_RMS_WIDTH 5 /* AIF2DRC_SIG_DET_RMS - [15:11] */ 28346a504a75SDimitris Papastamos #define WM8995_AIF2DRC_SIG_DET_PK_MASK 0x0600 /* AIF2DRC_SIG_DET_PK - [10:9] */ 28356a504a75SDimitris Papastamos #define WM8995_AIF2DRC_SIG_DET_PK_SHIFT 9 /* AIF2DRC_SIG_DET_PK - [10:9] */ 28366a504a75SDimitris Papastamos #define WM8995_AIF2DRC_SIG_DET_PK_WIDTH 2 /* AIF2DRC_SIG_DET_PK - [10:9] */ 28376a504a75SDimitris Papastamos #define WM8995_AIF2DRC_NG_ENA 0x0100 /* AIF2DRC_NG_ENA */ 28386a504a75SDimitris Papastamos #define WM8995_AIF2DRC_NG_ENA_MASK 0x0100 /* AIF2DRC_NG_ENA */ 28396a504a75SDimitris Papastamos #define WM8995_AIF2DRC_NG_ENA_SHIFT 8 /* AIF2DRC_NG_ENA */ 28406a504a75SDimitris Papastamos #define WM8995_AIF2DRC_NG_ENA_WIDTH 1 /* AIF2DRC_NG_ENA */ 28416a504a75SDimitris Papastamos #define WM8995_AIF2DRC_SIG_DET_MODE 0x0080 /* AIF2DRC_SIG_DET_MODE */ 28426a504a75SDimitris Papastamos #define WM8995_AIF2DRC_SIG_DET_MODE_MASK 0x0080 /* AIF2DRC_SIG_DET_MODE */ 28436a504a75SDimitris Papastamos #define WM8995_AIF2DRC_SIG_DET_MODE_SHIFT 7 /* AIF2DRC_SIG_DET_MODE */ 28446a504a75SDimitris Papastamos #define WM8995_AIF2DRC_SIG_DET_MODE_WIDTH 1 /* AIF2DRC_SIG_DET_MODE */ 28456a504a75SDimitris Papastamos #define WM8995_AIF2DRC_SIG_DET 0x0040 /* AIF2DRC_SIG_DET */ 28466a504a75SDimitris Papastamos #define WM8995_AIF2DRC_SIG_DET_MASK 0x0040 /* AIF2DRC_SIG_DET */ 28476a504a75SDimitris Papastamos #define WM8995_AIF2DRC_SIG_DET_SHIFT 6 /* AIF2DRC_SIG_DET */ 28486a504a75SDimitris Papastamos #define WM8995_AIF2DRC_SIG_DET_WIDTH 1 /* AIF2DRC_SIG_DET */ 28496a504a75SDimitris Papastamos #define WM8995_AIF2DRC_KNEE2_OP_ENA 0x0020 /* AIF2DRC_KNEE2_OP_ENA */ 28506a504a75SDimitris Papastamos #define WM8995_AIF2DRC_KNEE2_OP_ENA_MASK 0x0020 /* AIF2DRC_KNEE2_OP_ENA */ 28516a504a75SDimitris Papastamos #define WM8995_AIF2DRC_KNEE2_OP_ENA_SHIFT 5 /* AIF2DRC_KNEE2_OP_ENA */ 28526a504a75SDimitris Papastamos #define WM8995_AIF2DRC_KNEE2_OP_ENA_WIDTH 1 /* AIF2DRC_KNEE2_OP_ENA */ 28536a504a75SDimitris Papastamos #define WM8995_AIF2DRC_QR 0x0010 /* AIF2DRC_QR */ 28546a504a75SDimitris Papastamos #define WM8995_AIF2DRC_QR_MASK 0x0010 /* AIF2DRC_QR */ 28556a504a75SDimitris Papastamos #define WM8995_AIF2DRC_QR_SHIFT 4 /* AIF2DRC_QR */ 28566a504a75SDimitris Papastamos #define WM8995_AIF2DRC_QR_WIDTH 1 /* AIF2DRC_QR */ 28576a504a75SDimitris Papastamos #define WM8995_AIF2DRC_ANTICLIP 0x0008 /* AIF2DRC_ANTICLIP */ 28586a504a75SDimitris Papastamos #define WM8995_AIF2DRC_ANTICLIP_MASK 0x0008 /* AIF2DRC_ANTICLIP */ 28596a504a75SDimitris Papastamos #define WM8995_AIF2DRC_ANTICLIP_SHIFT 3 /* AIF2DRC_ANTICLIP */ 28606a504a75SDimitris Papastamos #define WM8995_AIF2DRC_ANTICLIP_WIDTH 1 /* AIF2DRC_ANTICLIP */ 28616a504a75SDimitris Papastamos #define WM8995_AIF2DAC_DRC_ENA 0x0004 /* AIF2DAC_DRC_ENA */ 28626a504a75SDimitris Papastamos #define WM8995_AIF2DAC_DRC_ENA_MASK 0x0004 /* AIF2DAC_DRC_ENA */ 28636a504a75SDimitris Papastamos #define WM8995_AIF2DAC_DRC_ENA_SHIFT 2 /* AIF2DAC_DRC_ENA */ 28646a504a75SDimitris Papastamos #define WM8995_AIF2DAC_DRC_ENA_WIDTH 1 /* AIF2DAC_DRC_ENA */ 28656a504a75SDimitris Papastamos #define WM8995_AIF2ADCL_DRC_ENA 0x0002 /* AIF2ADCL_DRC_ENA */ 28666a504a75SDimitris Papastamos #define WM8995_AIF2ADCL_DRC_ENA_MASK 0x0002 /* AIF2ADCL_DRC_ENA */ 28676a504a75SDimitris Papastamos #define WM8995_AIF2ADCL_DRC_ENA_SHIFT 1 /* AIF2ADCL_DRC_ENA */ 28686a504a75SDimitris Papastamos #define WM8995_AIF2ADCL_DRC_ENA_WIDTH 1 /* AIF2ADCL_DRC_ENA */ 28696a504a75SDimitris Papastamos #define WM8995_AIF2ADCR_DRC_ENA 0x0001 /* AIF2ADCR_DRC_ENA */ 28706a504a75SDimitris Papastamos #define WM8995_AIF2ADCR_DRC_ENA_MASK 0x0001 /* AIF2ADCR_DRC_ENA */ 28716a504a75SDimitris Papastamos #define WM8995_AIF2ADCR_DRC_ENA_SHIFT 0 /* AIF2ADCR_DRC_ENA */ 28726a504a75SDimitris Papastamos #define WM8995_AIF2ADCR_DRC_ENA_WIDTH 1 /* AIF2ADCR_DRC_ENA */ 28736a504a75SDimitris Papastamos 28746a504a75SDimitris Papastamos /* 28756a504a75SDimitris Papastamos * R1345 (0x541) - AIF2 DRC (2) 28766a504a75SDimitris Papastamos */ 28776a504a75SDimitris Papastamos #define WM8995_AIF2DRC_ATK_MASK 0x1E00 /* AIF2DRC_ATK - [12:9] */ 28786a504a75SDimitris Papastamos #define WM8995_AIF2DRC_ATK_SHIFT 9 /* AIF2DRC_ATK - [12:9] */ 28796a504a75SDimitris Papastamos #define WM8995_AIF2DRC_ATK_WIDTH 4 /* AIF2DRC_ATK - [12:9] */ 28806a504a75SDimitris Papastamos #define WM8995_AIF2DRC_DCY_MASK 0x01E0 /* AIF2DRC_DCY - [8:5] */ 28816a504a75SDimitris Papastamos #define WM8995_AIF2DRC_DCY_SHIFT 5 /* AIF2DRC_DCY - [8:5] */ 28826a504a75SDimitris Papastamos #define WM8995_AIF2DRC_DCY_WIDTH 4 /* AIF2DRC_DCY - [8:5] */ 28836a504a75SDimitris Papastamos #define WM8995_AIF2DRC_MINGAIN_MASK 0x001C /* AIF2DRC_MINGAIN - [4:2] */ 28846a504a75SDimitris Papastamos #define WM8995_AIF2DRC_MINGAIN_SHIFT 2 /* AIF2DRC_MINGAIN - [4:2] */ 28856a504a75SDimitris Papastamos #define WM8995_AIF2DRC_MINGAIN_WIDTH 3 /* AIF2DRC_MINGAIN - [4:2] */ 28866a504a75SDimitris Papastamos #define WM8995_AIF2DRC_MAXGAIN_MASK 0x0003 /* AIF2DRC_MAXGAIN - [1:0] */ 28876a504a75SDimitris Papastamos #define WM8995_AIF2DRC_MAXGAIN_SHIFT 0 /* AIF2DRC_MAXGAIN - [1:0] */ 28886a504a75SDimitris Papastamos #define WM8995_AIF2DRC_MAXGAIN_WIDTH 2 /* AIF2DRC_MAXGAIN - [1:0] */ 28896a504a75SDimitris Papastamos 28906a504a75SDimitris Papastamos /* 28916a504a75SDimitris Papastamos * R1346 (0x542) - AIF2 DRC (3) 28926a504a75SDimitris Papastamos */ 28936a504a75SDimitris Papastamos #define WM8995_AIF2DRC_NG_MINGAIN_MASK 0xF000 /* AIF2DRC_NG_MINGAIN - [15:12] */ 28946a504a75SDimitris Papastamos #define WM8995_AIF2DRC_NG_MINGAIN_SHIFT 12 /* AIF2DRC_NG_MINGAIN - [15:12] */ 28956a504a75SDimitris Papastamos #define WM8995_AIF2DRC_NG_MINGAIN_WIDTH 4 /* AIF2DRC_NG_MINGAIN - [15:12] */ 28966a504a75SDimitris Papastamos #define WM8995_AIF2DRC_NG_EXP_MASK 0x0C00 /* AIF2DRC_NG_EXP - [11:10] */ 28976a504a75SDimitris Papastamos #define WM8995_AIF2DRC_NG_EXP_SHIFT 10 /* AIF2DRC_NG_EXP - [11:10] */ 28986a504a75SDimitris Papastamos #define WM8995_AIF2DRC_NG_EXP_WIDTH 2 /* AIF2DRC_NG_EXP - [11:10] */ 28996a504a75SDimitris Papastamos #define WM8995_AIF2DRC_QR_THR_MASK 0x0300 /* AIF2DRC_QR_THR - [9:8] */ 29006a504a75SDimitris Papastamos #define WM8995_AIF2DRC_QR_THR_SHIFT 8 /* AIF2DRC_QR_THR - [9:8] */ 29016a504a75SDimitris Papastamos #define WM8995_AIF2DRC_QR_THR_WIDTH 2 /* AIF2DRC_QR_THR - [9:8] */ 29026a504a75SDimitris Papastamos #define WM8995_AIF2DRC_QR_DCY_MASK 0x00C0 /* AIF2DRC_QR_DCY - [7:6] */ 29036a504a75SDimitris Papastamos #define WM8995_AIF2DRC_QR_DCY_SHIFT 6 /* AIF2DRC_QR_DCY - [7:6] */ 29046a504a75SDimitris Papastamos #define WM8995_AIF2DRC_QR_DCY_WIDTH 2 /* AIF2DRC_QR_DCY - [7:6] */ 29056a504a75SDimitris Papastamos #define WM8995_AIF2DRC_HI_COMP_MASK 0x0038 /* AIF2DRC_HI_COMP - [5:3] */ 29066a504a75SDimitris Papastamos #define WM8995_AIF2DRC_HI_COMP_SHIFT 3 /* AIF2DRC_HI_COMP - [5:3] */ 29076a504a75SDimitris Papastamos #define WM8995_AIF2DRC_HI_COMP_WIDTH 3 /* AIF2DRC_HI_COMP - [5:3] */ 29086a504a75SDimitris Papastamos #define WM8995_AIF2DRC_LO_COMP_MASK 0x0007 /* AIF2DRC_LO_COMP - [2:0] */ 29096a504a75SDimitris Papastamos #define WM8995_AIF2DRC_LO_COMP_SHIFT 0 /* AIF2DRC_LO_COMP - [2:0] */ 29106a504a75SDimitris Papastamos #define WM8995_AIF2DRC_LO_COMP_WIDTH 3 /* AIF2DRC_LO_COMP - [2:0] */ 29116a504a75SDimitris Papastamos 29126a504a75SDimitris Papastamos /* 29136a504a75SDimitris Papastamos * R1347 (0x543) - AIF2 DRC (4) 29146a504a75SDimitris Papastamos */ 29156a504a75SDimitris Papastamos #define WM8995_AIF2DRC_KNEE_IP_MASK 0x07E0 /* AIF2DRC_KNEE_IP - [10:5] */ 29166a504a75SDimitris Papastamos #define WM8995_AIF2DRC_KNEE_IP_SHIFT 5 /* AIF2DRC_KNEE_IP - [10:5] */ 29176a504a75SDimitris Papastamos #define WM8995_AIF2DRC_KNEE_IP_WIDTH 6 /* AIF2DRC_KNEE_IP - [10:5] */ 29186a504a75SDimitris Papastamos #define WM8995_AIF2DRC_KNEE_OP_MASK 0x001F /* AIF2DRC_KNEE_OP - [4:0] */ 29196a504a75SDimitris Papastamos #define WM8995_AIF2DRC_KNEE_OP_SHIFT 0 /* AIF2DRC_KNEE_OP - [4:0] */ 29206a504a75SDimitris Papastamos #define WM8995_AIF2DRC_KNEE_OP_WIDTH 5 /* AIF2DRC_KNEE_OP - [4:0] */ 29216a504a75SDimitris Papastamos 29226a504a75SDimitris Papastamos /* 29236a504a75SDimitris Papastamos * R1348 (0x544) - AIF2 DRC (5) 29246a504a75SDimitris Papastamos */ 29256a504a75SDimitris Papastamos #define WM8995_AIF2DRC_KNEE2_IP_MASK 0x03E0 /* AIF2DRC_KNEE2_IP - [9:5] */ 29266a504a75SDimitris Papastamos #define WM8995_AIF2DRC_KNEE2_IP_SHIFT 5 /* AIF2DRC_KNEE2_IP - [9:5] */ 29276a504a75SDimitris Papastamos #define WM8995_AIF2DRC_KNEE2_IP_WIDTH 5 /* AIF2DRC_KNEE2_IP - [9:5] */ 29286a504a75SDimitris Papastamos #define WM8995_AIF2DRC_KNEE2_OP_MASK 0x001F /* AIF2DRC_KNEE2_OP - [4:0] */ 29296a504a75SDimitris Papastamos #define WM8995_AIF2DRC_KNEE2_OP_SHIFT 0 /* AIF2DRC_KNEE2_OP - [4:0] */ 29306a504a75SDimitris Papastamos #define WM8995_AIF2DRC_KNEE2_OP_WIDTH 5 /* AIF2DRC_KNEE2_OP - [4:0] */ 29316a504a75SDimitris Papastamos 29326a504a75SDimitris Papastamos /* 29336a504a75SDimitris Papastamos * R1408 (0x580) - AIF2 EQ Gains (1) 29346a504a75SDimitris Papastamos */ 29356a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B1_GAIN_MASK 0xF800 /* AIF2DAC_EQ_B1_GAIN - [15:11] */ 29366a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B1_GAIN_SHIFT 11 /* AIF2DAC_EQ_B1_GAIN - [15:11] */ 29376a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B1_GAIN_WIDTH 5 /* AIF2DAC_EQ_B1_GAIN - [15:11] */ 29386a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B2_GAIN_MASK 0x07C0 /* AIF2DAC_EQ_B2_GAIN - [10:6] */ 29396a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B2_GAIN_SHIFT 6 /* AIF2DAC_EQ_B2_GAIN - [10:6] */ 29406a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B2_GAIN_WIDTH 5 /* AIF2DAC_EQ_B2_GAIN - [10:6] */ 29416a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B3_GAIN_MASK 0x003E /* AIF2DAC_EQ_B3_GAIN - [5:1] */ 29426a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B3_GAIN_SHIFT 1 /* AIF2DAC_EQ_B3_GAIN - [5:1] */ 29436a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B3_GAIN_WIDTH 5 /* AIF2DAC_EQ_B3_GAIN - [5:1] */ 29446a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_ENA 0x0001 /* AIF2DAC_EQ_ENA */ 29456a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_ENA_MASK 0x0001 /* AIF2DAC_EQ_ENA */ 29466a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_ENA_SHIFT 0 /* AIF2DAC_EQ_ENA */ 29476a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_ENA_WIDTH 1 /* AIF2DAC_EQ_ENA */ 29486a504a75SDimitris Papastamos 29496a504a75SDimitris Papastamos /* 29506a504a75SDimitris Papastamos * R1409 (0x581) - AIF2 EQ Gains (2) 29516a504a75SDimitris Papastamos */ 29526a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B4_GAIN_MASK 0xF800 /* AIF2DAC_EQ_B4_GAIN - [15:11] */ 29536a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B4_GAIN_SHIFT 11 /* AIF2DAC_EQ_B4_GAIN - [15:11] */ 29546a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B4_GAIN_WIDTH 5 /* AIF2DAC_EQ_B4_GAIN - [15:11] */ 29556a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B5_GAIN_MASK 0x07C0 /* AIF2DAC_EQ_B5_GAIN - [10:6] */ 29566a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B5_GAIN_SHIFT 6 /* AIF2DAC_EQ_B5_GAIN - [10:6] */ 29576a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B5_GAIN_WIDTH 5 /* AIF2DAC_EQ_B5_GAIN - [10:6] */ 29586a504a75SDimitris Papastamos 29596a504a75SDimitris Papastamos /* 29606a504a75SDimitris Papastamos * R1410 (0x582) - AIF2 EQ Band 1 A 29616a504a75SDimitris Papastamos */ 29626a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B1_A_MASK 0xFFFF /* AIF2DAC_EQ_B1_A - [15:0] */ 29636a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B1_A_SHIFT 0 /* AIF2DAC_EQ_B1_A - [15:0] */ 29646a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B1_A_WIDTH 16 /* AIF2DAC_EQ_B1_A - [15:0] */ 29656a504a75SDimitris Papastamos 29666a504a75SDimitris Papastamos /* 29676a504a75SDimitris Papastamos * R1411 (0x583) - AIF2 EQ Band 1 B 29686a504a75SDimitris Papastamos */ 29696a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B1_B_MASK 0xFFFF /* AIF2DAC_EQ_B1_B - [15:0] */ 29706a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B1_B_SHIFT 0 /* AIF2DAC_EQ_B1_B - [15:0] */ 29716a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B1_B_WIDTH 16 /* AIF2DAC_EQ_B1_B - [15:0] */ 29726a504a75SDimitris Papastamos 29736a504a75SDimitris Papastamos /* 29746a504a75SDimitris Papastamos * R1412 (0x584) - AIF2 EQ Band 1 PG 29756a504a75SDimitris Papastamos */ 29766a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B1_PG_MASK 0xFFFF /* AIF2DAC_EQ_B1_PG - [15:0] */ 29776a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B1_PG_SHIFT 0 /* AIF2DAC_EQ_B1_PG - [15:0] */ 29786a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B1_PG_WIDTH 16 /* AIF2DAC_EQ_B1_PG - [15:0] */ 29796a504a75SDimitris Papastamos 29806a504a75SDimitris Papastamos /* 29816a504a75SDimitris Papastamos * R1413 (0x585) - AIF2 EQ Band 2 A 29826a504a75SDimitris Papastamos */ 29836a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B2_A_MASK 0xFFFF /* AIF2DAC_EQ_B2_A - [15:0] */ 29846a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B2_A_SHIFT 0 /* AIF2DAC_EQ_B2_A - [15:0] */ 29856a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B2_A_WIDTH 16 /* AIF2DAC_EQ_B2_A - [15:0] */ 29866a504a75SDimitris Papastamos 29876a504a75SDimitris Papastamos /* 29886a504a75SDimitris Papastamos * R1414 (0x586) - AIF2 EQ Band 2 B 29896a504a75SDimitris Papastamos */ 29906a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B2_B_MASK 0xFFFF /* AIF2DAC_EQ_B2_B - [15:0] */ 29916a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B2_B_SHIFT 0 /* AIF2DAC_EQ_B2_B - [15:0] */ 29926a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B2_B_WIDTH 16 /* AIF2DAC_EQ_B2_B - [15:0] */ 29936a504a75SDimitris Papastamos 29946a504a75SDimitris Papastamos /* 29956a504a75SDimitris Papastamos * R1415 (0x587) - AIF2 EQ Band 2 C 29966a504a75SDimitris Papastamos */ 29976a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B2_C_MASK 0xFFFF /* AIF2DAC_EQ_B2_C - [15:0] */ 29986a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B2_C_SHIFT 0 /* AIF2DAC_EQ_B2_C - [15:0] */ 29996a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B2_C_WIDTH 16 /* AIF2DAC_EQ_B2_C - [15:0] */ 30006a504a75SDimitris Papastamos 30016a504a75SDimitris Papastamos /* 30026a504a75SDimitris Papastamos * R1416 (0x588) - AIF2 EQ Band 2 PG 30036a504a75SDimitris Papastamos */ 30046a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B2_PG_MASK 0xFFFF /* AIF2DAC_EQ_B2_PG - [15:0] */ 30056a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B2_PG_SHIFT 0 /* AIF2DAC_EQ_B2_PG - [15:0] */ 30066a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B2_PG_WIDTH 16 /* AIF2DAC_EQ_B2_PG - [15:0] */ 30076a504a75SDimitris Papastamos 30086a504a75SDimitris Papastamos /* 30096a504a75SDimitris Papastamos * R1417 (0x589) - AIF2 EQ Band 3 A 30106a504a75SDimitris Papastamos */ 30116a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B3_A_MASK 0xFFFF /* AIF2DAC_EQ_B3_A - [15:0] */ 30126a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B3_A_SHIFT 0 /* AIF2DAC_EQ_B3_A - [15:0] */ 30136a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B3_A_WIDTH 16 /* AIF2DAC_EQ_B3_A - [15:0] */ 30146a504a75SDimitris Papastamos 30156a504a75SDimitris Papastamos /* 30166a504a75SDimitris Papastamos * R1418 (0x58A) - AIF2 EQ Band 3 B 30176a504a75SDimitris Papastamos */ 30186a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B3_B_MASK 0xFFFF /* AIF2DAC_EQ_B3_B - [15:0] */ 30196a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B3_B_SHIFT 0 /* AIF2DAC_EQ_B3_B - [15:0] */ 30206a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B3_B_WIDTH 16 /* AIF2DAC_EQ_B3_B - [15:0] */ 30216a504a75SDimitris Papastamos 30226a504a75SDimitris Papastamos /* 30236a504a75SDimitris Papastamos * R1419 (0x58B) - AIF2 EQ Band 3 C 30246a504a75SDimitris Papastamos */ 30256a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B3_C_MASK 0xFFFF /* AIF2DAC_EQ_B3_C - [15:0] */ 30266a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B3_C_SHIFT 0 /* AIF2DAC_EQ_B3_C - [15:0] */ 30276a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B3_C_WIDTH 16 /* AIF2DAC_EQ_B3_C - [15:0] */ 30286a504a75SDimitris Papastamos 30296a504a75SDimitris Papastamos /* 30306a504a75SDimitris Papastamos * R1420 (0x58C) - AIF2 EQ Band 3 PG 30316a504a75SDimitris Papastamos */ 30326a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B3_PG_MASK 0xFFFF /* AIF2DAC_EQ_B3_PG - [15:0] */ 30336a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B3_PG_SHIFT 0 /* AIF2DAC_EQ_B3_PG - [15:0] */ 30346a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B3_PG_WIDTH 16 /* AIF2DAC_EQ_B3_PG - [15:0] */ 30356a504a75SDimitris Papastamos 30366a504a75SDimitris Papastamos /* 30376a504a75SDimitris Papastamos * R1421 (0x58D) - AIF2 EQ Band 4 A 30386a504a75SDimitris Papastamos */ 30396a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B4_A_MASK 0xFFFF /* AIF2DAC_EQ_B4_A - [15:0] */ 30406a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B4_A_SHIFT 0 /* AIF2DAC_EQ_B4_A - [15:0] */ 30416a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B4_A_WIDTH 16 /* AIF2DAC_EQ_B4_A - [15:0] */ 30426a504a75SDimitris Papastamos 30436a504a75SDimitris Papastamos /* 30446a504a75SDimitris Papastamos * R1422 (0x58E) - AIF2 EQ Band 4 B 30456a504a75SDimitris Papastamos */ 30466a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B4_B_MASK 0xFFFF /* AIF2DAC_EQ_B4_B - [15:0] */ 30476a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B4_B_SHIFT 0 /* AIF2DAC_EQ_B4_B - [15:0] */ 30486a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B4_B_WIDTH 16 /* AIF2DAC_EQ_B4_B - [15:0] */ 30496a504a75SDimitris Papastamos 30506a504a75SDimitris Papastamos /* 30516a504a75SDimitris Papastamos * R1423 (0x58F) - AIF2 EQ Band 4 C 30526a504a75SDimitris Papastamos */ 30536a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B4_C_MASK 0xFFFF /* AIF2DAC_EQ_B4_C - [15:0] */ 30546a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B4_C_SHIFT 0 /* AIF2DAC_EQ_B4_C - [15:0] */ 30556a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B4_C_WIDTH 16 /* AIF2DAC_EQ_B4_C - [15:0] */ 30566a504a75SDimitris Papastamos 30576a504a75SDimitris Papastamos /* 30586a504a75SDimitris Papastamos * R1424 (0x590) - AIF2 EQ Band 4 PG 30596a504a75SDimitris Papastamos */ 30606a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B4_PG_MASK 0xFFFF /* AIF2DAC_EQ_B4_PG - [15:0] */ 30616a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B4_PG_SHIFT 0 /* AIF2DAC_EQ_B4_PG - [15:0] */ 30626a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B4_PG_WIDTH 16 /* AIF2DAC_EQ_B4_PG - [15:0] */ 30636a504a75SDimitris Papastamos 30646a504a75SDimitris Papastamos /* 30656a504a75SDimitris Papastamos * R1425 (0x591) - AIF2 EQ Band 5 A 30666a504a75SDimitris Papastamos */ 30676a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B5_A_MASK 0xFFFF /* AIF2DAC_EQ_B5_A - [15:0] */ 30686a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B5_A_SHIFT 0 /* AIF2DAC_EQ_B5_A - [15:0] */ 30696a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B5_A_WIDTH 16 /* AIF2DAC_EQ_B5_A - [15:0] */ 30706a504a75SDimitris Papastamos 30716a504a75SDimitris Papastamos /* 30726a504a75SDimitris Papastamos * R1426 (0x592) - AIF2 EQ Band 5 B 30736a504a75SDimitris Papastamos */ 30746a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B5_B_MASK 0xFFFF /* AIF2DAC_EQ_B5_B - [15:0] */ 30756a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B5_B_SHIFT 0 /* AIF2DAC_EQ_B5_B - [15:0] */ 30766a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B5_B_WIDTH 16 /* AIF2DAC_EQ_B5_B - [15:0] */ 30776a504a75SDimitris Papastamos 30786a504a75SDimitris Papastamos /* 30796a504a75SDimitris Papastamos * R1427 (0x593) - AIF2 EQ Band 5 PG 30806a504a75SDimitris Papastamos */ 30816a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B5_PG_MASK 0xFFFF /* AIF2DAC_EQ_B5_PG - [15:0] */ 30826a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B5_PG_SHIFT 0 /* AIF2DAC_EQ_B5_PG - [15:0] */ 30836a504a75SDimitris Papastamos #define WM8995_AIF2DAC_EQ_B5_PG_WIDTH 16 /* AIF2DAC_EQ_B5_PG - [15:0] */ 30846a504a75SDimitris Papastamos 30856a504a75SDimitris Papastamos /* 30866a504a75SDimitris Papastamos * R1536 (0x600) - DAC1 Mixer Volumes 30876a504a75SDimitris Papastamos */ 30886a504a75SDimitris Papastamos #define WM8995_ADCR_DAC1_VOL_MASK 0x03E0 /* ADCR_DAC1_VOL - [9:5] */ 30896a504a75SDimitris Papastamos #define WM8995_ADCR_DAC1_VOL_SHIFT 5 /* ADCR_DAC1_VOL - [9:5] */ 30906a504a75SDimitris Papastamos #define WM8995_ADCR_DAC1_VOL_WIDTH 5 /* ADCR_DAC1_VOL - [9:5] */ 30916a504a75SDimitris Papastamos #define WM8995_ADCL_DAC1_VOL_MASK 0x001F /* ADCL_DAC1_VOL - [4:0] */ 30926a504a75SDimitris Papastamos #define WM8995_ADCL_DAC1_VOL_SHIFT 0 /* ADCL_DAC1_VOL - [4:0] */ 30936a504a75SDimitris Papastamos #define WM8995_ADCL_DAC1_VOL_WIDTH 5 /* ADCL_DAC1_VOL - [4:0] */ 30946a504a75SDimitris Papastamos 30956a504a75SDimitris Papastamos /* 30966a504a75SDimitris Papastamos * R1537 (0x601) - DAC1 Left Mixer Routing 30976a504a75SDimitris Papastamos */ 30986a504a75SDimitris Papastamos #define WM8995_ADCR_TO_DAC1L 0x0020 /* ADCR_TO_DAC1L */ 30996a504a75SDimitris Papastamos #define WM8995_ADCR_TO_DAC1L_MASK 0x0020 /* ADCR_TO_DAC1L */ 31006a504a75SDimitris Papastamos #define WM8995_ADCR_TO_DAC1L_SHIFT 5 /* ADCR_TO_DAC1L */ 31016a504a75SDimitris Papastamos #define WM8995_ADCR_TO_DAC1L_WIDTH 1 /* ADCR_TO_DAC1L */ 31026a504a75SDimitris Papastamos #define WM8995_ADCL_TO_DAC1L 0x0010 /* ADCL_TO_DAC1L */ 31036a504a75SDimitris Papastamos #define WM8995_ADCL_TO_DAC1L_MASK 0x0010 /* ADCL_TO_DAC1L */ 31046a504a75SDimitris Papastamos #define WM8995_ADCL_TO_DAC1L_SHIFT 4 /* ADCL_TO_DAC1L */ 31056a504a75SDimitris Papastamos #define WM8995_ADCL_TO_DAC1L_WIDTH 1 /* ADCL_TO_DAC1L */ 31066a504a75SDimitris Papastamos #define WM8995_AIF2DACL_TO_DAC1L 0x0004 /* AIF2DACL_TO_DAC1L */ 31076a504a75SDimitris Papastamos #define WM8995_AIF2DACL_TO_DAC1L_MASK 0x0004 /* AIF2DACL_TO_DAC1L */ 31086a504a75SDimitris Papastamos #define WM8995_AIF2DACL_TO_DAC1L_SHIFT 2 /* AIF2DACL_TO_DAC1L */ 31096a504a75SDimitris Papastamos #define WM8995_AIF2DACL_TO_DAC1L_WIDTH 1 /* AIF2DACL_TO_DAC1L */ 31106a504a75SDimitris Papastamos #define WM8995_AIF1DAC2L_TO_DAC1L 0x0002 /* AIF1DAC2L_TO_DAC1L */ 31116a504a75SDimitris Papastamos #define WM8995_AIF1DAC2L_TO_DAC1L_MASK 0x0002 /* AIF1DAC2L_TO_DAC1L */ 31126a504a75SDimitris Papastamos #define WM8995_AIF1DAC2L_TO_DAC1L_SHIFT 1 /* AIF1DAC2L_TO_DAC1L */ 31136a504a75SDimitris Papastamos #define WM8995_AIF1DAC2L_TO_DAC1L_WIDTH 1 /* AIF1DAC2L_TO_DAC1L */ 31146a504a75SDimitris Papastamos #define WM8995_AIF1DAC1L_TO_DAC1L 0x0001 /* AIF1DAC1L_TO_DAC1L */ 31156a504a75SDimitris Papastamos #define WM8995_AIF1DAC1L_TO_DAC1L_MASK 0x0001 /* AIF1DAC1L_TO_DAC1L */ 31166a504a75SDimitris Papastamos #define WM8995_AIF1DAC1L_TO_DAC1L_SHIFT 0 /* AIF1DAC1L_TO_DAC1L */ 31176a504a75SDimitris Papastamos #define WM8995_AIF1DAC1L_TO_DAC1L_WIDTH 1 /* AIF1DAC1L_TO_DAC1L */ 31186a504a75SDimitris Papastamos 31196a504a75SDimitris Papastamos /* 31206a504a75SDimitris Papastamos * R1538 (0x602) - DAC1 Right Mixer Routing 31216a504a75SDimitris Papastamos */ 31226a504a75SDimitris Papastamos #define WM8995_ADCR_TO_DAC1R 0x0020 /* ADCR_TO_DAC1R */ 31236a504a75SDimitris Papastamos #define WM8995_ADCR_TO_DAC1R_MASK 0x0020 /* ADCR_TO_DAC1R */ 31246a504a75SDimitris Papastamos #define WM8995_ADCR_TO_DAC1R_SHIFT 5 /* ADCR_TO_DAC1R */ 31256a504a75SDimitris Papastamos #define WM8995_ADCR_TO_DAC1R_WIDTH 1 /* ADCR_TO_DAC1R */ 31266a504a75SDimitris Papastamos #define WM8995_ADCL_TO_DAC1R 0x0010 /* ADCL_TO_DAC1R */ 31276a504a75SDimitris Papastamos #define WM8995_ADCL_TO_DAC1R_MASK 0x0010 /* ADCL_TO_DAC1R */ 31286a504a75SDimitris Papastamos #define WM8995_ADCL_TO_DAC1R_SHIFT 4 /* ADCL_TO_DAC1R */ 31296a504a75SDimitris Papastamos #define WM8995_ADCL_TO_DAC1R_WIDTH 1 /* ADCL_TO_DAC1R */ 31306a504a75SDimitris Papastamos #define WM8995_AIF2DACR_TO_DAC1R 0x0004 /* AIF2DACR_TO_DAC1R */ 31316a504a75SDimitris Papastamos #define WM8995_AIF2DACR_TO_DAC1R_MASK 0x0004 /* AIF2DACR_TO_DAC1R */ 31326a504a75SDimitris Papastamos #define WM8995_AIF2DACR_TO_DAC1R_SHIFT 2 /* AIF2DACR_TO_DAC1R */ 31336a504a75SDimitris Papastamos #define WM8995_AIF2DACR_TO_DAC1R_WIDTH 1 /* AIF2DACR_TO_DAC1R */ 31346a504a75SDimitris Papastamos #define WM8995_AIF1DAC2R_TO_DAC1R 0x0002 /* AIF1DAC2R_TO_DAC1R */ 31356a504a75SDimitris Papastamos #define WM8995_AIF1DAC2R_TO_DAC1R_MASK 0x0002 /* AIF1DAC2R_TO_DAC1R */ 31366a504a75SDimitris Papastamos #define WM8995_AIF1DAC2R_TO_DAC1R_SHIFT 1 /* AIF1DAC2R_TO_DAC1R */ 31376a504a75SDimitris Papastamos #define WM8995_AIF1DAC2R_TO_DAC1R_WIDTH 1 /* AIF1DAC2R_TO_DAC1R */ 31386a504a75SDimitris Papastamos #define WM8995_AIF1DAC1R_TO_DAC1R 0x0001 /* AIF1DAC1R_TO_DAC1R */ 31396a504a75SDimitris Papastamos #define WM8995_AIF1DAC1R_TO_DAC1R_MASK 0x0001 /* AIF1DAC1R_TO_DAC1R */ 31406a504a75SDimitris Papastamos #define WM8995_AIF1DAC1R_TO_DAC1R_SHIFT 0 /* AIF1DAC1R_TO_DAC1R */ 31416a504a75SDimitris Papastamos #define WM8995_AIF1DAC1R_TO_DAC1R_WIDTH 1 /* AIF1DAC1R_TO_DAC1R */ 31426a504a75SDimitris Papastamos 31436a504a75SDimitris Papastamos /* 31446a504a75SDimitris Papastamos * R1539 (0x603) - DAC2 Mixer Volumes 31456a504a75SDimitris Papastamos */ 31466a504a75SDimitris Papastamos #define WM8995_ADCR_DAC2_VOL_MASK 0x03E0 /* ADCR_DAC2_VOL - [9:5] */ 31476a504a75SDimitris Papastamos #define WM8995_ADCR_DAC2_VOL_SHIFT 5 /* ADCR_DAC2_VOL - [9:5] */ 31486a504a75SDimitris Papastamos #define WM8995_ADCR_DAC2_VOL_WIDTH 5 /* ADCR_DAC2_VOL - [9:5] */ 31496a504a75SDimitris Papastamos #define WM8995_ADCL_DAC2_VOL_MASK 0x001F /* ADCL_DAC2_VOL - [4:0] */ 31506a504a75SDimitris Papastamos #define WM8995_ADCL_DAC2_VOL_SHIFT 0 /* ADCL_DAC2_VOL - [4:0] */ 31516a504a75SDimitris Papastamos #define WM8995_ADCL_DAC2_VOL_WIDTH 5 /* ADCL_DAC2_VOL - [4:0] */ 31526a504a75SDimitris Papastamos 31536a504a75SDimitris Papastamos /* 31546a504a75SDimitris Papastamos * R1540 (0x604) - DAC2 Left Mixer Routing 31556a504a75SDimitris Papastamos */ 31566a504a75SDimitris Papastamos #define WM8995_ADCR_TO_DAC2L 0x0020 /* ADCR_TO_DAC2L */ 31576a504a75SDimitris Papastamos #define WM8995_ADCR_TO_DAC2L_MASK 0x0020 /* ADCR_TO_DAC2L */ 31586a504a75SDimitris Papastamos #define WM8995_ADCR_TO_DAC2L_SHIFT 5 /* ADCR_TO_DAC2L */ 31596a504a75SDimitris Papastamos #define WM8995_ADCR_TO_DAC2L_WIDTH 1 /* ADCR_TO_DAC2L */ 31606a504a75SDimitris Papastamos #define WM8995_ADCL_TO_DAC2L 0x0010 /* ADCL_TO_DAC2L */ 31616a504a75SDimitris Papastamos #define WM8995_ADCL_TO_DAC2L_MASK 0x0010 /* ADCL_TO_DAC2L */ 31626a504a75SDimitris Papastamos #define WM8995_ADCL_TO_DAC2L_SHIFT 4 /* ADCL_TO_DAC2L */ 31636a504a75SDimitris Papastamos #define WM8995_ADCL_TO_DAC2L_WIDTH 1 /* ADCL_TO_DAC2L */ 31646a504a75SDimitris Papastamos #define WM8995_AIF2DACL_TO_DAC2L 0x0004 /* AIF2DACL_TO_DAC2L */ 31656a504a75SDimitris Papastamos #define WM8995_AIF2DACL_TO_DAC2L_MASK 0x0004 /* AIF2DACL_TO_DAC2L */ 31666a504a75SDimitris Papastamos #define WM8995_AIF2DACL_TO_DAC2L_SHIFT 2 /* AIF2DACL_TO_DAC2L */ 31676a504a75SDimitris Papastamos #define WM8995_AIF2DACL_TO_DAC2L_WIDTH 1 /* AIF2DACL_TO_DAC2L */ 31686a504a75SDimitris Papastamos #define WM8995_AIF1DAC2L_TO_DAC2L 0x0002 /* AIF1DAC2L_TO_DAC2L */ 31696a504a75SDimitris Papastamos #define WM8995_AIF1DAC2L_TO_DAC2L_MASK 0x0002 /* AIF1DAC2L_TO_DAC2L */ 31706a504a75SDimitris Papastamos #define WM8995_AIF1DAC2L_TO_DAC2L_SHIFT 1 /* AIF1DAC2L_TO_DAC2L */ 31716a504a75SDimitris Papastamos #define WM8995_AIF1DAC2L_TO_DAC2L_WIDTH 1 /* AIF1DAC2L_TO_DAC2L */ 31726a504a75SDimitris Papastamos #define WM8995_AIF1DAC1L_TO_DAC2L 0x0001 /* AIF1DAC1L_TO_DAC2L */ 31736a504a75SDimitris Papastamos #define WM8995_AIF1DAC1L_TO_DAC2L_MASK 0x0001 /* AIF1DAC1L_TO_DAC2L */ 31746a504a75SDimitris Papastamos #define WM8995_AIF1DAC1L_TO_DAC2L_SHIFT 0 /* AIF1DAC1L_TO_DAC2L */ 31756a504a75SDimitris Papastamos #define WM8995_AIF1DAC1L_TO_DAC2L_WIDTH 1 /* AIF1DAC1L_TO_DAC2L */ 31766a504a75SDimitris Papastamos 31776a504a75SDimitris Papastamos /* 31786a504a75SDimitris Papastamos * R1541 (0x605) - DAC2 Right Mixer Routing 31796a504a75SDimitris Papastamos */ 31806a504a75SDimitris Papastamos #define WM8995_ADCR_TO_DAC2R 0x0020 /* ADCR_TO_DAC2R */ 31816a504a75SDimitris Papastamos #define WM8995_ADCR_TO_DAC2R_MASK 0x0020 /* ADCR_TO_DAC2R */ 31826a504a75SDimitris Papastamos #define WM8995_ADCR_TO_DAC2R_SHIFT 5 /* ADCR_TO_DAC2R */ 31836a504a75SDimitris Papastamos #define WM8995_ADCR_TO_DAC2R_WIDTH 1 /* ADCR_TO_DAC2R */ 31846a504a75SDimitris Papastamos #define WM8995_ADCL_TO_DAC2R 0x0010 /* ADCL_TO_DAC2R */ 31856a504a75SDimitris Papastamos #define WM8995_ADCL_TO_DAC2R_MASK 0x0010 /* ADCL_TO_DAC2R */ 31866a504a75SDimitris Papastamos #define WM8995_ADCL_TO_DAC2R_SHIFT 4 /* ADCL_TO_DAC2R */ 31876a504a75SDimitris Papastamos #define WM8995_ADCL_TO_DAC2R_WIDTH 1 /* ADCL_TO_DAC2R */ 31886a504a75SDimitris Papastamos #define WM8995_AIF2DACR_TO_DAC2R 0x0004 /* AIF2DACR_TO_DAC2R */ 31896a504a75SDimitris Papastamos #define WM8995_AIF2DACR_TO_DAC2R_MASK 0x0004 /* AIF2DACR_TO_DAC2R */ 31906a504a75SDimitris Papastamos #define WM8995_AIF2DACR_TO_DAC2R_SHIFT 2 /* AIF2DACR_TO_DAC2R */ 31916a504a75SDimitris Papastamos #define WM8995_AIF2DACR_TO_DAC2R_WIDTH 1 /* AIF2DACR_TO_DAC2R */ 31926a504a75SDimitris Papastamos #define WM8995_AIF1DAC2R_TO_DAC2R 0x0002 /* AIF1DAC2R_TO_DAC2R */ 31936a504a75SDimitris Papastamos #define WM8995_AIF1DAC2R_TO_DAC2R_MASK 0x0002 /* AIF1DAC2R_TO_DAC2R */ 31946a504a75SDimitris Papastamos #define WM8995_AIF1DAC2R_TO_DAC2R_SHIFT 1 /* AIF1DAC2R_TO_DAC2R */ 31956a504a75SDimitris Papastamos #define WM8995_AIF1DAC2R_TO_DAC2R_WIDTH 1 /* AIF1DAC2R_TO_DAC2R */ 31966a504a75SDimitris Papastamos #define WM8995_AIF1DAC1R_TO_DAC2R 0x0001 /* AIF1DAC1R_TO_DAC2R */ 31976a504a75SDimitris Papastamos #define WM8995_AIF1DAC1R_TO_DAC2R_MASK 0x0001 /* AIF1DAC1R_TO_DAC2R */ 31986a504a75SDimitris Papastamos #define WM8995_AIF1DAC1R_TO_DAC2R_SHIFT 0 /* AIF1DAC1R_TO_DAC2R */ 31996a504a75SDimitris Papastamos #define WM8995_AIF1DAC1R_TO_DAC2R_WIDTH 1 /* AIF1DAC1R_TO_DAC2R */ 32006a504a75SDimitris Papastamos 32016a504a75SDimitris Papastamos /* 32026a504a75SDimitris Papastamos * R1542 (0x606) - AIF1 ADC1 Left Mixer Routing 32036a504a75SDimitris Papastamos */ 32046a504a75SDimitris Papastamos #define WM8995_ADC1L_TO_AIF1ADC1L 0x0002 /* ADC1L_TO_AIF1ADC1L */ 32056a504a75SDimitris Papastamos #define WM8995_ADC1L_TO_AIF1ADC1L_MASK 0x0002 /* ADC1L_TO_AIF1ADC1L */ 32066a504a75SDimitris Papastamos #define WM8995_ADC1L_TO_AIF1ADC1L_SHIFT 1 /* ADC1L_TO_AIF1ADC1L */ 32076a504a75SDimitris Papastamos #define WM8995_ADC1L_TO_AIF1ADC1L_WIDTH 1 /* ADC1L_TO_AIF1ADC1L */ 32086a504a75SDimitris Papastamos #define WM8995_AIF2DACL_TO_AIF1ADC1L 0x0001 /* AIF2DACL_TO_AIF1ADC1L */ 32096a504a75SDimitris Papastamos #define WM8995_AIF2DACL_TO_AIF1ADC1L_MASK 0x0001 /* AIF2DACL_TO_AIF1ADC1L */ 32106a504a75SDimitris Papastamos #define WM8995_AIF2DACL_TO_AIF1ADC1L_SHIFT 0 /* AIF2DACL_TO_AIF1ADC1L */ 32116a504a75SDimitris Papastamos #define WM8995_AIF2DACL_TO_AIF1ADC1L_WIDTH 1 /* AIF2DACL_TO_AIF1ADC1L */ 32126a504a75SDimitris Papastamos 32136a504a75SDimitris Papastamos /* 32146a504a75SDimitris Papastamos * R1543 (0x607) - AIF1 ADC1 Right Mixer Routing 32156a504a75SDimitris Papastamos */ 32166a504a75SDimitris Papastamos #define WM8995_ADC1R_TO_AIF1ADC1R 0x0002 /* ADC1R_TO_AIF1ADC1R */ 32176a504a75SDimitris Papastamos #define WM8995_ADC1R_TO_AIF1ADC1R_MASK 0x0002 /* ADC1R_TO_AIF1ADC1R */ 32186a504a75SDimitris Papastamos #define WM8995_ADC1R_TO_AIF1ADC1R_SHIFT 1 /* ADC1R_TO_AIF1ADC1R */ 32196a504a75SDimitris Papastamos #define WM8995_ADC1R_TO_AIF1ADC1R_WIDTH 1 /* ADC1R_TO_AIF1ADC1R */ 32206a504a75SDimitris Papastamos #define WM8995_AIF2DACR_TO_AIF1ADC1R 0x0001 /* AIF2DACR_TO_AIF1ADC1R */ 32216a504a75SDimitris Papastamos #define WM8995_AIF2DACR_TO_AIF1ADC1R_MASK 0x0001 /* AIF2DACR_TO_AIF1ADC1R */ 32226a504a75SDimitris Papastamos #define WM8995_AIF2DACR_TO_AIF1ADC1R_SHIFT 0 /* AIF2DACR_TO_AIF1ADC1R */ 32236a504a75SDimitris Papastamos #define WM8995_AIF2DACR_TO_AIF1ADC1R_WIDTH 1 /* AIF2DACR_TO_AIF1ADC1R */ 32246a504a75SDimitris Papastamos 32256a504a75SDimitris Papastamos /* 32266a504a75SDimitris Papastamos * R1544 (0x608) - AIF1 ADC2 Left Mixer Routing 32276a504a75SDimitris Papastamos */ 32286a504a75SDimitris Papastamos #define WM8995_ADC2L_TO_AIF1ADC2L 0x0002 /* ADC2L_TO_AIF1ADC2L */ 32296a504a75SDimitris Papastamos #define WM8995_ADC2L_TO_AIF1ADC2L_MASK 0x0002 /* ADC2L_TO_AIF1ADC2L */ 32306a504a75SDimitris Papastamos #define WM8995_ADC2L_TO_AIF1ADC2L_SHIFT 1 /* ADC2L_TO_AIF1ADC2L */ 32316a504a75SDimitris Papastamos #define WM8995_ADC2L_TO_AIF1ADC2L_WIDTH 1 /* ADC2L_TO_AIF1ADC2L */ 32326a504a75SDimitris Papastamos #define WM8995_AIF2DACL_TO_AIF1ADC2L 0x0001 /* AIF2DACL_TO_AIF1ADC2L */ 32336a504a75SDimitris Papastamos #define WM8995_AIF2DACL_TO_AIF1ADC2L_MASK 0x0001 /* AIF2DACL_TO_AIF1ADC2L */ 32346a504a75SDimitris Papastamos #define WM8995_AIF2DACL_TO_AIF1ADC2L_SHIFT 0 /* AIF2DACL_TO_AIF1ADC2L */ 32356a504a75SDimitris Papastamos #define WM8995_AIF2DACL_TO_AIF1ADC2L_WIDTH 1 /* AIF2DACL_TO_AIF1ADC2L */ 32366a504a75SDimitris Papastamos 32376a504a75SDimitris Papastamos /* 32386a504a75SDimitris Papastamos * R1545 (0x609) - AIF1 ADC2 Right mixer Routing 32396a504a75SDimitris Papastamos */ 32406a504a75SDimitris Papastamos #define WM8995_ADC2R_TO_AIF1ADC2R 0x0002 /* ADC2R_TO_AIF1ADC2R */ 32416a504a75SDimitris Papastamos #define WM8995_ADC2R_TO_AIF1ADC2R_MASK 0x0002 /* ADC2R_TO_AIF1ADC2R */ 32426a504a75SDimitris Papastamos #define WM8995_ADC2R_TO_AIF1ADC2R_SHIFT 1 /* ADC2R_TO_AIF1ADC2R */ 32436a504a75SDimitris Papastamos #define WM8995_ADC2R_TO_AIF1ADC2R_WIDTH 1 /* ADC2R_TO_AIF1ADC2R */ 32446a504a75SDimitris Papastamos #define WM8995_AIF2DACR_TO_AIF1ADC2R 0x0001 /* AIF2DACR_TO_AIF1ADC2R */ 32456a504a75SDimitris Papastamos #define WM8995_AIF2DACR_TO_AIF1ADC2R_MASK 0x0001 /* AIF2DACR_TO_AIF1ADC2R */ 32466a504a75SDimitris Papastamos #define WM8995_AIF2DACR_TO_AIF1ADC2R_SHIFT 0 /* AIF2DACR_TO_AIF1ADC2R */ 32476a504a75SDimitris Papastamos #define WM8995_AIF2DACR_TO_AIF1ADC2R_WIDTH 1 /* AIF2DACR_TO_AIF1ADC2R */ 32486a504a75SDimitris Papastamos 32496a504a75SDimitris Papastamos /* 32506a504a75SDimitris Papastamos * R1552 (0x610) - DAC Softmute 32516a504a75SDimitris Papastamos */ 32526a504a75SDimitris Papastamos #define WM8995_DAC_SOFTMUTEMODE 0x0002 /* DAC_SOFTMUTEMODE */ 32536a504a75SDimitris Papastamos #define WM8995_DAC_SOFTMUTEMODE_MASK 0x0002 /* DAC_SOFTMUTEMODE */ 32546a504a75SDimitris Papastamos #define WM8995_DAC_SOFTMUTEMODE_SHIFT 1 /* DAC_SOFTMUTEMODE */ 32556a504a75SDimitris Papastamos #define WM8995_DAC_SOFTMUTEMODE_WIDTH 1 /* DAC_SOFTMUTEMODE */ 32566a504a75SDimitris Papastamos #define WM8995_DAC_MUTERATE 0x0001 /* DAC_MUTERATE */ 32576a504a75SDimitris Papastamos #define WM8995_DAC_MUTERATE_MASK 0x0001 /* DAC_MUTERATE */ 32586a504a75SDimitris Papastamos #define WM8995_DAC_MUTERATE_SHIFT 0 /* DAC_MUTERATE */ 32596a504a75SDimitris Papastamos #define WM8995_DAC_MUTERATE_WIDTH 1 /* DAC_MUTERATE */ 32606a504a75SDimitris Papastamos 32616a504a75SDimitris Papastamos /* 32626a504a75SDimitris Papastamos * R1568 (0x620) - Oversampling 32636a504a75SDimitris Papastamos */ 32646a504a75SDimitris Papastamos #define WM8995_ADC_OSR128 0x0002 /* ADC_OSR128 */ 32656a504a75SDimitris Papastamos #define WM8995_ADC_OSR128_MASK 0x0002 /* ADC_OSR128 */ 32666a504a75SDimitris Papastamos #define WM8995_ADC_OSR128_SHIFT 1 /* ADC_OSR128 */ 32676a504a75SDimitris Papastamos #define WM8995_ADC_OSR128_WIDTH 1 /* ADC_OSR128 */ 32686a504a75SDimitris Papastamos #define WM8995_DAC_OSR128 0x0001 /* DAC_OSR128 */ 32696a504a75SDimitris Papastamos #define WM8995_DAC_OSR128_MASK 0x0001 /* DAC_OSR128 */ 32706a504a75SDimitris Papastamos #define WM8995_DAC_OSR128_SHIFT 0 /* DAC_OSR128 */ 32716a504a75SDimitris Papastamos #define WM8995_DAC_OSR128_WIDTH 1 /* DAC_OSR128 */ 32726a504a75SDimitris Papastamos 32736a504a75SDimitris Papastamos /* 32746a504a75SDimitris Papastamos * R1569 (0x621) - Sidetone 32756a504a75SDimitris Papastamos */ 32766a504a75SDimitris Papastamos #define WM8995_ST_LPF 0x1000 /* ST_LPF */ 32776a504a75SDimitris Papastamos #define WM8995_ST_LPF_MASK 0x1000 /* ST_LPF */ 32786a504a75SDimitris Papastamos #define WM8995_ST_LPF_SHIFT 12 /* ST_LPF */ 32796a504a75SDimitris Papastamos #define WM8995_ST_LPF_WIDTH 1 /* ST_LPF */ 32806a504a75SDimitris Papastamos #define WM8995_ST_HPF_CUT_MASK 0x0380 /* ST_HPF_CUT - [9:7] */ 32816a504a75SDimitris Papastamos #define WM8995_ST_HPF_CUT_SHIFT 7 /* ST_HPF_CUT - [9:7] */ 32826a504a75SDimitris Papastamos #define WM8995_ST_HPF_CUT_WIDTH 3 /* ST_HPF_CUT - [9:7] */ 32836a504a75SDimitris Papastamos #define WM8995_ST_HPF 0x0040 /* ST_HPF */ 32846a504a75SDimitris Papastamos #define WM8995_ST_HPF_MASK 0x0040 /* ST_HPF */ 32856a504a75SDimitris Papastamos #define WM8995_ST_HPF_SHIFT 6 /* ST_HPF */ 32866a504a75SDimitris Papastamos #define WM8995_ST_HPF_WIDTH 1 /* ST_HPF */ 32876a504a75SDimitris Papastamos #define WM8995_STR_SEL 0x0002 /* STR_SEL */ 32886a504a75SDimitris Papastamos #define WM8995_STR_SEL_MASK 0x0002 /* STR_SEL */ 32896a504a75SDimitris Papastamos #define WM8995_STR_SEL_SHIFT 1 /* STR_SEL */ 32906a504a75SDimitris Papastamos #define WM8995_STR_SEL_WIDTH 1 /* STR_SEL */ 32916a504a75SDimitris Papastamos #define WM8995_STL_SEL 0x0001 /* STL_SEL */ 32926a504a75SDimitris Papastamos #define WM8995_STL_SEL_MASK 0x0001 /* STL_SEL */ 32936a504a75SDimitris Papastamos #define WM8995_STL_SEL_SHIFT 0 /* STL_SEL */ 32946a504a75SDimitris Papastamos #define WM8995_STL_SEL_WIDTH 1 /* STL_SEL */ 32956a504a75SDimitris Papastamos 32966a504a75SDimitris Papastamos /* 32976a504a75SDimitris Papastamos * R1792 (0x700) - GPIO 1 32986a504a75SDimitris Papastamos */ 32996a504a75SDimitris Papastamos #define WM8995_GP1_DIR 0x8000 /* GP1_DIR */ 33006a504a75SDimitris Papastamos #define WM8995_GP1_DIR_MASK 0x8000 /* GP1_DIR */ 33016a504a75SDimitris Papastamos #define WM8995_GP1_DIR_SHIFT 15 /* GP1_DIR */ 33026a504a75SDimitris Papastamos #define WM8995_GP1_DIR_WIDTH 1 /* GP1_DIR */ 33036a504a75SDimitris Papastamos #define WM8995_GP1_PU 0x4000 /* GP1_PU */ 33046a504a75SDimitris Papastamos #define WM8995_GP1_PU_MASK 0x4000 /* GP1_PU */ 33056a504a75SDimitris Papastamos #define WM8995_GP1_PU_SHIFT 14 /* GP1_PU */ 33066a504a75SDimitris Papastamos #define WM8995_GP1_PU_WIDTH 1 /* GP1_PU */ 33076a504a75SDimitris Papastamos #define WM8995_GP1_PD 0x2000 /* GP1_PD */ 33086a504a75SDimitris Papastamos #define WM8995_GP1_PD_MASK 0x2000 /* GP1_PD */ 33096a504a75SDimitris Papastamos #define WM8995_GP1_PD_SHIFT 13 /* GP1_PD */ 33106a504a75SDimitris Papastamos #define WM8995_GP1_PD_WIDTH 1 /* GP1_PD */ 33116a504a75SDimitris Papastamos #define WM8995_GP1_POL 0x0400 /* GP1_POL */ 33126a504a75SDimitris Papastamos #define WM8995_GP1_POL_MASK 0x0400 /* GP1_POL */ 33136a504a75SDimitris Papastamos #define WM8995_GP1_POL_SHIFT 10 /* GP1_POL */ 33146a504a75SDimitris Papastamos #define WM8995_GP1_POL_WIDTH 1 /* GP1_POL */ 33156a504a75SDimitris Papastamos #define WM8995_GP1_OP_CFG 0x0200 /* GP1_OP_CFG */ 33166a504a75SDimitris Papastamos #define WM8995_GP1_OP_CFG_MASK 0x0200 /* GP1_OP_CFG */ 33176a504a75SDimitris Papastamos #define WM8995_GP1_OP_CFG_SHIFT 9 /* GP1_OP_CFG */ 33186a504a75SDimitris Papastamos #define WM8995_GP1_OP_CFG_WIDTH 1 /* GP1_OP_CFG */ 33196a504a75SDimitris Papastamos #define WM8995_GP1_DB 0x0100 /* GP1_DB */ 33206a504a75SDimitris Papastamos #define WM8995_GP1_DB_MASK 0x0100 /* GP1_DB */ 33216a504a75SDimitris Papastamos #define WM8995_GP1_DB_SHIFT 8 /* GP1_DB */ 33226a504a75SDimitris Papastamos #define WM8995_GP1_DB_WIDTH 1 /* GP1_DB */ 33236a504a75SDimitris Papastamos #define WM8995_GP1_LVL 0x0040 /* GP1_LVL */ 33246a504a75SDimitris Papastamos #define WM8995_GP1_LVL_MASK 0x0040 /* GP1_LVL */ 33256a504a75SDimitris Papastamos #define WM8995_GP1_LVL_SHIFT 6 /* GP1_LVL */ 33266a504a75SDimitris Papastamos #define WM8995_GP1_LVL_WIDTH 1 /* GP1_LVL */ 33276a504a75SDimitris Papastamos #define WM8995_GP1_FN_MASK 0x001F /* GP1_FN - [4:0] */ 33286a504a75SDimitris Papastamos #define WM8995_GP1_FN_SHIFT 0 /* GP1_FN - [4:0] */ 33296a504a75SDimitris Papastamos #define WM8995_GP1_FN_WIDTH 5 /* GP1_FN - [4:0] */ 33306a504a75SDimitris Papastamos 33316a504a75SDimitris Papastamos /* 33326a504a75SDimitris Papastamos * R1793 (0x701) - GPIO 2 33336a504a75SDimitris Papastamos */ 33346a504a75SDimitris Papastamos #define WM8995_GP2_DIR 0x8000 /* GP2_DIR */ 33356a504a75SDimitris Papastamos #define WM8995_GP2_DIR_MASK 0x8000 /* GP2_DIR */ 33366a504a75SDimitris Papastamos #define WM8995_GP2_DIR_SHIFT 15 /* GP2_DIR */ 33376a504a75SDimitris Papastamos #define WM8995_GP2_DIR_WIDTH 1 /* GP2_DIR */ 33386a504a75SDimitris Papastamos #define WM8995_GP2_PU 0x4000 /* GP2_PU */ 33396a504a75SDimitris Papastamos #define WM8995_GP2_PU_MASK 0x4000 /* GP2_PU */ 33406a504a75SDimitris Papastamos #define WM8995_GP2_PU_SHIFT 14 /* GP2_PU */ 33416a504a75SDimitris Papastamos #define WM8995_GP2_PU_WIDTH 1 /* GP2_PU */ 33426a504a75SDimitris Papastamos #define WM8995_GP2_PD 0x2000 /* GP2_PD */ 33436a504a75SDimitris Papastamos #define WM8995_GP2_PD_MASK 0x2000 /* GP2_PD */ 33446a504a75SDimitris Papastamos #define WM8995_GP2_PD_SHIFT 13 /* GP2_PD */ 33456a504a75SDimitris Papastamos #define WM8995_GP2_PD_WIDTH 1 /* GP2_PD */ 33466a504a75SDimitris Papastamos #define WM8995_GP2_POL 0x0400 /* GP2_POL */ 33476a504a75SDimitris Papastamos #define WM8995_GP2_POL_MASK 0x0400 /* GP2_POL */ 33486a504a75SDimitris Papastamos #define WM8995_GP2_POL_SHIFT 10 /* GP2_POL */ 33496a504a75SDimitris Papastamos #define WM8995_GP2_POL_WIDTH 1 /* GP2_POL */ 33506a504a75SDimitris Papastamos #define WM8995_GP2_OP_CFG 0x0200 /* GP2_OP_CFG */ 33516a504a75SDimitris Papastamos #define WM8995_GP2_OP_CFG_MASK 0x0200 /* GP2_OP_CFG */ 33526a504a75SDimitris Papastamos #define WM8995_GP2_OP_CFG_SHIFT 9 /* GP2_OP_CFG */ 33536a504a75SDimitris Papastamos #define WM8995_GP2_OP_CFG_WIDTH 1 /* GP2_OP_CFG */ 33546a504a75SDimitris Papastamos #define WM8995_GP2_DB 0x0100 /* GP2_DB */ 33556a504a75SDimitris Papastamos #define WM8995_GP2_DB_MASK 0x0100 /* GP2_DB */ 33566a504a75SDimitris Papastamos #define WM8995_GP2_DB_SHIFT 8 /* GP2_DB */ 33576a504a75SDimitris Papastamos #define WM8995_GP2_DB_WIDTH 1 /* GP2_DB */ 33586a504a75SDimitris Papastamos #define WM8995_GP2_LVL 0x0040 /* GP2_LVL */ 33596a504a75SDimitris Papastamos #define WM8995_GP2_LVL_MASK 0x0040 /* GP2_LVL */ 33606a504a75SDimitris Papastamos #define WM8995_GP2_LVL_SHIFT 6 /* GP2_LVL */ 33616a504a75SDimitris Papastamos #define WM8995_GP2_LVL_WIDTH 1 /* GP2_LVL */ 33626a504a75SDimitris Papastamos #define WM8995_GP2_FN_MASK 0x001F /* GP2_FN - [4:0] */ 33636a504a75SDimitris Papastamos #define WM8995_GP2_FN_SHIFT 0 /* GP2_FN - [4:0] */ 33646a504a75SDimitris Papastamos #define WM8995_GP2_FN_WIDTH 5 /* GP2_FN - [4:0] */ 33656a504a75SDimitris Papastamos 33666a504a75SDimitris Papastamos /* 33676a504a75SDimitris Papastamos * R1794 (0x702) - GPIO 3 33686a504a75SDimitris Papastamos */ 33696a504a75SDimitris Papastamos #define WM8995_GP3_DIR 0x8000 /* GP3_DIR */ 33706a504a75SDimitris Papastamos #define WM8995_GP3_DIR_MASK 0x8000 /* GP3_DIR */ 33716a504a75SDimitris Papastamos #define WM8995_GP3_DIR_SHIFT 15 /* GP3_DIR */ 33726a504a75SDimitris Papastamos #define WM8995_GP3_DIR_WIDTH 1 /* GP3_DIR */ 33736a504a75SDimitris Papastamos #define WM8995_GP3_PU 0x4000 /* GP3_PU */ 33746a504a75SDimitris Papastamos #define WM8995_GP3_PU_MASK 0x4000 /* GP3_PU */ 33756a504a75SDimitris Papastamos #define WM8995_GP3_PU_SHIFT 14 /* GP3_PU */ 33766a504a75SDimitris Papastamos #define WM8995_GP3_PU_WIDTH 1 /* GP3_PU */ 33776a504a75SDimitris Papastamos #define WM8995_GP3_PD 0x2000 /* GP3_PD */ 33786a504a75SDimitris Papastamos #define WM8995_GP3_PD_MASK 0x2000 /* GP3_PD */ 33796a504a75SDimitris Papastamos #define WM8995_GP3_PD_SHIFT 13 /* GP3_PD */ 33806a504a75SDimitris Papastamos #define WM8995_GP3_PD_WIDTH 1 /* GP3_PD */ 33816a504a75SDimitris Papastamos #define WM8995_GP3_POL 0x0400 /* GP3_POL */ 33826a504a75SDimitris Papastamos #define WM8995_GP3_POL_MASK 0x0400 /* GP3_POL */ 33836a504a75SDimitris Papastamos #define WM8995_GP3_POL_SHIFT 10 /* GP3_POL */ 33846a504a75SDimitris Papastamos #define WM8995_GP3_POL_WIDTH 1 /* GP3_POL */ 33856a504a75SDimitris Papastamos #define WM8995_GP3_OP_CFG 0x0200 /* GP3_OP_CFG */ 33866a504a75SDimitris Papastamos #define WM8995_GP3_OP_CFG_MASK 0x0200 /* GP3_OP_CFG */ 33876a504a75SDimitris Papastamos #define WM8995_GP3_OP_CFG_SHIFT 9 /* GP3_OP_CFG */ 33886a504a75SDimitris Papastamos #define WM8995_GP3_OP_CFG_WIDTH 1 /* GP3_OP_CFG */ 33896a504a75SDimitris Papastamos #define WM8995_GP3_DB 0x0100 /* GP3_DB */ 33906a504a75SDimitris Papastamos #define WM8995_GP3_DB_MASK 0x0100 /* GP3_DB */ 33916a504a75SDimitris Papastamos #define WM8995_GP3_DB_SHIFT 8 /* GP3_DB */ 33926a504a75SDimitris Papastamos #define WM8995_GP3_DB_WIDTH 1 /* GP3_DB */ 33936a504a75SDimitris Papastamos #define WM8995_GP3_LVL 0x0040 /* GP3_LVL */ 33946a504a75SDimitris Papastamos #define WM8995_GP3_LVL_MASK 0x0040 /* GP3_LVL */ 33956a504a75SDimitris Papastamos #define WM8995_GP3_LVL_SHIFT 6 /* GP3_LVL */ 33966a504a75SDimitris Papastamos #define WM8995_GP3_LVL_WIDTH 1 /* GP3_LVL */ 33976a504a75SDimitris Papastamos #define WM8995_GP3_FN_MASK 0x001F /* GP3_FN - [4:0] */ 33986a504a75SDimitris Papastamos #define WM8995_GP3_FN_SHIFT 0 /* GP3_FN - [4:0] */ 33996a504a75SDimitris Papastamos #define WM8995_GP3_FN_WIDTH 5 /* GP3_FN - [4:0] */ 34006a504a75SDimitris Papastamos 34016a504a75SDimitris Papastamos /* 34026a504a75SDimitris Papastamos * R1795 (0x703) - GPIO 4 34036a504a75SDimitris Papastamos */ 34046a504a75SDimitris Papastamos #define WM8995_GP4_DIR 0x8000 /* GP4_DIR */ 34056a504a75SDimitris Papastamos #define WM8995_GP4_DIR_MASK 0x8000 /* GP4_DIR */ 34066a504a75SDimitris Papastamos #define WM8995_GP4_DIR_SHIFT 15 /* GP4_DIR */ 34076a504a75SDimitris Papastamos #define WM8995_GP4_DIR_WIDTH 1 /* GP4_DIR */ 34086a504a75SDimitris Papastamos #define WM8995_GP4_PU 0x4000 /* GP4_PU */ 34096a504a75SDimitris Papastamos #define WM8995_GP4_PU_MASK 0x4000 /* GP4_PU */ 34106a504a75SDimitris Papastamos #define WM8995_GP4_PU_SHIFT 14 /* GP4_PU */ 34116a504a75SDimitris Papastamos #define WM8995_GP4_PU_WIDTH 1 /* GP4_PU */ 34126a504a75SDimitris Papastamos #define WM8995_GP4_PD 0x2000 /* GP4_PD */ 34136a504a75SDimitris Papastamos #define WM8995_GP4_PD_MASK 0x2000 /* GP4_PD */ 34146a504a75SDimitris Papastamos #define WM8995_GP4_PD_SHIFT 13 /* GP4_PD */ 34156a504a75SDimitris Papastamos #define WM8995_GP4_PD_WIDTH 1 /* GP4_PD */ 34166a504a75SDimitris Papastamos #define WM8995_GP4_POL 0x0400 /* GP4_POL */ 34176a504a75SDimitris Papastamos #define WM8995_GP4_POL_MASK 0x0400 /* GP4_POL */ 34186a504a75SDimitris Papastamos #define WM8995_GP4_POL_SHIFT 10 /* GP4_POL */ 34196a504a75SDimitris Papastamos #define WM8995_GP4_POL_WIDTH 1 /* GP4_POL */ 34206a504a75SDimitris Papastamos #define WM8995_GP4_OP_CFG 0x0200 /* GP4_OP_CFG */ 34216a504a75SDimitris Papastamos #define WM8995_GP4_OP_CFG_MASK 0x0200 /* GP4_OP_CFG */ 34226a504a75SDimitris Papastamos #define WM8995_GP4_OP_CFG_SHIFT 9 /* GP4_OP_CFG */ 34236a504a75SDimitris Papastamos #define WM8995_GP4_OP_CFG_WIDTH 1 /* GP4_OP_CFG */ 34246a504a75SDimitris Papastamos #define WM8995_GP4_DB 0x0100 /* GP4_DB */ 34256a504a75SDimitris Papastamos #define WM8995_GP4_DB_MASK 0x0100 /* GP4_DB */ 34266a504a75SDimitris Papastamos #define WM8995_GP4_DB_SHIFT 8 /* GP4_DB */ 34276a504a75SDimitris Papastamos #define WM8995_GP4_DB_WIDTH 1 /* GP4_DB */ 34286a504a75SDimitris Papastamos #define WM8995_GP4_LVL 0x0040 /* GP4_LVL */ 34296a504a75SDimitris Papastamos #define WM8995_GP4_LVL_MASK 0x0040 /* GP4_LVL */ 34306a504a75SDimitris Papastamos #define WM8995_GP4_LVL_SHIFT 6 /* GP4_LVL */ 34316a504a75SDimitris Papastamos #define WM8995_GP4_LVL_WIDTH 1 /* GP4_LVL */ 34326a504a75SDimitris Papastamos #define WM8995_GP4_FN_MASK 0x001F /* GP4_FN - [4:0] */ 34336a504a75SDimitris Papastamos #define WM8995_GP4_FN_SHIFT 0 /* GP4_FN - [4:0] */ 34346a504a75SDimitris Papastamos #define WM8995_GP4_FN_WIDTH 5 /* GP4_FN - [4:0] */ 34356a504a75SDimitris Papastamos 34366a504a75SDimitris Papastamos /* 34376a504a75SDimitris Papastamos * R1796 (0x704) - GPIO 5 34386a504a75SDimitris Papastamos */ 34396a504a75SDimitris Papastamos #define WM8995_GP5_DIR 0x8000 /* GP5_DIR */ 34406a504a75SDimitris Papastamos #define WM8995_GP5_DIR_MASK 0x8000 /* GP5_DIR */ 34416a504a75SDimitris Papastamos #define WM8995_GP5_DIR_SHIFT 15 /* GP5_DIR */ 34426a504a75SDimitris Papastamos #define WM8995_GP5_DIR_WIDTH 1 /* GP5_DIR */ 34436a504a75SDimitris Papastamos #define WM8995_GP5_PU 0x4000 /* GP5_PU */ 34446a504a75SDimitris Papastamos #define WM8995_GP5_PU_MASK 0x4000 /* GP5_PU */ 34456a504a75SDimitris Papastamos #define WM8995_GP5_PU_SHIFT 14 /* GP5_PU */ 34466a504a75SDimitris Papastamos #define WM8995_GP5_PU_WIDTH 1 /* GP5_PU */ 34476a504a75SDimitris Papastamos #define WM8995_GP5_PD 0x2000 /* GP5_PD */ 34486a504a75SDimitris Papastamos #define WM8995_GP5_PD_MASK 0x2000 /* GP5_PD */ 34496a504a75SDimitris Papastamos #define WM8995_GP5_PD_SHIFT 13 /* GP5_PD */ 34506a504a75SDimitris Papastamos #define WM8995_GP5_PD_WIDTH 1 /* GP5_PD */ 34516a504a75SDimitris Papastamos #define WM8995_GP5_POL 0x0400 /* GP5_POL */ 34526a504a75SDimitris Papastamos #define WM8995_GP5_POL_MASK 0x0400 /* GP5_POL */ 34536a504a75SDimitris Papastamos #define WM8995_GP5_POL_SHIFT 10 /* GP5_POL */ 34546a504a75SDimitris Papastamos #define WM8995_GP5_POL_WIDTH 1 /* GP5_POL */ 34556a504a75SDimitris Papastamos #define WM8995_GP5_OP_CFG 0x0200 /* GP5_OP_CFG */ 34566a504a75SDimitris Papastamos #define WM8995_GP5_OP_CFG_MASK 0x0200 /* GP5_OP_CFG */ 34576a504a75SDimitris Papastamos #define WM8995_GP5_OP_CFG_SHIFT 9 /* GP5_OP_CFG */ 34586a504a75SDimitris Papastamos #define WM8995_GP5_OP_CFG_WIDTH 1 /* GP5_OP_CFG */ 34596a504a75SDimitris Papastamos #define WM8995_GP5_DB 0x0100 /* GP5_DB */ 34606a504a75SDimitris Papastamos #define WM8995_GP5_DB_MASK 0x0100 /* GP5_DB */ 34616a504a75SDimitris Papastamos #define WM8995_GP5_DB_SHIFT 8 /* GP5_DB */ 34626a504a75SDimitris Papastamos #define WM8995_GP5_DB_WIDTH 1 /* GP5_DB */ 34636a504a75SDimitris Papastamos #define WM8995_GP5_LVL 0x0040 /* GP5_LVL */ 34646a504a75SDimitris Papastamos #define WM8995_GP5_LVL_MASK 0x0040 /* GP5_LVL */ 34656a504a75SDimitris Papastamos #define WM8995_GP5_LVL_SHIFT 6 /* GP5_LVL */ 34666a504a75SDimitris Papastamos #define WM8995_GP5_LVL_WIDTH 1 /* GP5_LVL */ 34676a504a75SDimitris Papastamos #define WM8995_GP5_FN_MASK 0x001F /* GP5_FN - [4:0] */ 34686a504a75SDimitris Papastamos #define WM8995_GP5_FN_SHIFT 0 /* GP5_FN - [4:0] */ 34696a504a75SDimitris Papastamos #define WM8995_GP5_FN_WIDTH 5 /* GP5_FN - [4:0] */ 34706a504a75SDimitris Papastamos 34716a504a75SDimitris Papastamos /* 34726a504a75SDimitris Papastamos * R1797 (0x705) - GPIO 6 34736a504a75SDimitris Papastamos */ 34746a504a75SDimitris Papastamos #define WM8995_GP6_DIR 0x8000 /* GP6_DIR */ 34756a504a75SDimitris Papastamos #define WM8995_GP6_DIR_MASK 0x8000 /* GP6_DIR */ 34766a504a75SDimitris Papastamos #define WM8995_GP6_DIR_SHIFT 15 /* GP6_DIR */ 34776a504a75SDimitris Papastamos #define WM8995_GP6_DIR_WIDTH 1 /* GP6_DIR */ 34786a504a75SDimitris Papastamos #define WM8995_GP6_PU 0x4000 /* GP6_PU */ 34796a504a75SDimitris Papastamos #define WM8995_GP6_PU_MASK 0x4000 /* GP6_PU */ 34806a504a75SDimitris Papastamos #define WM8995_GP6_PU_SHIFT 14 /* GP6_PU */ 34816a504a75SDimitris Papastamos #define WM8995_GP6_PU_WIDTH 1 /* GP6_PU */ 34826a504a75SDimitris Papastamos #define WM8995_GP6_PD 0x2000 /* GP6_PD */ 34836a504a75SDimitris Papastamos #define WM8995_GP6_PD_MASK 0x2000 /* GP6_PD */ 34846a504a75SDimitris Papastamos #define WM8995_GP6_PD_SHIFT 13 /* GP6_PD */ 34856a504a75SDimitris Papastamos #define WM8995_GP6_PD_WIDTH 1 /* GP6_PD */ 34866a504a75SDimitris Papastamos #define WM8995_GP6_POL 0x0400 /* GP6_POL */ 34876a504a75SDimitris Papastamos #define WM8995_GP6_POL_MASK 0x0400 /* GP6_POL */ 34886a504a75SDimitris Papastamos #define WM8995_GP6_POL_SHIFT 10 /* GP6_POL */ 34896a504a75SDimitris Papastamos #define WM8995_GP6_POL_WIDTH 1 /* GP6_POL */ 34906a504a75SDimitris Papastamos #define WM8995_GP6_OP_CFG 0x0200 /* GP6_OP_CFG */ 34916a504a75SDimitris Papastamos #define WM8995_GP6_OP_CFG_MASK 0x0200 /* GP6_OP_CFG */ 34926a504a75SDimitris Papastamos #define WM8995_GP6_OP_CFG_SHIFT 9 /* GP6_OP_CFG */ 34936a504a75SDimitris Papastamos #define WM8995_GP6_OP_CFG_WIDTH 1 /* GP6_OP_CFG */ 34946a504a75SDimitris Papastamos #define WM8995_GP6_DB 0x0100 /* GP6_DB */ 34956a504a75SDimitris Papastamos #define WM8995_GP6_DB_MASK 0x0100 /* GP6_DB */ 34966a504a75SDimitris Papastamos #define WM8995_GP6_DB_SHIFT 8 /* GP6_DB */ 34976a504a75SDimitris Papastamos #define WM8995_GP6_DB_WIDTH 1 /* GP6_DB */ 34986a504a75SDimitris Papastamos #define WM8995_GP6_LVL 0x0040 /* GP6_LVL */ 34996a504a75SDimitris Papastamos #define WM8995_GP6_LVL_MASK 0x0040 /* GP6_LVL */ 35006a504a75SDimitris Papastamos #define WM8995_GP6_LVL_SHIFT 6 /* GP6_LVL */ 35016a504a75SDimitris Papastamos #define WM8995_GP6_LVL_WIDTH 1 /* GP6_LVL */ 35026a504a75SDimitris Papastamos #define WM8995_GP6_FN_MASK 0x001F /* GP6_FN - [4:0] */ 35036a504a75SDimitris Papastamos #define WM8995_GP6_FN_SHIFT 0 /* GP6_FN - [4:0] */ 35046a504a75SDimitris Papastamos #define WM8995_GP6_FN_WIDTH 5 /* GP6_FN - [4:0] */ 35056a504a75SDimitris Papastamos 35066a504a75SDimitris Papastamos /* 35076a504a75SDimitris Papastamos * R1798 (0x706) - GPIO 7 35086a504a75SDimitris Papastamos */ 35096a504a75SDimitris Papastamos #define WM8995_GP7_DIR 0x8000 /* GP7_DIR */ 35106a504a75SDimitris Papastamos #define WM8995_GP7_DIR_MASK 0x8000 /* GP7_DIR */ 35116a504a75SDimitris Papastamos #define WM8995_GP7_DIR_SHIFT 15 /* GP7_DIR */ 35126a504a75SDimitris Papastamos #define WM8995_GP7_DIR_WIDTH 1 /* GP7_DIR */ 35136a504a75SDimitris Papastamos #define WM8995_GP7_PU 0x4000 /* GP7_PU */ 35146a504a75SDimitris Papastamos #define WM8995_GP7_PU_MASK 0x4000 /* GP7_PU */ 35156a504a75SDimitris Papastamos #define WM8995_GP7_PU_SHIFT 14 /* GP7_PU */ 35166a504a75SDimitris Papastamos #define WM8995_GP7_PU_WIDTH 1 /* GP7_PU */ 35176a504a75SDimitris Papastamos #define WM8995_GP7_PD 0x2000 /* GP7_PD */ 35186a504a75SDimitris Papastamos #define WM8995_GP7_PD_MASK 0x2000 /* GP7_PD */ 35196a504a75SDimitris Papastamos #define WM8995_GP7_PD_SHIFT 13 /* GP7_PD */ 35206a504a75SDimitris Papastamos #define WM8995_GP7_PD_WIDTH 1 /* GP7_PD */ 35216a504a75SDimitris Papastamos #define WM8995_GP7_POL 0x0400 /* GP7_POL */ 35226a504a75SDimitris Papastamos #define WM8995_GP7_POL_MASK 0x0400 /* GP7_POL */ 35236a504a75SDimitris Papastamos #define WM8995_GP7_POL_SHIFT 10 /* GP7_POL */ 35246a504a75SDimitris Papastamos #define WM8995_GP7_POL_WIDTH 1 /* GP7_POL */ 35256a504a75SDimitris Papastamos #define WM8995_GP7_OP_CFG 0x0200 /* GP7_OP_CFG */ 35266a504a75SDimitris Papastamos #define WM8995_GP7_OP_CFG_MASK 0x0200 /* GP7_OP_CFG */ 35276a504a75SDimitris Papastamos #define WM8995_GP7_OP_CFG_SHIFT 9 /* GP7_OP_CFG */ 35286a504a75SDimitris Papastamos #define WM8995_GP7_OP_CFG_WIDTH 1 /* GP7_OP_CFG */ 35296a504a75SDimitris Papastamos #define WM8995_GP7_DB 0x0100 /* GP7_DB */ 35306a504a75SDimitris Papastamos #define WM8995_GP7_DB_MASK 0x0100 /* GP7_DB */ 35316a504a75SDimitris Papastamos #define WM8995_GP7_DB_SHIFT 8 /* GP7_DB */ 35326a504a75SDimitris Papastamos #define WM8995_GP7_DB_WIDTH 1 /* GP7_DB */ 35336a504a75SDimitris Papastamos #define WM8995_GP7_LVL 0x0040 /* GP7_LVL */ 35346a504a75SDimitris Papastamos #define WM8995_GP7_LVL_MASK 0x0040 /* GP7_LVL */ 35356a504a75SDimitris Papastamos #define WM8995_GP7_LVL_SHIFT 6 /* GP7_LVL */ 35366a504a75SDimitris Papastamos #define WM8995_GP7_LVL_WIDTH 1 /* GP7_LVL */ 35376a504a75SDimitris Papastamos #define WM8995_GP7_FN_MASK 0x001F /* GP7_FN - [4:0] */ 35386a504a75SDimitris Papastamos #define WM8995_GP7_FN_SHIFT 0 /* GP7_FN - [4:0] */ 35396a504a75SDimitris Papastamos #define WM8995_GP7_FN_WIDTH 5 /* GP7_FN - [4:0] */ 35406a504a75SDimitris Papastamos 35416a504a75SDimitris Papastamos /* 35426a504a75SDimitris Papastamos * R1799 (0x707) - GPIO 8 35436a504a75SDimitris Papastamos */ 35446a504a75SDimitris Papastamos #define WM8995_GP8_DIR 0x8000 /* GP8_DIR */ 35456a504a75SDimitris Papastamos #define WM8995_GP8_DIR_MASK 0x8000 /* GP8_DIR */ 35466a504a75SDimitris Papastamos #define WM8995_GP8_DIR_SHIFT 15 /* GP8_DIR */ 35476a504a75SDimitris Papastamos #define WM8995_GP8_DIR_WIDTH 1 /* GP8_DIR */ 35486a504a75SDimitris Papastamos #define WM8995_GP8_PU 0x4000 /* GP8_PU */ 35496a504a75SDimitris Papastamos #define WM8995_GP8_PU_MASK 0x4000 /* GP8_PU */ 35506a504a75SDimitris Papastamos #define WM8995_GP8_PU_SHIFT 14 /* GP8_PU */ 35516a504a75SDimitris Papastamos #define WM8995_GP8_PU_WIDTH 1 /* GP8_PU */ 35526a504a75SDimitris Papastamos #define WM8995_GP8_PD 0x2000 /* GP8_PD */ 35536a504a75SDimitris Papastamos #define WM8995_GP8_PD_MASK 0x2000 /* GP8_PD */ 35546a504a75SDimitris Papastamos #define WM8995_GP8_PD_SHIFT 13 /* GP8_PD */ 35556a504a75SDimitris Papastamos #define WM8995_GP8_PD_WIDTH 1 /* GP8_PD */ 35566a504a75SDimitris Papastamos #define WM8995_GP8_POL 0x0400 /* GP8_POL */ 35576a504a75SDimitris Papastamos #define WM8995_GP8_POL_MASK 0x0400 /* GP8_POL */ 35586a504a75SDimitris Papastamos #define WM8995_GP8_POL_SHIFT 10 /* GP8_POL */ 35596a504a75SDimitris Papastamos #define WM8995_GP8_POL_WIDTH 1 /* GP8_POL */ 35606a504a75SDimitris Papastamos #define WM8995_GP8_OP_CFG 0x0200 /* GP8_OP_CFG */ 35616a504a75SDimitris Papastamos #define WM8995_GP8_OP_CFG_MASK 0x0200 /* GP8_OP_CFG */ 35626a504a75SDimitris Papastamos #define WM8995_GP8_OP_CFG_SHIFT 9 /* GP8_OP_CFG */ 35636a504a75SDimitris Papastamos #define WM8995_GP8_OP_CFG_WIDTH 1 /* GP8_OP_CFG */ 35646a504a75SDimitris Papastamos #define WM8995_GP8_DB 0x0100 /* GP8_DB */ 35656a504a75SDimitris Papastamos #define WM8995_GP8_DB_MASK 0x0100 /* GP8_DB */ 35666a504a75SDimitris Papastamos #define WM8995_GP8_DB_SHIFT 8 /* GP8_DB */ 35676a504a75SDimitris Papastamos #define WM8995_GP8_DB_WIDTH 1 /* GP8_DB */ 35686a504a75SDimitris Papastamos #define WM8995_GP8_LVL 0x0040 /* GP8_LVL */ 35696a504a75SDimitris Papastamos #define WM8995_GP8_LVL_MASK 0x0040 /* GP8_LVL */ 35706a504a75SDimitris Papastamos #define WM8995_GP8_LVL_SHIFT 6 /* GP8_LVL */ 35716a504a75SDimitris Papastamos #define WM8995_GP8_LVL_WIDTH 1 /* GP8_LVL */ 35726a504a75SDimitris Papastamos #define WM8995_GP8_FN_MASK 0x001F /* GP8_FN - [4:0] */ 35736a504a75SDimitris Papastamos #define WM8995_GP8_FN_SHIFT 0 /* GP8_FN - [4:0] */ 35746a504a75SDimitris Papastamos #define WM8995_GP8_FN_WIDTH 5 /* GP8_FN - [4:0] */ 35756a504a75SDimitris Papastamos 35766a504a75SDimitris Papastamos /* 35776a504a75SDimitris Papastamos * R1800 (0x708) - GPIO 9 35786a504a75SDimitris Papastamos */ 35796a504a75SDimitris Papastamos #define WM8995_GP9_DIR 0x8000 /* GP9_DIR */ 35806a504a75SDimitris Papastamos #define WM8995_GP9_DIR_MASK 0x8000 /* GP9_DIR */ 35816a504a75SDimitris Papastamos #define WM8995_GP9_DIR_SHIFT 15 /* GP9_DIR */ 35826a504a75SDimitris Papastamos #define WM8995_GP9_DIR_WIDTH 1 /* GP9_DIR */ 35836a504a75SDimitris Papastamos #define WM8995_GP9_PU 0x4000 /* GP9_PU */ 35846a504a75SDimitris Papastamos #define WM8995_GP9_PU_MASK 0x4000 /* GP9_PU */ 35856a504a75SDimitris Papastamos #define WM8995_GP9_PU_SHIFT 14 /* GP9_PU */ 35866a504a75SDimitris Papastamos #define WM8995_GP9_PU_WIDTH 1 /* GP9_PU */ 35876a504a75SDimitris Papastamos #define WM8995_GP9_PD 0x2000 /* GP9_PD */ 35886a504a75SDimitris Papastamos #define WM8995_GP9_PD_MASK 0x2000 /* GP9_PD */ 35896a504a75SDimitris Papastamos #define WM8995_GP9_PD_SHIFT 13 /* GP9_PD */ 35906a504a75SDimitris Papastamos #define WM8995_GP9_PD_WIDTH 1 /* GP9_PD */ 35916a504a75SDimitris Papastamos #define WM8995_GP9_POL 0x0400 /* GP9_POL */ 35926a504a75SDimitris Papastamos #define WM8995_GP9_POL_MASK 0x0400 /* GP9_POL */ 35936a504a75SDimitris Papastamos #define WM8995_GP9_POL_SHIFT 10 /* GP9_POL */ 35946a504a75SDimitris Papastamos #define WM8995_GP9_POL_WIDTH 1 /* GP9_POL */ 35956a504a75SDimitris Papastamos #define WM8995_GP9_OP_CFG 0x0200 /* GP9_OP_CFG */ 35966a504a75SDimitris Papastamos #define WM8995_GP9_OP_CFG_MASK 0x0200 /* GP9_OP_CFG */ 35976a504a75SDimitris Papastamos #define WM8995_GP9_OP_CFG_SHIFT 9 /* GP9_OP_CFG */ 35986a504a75SDimitris Papastamos #define WM8995_GP9_OP_CFG_WIDTH 1 /* GP9_OP_CFG */ 35996a504a75SDimitris Papastamos #define WM8995_GP9_DB 0x0100 /* GP9_DB */ 36006a504a75SDimitris Papastamos #define WM8995_GP9_DB_MASK 0x0100 /* GP9_DB */ 36016a504a75SDimitris Papastamos #define WM8995_GP9_DB_SHIFT 8 /* GP9_DB */ 36026a504a75SDimitris Papastamos #define WM8995_GP9_DB_WIDTH 1 /* GP9_DB */ 36036a504a75SDimitris Papastamos #define WM8995_GP9_LVL 0x0040 /* GP9_LVL */ 36046a504a75SDimitris Papastamos #define WM8995_GP9_LVL_MASK 0x0040 /* GP9_LVL */ 36056a504a75SDimitris Papastamos #define WM8995_GP9_LVL_SHIFT 6 /* GP9_LVL */ 36066a504a75SDimitris Papastamos #define WM8995_GP9_LVL_WIDTH 1 /* GP9_LVL */ 36076a504a75SDimitris Papastamos #define WM8995_GP9_FN_MASK 0x001F /* GP9_FN - [4:0] */ 36086a504a75SDimitris Papastamos #define WM8995_GP9_FN_SHIFT 0 /* GP9_FN - [4:0] */ 36096a504a75SDimitris Papastamos #define WM8995_GP9_FN_WIDTH 5 /* GP9_FN - [4:0] */ 36106a504a75SDimitris Papastamos 36116a504a75SDimitris Papastamos /* 36126a504a75SDimitris Papastamos * R1801 (0x709) - GPIO 10 36136a504a75SDimitris Papastamos */ 36146a504a75SDimitris Papastamos #define WM8995_GP10_DIR 0x8000 /* GP10_DIR */ 36156a504a75SDimitris Papastamos #define WM8995_GP10_DIR_MASK 0x8000 /* GP10_DIR */ 36166a504a75SDimitris Papastamos #define WM8995_GP10_DIR_SHIFT 15 /* GP10_DIR */ 36176a504a75SDimitris Papastamos #define WM8995_GP10_DIR_WIDTH 1 /* GP10_DIR */ 36186a504a75SDimitris Papastamos #define WM8995_GP10_PU 0x4000 /* GP10_PU */ 36196a504a75SDimitris Papastamos #define WM8995_GP10_PU_MASK 0x4000 /* GP10_PU */ 36206a504a75SDimitris Papastamos #define WM8995_GP10_PU_SHIFT 14 /* GP10_PU */ 36216a504a75SDimitris Papastamos #define WM8995_GP10_PU_WIDTH 1 /* GP10_PU */ 36226a504a75SDimitris Papastamos #define WM8995_GP10_PD 0x2000 /* GP10_PD */ 36236a504a75SDimitris Papastamos #define WM8995_GP10_PD_MASK 0x2000 /* GP10_PD */ 36246a504a75SDimitris Papastamos #define WM8995_GP10_PD_SHIFT 13 /* GP10_PD */ 36256a504a75SDimitris Papastamos #define WM8995_GP10_PD_WIDTH 1 /* GP10_PD */ 36266a504a75SDimitris Papastamos #define WM8995_GP10_POL 0x0400 /* GP10_POL */ 36276a504a75SDimitris Papastamos #define WM8995_GP10_POL_MASK 0x0400 /* GP10_POL */ 36286a504a75SDimitris Papastamos #define WM8995_GP10_POL_SHIFT 10 /* GP10_POL */ 36296a504a75SDimitris Papastamos #define WM8995_GP10_POL_WIDTH 1 /* GP10_POL */ 36306a504a75SDimitris Papastamos #define WM8995_GP10_OP_CFG 0x0200 /* GP10_OP_CFG */ 36316a504a75SDimitris Papastamos #define WM8995_GP10_OP_CFG_MASK 0x0200 /* GP10_OP_CFG */ 36326a504a75SDimitris Papastamos #define WM8995_GP10_OP_CFG_SHIFT 9 /* GP10_OP_CFG */ 36336a504a75SDimitris Papastamos #define WM8995_GP10_OP_CFG_WIDTH 1 /* GP10_OP_CFG */ 36346a504a75SDimitris Papastamos #define WM8995_GP10_DB 0x0100 /* GP10_DB */ 36356a504a75SDimitris Papastamos #define WM8995_GP10_DB_MASK 0x0100 /* GP10_DB */ 36366a504a75SDimitris Papastamos #define WM8995_GP10_DB_SHIFT 8 /* GP10_DB */ 36376a504a75SDimitris Papastamos #define WM8995_GP10_DB_WIDTH 1 /* GP10_DB */ 36386a504a75SDimitris Papastamos #define WM8995_GP10_LVL 0x0040 /* GP10_LVL */ 36396a504a75SDimitris Papastamos #define WM8995_GP10_LVL_MASK 0x0040 /* GP10_LVL */ 36406a504a75SDimitris Papastamos #define WM8995_GP10_LVL_SHIFT 6 /* GP10_LVL */ 36416a504a75SDimitris Papastamos #define WM8995_GP10_LVL_WIDTH 1 /* GP10_LVL */ 36426a504a75SDimitris Papastamos #define WM8995_GP10_FN_MASK 0x001F /* GP10_FN - [4:0] */ 36436a504a75SDimitris Papastamos #define WM8995_GP10_FN_SHIFT 0 /* GP10_FN - [4:0] */ 36446a504a75SDimitris Papastamos #define WM8995_GP10_FN_WIDTH 5 /* GP10_FN - [4:0] */ 36456a504a75SDimitris Papastamos 36466a504a75SDimitris Papastamos /* 36476a504a75SDimitris Papastamos * R1802 (0x70A) - GPIO 11 36486a504a75SDimitris Papastamos */ 36496a504a75SDimitris Papastamos #define WM8995_GP11_DIR 0x8000 /* GP11_DIR */ 36506a504a75SDimitris Papastamos #define WM8995_GP11_DIR_MASK 0x8000 /* GP11_DIR */ 36516a504a75SDimitris Papastamos #define WM8995_GP11_DIR_SHIFT 15 /* GP11_DIR */ 36526a504a75SDimitris Papastamos #define WM8995_GP11_DIR_WIDTH 1 /* GP11_DIR */ 36536a504a75SDimitris Papastamos #define WM8995_GP11_PU 0x4000 /* GP11_PU */ 36546a504a75SDimitris Papastamos #define WM8995_GP11_PU_MASK 0x4000 /* GP11_PU */ 36556a504a75SDimitris Papastamos #define WM8995_GP11_PU_SHIFT 14 /* GP11_PU */ 36566a504a75SDimitris Papastamos #define WM8995_GP11_PU_WIDTH 1 /* GP11_PU */ 36576a504a75SDimitris Papastamos #define WM8995_GP11_PD 0x2000 /* GP11_PD */ 36586a504a75SDimitris Papastamos #define WM8995_GP11_PD_MASK 0x2000 /* GP11_PD */ 36596a504a75SDimitris Papastamos #define WM8995_GP11_PD_SHIFT 13 /* GP11_PD */ 36606a504a75SDimitris Papastamos #define WM8995_GP11_PD_WIDTH 1 /* GP11_PD */ 36616a504a75SDimitris Papastamos #define WM8995_GP11_POL 0x0400 /* GP11_POL */ 36626a504a75SDimitris Papastamos #define WM8995_GP11_POL_MASK 0x0400 /* GP11_POL */ 36636a504a75SDimitris Papastamos #define WM8995_GP11_POL_SHIFT 10 /* GP11_POL */ 36646a504a75SDimitris Papastamos #define WM8995_GP11_POL_WIDTH 1 /* GP11_POL */ 36656a504a75SDimitris Papastamos #define WM8995_GP11_OP_CFG 0x0200 /* GP11_OP_CFG */ 36666a504a75SDimitris Papastamos #define WM8995_GP11_OP_CFG_MASK 0x0200 /* GP11_OP_CFG */ 36676a504a75SDimitris Papastamos #define WM8995_GP11_OP_CFG_SHIFT 9 /* GP11_OP_CFG */ 36686a504a75SDimitris Papastamos #define WM8995_GP11_OP_CFG_WIDTH 1 /* GP11_OP_CFG */ 36696a504a75SDimitris Papastamos #define WM8995_GP11_DB 0x0100 /* GP11_DB */ 36706a504a75SDimitris Papastamos #define WM8995_GP11_DB_MASK 0x0100 /* GP11_DB */ 36716a504a75SDimitris Papastamos #define WM8995_GP11_DB_SHIFT 8 /* GP11_DB */ 36726a504a75SDimitris Papastamos #define WM8995_GP11_DB_WIDTH 1 /* GP11_DB */ 36736a504a75SDimitris Papastamos #define WM8995_GP11_LVL 0x0040 /* GP11_LVL */ 36746a504a75SDimitris Papastamos #define WM8995_GP11_LVL_MASK 0x0040 /* GP11_LVL */ 36756a504a75SDimitris Papastamos #define WM8995_GP11_LVL_SHIFT 6 /* GP11_LVL */ 36766a504a75SDimitris Papastamos #define WM8995_GP11_LVL_WIDTH 1 /* GP11_LVL */ 36776a504a75SDimitris Papastamos #define WM8995_GP11_FN_MASK 0x001F /* GP11_FN - [4:0] */ 36786a504a75SDimitris Papastamos #define WM8995_GP11_FN_SHIFT 0 /* GP11_FN - [4:0] */ 36796a504a75SDimitris Papastamos #define WM8995_GP11_FN_WIDTH 5 /* GP11_FN - [4:0] */ 36806a504a75SDimitris Papastamos 36816a504a75SDimitris Papastamos /* 36826a504a75SDimitris Papastamos * R1803 (0x70B) - GPIO 12 36836a504a75SDimitris Papastamos */ 36846a504a75SDimitris Papastamos #define WM8995_GP12_DIR 0x8000 /* GP12_DIR */ 36856a504a75SDimitris Papastamos #define WM8995_GP12_DIR_MASK 0x8000 /* GP12_DIR */ 36866a504a75SDimitris Papastamos #define WM8995_GP12_DIR_SHIFT 15 /* GP12_DIR */ 36876a504a75SDimitris Papastamos #define WM8995_GP12_DIR_WIDTH 1 /* GP12_DIR */ 36886a504a75SDimitris Papastamos #define WM8995_GP12_PU 0x4000 /* GP12_PU */ 36896a504a75SDimitris Papastamos #define WM8995_GP12_PU_MASK 0x4000 /* GP12_PU */ 36906a504a75SDimitris Papastamos #define WM8995_GP12_PU_SHIFT 14 /* GP12_PU */ 36916a504a75SDimitris Papastamos #define WM8995_GP12_PU_WIDTH 1 /* GP12_PU */ 36926a504a75SDimitris Papastamos #define WM8995_GP12_PD 0x2000 /* GP12_PD */ 36936a504a75SDimitris Papastamos #define WM8995_GP12_PD_MASK 0x2000 /* GP12_PD */ 36946a504a75SDimitris Papastamos #define WM8995_GP12_PD_SHIFT 13 /* GP12_PD */ 36956a504a75SDimitris Papastamos #define WM8995_GP12_PD_WIDTH 1 /* GP12_PD */ 36966a504a75SDimitris Papastamos #define WM8995_GP12_POL 0x0400 /* GP12_POL */ 36976a504a75SDimitris Papastamos #define WM8995_GP12_POL_MASK 0x0400 /* GP12_POL */ 36986a504a75SDimitris Papastamos #define WM8995_GP12_POL_SHIFT 10 /* GP12_POL */ 36996a504a75SDimitris Papastamos #define WM8995_GP12_POL_WIDTH 1 /* GP12_POL */ 37006a504a75SDimitris Papastamos #define WM8995_GP12_OP_CFG 0x0200 /* GP12_OP_CFG */ 37016a504a75SDimitris Papastamos #define WM8995_GP12_OP_CFG_MASK 0x0200 /* GP12_OP_CFG */ 37026a504a75SDimitris Papastamos #define WM8995_GP12_OP_CFG_SHIFT 9 /* GP12_OP_CFG */ 37036a504a75SDimitris Papastamos #define WM8995_GP12_OP_CFG_WIDTH 1 /* GP12_OP_CFG */ 37046a504a75SDimitris Papastamos #define WM8995_GP12_DB 0x0100 /* GP12_DB */ 37056a504a75SDimitris Papastamos #define WM8995_GP12_DB_MASK 0x0100 /* GP12_DB */ 37066a504a75SDimitris Papastamos #define WM8995_GP12_DB_SHIFT 8 /* GP12_DB */ 37076a504a75SDimitris Papastamos #define WM8995_GP12_DB_WIDTH 1 /* GP12_DB */ 37086a504a75SDimitris Papastamos #define WM8995_GP12_LVL 0x0040 /* GP12_LVL */ 37096a504a75SDimitris Papastamos #define WM8995_GP12_LVL_MASK 0x0040 /* GP12_LVL */ 37106a504a75SDimitris Papastamos #define WM8995_GP12_LVL_SHIFT 6 /* GP12_LVL */ 37116a504a75SDimitris Papastamos #define WM8995_GP12_LVL_WIDTH 1 /* GP12_LVL */ 37126a504a75SDimitris Papastamos #define WM8995_GP12_FN_MASK 0x001F /* GP12_FN - [4:0] */ 37136a504a75SDimitris Papastamos #define WM8995_GP12_FN_SHIFT 0 /* GP12_FN - [4:0] */ 37146a504a75SDimitris Papastamos #define WM8995_GP12_FN_WIDTH 5 /* GP12_FN - [4:0] */ 37156a504a75SDimitris Papastamos 37166a504a75SDimitris Papastamos /* 37176a504a75SDimitris Papastamos * R1804 (0x70C) - GPIO 13 37186a504a75SDimitris Papastamos */ 37196a504a75SDimitris Papastamos #define WM8995_GP13_DIR 0x8000 /* GP13_DIR */ 37206a504a75SDimitris Papastamos #define WM8995_GP13_DIR_MASK 0x8000 /* GP13_DIR */ 37216a504a75SDimitris Papastamos #define WM8995_GP13_DIR_SHIFT 15 /* GP13_DIR */ 37226a504a75SDimitris Papastamos #define WM8995_GP13_DIR_WIDTH 1 /* GP13_DIR */ 37236a504a75SDimitris Papastamos #define WM8995_GP13_PU 0x4000 /* GP13_PU */ 37246a504a75SDimitris Papastamos #define WM8995_GP13_PU_MASK 0x4000 /* GP13_PU */ 37256a504a75SDimitris Papastamos #define WM8995_GP13_PU_SHIFT 14 /* GP13_PU */ 37266a504a75SDimitris Papastamos #define WM8995_GP13_PU_WIDTH 1 /* GP13_PU */ 37276a504a75SDimitris Papastamos #define WM8995_GP13_PD 0x2000 /* GP13_PD */ 37286a504a75SDimitris Papastamos #define WM8995_GP13_PD_MASK 0x2000 /* GP13_PD */ 37296a504a75SDimitris Papastamos #define WM8995_GP13_PD_SHIFT 13 /* GP13_PD */ 37306a504a75SDimitris Papastamos #define WM8995_GP13_PD_WIDTH 1 /* GP13_PD */ 37316a504a75SDimitris Papastamos #define WM8995_GP13_POL 0x0400 /* GP13_POL */ 37326a504a75SDimitris Papastamos #define WM8995_GP13_POL_MASK 0x0400 /* GP13_POL */ 37336a504a75SDimitris Papastamos #define WM8995_GP13_POL_SHIFT 10 /* GP13_POL */ 37346a504a75SDimitris Papastamos #define WM8995_GP13_POL_WIDTH 1 /* GP13_POL */ 37356a504a75SDimitris Papastamos #define WM8995_GP13_OP_CFG 0x0200 /* GP13_OP_CFG */ 37366a504a75SDimitris Papastamos #define WM8995_GP13_OP_CFG_MASK 0x0200 /* GP13_OP_CFG */ 37376a504a75SDimitris Papastamos #define WM8995_GP13_OP_CFG_SHIFT 9 /* GP13_OP_CFG */ 37386a504a75SDimitris Papastamos #define WM8995_GP13_OP_CFG_WIDTH 1 /* GP13_OP_CFG */ 37396a504a75SDimitris Papastamos #define WM8995_GP13_DB 0x0100 /* GP13_DB */ 37406a504a75SDimitris Papastamos #define WM8995_GP13_DB_MASK 0x0100 /* GP13_DB */ 37416a504a75SDimitris Papastamos #define WM8995_GP13_DB_SHIFT 8 /* GP13_DB */ 37426a504a75SDimitris Papastamos #define WM8995_GP13_DB_WIDTH 1 /* GP13_DB */ 37436a504a75SDimitris Papastamos #define WM8995_GP13_LVL 0x0040 /* GP13_LVL */ 37446a504a75SDimitris Papastamos #define WM8995_GP13_LVL_MASK 0x0040 /* GP13_LVL */ 37456a504a75SDimitris Papastamos #define WM8995_GP13_LVL_SHIFT 6 /* GP13_LVL */ 37466a504a75SDimitris Papastamos #define WM8995_GP13_LVL_WIDTH 1 /* GP13_LVL */ 37476a504a75SDimitris Papastamos #define WM8995_GP13_FN_MASK 0x001F /* GP13_FN - [4:0] */ 37486a504a75SDimitris Papastamos #define WM8995_GP13_FN_SHIFT 0 /* GP13_FN - [4:0] */ 37496a504a75SDimitris Papastamos #define WM8995_GP13_FN_WIDTH 5 /* GP13_FN - [4:0] */ 37506a504a75SDimitris Papastamos 37516a504a75SDimitris Papastamos /* 37526a504a75SDimitris Papastamos * R1805 (0x70D) - GPIO 14 37536a504a75SDimitris Papastamos */ 37546a504a75SDimitris Papastamos #define WM8995_GP14_DIR 0x8000 /* GP14_DIR */ 37556a504a75SDimitris Papastamos #define WM8995_GP14_DIR_MASK 0x8000 /* GP14_DIR */ 37566a504a75SDimitris Papastamos #define WM8995_GP14_DIR_SHIFT 15 /* GP14_DIR */ 37576a504a75SDimitris Papastamos #define WM8995_GP14_DIR_WIDTH 1 /* GP14_DIR */ 37586a504a75SDimitris Papastamos #define WM8995_GP14_PU 0x4000 /* GP14_PU */ 37596a504a75SDimitris Papastamos #define WM8995_GP14_PU_MASK 0x4000 /* GP14_PU */ 37606a504a75SDimitris Papastamos #define WM8995_GP14_PU_SHIFT 14 /* GP14_PU */ 37616a504a75SDimitris Papastamos #define WM8995_GP14_PU_WIDTH 1 /* GP14_PU */ 37626a504a75SDimitris Papastamos #define WM8995_GP14_PD 0x2000 /* GP14_PD */ 37636a504a75SDimitris Papastamos #define WM8995_GP14_PD_MASK 0x2000 /* GP14_PD */ 37646a504a75SDimitris Papastamos #define WM8995_GP14_PD_SHIFT 13 /* GP14_PD */ 37656a504a75SDimitris Papastamos #define WM8995_GP14_PD_WIDTH 1 /* GP14_PD */ 37666a504a75SDimitris Papastamos #define WM8995_GP14_POL 0x0400 /* GP14_POL */ 37676a504a75SDimitris Papastamos #define WM8995_GP14_POL_MASK 0x0400 /* GP14_POL */ 37686a504a75SDimitris Papastamos #define WM8995_GP14_POL_SHIFT 10 /* GP14_POL */ 37696a504a75SDimitris Papastamos #define WM8995_GP14_POL_WIDTH 1 /* GP14_POL */ 37706a504a75SDimitris Papastamos #define WM8995_GP14_OP_CFG 0x0200 /* GP14_OP_CFG */ 37716a504a75SDimitris Papastamos #define WM8995_GP14_OP_CFG_MASK 0x0200 /* GP14_OP_CFG */ 37726a504a75SDimitris Papastamos #define WM8995_GP14_OP_CFG_SHIFT 9 /* GP14_OP_CFG */ 37736a504a75SDimitris Papastamos #define WM8995_GP14_OP_CFG_WIDTH 1 /* GP14_OP_CFG */ 37746a504a75SDimitris Papastamos #define WM8995_GP14_DB 0x0100 /* GP14_DB */ 37756a504a75SDimitris Papastamos #define WM8995_GP14_DB_MASK 0x0100 /* GP14_DB */ 37766a504a75SDimitris Papastamos #define WM8995_GP14_DB_SHIFT 8 /* GP14_DB */ 37776a504a75SDimitris Papastamos #define WM8995_GP14_DB_WIDTH 1 /* GP14_DB */ 37786a504a75SDimitris Papastamos #define WM8995_GP14_LVL 0x0040 /* GP14_LVL */ 37796a504a75SDimitris Papastamos #define WM8995_GP14_LVL_MASK 0x0040 /* GP14_LVL */ 37806a504a75SDimitris Papastamos #define WM8995_GP14_LVL_SHIFT 6 /* GP14_LVL */ 37816a504a75SDimitris Papastamos #define WM8995_GP14_LVL_WIDTH 1 /* GP14_LVL */ 37826a504a75SDimitris Papastamos #define WM8995_GP14_FN_MASK 0x001F /* GP14_FN - [4:0] */ 37836a504a75SDimitris Papastamos #define WM8995_GP14_FN_SHIFT 0 /* GP14_FN - [4:0] */ 37846a504a75SDimitris Papastamos #define WM8995_GP14_FN_WIDTH 5 /* GP14_FN - [4:0] */ 37856a504a75SDimitris Papastamos 37866a504a75SDimitris Papastamos /* 37876a504a75SDimitris Papastamos * R1824 (0x720) - Pull Control (1) 37886a504a75SDimitris Papastamos */ 37896a504a75SDimitris Papastamos #define WM8995_DMICDAT3_PD 0x4000 /* DMICDAT3_PD */ 37906a504a75SDimitris Papastamos #define WM8995_DMICDAT3_PD_MASK 0x4000 /* DMICDAT3_PD */ 37916a504a75SDimitris Papastamos #define WM8995_DMICDAT3_PD_SHIFT 14 /* DMICDAT3_PD */ 37926a504a75SDimitris Papastamos #define WM8995_DMICDAT3_PD_WIDTH 1 /* DMICDAT3_PD */ 37936a504a75SDimitris Papastamos #define WM8995_DMICDAT2_PD 0x1000 /* DMICDAT2_PD */ 37946a504a75SDimitris Papastamos #define WM8995_DMICDAT2_PD_MASK 0x1000 /* DMICDAT2_PD */ 37956a504a75SDimitris Papastamos #define WM8995_DMICDAT2_PD_SHIFT 12 /* DMICDAT2_PD */ 37966a504a75SDimitris Papastamos #define WM8995_DMICDAT2_PD_WIDTH 1 /* DMICDAT2_PD */ 37976a504a75SDimitris Papastamos #define WM8995_DMICDAT1_PD 0x0400 /* DMICDAT1_PD */ 37986a504a75SDimitris Papastamos #define WM8995_DMICDAT1_PD_MASK 0x0400 /* DMICDAT1_PD */ 37996a504a75SDimitris Papastamos #define WM8995_DMICDAT1_PD_SHIFT 10 /* DMICDAT1_PD */ 38006a504a75SDimitris Papastamos #define WM8995_DMICDAT1_PD_WIDTH 1 /* DMICDAT1_PD */ 38016a504a75SDimitris Papastamos #define WM8995_MCLK2_PU 0x0200 /* MCLK2_PU */ 38026a504a75SDimitris Papastamos #define WM8995_MCLK2_PU_MASK 0x0200 /* MCLK2_PU */ 38036a504a75SDimitris Papastamos #define WM8995_MCLK2_PU_SHIFT 9 /* MCLK2_PU */ 38046a504a75SDimitris Papastamos #define WM8995_MCLK2_PU_WIDTH 1 /* MCLK2_PU */ 38056a504a75SDimitris Papastamos #define WM8995_MCLK2_PD 0x0100 /* MCLK2_PD */ 38066a504a75SDimitris Papastamos #define WM8995_MCLK2_PD_MASK 0x0100 /* MCLK2_PD */ 38076a504a75SDimitris Papastamos #define WM8995_MCLK2_PD_SHIFT 8 /* MCLK2_PD */ 38086a504a75SDimitris Papastamos #define WM8995_MCLK2_PD_WIDTH 1 /* MCLK2_PD */ 38096a504a75SDimitris Papastamos #define WM8995_MCLK1_PU 0x0080 /* MCLK1_PU */ 38106a504a75SDimitris Papastamos #define WM8995_MCLK1_PU_MASK 0x0080 /* MCLK1_PU */ 38116a504a75SDimitris Papastamos #define WM8995_MCLK1_PU_SHIFT 7 /* MCLK1_PU */ 38126a504a75SDimitris Papastamos #define WM8995_MCLK1_PU_WIDTH 1 /* MCLK1_PU */ 38136a504a75SDimitris Papastamos #define WM8995_MCLK1_PD 0x0040 /* MCLK1_PD */ 38146a504a75SDimitris Papastamos #define WM8995_MCLK1_PD_MASK 0x0040 /* MCLK1_PD */ 38156a504a75SDimitris Papastamos #define WM8995_MCLK1_PD_SHIFT 6 /* MCLK1_PD */ 38166a504a75SDimitris Papastamos #define WM8995_MCLK1_PD_WIDTH 1 /* MCLK1_PD */ 38176a504a75SDimitris Papastamos #define WM8995_DACDAT1_PU 0x0020 /* DACDAT1_PU */ 38186a504a75SDimitris Papastamos #define WM8995_DACDAT1_PU_MASK 0x0020 /* DACDAT1_PU */ 38196a504a75SDimitris Papastamos #define WM8995_DACDAT1_PU_SHIFT 5 /* DACDAT1_PU */ 38206a504a75SDimitris Papastamos #define WM8995_DACDAT1_PU_WIDTH 1 /* DACDAT1_PU */ 38216a504a75SDimitris Papastamos #define WM8995_DACDAT1_PD 0x0010 /* DACDAT1_PD */ 38226a504a75SDimitris Papastamos #define WM8995_DACDAT1_PD_MASK 0x0010 /* DACDAT1_PD */ 38236a504a75SDimitris Papastamos #define WM8995_DACDAT1_PD_SHIFT 4 /* DACDAT1_PD */ 38246a504a75SDimitris Papastamos #define WM8995_DACDAT1_PD_WIDTH 1 /* DACDAT1_PD */ 38256a504a75SDimitris Papastamos #define WM8995_DACLRCLK1_PU 0x0008 /* DACLRCLK1_PU */ 38266a504a75SDimitris Papastamos #define WM8995_DACLRCLK1_PU_MASK 0x0008 /* DACLRCLK1_PU */ 38276a504a75SDimitris Papastamos #define WM8995_DACLRCLK1_PU_SHIFT 3 /* DACLRCLK1_PU */ 38286a504a75SDimitris Papastamos #define WM8995_DACLRCLK1_PU_WIDTH 1 /* DACLRCLK1_PU */ 38296a504a75SDimitris Papastamos #define WM8995_DACLRCLK1_PD 0x0004 /* DACLRCLK1_PD */ 38306a504a75SDimitris Papastamos #define WM8995_DACLRCLK1_PD_MASK 0x0004 /* DACLRCLK1_PD */ 38316a504a75SDimitris Papastamos #define WM8995_DACLRCLK1_PD_SHIFT 2 /* DACLRCLK1_PD */ 38326a504a75SDimitris Papastamos #define WM8995_DACLRCLK1_PD_WIDTH 1 /* DACLRCLK1_PD */ 38336a504a75SDimitris Papastamos #define WM8995_BCLK1_PU 0x0002 /* BCLK1_PU */ 38346a504a75SDimitris Papastamos #define WM8995_BCLK1_PU_MASK 0x0002 /* BCLK1_PU */ 38356a504a75SDimitris Papastamos #define WM8995_BCLK1_PU_SHIFT 1 /* BCLK1_PU */ 38366a504a75SDimitris Papastamos #define WM8995_BCLK1_PU_WIDTH 1 /* BCLK1_PU */ 38376a504a75SDimitris Papastamos #define WM8995_BCLK1_PD 0x0001 /* BCLK1_PD */ 38386a504a75SDimitris Papastamos #define WM8995_BCLK1_PD_MASK 0x0001 /* BCLK1_PD */ 38396a504a75SDimitris Papastamos #define WM8995_BCLK1_PD_SHIFT 0 /* BCLK1_PD */ 38406a504a75SDimitris Papastamos #define WM8995_BCLK1_PD_WIDTH 1 /* BCLK1_PD */ 38416a504a75SDimitris Papastamos 38426a504a75SDimitris Papastamos /* 38436a504a75SDimitris Papastamos * R1825 (0x721) - Pull Control (2) 38446a504a75SDimitris Papastamos */ 38456a504a75SDimitris Papastamos #define WM8995_LDO1ENA_PD 0x0010 /* LDO1ENA_PD */ 38466a504a75SDimitris Papastamos #define WM8995_LDO1ENA_PD_MASK 0x0010 /* LDO1ENA_PD */ 38476a504a75SDimitris Papastamos #define WM8995_LDO1ENA_PD_SHIFT 4 /* LDO1ENA_PD */ 38486a504a75SDimitris Papastamos #define WM8995_LDO1ENA_PD_WIDTH 1 /* LDO1ENA_PD */ 38496a504a75SDimitris Papastamos #define WM8995_MODE_PD 0x0004 /* MODE_PD */ 38506a504a75SDimitris Papastamos #define WM8995_MODE_PD_MASK 0x0004 /* MODE_PD */ 38516a504a75SDimitris Papastamos #define WM8995_MODE_PD_SHIFT 2 /* MODE_PD */ 38526a504a75SDimitris Papastamos #define WM8995_MODE_PD_WIDTH 1 /* MODE_PD */ 38536a504a75SDimitris Papastamos #define WM8995_CSNADDR_PD 0x0001 /* CSNADDR_PD */ 38546a504a75SDimitris Papastamos #define WM8995_CSNADDR_PD_MASK 0x0001 /* CSNADDR_PD */ 38556a504a75SDimitris Papastamos #define WM8995_CSNADDR_PD_SHIFT 0 /* CSNADDR_PD */ 38566a504a75SDimitris Papastamos #define WM8995_CSNADDR_PD_WIDTH 1 /* CSNADDR_PD */ 38576a504a75SDimitris Papastamos 38586a504a75SDimitris Papastamos /* 38596a504a75SDimitris Papastamos * R1840 (0x730) - Interrupt Status 1 38606a504a75SDimitris Papastamos */ 38616a504a75SDimitris Papastamos #define WM8995_GP14_EINT 0x2000 /* GP14_EINT */ 38626a504a75SDimitris Papastamos #define WM8995_GP14_EINT_MASK 0x2000 /* GP14_EINT */ 38636a504a75SDimitris Papastamos #define WM8995_GP14_EINT_SHIFT 13 /* GP14_EINT */ 38646a504a75SDimitris Papastamos #define WM8995_GP14_EINT_WIDTH 1 /* GP14_EINT */ 38656a504a75SDimitris Papastamos #define WM8995_GP13_EINT 0x1000 /* GP13_EINT */ 38666a504a75SDimitris Papastamos #define WM8995_GP13_EINT_MASK 0x1000 /* GP13_EINT */ 38676a504a75SDimitris Papastamos #define WM8995_GP13_EINT_SHIFT 12 /* GP13_EINT */ 38686a504a75SDimitris Papastamos #define WM8995_GP13_EINT_WIDTH 1 /* GP13_EINT */ 38696a504a75SDimitris Papastamos #define WM8995_GP12_EINT 0x0800 /* GP12_EINT */ 38706a504a75SDimitris Papastamos #define WM8995_GP12_EINT_MASK 0x0800 /* GP12_EINT */ 38716a504a75SDimitris Papastamos #define WM8995_GP12_EINT_SHIFT 11 /* GP12_EINT */ 38726a504a75SDimitris Papastamos #define WM8995_GP12_EINT_WIDTH 1 /* GP12_EINT */ 38736a504a75SDimitris Papastamos #define WM8995_GP11_EINT 0x0400 /* GP11_EINT */ 38746a504a75SDimitris Papastamos #define WM8995_GP11_EINT_MASK 0x0400 /* GP11_EINT */ 38756a504a75SDimitris Papastamos #define WM8995_GP11_EINT_SHIFT 10 /* GP11_EINT */ 38766a504a75SDimitris Papastamos #define WM8995_GP11_EINT_WIDTH 1 /* GP11_EINT */ 38776a504a75SDimitris Papastamos #define WM8995_GP10_EINT 0x0200 /* GP10_EINT */ 38786a504a75SDimitris Papastamos #define WM8995_GP10_EINT_MASK 0x0200 /* GP10_EINT */ 38796a504a75SDimitris Papastamos #define WM8995_GP10_EINT_SHIFT 9 /* GP10_EINT */ 38806a504a75SDimitris Papastamos #define WM8995_GP10_EINT_WIDTH 1 /* GP10_EINT */ 38816a504a75SDimitris Papastamos #define WM8995_GP9_EINT 0x0100 /* GP9_EINT */ 38826a504a75SDimitris Papastamos #define WM8995_GP9_EINT_MASK 0x0100 /* GP9_EINT */ 38836a504a75SDimitris Papastamos #define WM8995_GP9_EINT_SHIFT 8 /* GP9_EINT */ 38846a504a75SDimitris Papastamos #define WM8995_GP9_EINT_WIDTH 1 /* GP9_EINT */ 38856a504a75SDimitris Papastamos #define WM8995_GP8_EINT 0x0080 /* GP8_EINT */ 38866a504a75SDimitris Papastamos #define WM8995_GP8_EINT_MASK 0x0080 /* GP8_EINT */ 38876a504a75SDimitris Papastamos #define WM8995_GP8_EINT_SHIFT 7 /* GP8_EINT */ 38886a504a75SDimitris Papastamos #define WM8995_GP8_EINT_WIDTH 1 /* GP8_EINT */ 38896a504a75SDimitris Papastamos #define WM8995_GP7_EINT 0x0040 /* GP7_EINT */ 38906a504a75SDimitris Papastamos #define WM8995_GP7_EINT_MASK 0x0040 /* GP7_EINT */ 38916a504a75SDimitris Papastamos #define WM8995_GP7_EINT_SHIFT 6 /* GP7_EINT */ 38926a504a75SDimitris Papastamos #define WM8995_GP7_EINT_WIDTH 1 /* GP7_EINT */ 38936a504a75SDimitris Papastamos #define WM8995_GP6_EINT 0x0020 /* GP6_EINT */ 38946a504a75SDimitris Papastamos #define WM8995_GP6_EINT_MASK 0x0020 /* GP6_EINT */ 38956a504a75SDimitris Papastamos #define WM8995_GP6_EINT_SHIFT 5 /* GP6_EINT */ 38966a504a75SDimitris Papastamos #define WM8995_GP6_EINT_WIDTH 1 /* GP6_EINT */ 38976a504a75SDimitris Papastamos #define WM8995_GP5_EINT 0x0010 /* GP5_EINT */ 38986a504a75SDimitris Papastamos #define WM8995_GP5_EINT_MASK 0x0010 /* GP5_EINT */ 38996a504a75SDimitris Papastamos #define WM8995_GP5_EINT_SHIFT 4 /* GP5_EINT */ 39006a504a75SDimitris Papastamos #define WM8995_GP5_EINT_WIDTH 1 /* GP5_EINT */ 39016a504a75SDimitris Papastamos #define WM8995_GP4_EINT 0x0008 /* GP4_EINT */ 39026a504a75SDimitris Papastamos #define WM8995_GP4_EINT_MASK 0x0008 /* GP4_EINT */ 39036a504a75SDimitris Papastamos #define WM8995_GP4_EINT_SHIFT 3 /* GP4_EINT */ 39046a504a75SDimitris Papastamos #define WM8995_GP4_EINT_WIDTH 1 /* GP4_EINT */ 39056a504a75SDimitris Papastamos #define WM8995_GP3_EINT 0x0004 /* GP3_EINT */ 39066a504a75SDimitris Papastamos #define WM8995_GP3_EINT_MASK 0x0004 /* GP3_EINT */ 39076a504a75SDimitris Papastamos #define WM8995_GP3_EINT_SHIFT 2 /* GP3_EINT */ 39086a504a75SDimitris Papastamos #define WM8995_GP3_EINT_WIDTH 1 /* GP3_EINT */ 39096a504a75SDimitris Papastamos #define WM8995_GP2_EINT 0x0002 /* GP2_EINT */ 39106a504a75SDimitris Papastamos #define WM8995_GP2_EINT_MASK 0x0002 /* GP2_EINT */ 39116a504a75SDimitris Papastamos #define WM8995_GP2_EINT_SHIFT 1 /* GP2_EINT */ 39126a504a75SDimitris Papastamos #define WM8995_GP2_EINT_WIDTH 1 /* GP2_EINT */ 39136a504a75SDimitris Papastamos #define WM8995_GP1_EINT 0x0001 /* GP1_EINT */ 39146a504a75SDimitris Papastamos #define WM8995_GP1_EINT_MASK 0x0001 /* GP1_EINT */ 39156a504a75SDimitris Papastamos #define WM8995_GP1_EINT_SHIFT 0 /* GP1_EINT */ 39166a504a75SDimitris Papastamos #define WM8995_GP1_EINT_WIDTH 1 /* GP1_EINT */ 39176a504a75SDimitris Papastamos 39186a504a75SDimitris Papastamos /* 39196a504a75SDimitris Papastamos * R1841 (0x731) - Interrupt Status 2 39206a504a75SDimitris Papastamos */ 39216a504a75SDimitris Papastamos #define WM8995_DCS_DONE_23_EINT 0x1000 /* DCS_DONE_23_EINT */ 39226a504a75SDimitris Papastamos #define WM8995_DCS_DONE_23_EINT_MASK 0x1000 /* DCS_DONE_23_EINT */ 39236a504a75SDimitris Papastamos #define WM8995_DCS_DONE_23_EINT_SHIFT 12 /* DCS_DONE_23_EINT */ 39246a504a75SDimitris Papastamos #define WM8995_DCS_DONE_23_EINT_WIDTH 1 /* DCS_DONE_23_EINT */ 39256a504a75SDimitris Papastamos #define WM8995_DCS_DONE_01_EINT 0x0800 /* DCS_DONE_01_EINT */ 39266a504a75SDimitris Papastamos #define WM8995_DCS_DONE_01_EINT_MASK 0x0800 /* DCS_DONE_01_EINT */ 39276a504a75SDimitris Papastamos #define WM8995_DCS_DONE_01_EINT_SHIFT 11 /* DCS_DONE_01_EINT */ 39286a504a75SDimitris Papastamos #define WM8995_DCS_DONE_01_EINT_WIDTH 1 /* DCS_DONE_01_EINT */ 39296a504a75SDimitris Papastamos #define WM8995_WSEQ_DONE_EINT 0x0400 /* WSEQ_DONE_EINT */ 39306a504a75SDimitris Papastamos #define WM8995_WSEQ_DONE_EINT_MASK 0x0400 /* WSEQ_DONE_EINT */ 39316a504a75SDimitris Papastamos #define WM8995_WSEQ_DONE_EINT_SHIFT 10 /* WSEQ_DONE_EINT */ 39326a504a75SDimitris Papastamos #define WM8995_WSEQ_DONE_EINT_WIDTH 1 /* WSEQ_DONE_EINT */ 39336a504a75SDimitris Papastamos #define WM8995_FIFOS_ERR_EINT 0x0200 /* FIFOS_ERR_EINT */ 39346a504a75SDimitris Papastamos #define WM8995_FIFOS_ERR_EINT_MASK 0x0200 /* FIFOS_ERR_EINT */ 39356a504a75SDimitris Papastamos #define WM8995_FIFOS_ERR_EINT_SHIFT 9 /* FIFOS_ERR_EINT */ 39366a504a75SDimitris Papastamos #define WM8995_FIFOS_ERR_EINT_WIDTH 1 /* FIFOS_ERR_EINT */ 39376a504a75SDimitris Papastamos #define WM8995_AIF2DRC_SIG_DET_EINT 0x0100 /* AIF2DRC_SIG_DET_EINT */ 39386a504a75SDimitris Papastamos #define WM8995_AIF2DRC_SIG_DET_EINT_MASK 0x0100 /* AIF2DRC_SIG_DET_EINT */ 39396a504a75SDimitris Papastamos #define WM8995_AIF2DRC_SIG_DET_EINT_SHIFT 8 /* AIF2DRC_SIG_DET_EINT */ 39406a504a75SDimitris Papastamos #define WM8995_AIF2DRC_SIG_DET_EINT_WIDTH 1 /* AIF2DRC_SIG_DET_EINT */ 39416a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_SIG_DET_EINT 0x0080 /* AIF1DRC2_SIG_DET_EINT */ 39426a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_SIG_DET_EINT_MASK 0x0080 /* AIF1DRC2_SIG_DET_EINT */ 39436a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_SIG_DET_EINT_SHIFT 7 /* AIF1DRC2_SIG_DET_EINT */ 39446a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_SIG_DET_EINT_WIDTH 1 /* AIF1DRC2_SIG_DET_EINT */ 39456a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_SIG_DET_EINT 0x0040 /* AIF1DRC1_SIG_DET_EINT */ 39466a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_SIG_DET_EINT_MASK 0x0040 /* AIF1DRC1_SIG_DET_EINT */ 39476a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_SIG_DET_EINT_SHIFT 6 /* AIF1DRC1_SIG_DET_EINT */ 39486a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_SIG_DET_EINT_WIDTH 1 /* AIF1DRC1_SIG_DET_EINT */ 39496a504a75SDimitris Papastamos #define WM8995_SRC2_LOCK_EINT 0x0020 /* SRC2_LOCK_EINT */ 39506a504a75SDimitris Papastamos #define WM8995_SRC2_LOCK_EINT_MASK 0x0020 /* SRC2_LOCK_EINT */ 39516a504a75SDimitris Papastamos #define WM8995_SRC2_LOCK_EINT_SHIFT 5 /* SRC2_LOCK_EINT */ 39526a504a75SDimitris Papastamos #define WM8995_SRC2_LOCK_EINT_WIDTH 1 /* SRC2_LOCK_EINT */ 39536a504a75SDimitris Papastamos #define WM8995_SRC1_LOCK_EINT 0x0010 /* SRC1_LOCK_EINT */ 39546a504a75SDimitris Papastamos #define WM8995_SRC1_LOCK_EINT_MASK 0x0010 /* SRC1_LOCK_EINT */ 39556a504a75SDimitris Papastamos #define WM8995_SRC1_LOCK_EINT_SHIFT 4 /* SRC1_LOCK_EINT */ 39566a504a75SDimitris Papastamos #define WM8995_SRC1_LOCK_EINT_WIDTH 1 /* SRC1_LOCK_EINT */ 39576a504a75SDimitris Papastamos #define WM8995_FLL2_LOCK_EINT 0x0008 /* FLL2_LOCK_EINT */ 39586a504a75SDimitris Papastamos #define WM8995_FLL2_LOCK_EINT_MASK 0x0008 /* FLL2_LOCK_EINT */ 39596a504a75SDimitris Papastamos #define WM8995_FLL2_LOCK_EINT_SHIFT 3 /* FLL2_LOCK_EINT */ 39606a504a75SDimitris Papastamos #define WM8995_FLL2_LOCK_EINT_WIDTH 1 /* FLL2_LOCK_EINT */ 39616a504a75SDimitris Papastamos #define WM8995_FLL1_LOCK_EINT 0x0004 /* FLL1_LOCK_EINT */ 39626a504a75SDimitris Papastamos #define WM8995_FLL1_LOCK_EINT_MASK 0x0004 /* FLL1_LOCK_EINT */ 39636a504a75SDimitris Papastamos #define WM8995_FLL1_LOCK_EINT_SHIFT 2 /* FLL1_LOCK_EINT */ 39646a504a75SDimitris Papastamos #define WM8995_FLL1_LOCK_EINT_WIDTH 1 /* FLL1_LOCK_EINT */ 39656a504a75SDimitris Papastamos #define WM8995_HP_DONE_EINT 0x0002 /* HP_DONE_EINT */ 39666a504a75SDimitris Papastamos #define WM8995_HP_DONE_EINT_MASK 0x0002 /* HP_DONE_EINT */ 39676a504a75SDimitris Papastamos #define WM8995_HP_DONE_EINT_SHIFT 1 /* HP_DONE_EINT */ 39686a504a75SDimitris Papastamos #define WM8995_HP_DONE_EINT_WIDTH 1 /* HP_DONE_EINT */ 39696a504a75SDimitris Papastamos #define WM8995_MICD_EINT 0x0001 /* MICD_EINT */ 39706a504a75SDimitris Papastamos #define WM8995_MICD_EINT_MASK 0x0001 /* MICD_EINT */ 39716a504a75SDimitris Papastamos #define WM8995_MICD_EINT_SHIFT 0 /* MICD_EINT */ 39726a504a75SDimitris Papastamos #define WM8995_MICD_EINT_WIDTH 1 /* MICD_EINT */ 39736a504a75SDimitris Papastamos 39746a504a75SDimitris Papastamos /* 39756a504a75SDimitris Papastamos * R1842 (0x732) - Interrupt Raw Status 2 39766a504a75SDimitris Papastamos */ 39776a504a75SDimitris Papastamos #define WM8995_DCS_DONE_23_STS 0x1000 /* DCS_DONE_23_STS */ 39786a504a75SDimitris Papastamos #define WM8995_DCS_DONE_23_STS_MASK 0x1000 /* DCS_DONE_23_STS */ 39796a504a75SDimitris Papastamos #define WM8995_DCS_DONE_23_STS_SHIFT 12 /* DCS_DONE_23_STS */ 39806a504a75SDimitris Papastamos #define WM8995_DCS_DONE_23_STS_WIDTH 1 /* DCS_DONE_23_STS */ 39816a504a75SDimitris Papastamos #define WM8995_DCS_DONE_01_STS 0x0800 /* DCS_DONE_01_STS */ 39826a504a75SDimitris Papastamos #define WM8995_DCS_DONE_01_STS_MASK 0x0800 /* DCS_DONE_01_STS */ 39836a504a75SDimitris Papastamos #define WM8995_DCS_DONE_01_STS_SHIFT 11 /* DCS_DONE_01_STS */ 39846a504a75SDimitris Papastamos #define WM8995_DCS_DONE_01_STS_WIDTH 1 /* DCS_DONE_01_STS */ 39856a504a75SDimitris Papastamos #define WM8995_WSEQ_DONE_STS 0x0400 /* WSEQ_DONE_STS */ 39866a504a75SDimitris Papastamos #define WM8995_WSEQ_DONE_STS_MASK 0x0400 /* WSEQ_DONE_STS */ 39876a504a75SDimitris Papastamos #define WM8995_WSEQ_DONE_STS_SHIFT 10 /* WSEQ_DONE_STS */ 39886a504a75SDimitris Papastamos #define WM8995_WSEQ_DONE_STS_WIDTH 1 /* WSEQ_DONE_STS */ 39896a504a75SDimitris Papastamos #define WM8995_FIFOS_ERR_STS 0x0200 /* FIFOS_ERR_STS */ 39906a504a75SDimitris Papastamos #define WM8995_FIFOS_ERR_STS_MASK 0x0200 /* FIFOS_ERR_STS */ 39916a504a75SDimitris Papastamos #define WM8995_FIFOS_ERR_STS_SHIFT 9 /* FIFOS_ERR_STS */ 39926a504a75SDimitris Papastamos #define WM8995_FIFOS_ERR_STS_WIDTH 1 /* FIFOS_ERR_STS */ 39936a504a75SDimitris Papastamos #define WM8995_AIF2DRC_SIG_DET_STS 0x0100 /* AIF2DRC_SIG_DET_STS */ 39946a504a75SDimitris Papastamos #define WM8995_AIF2DRC_SIG_DET_STS_MASK 0x0100 /* AIF2DRC_SIG_DET_STS */ 39956a504a75SDimitris Papastamos #define WM8995_AIF2DRC_SIG_DET_STS_SHIFT 8 /* AIF2DRC_SIG_DET_STS */ 39966a504a75SDimitris Papastamos #define WM8995_AIF2DRC_SIG_DET_STS_WIDTH 1 /* AIF2DRC_SIG_DET_STS */ 39976a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_SIG_DET_STS 0x0080 /* AIF1DRC2_SIG_DET_STS */ 39986a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_SIG_DET_STS_MASK 0x0080 /* AIF1DRC2_SIG_DET_STS */ 39996a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_SIG_DET_STS_SHIFT 7 /* AIF1DRC2_SIG_DET_STS */ 40006a504a75SDimitris Papastamos #define WM8995_AIF1DRC2_SIG_DET_STS_WIDTH 1 /* AIF1DRC2_SIG_DET_STS */ 40016a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_SIG_DET_STS 0x0040 /* AIF1DRC1_SIG_DET_STS */ 40026a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_SIG_DET_STS_MASK 0x0040 /* AIF1DRC1_SIG_DET_STS */ 40036a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_SIG_DET_STS_SHIFT 6 /* AIF1DRC1_SIG_DET_STS */ 40046a504a75SDimitris Papastamos #define WM8995_AIF1DRC1_SIG_DET_STS_WIDTH 1 /* AIF1DRC1_SIG_DET_STS */ 40056a504a75SDimitris Papastamos #define WM8995_SRC2_LOCK_STS 0x0020 /* SRC2_LOCK_STS */ 40066a504a75SDimitris Papastamos #define WM8995_SRC2_LOCK_STS_MASK 0x0020 /* SRC2_LOCK_STS */ 40076a504a75SDimitris Papastamos #define WM8995_SRC2_LOCK_STS_SHIFT 5 /* SRC2_LOCK_STS */ 40086a504a75SDimitris Papastamos #define WM8995_SRC2_LOCK_STS_WIDTH 1 /* SRC2_LOCK_STS */ 40096a504a75SDimitris Papastamos #define WM8995_SRC1_LOCK_STS 0x0010 /* SRC1_LOCK_STS */ 40106a504a75SDimitris Papastamos #define WM8995_SRC1_LOCK_STS_MASK 0x0010 /* SRC1_LOCK_STS */ 40116a504a75SDimitris Papastamos #define WM8995_SRC1_LOCK_STS_SHIFT 4 /* SRC1_LOCK_STS */ 40126a504a75SDimitris Papastamos #define WM8995_SRC1_LOCK_STS_WIDTH 1 /* SRC1_LOCK_STS */ 40136a504a75SDimitris Papastamos #define WM8995_FLL2_LOCK_STS 0x0008 /* FLL2_LOCK_STS */ 40146a504a75SDimitris Papastamos #define WM8995_FLL2_LOCK_STS_MASK 0x0008 /* FLL2_LOCK_STS */ 40156a504a75SDimitris Papastamos #define WM8995_FLL2_LOCK_STS_SHIFT 3 /* FLL2_LOCK_STS */ 40166a504a75SDimitris Papastamos #define WM8995_FLL2_LOCK_STS_WIDTH 1 /* FLL2_LOCK_STS */ 40176a504a75SDimitris Papastamos #define WM8995_FLL1_LOCK_STS 0x0004 /* FLL1_LOCK_STS */ 40186a504a75SDimitris Papastamos #define WM8995_FLL1_LOCK_STS_MASK 0x0004 /* FLL1_LOCK_STS */ 40196a504a75SDimitris Papastamos #define WM8995_FLL1_LOCK_STS_SHIFT 2 /* FLL1_LOCK_STS */ 40206a504a75SDimitris Papastamos #define WM8995_FLL1_LOCK_STS_WIDTH 1 /* FLL1_LOCK_STS */ 40216a504a75SDimitris Papastamos 40226a504a75SDimitris Papastamos /* 40236a504a75SDimitris Papastamos * R1848 (0x738) - Interrupt Status 1 Mask 40246a504a75SDimitris Papastamos */ 40256a504a75SDimitris Papastamos #define WM8995_IM_GP14_EINT 0x2000 /* IM_GP14_EINT */ 40266a504a75SDimitris Papastamos #define WM8995_IM_GP14_EINT_MASK 0x2000 /* IM_GP14_EINT */ 40276a504a75SDimitris Papastamos #define WM8995_IM_GP14_EINT_SHIFT 13 /* IM_GP14_EINT */ 40286a504a75SDimitris Papastamos #define WM8995_IM_GP14_EINT_WIDTH 1 /* IM_GP14_EINT */ 40296a504a75SDimitris Papastamos #define WM8995_IM_GP13_EINT 0x1000 /* IM_GP13_EINT */ 40306a504a75SDimitris Papastamos #define WM8995_IM_GP13_EINT_MASK 0x1000 /* IM_GP13_EINT */ 40316a504a75SDimitris Papastamos #define WM8995_IM_GP13_EINT_SHIFT 12 /* IM_GP13_EINT */ 40326a504a75SDimitris Papastamos #define WM8995_IM_GP13_EINT_WIDTH 1 /* IM_GP13_EINT */ 40336a504a75SDimitris Papastamos #define WM8995_IM_GP12_EINT 0x0800 /* IM_GP12_EINT */ 40346a504a75SDimitris Papastamos #define WM8995_IM_GP12_EINT_MASK 0x0800 /* IM_GP12_EINT */ 40356a504a75SDimitris Papastamos #define WM8995_IM_GP12_EINT_SHIFT 11 /* IM_GP12_EINT */ 40366a504a75SDimitris Papastamos #define WM8995_IM_GP12_EINT_WIDTH 1 /* IM_GP12_EINT */ 40376a504a75SDimitris Papastamos #define WM8995_IM_GP11_EINT 0x0400 /* IM_GP11_EINT */ 40386a504a75SDimitris Papastamos #define WM8995_IM_GP11_EINT_MASK 0x0400 /* IM_GP11_EINT */ 40396a504a75SDimitris Papastamos #define WM8995_IM_GP11_EINT_SHIFT 10 /* IM_GP11_EINT */ 40406a504a75SDimitris Papastamos #define WM8995_IM_GP11_EINT_WIDTH 1 /* IM_GP11_EINT */ 40416a504a75SDimitris Papastamos #define WM8995_IM_GP10_EINT 0x0200 /* IM_GP10_EINT */ 40426a504a75SDimitris Papastamos #define WM8995_IM_GP10_EINT_MASK 0x0200 /* IM_GP10_EINT */ 40436a504a75SDimitris Papastamos #define WM8995_IM_GP10_EINT_SHIFT 9 /* IM_GP10_EINT */ 40446a504a75SDimitris Papastamos #define WM8995_IM_GP10_EINT_WIDTH 1 /* IM_GP10_EINT */ 40456a504a75SDimitris Papastamos #define WM8995_IM_GP9_EINT 0x0100 /* IM_GP9_EINT */ 40466a504a75SDimitris Papastamos #define WM8995_IM_GP9_EINT_MASK 0x0100 /* IM_GP9_EINT */ 40476a504a75SDimitris Papastamos #define WM8995_IM_GP9_EINT_SHIFT 8 /* IM_GP9_EINT */ 40486a504a75SDimitris Papastamos #define WM8995_IM_GP9_EINT_WIDTH 1 /* IM_GP9_EINT */ 40496a504a75SDimitris Papastamos #define WM8995_IM_GP8_EINT 0x0080 /* IM_GP8_EINT */ 40506a504a75SDimitris Papastamos #define WM8995_IM_GP8_EINT_MASK 0x0080 /* IM_GP8_EINT */ 40516a504a75SDimitris Papastamos #define WM8995_IM_GP8_EINT_SHIFT 7 /* IM_GP8_EINT */ 40526a504a75SDimitris Papastamos #define WM8995_IM_GP8_EINT_WIDTH 1 /* IM_GP8_EINT */ 40536a504a75SDimitris Papastamos #define WM8995_IM_GP7_EINT 0x0040 /* IM_GP7_EINT */ 40546a504a75SDimitris Papastamos #define WM8995_IM_GP7_EINT_MASK 0x0040 /* IM_GP7_EINT */ 40556a504a75SDimitris Papastamos #define WM8995_IM_GP7_EINT_SHIFT 6 /* IM_GP7_EINT */ 40566a504a75SDimitris Papastamos #define WM8995_IM_GP7_EINT_WIDTH 1 /* IM_GP7_EINT */ 40576a504a75SDimitris Papastamos #define WM8995_IM_GP6_EINT 0x0020 /* IM_GP6_EINT */ 40586a504a75SDimitris Papastamos #define WM8995_IM_GP6_EINT_MASK 0x0020 /* IM_GP6_EINT */ 40596a504a75SDimitris Papastamos #define WM8995_IM_GP6_EINT_SHIFT 5 /* IM_GP6_EINT */ 40606a504a75SDimitris Papastamos #define WM8995_IM_GP6_EINT_WIDTH 1 /* IM_GP6_EINT */ 40616a504a75SDimitris Papastamos #define WM8995_IM_GP5_EINT 0x0010 /* IM_GP5_EINT */ 40626a504a75SDimitris Papastamos #define WM8995_IM_GP5_EINT_MASK 0x0010 /* IM_GP5_EINT */ 40636a504a75SDimitris Papastamos #define WM8995_IM_GP5_EINT_SHIFT 4 /* IM_GP5_EINT */ 40646a504a75SDimitris Papastamos #define WM8995_IM_GP5_EINT_WIDTH 1 /* IM_GP5_EINT */ 40656a504a75SDimitris Papastamos #define WM8995_IM_GP4_EINT 0x0008 /* IM_GP4_EINT */ 40666a504a75SDimitris Papastamos #define WM8995_IM_GP4_EINT_MASK 0x0008 /* IM_GP4_EINT */ 40676a504a75SDimitris Papastamos #define WM8995_IM_GP4_EINT_SHIFT 3 /* IM_GP4_EINT */ 40686a504a75SDimitris Papastamos #define WM8995_IM_GP4_EINT_WIDTH 1 /* IM_GP4_EINT */ 40696a504a75SDimitris Papastamos #define WM8995_IM_GP3_EINT 0x0004 /* IM_GP3_EINT */ 40706a504a75SDimitris Papastamos #define WM8995_IM_GP3_EINT_MASK 0x0004 /* IM_GP3_EINT */ 40716a504a75SDimitris Papastamos #define WM8995_IM_GP3_EINT_SHIFT 2 /* IM_GP3_EINT */ 40726a504a75SDimitris Papastamos #define WM8995_IM_GP3_EINT_WIDTH 1 /* IM_GP3_EINT */ 40736a504a75SDimitris Papastamos #define WM8995_IM_GP2_EINT 0x0002 /* IM_GP2_EINT */ 40746a504a75SDimitris Papastamos #define WM8995_IM_GP2_EINT_MASK 0x0002 /* IM_GP2_EINT */ 40756a504a75SDimitris Papastamos #define WM8995_IM_GP2_EINT_SHIFT 1 /* IM_GP2_EINT */ 40766a504a75SDimitris Papastamos #define WM8995_IM_GP2_EINT_WIDTH 1 /* IM_GP2_EINT */ 40776a504a75SDimitris Papastamos #define WM8995_IM_GP1_EINT 0x0001 /* IM_GP1_EINT */ 40786a504a75SDimitris Papastamos #define WM8995_IM_GP1_EINT_MASK 0x0001 /* IM_GP1_EINT */ 40796a504a75SDimitris Papastamos #define WM8995_IM_GP1_EINT_SHIFT 0 /* IM_GP1_EINT */ 40806a504a75SDimitris Papastamos #define WM8995_IM_GP1_EINT_WIDTH 1 /* IM_GP1_EINT */ 40816a504a75SDimitris Papastamos 40826a504a75SDimitris Papastamos /* 40836a504a75SDimitris Papastamos * R1849 (0x739) - Interrupt Status 2 Mask 40846a504a75SDimitris Papastamos */ 40856a504a75SDimitris Papastamos #define WM8995_IM_DCS_DONE_23_EINT 0x1000 /* IM_DCS_DONE_23_EINT */ 40866a504a75SDimitris Papastamos #define WM8995_IM_DCS_DONE_23_EINT_MASK 0x1000 /* IM_DCS_DONE_23_EINT */ 40876a504a75SDimitris Papastamos #define WM8995_IM_DCS_DONE_23_EINT_SHIFT 12 /* IM_DCS_DONE_23_EINT */ 40886a504a75SDimitris Papastamos #define WM8995_IM_DCS_DONE_23_EINT_WIDTH 1 /* IM_DCS_DONE_23_EINT */ 40896a504a75SDimitris Papastamos #define WM8995_IM_DCS_DONE_01_EINT 0x0800 /* IM_DCS_DONE_01_EINT */ 40906a504a75SDimitris Papastamos #define WM8995_IM_DCS_DONE_01_EINT_MASK 0x0800 /* IM_DCS_DONE_01_EINT */ 40916a504a75SDimitris Papastamos #define WM8995_IM_DCS_DONE_01_EINT_SHIFT 11 /* IM_DCS_DONE_01_EINT */ 40926a504a75SDimitris Papastamos #define WM8995_IM_DCS_DONE_01_EINT_WIDTH 1 /* IM_DCS_DONE_01_EINT */ 40936a504a75SDimitris Papastamos #define WM8995_IM_WSEQ_DONE_EINT 0x0400 /* IM_WSEQ_DONE_EINT */ 40946a504a75SDimitris Papastamos #define WM8995_IM_WSEQ_DONE_EINT_MASK 0x0400 /* IM_WSEQ_DONE_EINT */ 40956a504a75SDimitris Papastamos #define WM8995_IM_WSEQ_DONE_EINT_SHIFT 10 /* IM_WSEQ_DONE_EINT */ 40966a504a75SDimitris Papastamos #define WM8995_IM_WSEQ_DONE_EINT_WIDTH 1 /* IM_WSEQ_DONE_EINT */ 40976a504a75SDimitris Papastamos #define WM8995_IM_FIFOS_ERR_EINT 0x0200 /* IM_FIFOS_ERR_EINT */ 40986a504a75SDimitris Papastamos #define WM8995_IM_FIFOS_ERR_EINT_MASK 0x0200 /* IM_FIFOS_ERR_EINT */ 40996a504a75SDimitris Papastamos #define WM8995_IM_FIFOS_ERR_EINT_SHIFT 9 /* IM_FIFOS_ERR_EINT */ 41006a504a75SDimitris Papastamos #define WM8995_IM_FIFOS_ERR_EINT_WIDTH 1 /* IM_FIFOS_ERR_EINT */ 41016a504a75SDimitris Papastamos #define WM8995_IM_AIF2DRC_SIG_DET_EINT 0x0100 /* IM_AIF2DRC_SIG_DET_EINT */ 41026a504a75SDimitris Papastamos #define WM8995_IM_AIF2DRC_SIG_DET_EINT_MASK 0x0100 /* IM_AIF2DRC_SIG_DET_EINT */ 41036a504a75SDimitris Papastamos #define WM8995_IM_AIF2DRC_SIG_DET_EINT_SHIFT 8 /* IM_AIF2DRC_SIG_DET_EINT */ 41046a504a75SDimitris Papastamos #define WM8995_IM_AIF2DRC_SIG_DET_EINT_WIDTH 1 /* IM_AIF2DRC_SIG_DET_EINT */ 41056a504a75SDimitris Papastamos #define WM8995_IM_AIF1DRC2_SIG_DET_EINT 0x0080 /* IM_AIF1DRC2_SIG_DET_EINT */ 41066a504a75SDimitris Papastamos #define WM8995_IM_AIF1DRC2_SIG_DET_EINT_MASK 0x0080 /* IM_AIF1DRC2_SIG_DET_EINT */ 41076a504a75SDimitris Papastamos #define WM8995_IM_AIF1DRC2_SIG_DET_EINT_SHIFT 7 /* IM_AIF1DRC2_SIG_DET_EINT */ 41086a504a75SDimitris Papastamos #define WM8995_IM_AIF1DRC2_SIG_DET_EINT_WIDTH 1 /* IM_AIF1DRC2_SIG_DET_EINT */ 41096a504a75SDimitris Papastamos #define WM8995_IM_AIF1DRC1_SIG_DET_EINT 0x0040 /* IM_AIF1DRC1_SIG_DET_EINT */ 41106a504a75SDimitris Papastamos #define WM8995_IM_AIF1DRC1_SIG_DET_EINT_MASK 0x0040 /* IM_AIF1DRC1_SIG_DET_EINT */ 41116a504a75SDimitris Papastamos #define WM8995_IM_AIF1DRC1_SIG_DET_EINT_SHIFT 6 /* IM_AIF1DRC1_SIG_DET_EINT */ 41126a504a75SDimitris Papastamos #define WM8995_IM_AIF1DRC1_SIG_DET_EINT_WIDTH 1 /* IM_AIF1DRC1_SIG_DET_EINT */ 41136a504a75SDimitris Papastamos #define WM8995_IM_SRC2_LOCK_EINT 0x0020 /* IM_SRC2_LOCK_EINT */ 41146a504a75SDimitris Papastamos #define WM8995_IM_SRC2_LOCK_EINT_MASK 0x0020 /* IM_SRC2_LOCK_EINT */ 41156a504a75SDimitris Papastamos #define WM8995_IM_SRC2_LOCK_EINT_SHIFT 5 /* IM_SRC2_LOCK_EINT */ 41166a504a75SDimitris Papastamos #define WM8995_IM_SRC2_LOCK_EINT_WIDTH 1 /* IM_SRC2_LOCK_EINT */ 41176a504a75SDimitris Papastamos #define WM8995_IM_SRC1_LOCK_EINT 0x0010 /* IM_SRC1_LOCK_EINT */ 41186a504a75SDimitris Papastamos #define WM8995_IM_SRC1_LOCK_EINT_MASK 0x0010 /* IM_SRC1_LOCK_EINT */ 41196a504a75SDimitris Papastamos #define WM8995_IM_SRC1_LOCK_EINT_SHIFT 4 /* IM_SRC1_LOCK_EINT */ 41206a504a75SDimitris Papastamos #define WM8995_IM_SRC1_LOCK_EINT_WIDTH 1 /* IM_SRC1_LOCK_EINT */ 41216a504a75SDimitris Papastamos #define WM8995_IM_FLL2_LOCK_EINT 0x0008 /* IM_FLL2_LOCK_EINT */ 41226a504a75SDimitris Papastamos #define WM8995_IM_FLL2_LOCK_EINT_MASK 0x0008 /* IM_FLL2_LOCK_EINT */ 41236a504a75SDimitris Papastamos #define WM8995_IM_FLL2_LOCK_EINT_SHIFT 3 /* IM_FLL2_LOCK_EINT */ 41246a504a75SDimitris Papastamos #define WM8995_IM_FLL2_LOCK_EINT_WIDTH 1 /* IM_FLL2_LOCK_EINT */ 41256a504a75SDimitris Papastamos #define WM8995_IM_FLL1_LOCK_EINT 0x0004 /* IM_FLL1_LOCK_EINT */ 41266a504a75SDimitris Papastamos #define WM8995_IM_FLL1_LOCK_EINT_MASK 0x0004 /* IM_FLL1_LOCK_EINT */ 41276a504a75SDimitris Papastamos #define WM8995_IM_FLL1_LOCK_EINT_SHIFT 2 /* IM_FLL1_LOCK_EINT */ 41286a504a75SDimitris Papastamos #define WM8995_IM_FLL1_LOCK_EINT_WIDTH 1 /* IM_FLL1_LOCK_EINT */ 41296a504a75SDimitris Papastamos #define WM8995_IM_HP_DONE_EINT 0x0002 /* IM_HP_DONE_EINT */ 41306a504a75SDimitris Papastamos #define WM8995_IM_HP_DONE_EINT_MASK 0x0002 /* IM_HP_DONE_EINT */ 41316a504a75SDimitris Papastamos #define WM8995_IM_HP_DONE_EINT_SHIFT 1 /* IM_HP_DONE_EINT */ 41326a504a75SDimitris Papastamos #define WM8995_IM_HP_DONE_EINT_WIDTH 1 /* IM_HP_DONE_EINT */ 41336a504a75SDimitris Papastamos #define WM8995_IM_MICD_EINT 0x0001 /* IM_MICD_EINT */ 41346a504a75SDimitris Papastamos #define WM8995_IM_MICD_EINT_MASK 0x0001 /* IM_MICD_EINT */ 41356a504a75SDimitris Papastamos #define WM8995_IM_MICD_EINT_SHIFT 0 /* IM_MICD_EINT */ 41366a504a75SDimitris Papastamos #define WM8995_IM_MICD_EINT_WIDTH 1 /* IM_MICD_EINT */ 41376a504a75SDimitris Papastamos 41386a504a75SDimitris Papastamos /* 41396a504a75SDimitris Papastamos * R1856 (0x740) - Interrupt Control 41406a504a75SDimitris Papastamos */ 41416a504a75SDimitris Papastamos #define WM8995_IM_IRQ 0x0001 /* IM_IRQ */ 41426a504a75SDimitris Papastamos #define WM8995_IM_IRQ_MASK 0x0001 /* IM_IRQ */ 41436a504a75SDimitris Papastamos #define WM8995_IM_IRQ_SHIFT 0 /* IM_IRQ */ 41446a504a75SDimitris Papastamos #define WM8995_IM_IRQ_WIDTH 1 /* IM_IRQ */ 41456a504a75SDimitris Papastamos 41466a504a75SDimitris Papastamos /* 41476a504a75SDimitris Papastamos * R2048 (0x800) - Left PDM Speaker 1 41486a504a75SDimitris Papastamos */ 41496a504a75SDimitris Papastamos #define WM8995_SPK1L_ENA 0x0010 /* SPK1L_ENA */ 41506a504a75SDimitris Papastamos #define WM8995_SPK1L_ENA_MASK 0x0010 /* SPK1L_ENA */ 41516a504a75SDimitris Papastamos #define WM8995_SPK1L_ENA_SHIFT 4 /* SPK1L_ENA */ 41526a504a75SDimitris Papastamos #define WM8995_SPK1L_ENA_WIDTH 1 /* SPK1L_ENA */ 41536a504a75SDimitris Papastamos #define WM8995_SPK1L_MUTE 0x0008 /* SPK1L_MUTE */ 41546a504a75SDimitris Papastamos #define WM8995_SPK1L_MUTE_MASK 0x0008 /* SPK1L_MUTE */ 41556a504a75SDimitris Papastamos #define WM8995_SPK1L_MUTE_SHIFT 3 /* SPK1L_MUTE */ 41566a504a75SDimitris Papastamos #define WM8995_SPK1L_MUTE_WIDTH 1 /* SPK1L_MUTE */ 41576a504a75SDimitris Papastamos #define WM8995_SPK1L_MUTE_ZC 0x0004 /* SPK1L_MUTE_ZC */ 41586a504a75SDimitris Papastamos #define WM8995_SPK1L_MUTE_ZC_MASK 0x0004 /* SPK1L_MUTE_ZC */ 41596a504a75SDimitris Papastamos #define WM8995_SPK1L_MUTE_ZC_SHIFT 2 /* SPK1L_MUTE_ZC */ 41606a504a75SDimitris Papastamos #define WM8995_SPK1L_MUTE_ZC_WIDTH 1 /* SPK1L_MUTE_ZC */ 41616a504a75SDimitris Papastamos #define WM8995_SPK1L_SRC_MASK 0x0003 /* SPK1L_SRC - [1:0] */ 41626a504a75SDimitris Papastamos #define WM8995_SPK1L_SRC_SHIFT 0 /* SPK1L_SRC - [1:0] */ 41636a504a75SDimitris Papastamos #define WM8995_SPK1L_SRC_WIDTH 2 /* SPK1L_SRC - [1:0] */ 41646a504a75SDimitris Papastamos 41656a504a75SDimitris Papastamos /* 41666a504a75SDimitris Papastamos * R2049 (0x801) - Right PDM Speaker 1 41676a504a75SDimitris Papastamos */ 41686a504a75SDimitris Papastamos #define WM8995_SPK1R_ENA 0x0010 /* SPK1R_ENA */ 41696a504a75SDimitris Papastamos #define WM8995_SPK1R_ENA_MASK 0x0010 /* SPK1R_ENA */ 41706a504a75SDimitris Papastamos #define WM8995_SPK1R_ENA_SHIFT 4 /* SPK1R_ENA */ 41716a504a75SDimitris Papastamos #define WM8995_SPK1R_ENA_WIDTH 1 /* SPK1R_ENA */ 41726a504a75SDimitris Papastamos #define WM8995_SPK1R_MUTE 0x0008 /* SPK1R_MUTE */ 41736a504a75SDimitris Papastamos #define WM8995_SPK1R_MUTE_MASK 0x0008 /* SPK1R_MUTE */ 41746a504a75SDimitris Papastamos #define WM8995_SPK1R_MUTE_SHIFT 3 /* SPK1R_MUTE */ 41756a504a75SDimitris Papastamos #define WM8995_SPK1R_MUTE_WIDTH 1 /* SPK1R_MUTE */ 41766a504a75SDimitris Papastamos #define WM8995_SPK1R_MUTE_ZC 0x0004 /* SPK1R_MUTE_ZC */ 41776a504a75SDimitris Papastamos #define WM8995_SPK1R_MUTE_ZC_MASK 0x0004 /* SPK1R_MUTE_ZC */ 41786a504a75SDimitris Papastamos #define WM8995_SPK1R_MUTE_ZC_SHIFT 2 /* SPK1R_MUTE_ZC */ 41796a504a75SDimitris Papastamos #define WM8995_SPK1R_MUTE_ZC_WIDTH 1 /* SPK1R_MUTE_ZC */ 41806a504a75SDimitris Papastamos #define WM8995_SPK1R_SRC_MASK 0x0003 /* SPK1R_SRC - [1:0] */ 41816a504a75SDimitris Papastamos #define WM8995_SPK1R_SRC_SHIFT 0 /* SPK1R_SRC - [1:0] */ 41826a504a75SDimitris Papastamos #define WM8995_SPK1R_SRC_WIDTH 2 /* SPK1R_SRC - [1:0] */ 41836a504a75SDimitris Papastamos 41846a504a75SDimitris Papastamos /* 41856a504a75SDimitris Papastamos * R2050 (0x802) - PDM Speaker 1 Mute Sequence 41866a504a75SDimitris Papastamos */ 41876a504a75SDimitris Papastamos #define WM8995_SPK1_MUTE_SEQ1_MASK 0x00FF /* SPK1_MUTE_SEQ1 - [7:0] */ 41886a504a75SDimitris Papastamos #define WM8995_SPK1_MUTE_SEQ1_SHIFT 0 /* SPK1_MUTE_SEQ1 - [7:0] */ 41896a504a75SDimitris Papastamos #define WM8995_SPK1_MUTE_SEQ1_WIDTH 8 /* SPK1_MUTE_SEQ1 - [7:0] */ 41906a504a75SDimitris Papastamos 41916a504a75SDimitris Papastamos /* 41926a504a75SDimitris Papastamos * R2056 (0x808) - Left PDM Speaker 2 41936a504a75SDimitris Papastamos */ 41946a504a75SDimitris Papastamos #define WM8995_SPK2L_ENA 0x0010 /* SPK2L_ENA */ 41956a504a75SDimitris Papastamos #define WM8995_SPK2L_ENA_MASK 0x0010 /* SPK2L_ENA */ 41966a504a75SDimitris Papastamos #define WM8995_SPK2L_ENA_SHIFT 4 /* SPK2L_ENA */ 41976a504a75SDimitris Papastamos #define WM8995_SPK2L_ENA_WIDTH 1 /* SPK2L_ENA */ 41986a504a75SDimitris Papastamos #define WM8995_SPK2L_MUTE 0x0008 /* SPK2L_MUTE */ 41996a504a75SDimitris Papastamos #define WM8995_SPK2L_MUTE_MASK 0x0008 /* SPK2L_MUTE */ 42006a504a75SDimitris Papastamos #define WM8995_SPK2L_MUTE_SHIFT 3 /* SPK2L_MUTE */ 42016a504a75SDimitris Papastamos #define WM8995_SPK2L_MUTE_WIDTH 1 /* SPK2L_MUTE */ 42026a504a75SDimitris Papastamos #define WM8995_SPK2L_MUTE_ZC 0x0004 /* SPK2L_MUTE_ZC */ 42036a504a75SDimitris Papastamos #define WM8995_SPK2L_MUTE_ZC_MASK 0x0004 /* SPK2L_MUTE_ZC */ 42046a504a75SDimitris Papastamos #define WM8995_SPK2L_MUTE_ZC_SHIFT 2 /* SPK2L_MUTE_ZC */ 42056a504a75SDimitris Papastamos #define WM8995_SPK2L_MUTE_ZC_WIDTH 1 /* SPK2L_MUTE_ZC */ 42066a504a75SDimitris Papastamos #define WM8995_SPK2L_SRC_MASK 0x0003 /* SPK2L_SRC - [1:0] */ 42076a504a75SDimitris Papastamos #define WM8995_SPK2L_SRC_SHIFT 0 /* SPK2L_SRC - [1:0] */ 42086a504a75SDimitris Papastamos #define WM8995_SPK2L_SRC_WIDTH 2 /* SPK2L_SRC - [1:0] */ 42096a504a75SDimitris Papastamos 42106a504a75SDimitris Papastamos /* 42116a504a75SDimitris Papastamos * R2057 (0x809) - Right PDM Speaker 2 42126a504a75SDimitris Papastamos */ 42136a504a75SDimitris Papastamos #define WM8995_SPK2R_ENA 0x0010 /* SPK2R_ENA */ 42146a504a75SDimitris Papastamos #define WM8995_SPK2R_ENA_MASK 0x0010 /* SPK2R_ENA */ 42156a504a75SDimitris Papastamos #define WM8995_SPK2R_ENA_SHIFT 4 /* SPK2R_ENA */ 42166a504a75SDimitris Papastamos #define WM8995_SPK2R_ENA_WIDTH 1 /* SPK2R_ENA */ 42176a504a75SDimitris Papastamos #define WM8995_SPK2R_MUTE 0x0008 /* SPK2R_MUTE */ 42186a504a75SDimitris Papastamos #define WM8995_SPK2R_MUTE_MASK 0x0008 /* SPK2R_MUTE */ 42196a504a75SDimitris Papastamos #define WM8995_SPK2R_MUTE_SHIFT 3 /* SPK2R_MUTE */ 42206a504a75SDimitris Papastamos #define WM8995_SPK2R_MUTE_WIDTH 1 /* SPK2R_MUTE */ 42216a504a75SDimitris Papastamos #define WM8995_SPK2R_MUTE_ZC 0x0004 /* SPK2R_MUTE_ZC */ 42226a504a75SDimitris Papastamos #define WM8995_SPK2R_MUTE_ZC_MASK 0x0004 /* SPK2R_MUTE_ZC */ 42236a504a75SDimitris Papastamos #define WM8995_SPK2R_MUTE_ZC_SHIFT 2 /* SPK2R_MUTE_ZC */ 42246a504a75SDimitris Papastamos #define WM8995_SPK2R_MUTE_ZC_WIDTH 1 /* SPK2R_MUTE_ZC */ 42256a504a75SDimitris Papastamos #define WM8995_SPK2R_SRC_MASK 0x0003 /* SPK2R_SRC - [1:0] */ 42266a504a75SDimitris Papastamos #define WM8995_SPK2R_SRC_SHIFT 0 /* SPK2R_SRC - [1:0] */ 42276a504a75SDimitris Papastamos #define WM8995_SPK2R_SRC_WIDTH 2 /* SPK2R_SRC - [1:0] */ 42286a504a75SDimitris Papastamos 42296a504a75SDimitris Papastamos /* 42306a504a75SDimitris Papastamos * R2058 (0x80A) - PDM Speaker 2 Mute Sequence 42316a504a75SDimitris Papastamos */ 42326a504a75SDimitris Papastamos #define WM8995_SPK2_MUTE_SEQ1_MASK 0x00FF /* SPK2_MUTE_SEQ1 - [7:0] */ 42336a504a75SDimitris Papastamos #define WM8995_SPK2_MUTE_SEQ1_SHIFT 0 /* SPK2_MUTE_SEQ1 - [7:0] */ 42346a504a75SDimitris Papastamos #define WM8995_SPK2_MUTE_SEQ1_WIDTH 8 /* SPK2_MUTE_SEQ1 - [7:0] */ 42356a504a75SDimitris Papastamos 42366a504a75SDimitris Papastamos #define WM8995_CLASS_W_SWITCH(xname, reg, shift, max, invert) \ 4237d0a39cdcSLars-Peter Clausen SOC_SINGLE_EXT(xname, reg, shift, max, invert, \ 4238d0a39cdcSLars-Peter Clausen snd_soc_dapm_get_volsw, wm8995_put_class_w) 42396a504a75SDimitris Papastamos 42406a504a75SDimitris Papastamos struct wm8995_reg_access { 42416a504a75SDimitris Papastamos u16 read; 42426a504a75SDimitris Papastamos u16 write; 42436a504a75SDimitris Papastamos u16 vol; 42446a504a75SDimitris Papastamos }; 42456a504a75SDimitris Papastamos 42466a504a75SDimitris Papastamos /* Sources for AIF1/2 SYSCLK - use with set_dai_sysclk() */ 42476a504a75SDimitris Papastamos enum clk_src { 42486a504a75SDimitris Papastamos WM8995_SYSCLK_MCLK1 = 1, 42496a504a75SDimitris Papastamos WM8995_SYSCLK_MCLK2, 42506a504a75SDimitris Papastamos WM8995_SYSCLK_FLL1, 42516a504a75SDimitris Papastamos WM8995_SYSCLK_FLL2, 42526a504a75SDimitris Papastamos WM8995_SYSCLK_OPCLK 42536a504a75SDimitris Papastamos }; 42546a504a75SDimitris Papastamos 42556a504a75SDimitris Papastamos #define WM8995_FLL1 1 42566a504a75SDimitris Papastamos #define WM8995_FLL2 2 42576a504a75SDimitris Papastamos 42586a504a75SDimitris Papastamos #define WM8995_FLL_SRC_MCLK1 1 42596a504a75SDimitris Papastamos #define WM8995_FLL_SRC_MCLK2 2 42606a504a75SDimitris Papastamos #define WM8995_FLL_SRC_LRCLK 3 42616a504a75SDimitris Papastamos #define WM8995_FLL_SRC_BCLK 4 42626a504a75SDimitris Papastamos 42636a504a75SDimitris Papastamos #endif /* _WM8995_H */ 4264