/* SPDX-License-Identifier: GPL-2.0-only */
/*
* isabelle.h - Low power high fidelity audio codec driver header file
*
* Copyright (c) 2012 Texas Instruments, Inc
*/
#ifndef _ISABELLE_H
#define _ISABELLE_H
#include <linux/bitops.h>
/* ISABELLE REGISTERS */
#define ISABELLE_PWR_CFG_REG 0 x01
#define ISABELLE_PWR_EN_REG 0 x02
#define ISABELLE_PS_EN1_REG 0 x03
#define ISABELLE_INT1_STATUS_REG 0 x04
#define ISABELLE_INT1_MASK_REG 0 x05
#define ISABELLE_INT2_STATUS_REG 0 x06
#define ISABELLE_INT2_MASK_REG 0 x07
#define ISABELLE_HKCTL1_REG 0 x08
#define ISABELLE_HKCTL2_REG 0 x09
#define ISABELLE_HKCTL3_REG 0 x0A
#define ISABELLE_ACCDET_STATUS_REG 0 x0B
#define ISABELLE_BUTTON_ID_REG 0 x0C
#define ISABELLE_PLL_CFG_REG 0 x10
#define ISABELLE_PLL_EN_REG 0 x11
#define ISABELLE_FS_RATE_CFG_REG 0 x12
#define ISABELLE_INTF_CFG_REG 0 x13
#define ISABELLE_INTF_EN_REG 0 x14
#define ISABELLE_ULATX12_INTF_CFG_REG 0 x15
#define ISABELLE_DL12_INTF_CFG_REG 0 x16
#define ISABELLE_DL34_INTF_CFG_REG 0 x17
#define ISABELLE_DL56_INTF_CFG_REG 0 x18
#define ISABELLE_ATX_STPGA1_CFG_REG 0 x19
#define ISABELLE_ATX_STPGA2_CFG_REG 0 x1A
#define ISABELLE_VTX_STPGA1_CFG_REG 0 x1B
#define ISABELLE_VTX2_STPGA2_CFG_REG 0 x1C
#define ISABELLE_ATX1_DPGA_REG 0 x1D
#define ISABELLE_ATX2_DPGA_REG 0 x1E
#define ISABELLE_VTX1_DPGA_REG 0 x1F
#define ISABELLE_VTX2_DPGA_REG 0 x20
#define ISABELLE_TX_INPUT_CFG_REG 0 x21
#define ISABELLE_RX_INPUT_CFG_REG 0 x22
#define ISABELLE_RX_INPUT_CFG2_REG 0 x23
#define ISABELLE_VOICE_HPF_CFG_REG 0 x24
#define ISABELLE_AUDIO_HPF_CFG_REG 0 x25
#define ISABELLE_RX1_DPGA_REG 0 x26
#define ISABELLE_RX2_DPGA_REG 0 x27
#define ISABELLE_RX3_DPGA_REG 0 x28
#define ISABELLE_RX4_DPGA_REG 0 x29
#define ISABELLE_RX5_DPGA_REG 0 x2A
#define ISABELLE_RX6_DPGA_REG 0 x2B
#define ISABELLE_ALU_TX_EN_REG 0 x2C
#define ISABELLE_ALU_RX_EN_REG 0 x2D
#define ISABELLE_IIR_RESYNC_REG 0 x2E
#define ISABELLE_ABIAS_CFG_REG 0 x30
#define ISABELLE_DBIAS_CFG_REG 0 x31
#define ISABELLE_MIC1_GAIN_REG 0 x32
#define ISABELLE_MIC2_GAIN_REG 0 x33
#define ISABELLE_AMIC_CFG_REG 0 x34
#define ISABELLE_DMIC_CFG_REG 0 x35
#define ISABELLE_APGA_GAIN_REG 0 x36
#define ISABELLE_APGA_CFG_REG 0 x37
#define ISABELLE_TX_GAIN_DLY_REG 0 x38
#define ISABELLE_RX_GAIN_DLY_REG 0 x39
#define ISABELLE_RX_PWR_CTRL_REG 0 x3A
#define ISABELLE_DPGA1LR_IN_SEL_REG 0 x3B
#define ISABELLE_DPGA1L_GAIN_REG 0 x3C
#define ISABELLE_DPGA1R_GAIN_REG 0 x3D
#define ISABELLE_DPGA2L_IN_SEL_REG 0 x3E
#define ISABELLE_DPGA2R_IN_SEL_REG 0 x3F
#define ISABELLE_DPGA2L_GAIN_REG 0 x40
#define ISABELLE_DPGA2R_GAIN_REG 0 x41
#define ISABELLE_DPGA3LR_IN_SEL_REG 0 x42
#define ISABELLE_DPGA3L_GAIN_REG 0 x43
#define ISABELLE_DPGA3R_GAIN_REG 0 x44
#define ISABELLE_DAC1_SOFTRAMP_REG 0 x45
#define ISABELLE_DAC2_SOFTRAMP_REG 0 x46
#define ISABELLE_DAC3_SOFTRAMP_REG 0 x47
#define ISABELLE_DAC_CFG_REG 0 x48
#define ISABELLE_EARDRV_CFG1_REG 0 x49
#define ISABELLE_EARDRV_CFG2_REG 0 x4A
#define ISABELLE_HSDRV_GAIN_REG 0 x4B
#define ISABELLE_HSDRV_CFG1_REG 0 x4C
#define ISABELLE_HSDRV_CFG2_REG 0 x4D
#define ISABELLE_HS_NG_CFG1_REG 0 x4E
#define ISABELLE_HS_NG_CFG2_REG 0 x4F
#define ISABELLE_LINEAMP_GAIN_REG 0 x50
#define ISABELLE_LINEAMP_CFG_REG 0 x51
#define ISABELLE_HFL_VOL_CTRL_REG 0 x52
#define ISABELLE_HFL_SFTVOL_CTRL_REG 0 x53
#define ISABELLE_HFL_LIM_CTRL_1_REG 0 x54
#define ISABELLE_HFL_LIM_CTRL_2_REG 0 x55
#define ISABELLE_HFR_VOL_CTRL_REG 0 x56
#define ISABELLE_HFR_SFTVOL_CTRL_REG 0 x57
#define ISABELLE_HFR_LIM_CTRL_1_REG 0 x58
#define ISABELLE_HFR_LIM_CTRL_2_REG 0 x59
#define ISABELLE_HF_MODE_REG 0 x5A
#define ISABELLE_HFLPGA_CFG_REG 0 x5B
#define ISABELLE_HFRPGA_CFG_REG 0 x5C
#define ISABELLE_HFDRV_CFG_REG 0 x5D
#define ISABELLE_PDMOUT_CFG1_REG 0 x5E
#define ISABELLE_PDMOUT_CFG2_REG 0 x5F
#define ISABELLE_PDMOUT_L_WM_REG 0 x60
#define ISABELLE_PDMOUT_R_WM_REG 0 x61
#define ISABELLE_HF_NG_CFG1_REG 0 x62
#define ISABELLE_HF_NG_CFG2_REG 0 x63
/* ISABELLE_PWR_EN_REG (0x02h) */
#define ISABELLE_CHIP_EN BIT(0 )
/* ISABELLE DAI FORMATS */
#define ISABELLE_AIF_FMT_MASK 0 x70
#define ISABELLE_I2S_MODE 0 x0
#define ISABELLE_LEFT_J_MODE 0 x1
#define ISABELLE_PDM_MODE 0 x2
#define ISABELLE_AIF_LENGTH_MASK 0 x30
#define ISABELLE_AIF_LENGTH_20 0 x00
#define ISABELLE_AIF_LENGTH_32 0 x10
#define ISABELLE_AIF_MS 0 x80
#define ISABELLE_FS_RATE_MASK 0 xF
#define ISABELLE_FS_RATE_8 0 x0
#define ISABELLE_FS_RATE_11 0 x1
#define ISABELLE_FS_RATE_12 0 x2
#define ISABELLE_FS_RATE_16 0 x4
#define ISABELLE_FS_RATE_22 0 x5
#define ISABELLE_FS_RATE_24 0 x6
#define ISABELLE_FS_RATE_32 0 x8
#define ISABELLE_FS_RATE_44 0 x9
#define ISABELLE_FS_RATE_48 0 xA
#define ISABELLE_MAX_REGISTER 0 xFF
#endif
Messung V0.5 in Prozent C=97 H=96 G=96
¤ Dauer der Verarbeitung: 0.13 Sekunden
(vorverarbeitet am 2026-06-07)
¤
*© Formatika GbR, Deutschland