Home | History | Annotate | Download | only in wcd9xxx
      1 /* Copyright (c) 2012, The Linux Foundation. All rights reserved.
      2  *
      3  * This program is free software; you can redistribute it and/or modify
      4  * it under the terms of the GNU General Public License version 2 and
      5  * only version 2 as published by the Free Software Foundation.
      6  *
      7  * This program is distributed in the hope that it will be useful,
      8  * but WITHOUT ANY WARRANTY; without even the implied warranty of
      9  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     10  * GNU General Public License for more details.
     11  */
     12 #ifndef WCD9XXX_CODEC_DIGITAL_H
     13 
     14 #define WCD9XXX_CODEC_DIGITAL_H
     15 
     16 #define WCD9XXX_A_CHIP_CTL			(0x00)
     17 #define WCD9XXX_A_CHIP_CTL__POR			(0x00000000)
     18 #define WCD9XXX_A_CHIP_STATUS			(0x01)
     19 #define WCD9XXX_A_CHIP_STATUS__POR			(0x00000000)
     20 #define WCD9XXX_A_CHIP_ID_BYTE_0			(0x04)
     21 #define WCD9XXX_A_CHIP_ID_BYTE_0__POR			(0x00000000)
     22 #define WCD9XXX_A_CHIP_ID_BYTE_1			(0x05)
     23 #define WCD9XXX_A_CHIP_ID_BYTE_1__POR			(0x00000000)
     24 #define WCD9XXX_A_CHIP_ID_BYTE_2			(0x06)
     25 #define WCD9XXX_A_CHIP_ID_BYTE_2__POR			(0x00000000)
     26 #define WCD9XXX_A_CHIP_ID_BYTE_3			(0x07)
     27 #define WCD9XXX_A_CHIP_ID_BYTE_3__POR			(0x00000001)
     28 #define WCD9XXX_A_CHIP_VERSION			(0x08)
     29 #define WCD9XXX_A_CHIP_VERSION__POR			(0x00000020)
     30 #define WCD9XXX_A_SB_VERSION			(0x09)
     31 #define WCD9XXX_A_SB_VERSION__POR			(0x00000010)
     32 #define WCD9XXX_A_SLAVE_ID_1			(0x0C)
     33 #define WCD9XXX_A_SLAVE_ID_1__POR			(0x00000077)
     34 #define WCD9XXX_A_SLAVE_ID_2			(0x0D)
     35 #define WCD9XXX_A_SLAVE_ID_2__POR			(0x00000066)
     36 #define WCD9XXX_A_SLAVE_ID_3			(0x0E)
     37 #define WCD9XXX_A_SLAVE_ID_3__POR			(0x00000055)
     38 #define WCD9XXX_A_CDC_CTL			(0x80)
     39 #define WCD9XXX_A_CDC_CTL__POR			(0x00000000)
     40 #define WCD9XXX_A_LEAKAGE_CTL			(0x88)
     41 #define WCD9XXX_A_LEAKAGE_CTL__POR			(0x00000004)
     42 #endif
     43