sound/soc/codecs/cs35l36.h

Source file repositories/reference/linux-study-clean/sound/soc/codecs/cs35l36.h

File Facts

System
Linux kernel
Corpus path
sound/soc/codecs/cs35l36.h
Extension
.h
Size
15443 bytes
Lines
447
Domain
Driver Families
Bucket
sound/soc
Inferred role
Driver Families: implementation source
Status
source implementation candidate

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef __CS35L36_H__
#define __CS35L36_H__

#include <linux/regmap.h>

#define CS35L36_FIRSTREG		0x00000000
#define CS35L36_LASTREG			0x00E037FC
#define CS35L36_SW_RESET		0x00000000
#define CS35L36_SW_REV			0x00000004
#define CS35L36_HW_REV			0x00000008
#define CS35L36_TESTKEY_CTRL		0x00000020
#define CS35L36_USERKEY_CTL		0x00000024
#define CS35L36_OTP_MEM30		0x00000478
#define CS35L36_OTP_CTRL1		0x00000500
#define CS35L36_OTP_CTRL2		0x00000504
#define CS35L36_OTP_CTRL3		0x00000508
#define CS35L36_OTP_CTRL4		0x0000050C
#define CS35L36_OTP_CTRL5		0x00000510
#define CS35L36_PAC_CTL1		0x00000C00
#define CS35L36_PAC_CTL2		0x00000C04
#define CS35L36_PAC_CTL3		0x00000C08
#define CS35L36_DEVICE_ID		0x00002004
#define CS35L36_FAB_ID			0x00002008
#define CS35L36_REV_ID			0x0000200C
#define CS35L36_PWR_CTRL1		0x00002014
#define CS35L36_PWR_CTRL2		0x00002018
#define CS35L36_PWR_CTRL3		0x0000201C
#define CS35L36_CTRL_OVRRIDE		0x00002020
#define CS35L36_AMP_OUT_MUTE		0x00002024
#define CS35L36_OTP_TRIM_STATUS		0x00002028
#define CS35L36_DISCH_FILT		0x0000202C
#define CS35L36_OSC_TRIM		0x00002030
#define CS35L36_PROTECT_REL_ERR		0x00002034
#define CS35L36_PAD_INTERFACE		0x00002400
#define CS35L36_PLL_CLK_CTRL		0x00002C04
#define CS35L36_GLOBAL_CLK_CTRL		0x00002C0C
#define CS35L36_ADC_CLK_CTRL		0x00002C10
#define CS35L36_SWIRE_CLK_CTRL		0x00002C14
#define CS35L36_SP_SCLK_CLK_CTRL	0x00002D00
#define CS35L36_TST_FS_MON0		0x00002D10
#define CS35L36_PLL_LOOP_PARAMS		0x00003008
#define CS35L36_DCO_CTRL		0x00003010
#define CS35L36_MISC_CTRL		0x00003014
#define CS35L36_MDSYNC_EN		0x00003404
#define CS35L36_MDSYNC_TX_ID		0x00003408
#define CS35L36_MDSYNC_PWR_CTRL		0x0000340C
#define CS35L36_MDSYNC_DATA_TX		0x00003410
#define CS35L36_MDSYNC_TX_STATUS	0x0000341C
#define CS35L36_MDSYNC_RX_STATUS	0x00003420
#define CS35L36_MDSYNC_ERR_STATUS	0x00003424
#define CS35L36_BSTCVRT_VCTRL1		0x00003800
#define CS35L36_BSTCVRT_VCTRL2		0x00003804
#define CS35L36_BSTCVRT_PEAK_CUR	0x00003808
#define CS35L36_BSTCVRT_SFT_RAMP	0x0000380C
#define CS35L36_BSTCVRT_COEFF		0x00003810
#define CS35L36_BSTCVRT_SLOPE_LBST	0x00003814
#define CS35L36_BSTCVRT_SW_FREQ		0x00003818
#define CS35L36_BSTCVRT_DCM_CTRL	0x0000381C
#define CS35L36_BSTCVRT_DCM_MODE_FORCE	0x00003820
#define CS35L36_BSTCVRT_OVERVOLT_CTRL	0x00003830
#define CS35L36_BST_TST_MANUAL		0x0000393C
#define CS35L36_BST_ANA2_TEST		0x0000394C
#define CS35L36_VPI_LIMIT_MODE		0x00003C04
#define CS35L36_VPI_LIMIT_MINMAX	0x00003C08
#define CS35L36_VPI_VP_THLD		0x00003C0C
#define CS35L36_VPI_TRACK_CTRL		0x00003C10
#define CS35L36_VPI_TRIG_MODE_CTRL	0x00003C14
#define CS35L36_VPI_TRIG_STEPS		0x00003C18
#define CS35L36_VI_SPKMON_FILT		0x00004004
#define CS35L36_VI_SPKMON_GAIN		0x00004008
#define CS35L36_VI_SPKMON_IP_SEL	0x00004100
#define CS35L36_DTEMP_WARN_THLD		0x00004220
#define CS35L36_DTEMP_STATUS		0x00004300
#define CS35L36_VPVBST_FS_SEL		0x00004400
#define CS35L36_VPVBST_VP_CTRL		0x00004440
#define CS35L36_VPVBST_VBST_CTRL	0x00004444
#define CS35L36_ASP_TX_PIN_CTRL		0x00004800
#define CS35L36_ASP_RATE_CTRL		0x00004804
#define CS35L36_ASP_FORMAT		0x00004808
#define CS35L36_ASP_FRAME_CTRL		0x00004818
#define CS35L36_ASP_TX1_TX2_SLOT	0x0000481C
#define CS35L36_ASP_TX3_TX4_SLOT	0x00004820
#define CS35L36_ASP_TX5_TX6_SLOT	0x00004824
#define CS35L36_ASP_TX7_TX8_SLOT	0x00004828
#define CS35L36_ASP_RX1_SLOT		0x0000482C
#define CS35L36_ASP_RX_TX_EN		0x0000483C
#define CS35L36_ASP_RX1_SEL		0x00004C00
#define CS35L36_ASP_TX1_SEL		0x00004C20
#define CS35L36_ASP_TX2_SEL		0x00004C24
#define CS35L36_ASP_TX3_SEL		0x00004C28

Annotation

Implementation Notes