162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * rt1308.h -- RT1308 ALSA SoC amplifier component driver 462306a36Sopenharmony_ci * 562306a36Sopenharmony_ci * Copyright 2019 Realtek Semiconductor Corp. 662306a36Sopenharmony_ci * Author: Derek Fang <derek.fang@realtek.com> 762306a36Sopenharmony_ci * 862306a36Sopenharmony_ci */ 962306a36Sopenharmony_ci 1062306a36Sopenharmony_ci#ifndef _RT1308_H_ 1162306a36Sopenharmony_ci#define _RT1308_H_ 1262306a36Sopenharmony_ci 1362306a36Sopenharmony_ci#define RT1308_DEVICE_ID_NUM 0x10ec1300 1462306a36Sopenharmony_ci 1562306a36Sopenharmony_ci#define RT1308_RESET 0x00 1662306a36Sopenharmony_ci#define RT1308_RESET_N 0x01 1762306a36Sopenharmony_ci#define RT1308_CLK_GATING 0x02 1862306a36Sopenharmony_ci#define RT1308_PLL_1 0x03 1962306a36Sopenharmony_ci#define RT1308_PLL_2 0x04 2062306a36Sopenharmony_ci#define RT1308_PLL_INT 0x05 2162306a36Sopenharmony_ci#define RT1308_CLK_1 0x06 2262306a36Sopenharmony_ci#define RT1308_DATA_PATH 0x07 2362306a36Sopenharmony_ci#define RT1308_CLK_2 0x08 2462306a36Sopenharmony_ci#define RT1308_SIL_DET 0x09 2562306a36Sopenharmony_ci#define RT1308_CLK_DET 0x0a 2662306a36Sopenharmony_ci#define RT1308_DC_DET 0x0b 2762306a36Sopenharmony_ci#define RT1308_DC_DET_THRES 0x0c 2862306a36Sopenharmony_ci#define RT1308_DAC_SET 0x10 2962306a36Sopenharmony_ci#define RT1308_SRC_SET 0x11 3062306a36Sopenharmony_ci#define RT1308_DAC_BUF 0x12 3162306a36Sopenharmony_ci#define RT1308_ADC_SET 0x13 3262306a36Sopenharmony_ci#define RT1308_ADC_SET_INT 0x14 3362306a36Sopenharmony_ci#define RT1308_I2S_SET_1 0x15 3462306a36Sopenharmony_ci#define RT1308_I2S_SET_2 0x16 3562306a36Sopenharmony_ci#define RT1308_I2C_I2S_SDW_SET 0x17 3662306a36Sopenharmony_ci#define RT1308_SDW_REG_RW 0x18 3762306a36Sopenharmony_ci#define RT1308_SDW_REG_RDATA 0x19 3862306a36Sopenharmony_ci#define RT1308_IV_SENSE 0x1a 3962306a36Sopenharmony_ci#define RT1308_I2S_TX_DAC_SET 0x1b 4062306a36Sopenharmony_ci#define RT1308_AD_FILTER_SET 0x1c 4162306a36Sopenharmony_ci#define RT1308_DC_CAL_1 0x20 4262306a36Sopenharmony_ci#define RT1308_DC_CAL_2 0x21 4362306a36Sopenharmony_ci#define RT1308_DC_CAL_L_OFFSET 0x22 4462306a36Sopenharmony_ci#define RT1308_DC_CAL_R_OFFSET 0x23 4562306a36Sopenharmony_ci#define RT1308_PVDD_OFFSET_CTL 0x24 4662306a36Sopenharmony_ci#define RT1308_PVDD_OFFSET_L 0x25 4762306a36Sopenharmony_ci#define RT1308_PVDD_OFFSET_R 0x26 4862306a36Sopenharmony_ci#define RT1308_PVDD_OFFSET_PBTL 0x27 4962306a36Sopenharmony_ci#define RT1308_PVDD_OFFSET_PVDD 0x28 5062306a36Sopenharmony_ci#define RT1308_CAL_OFFSET_DAC_PBTL 0x29 5162306a36Sopenharmony_ci#define RT1308_CAL_OFFSET_DAC_L 0x2a 5262306a36Sopenharmony_ci#define RT1308_CAL_OFFSET_DAC_R 0x2b 5362306a36Sopenharmony_ci#define RT1308_CAL_OFFSET_PWM_L 0x2c 5462306a36Sopenharmony_ci#define RT1308_CAL_OFFSET_PWM_R 0x2d 5562306a36Sopenharmony_ci#define RT1308_CAL_PWM_VOS_ADC_L 0x2e 5662306a36Sopenharmony_ci#define RT1308_CAL_PWM_VOS_ADC_R 0x2f 5762306a36Sopenharmony_ci#define RT1308_CLASS_D_SET_1 0x30 5862306a36Sopenharmony_ci#define RT1308_CLASS_D_SET_2 0x31 5962306a36Sopenharmony_ci#define RT1308_POWER 0x32 6062306a36Sopenharmony_ci#define RT1308_LDO 0x33 6162306a36Sopenharmony_ci#define RT1308_VREF 0x34 6262306a36Sopenharmony_ci#define RT1308_MBIAS 0x35 6362306a36Sopenharmony_ci#define RT1308_POWER_STATUS 0x36 6462306a36Sopenharmony_ci#define RT1308_POWER_INT 0x37 6562306a36Sopenharmony_ci#define RT1308_SINE_TONE_GEN_1 0x50 6662306a36Sopenharmony_ci#define RT1308_SINE_TONE_GEN_2 0x51 6762306a36Sopenharmony_ci#define RT1308_BQ_SET 0x54 6862306a36Sopenharmony_ci#define RT1308_BQ_PARA_UPDATE 0x55 6962306a36Sopenharmony_ci#define RT1308_BQ_PRE_VOL_L 0x56 7062306a36Sopenharmony_ci#define RT1308_BQ_PRE_VOL_R 0x57 7162306a36Sopenharmony_ci#define RT1308_BQ_POST_VOL_L 0x58 7262306a36Sopenharmony_ci#define RT1308_BQ_POST_VOL_R 0x59 7362306a36Sopenharmony_ci#define RT1308_BQ1_L_H0 0x5b 7462306a36Sopenharmony_ci#define RT1308_BQ1_L_B1 0x5c 7562306a36Sopenharmony_ci#define RT1308_BQ1_L_B2 0x5d 7662306a36Sopenharmony_ci#define RT1308_BQ1_L_A1 0x5e 7762306a36Sopenharmony_ci#define RT1308_BQ1_L_A2 0x5f 7862306a36Sopenharmony_ci#define RT1308_BQ1_R_H0 0x60 7962306a36Sopenharmony_ci#define RT1308_BQ1_R_B1 0x61 8062306a36Sopenharmony_ci#define RT1308_BQ1_R_B2 0x62 8162306a36Sopenharmony_ci#define RT1308_BQ1_R_A1 0x63 8262306a36Sopenharmony_ci#define RT1308_BQ1_R_A2 0x64 8362306a36Sopenharmony_ci#define RT1308_BQ2_L_H0 0x65 8462306a36Sopenharmony_ci#define RT1308_BQ2_L_B1 0x66 8562306a36Sopenharmony_ci#define RT1308_BQ2_L_B2 0x67 8662306a36Sopenharmony_ci#define RT1308_BQ2_L_A1 0x68 8762306a36Sopenharmony_ci#define RT1308_BQ2_L_A2 0x69 8862306a36Sopenharmony_ci#define RT1308_BQ2_R_H0 0x6a 8962306a36Sopenharmony_ci#define RT1308_BQ2_R_B1 0x6b 9062306a36Sopenharmony_ci#define RT1308_BQ2_R_B2 0x6c 9162306a36Sopenharmony_ci#define RT1308_BQ2_R_A1 0x6d 9262306a36Sopenharmony_ci#define RT1308_BQ2_R_A2 0x6e 9362306a36Sopenharmony_ci#define RT1308_VEN_DEV_ID 0x70 9462306a36Sopenharmony_ci#define RT1308_VERSION_ID 0x71 9562306a36Sopenharmony_ci#define RT1308_SPK_BOUND 0x72 9662306a36Sopenharmony_ci#define RT1308_BQ1_EQ_L_1 0x73 9762306a36Sopenharmony_ci#define RT1308_BQ1_EQ_L_2 0x74 9862306a36Sopenharmony_ci#define RT1308_BQ1_EQ_L_3 0x75 9962306a36Sopenharmony_ci#define RT1308_BQ1_EQ_R_1 0x76 10062306a36Sopenharmony_ci#define RT1308_BQ1_EQ_R_2 0x77 10162306a36Sopenharmony_ci#define RT1308_BQ1_EQ_R_3 0x78 10262306a36Sopenharmony_ci#define RT1308_BQ2_EQ_L_1 0x79 10362306a36Sopenharmony_ci#define RT1308_BQ2_EQ_L_2 0x7a 10462306a36Sopenharmony_ci#define RT1308_BQ2_EQ_L_3 0x7b 10562306a36Sopenharmony_ci#define RT1308_BQ2_EQ_R_1 0x7c 10662306a36Sopenharmony_ci#define RT1308_BQ2_EQ_R_2 0x7d 10762306a36Sopenharmony_ci#define RT1308_BQ2_EQ_R_3 0x7e 10862306a36Sopenharmony_ci#define RT1308_EFUSE_1 0x7f 10962306a36Sopenharmony_ci#define RT1308_EFUSE_2 0x80 11062306a36Sopenharmony_ci#define RT1308_EFUSE_PROG_PVDD_L 0x81 11162306a36Sopenharmony_ci#define RT1308_EFUSE_PROG_PVDD_R 0x82 11262306a36Sopenharmony_ci#define RT1308_EFUSE_PROG_R0_L 0x83 11362306a36Sopenharmony_ci#define RT1308_EFUSE_PROG_R0_R 0x84 11462306a36Sopenharmony_ci#define RT1308_EFUSE_PROG_DEV 0x85 11562306a36Sopenharmony_ci#define RT1308_EFUSE_READ_PVDD_L 0x86 11662306a36Sopenharmony_ci#define RT1308_EFUSE_READ_PVDD_R 0x87 11762306a36Sopenharmony_ci#define RT1308_EFUSE_READ_PVDD_PTBL 0x88 11862306a36Sopenharmony_ci#define RT1308_EFUSE_READ_DEV 0x89 11962306a36Sopenharmony_ci#define RT1308_EFUSE_READ_R0 0x8a 12062306a36Sopenharmony_ci#define RT1308_EFUSE_READ_ADC_L 0x8b 12162306a36Sopenharmony_ci#define RT1308_EFUSE_READ_ADC_R 0x8c 12262306a36Sopenharmony_ci#define RT1308_EFUSE_READ_ADC_PBTL 0x8d 12362306a36Sopenharmony_ci#define RT1308_EFUSE_RESERVE 0x8e 12462306a36Sopenharmony_ci#define RT1308_PADS_1 0x90 12562306a36Sopenharmony_ci#define RT1308_PADS_2 0x91 12662306a36Sopenharmony_ci#define RT1308_TEST_MODE 0xa0 12762306a36Sopenharmony_ci#define RT1308_TEST_1 0xa1 12862306a36Sopenharmony_ci#define RT1308_TEST_2 0xa2 12962306a36Sopenharmony_ci#define RT1308_TEST_3 0xa3 13062306a36Sopenharmony_ci#define RT1308_TEST_4 0xa4 13162306a36Sopenharmony_ci#define RT1308_EFUSE_DATA_0_MSB 0xb0 13262306a36Sopenharmony_ci#define RT1308_EFUSE_DATA_0_LSB 0xb1 13362306a36Sopenharmony_ci#define RT1308_EFUSE_DATA_1_MSB 0xb2 13462306a36Sopenharmony_ci#define RT1308_EFUSE_DATA_1_LSB 0xb3 13562306a36Sopenharmony_ci#define RT1308_EFUSE_DATA_2_MSB 0xb4 13662306a36Sopenharmony_ci#define RT1308_EFUSE_DATA_2_LSB 0xb5 13762306a36Sopenharmony_ci#define RT1308_EFUSE_DATA_3_MSB 0xb6 13862306a36Sopenharmony_ci#define RT1308_EFUSE_DATA_3_LSB 0xb7 13962306a36Sopenharmony_ci#define RT1308_EFUSE_DATA_TEST_MSB 0xb8 14062306a36Sopenharmony_ci#define RT1308_EFUSE_DATA_TEST_LSB 0xb9 14162306a36Sopenharmony_ci#define RT1308_EFUSE_STATUS_1 0xba 14262306a36Sopenharmony_ci#define RT1308_EFUSE_STATUS_2 0xbb 14362306a36Sopenharmony_ci#define RT1308_TCON_1 0xc0 14462306a36Sopenharmony_ci#define RT1308_TCON_2 0xc1 14562306a36Sopenharmony_ci#define RT1308_DUMMY_REG 0xf0 14662306a36Sopenharmony_ci#define RT1308_MAX_REG 0xff 14762306a36Sopenharmony_ci 14862306a36Sopenharmony_ci/* PLL1 M/N/K Code-1 (0x03) */ 14962306a36Sopenharmony_ci#define RT1308_PLL1_K_SFT 24 15062306a36Sopenharmony_ci#define RT1308_PLL1_K_MASK (0x1f << 24) 15162306a36Sopenharmony_ci#define RT1308_PLL1_M_BYPASS_MASK (0x1 << 23) 15262306a36Sopenharmony_ci#define RT1308_PLL1_M_BYPASS_SFT 23 15362306a36Sopenharmony_ci#define RT1308_PLL1_M_BYPASS (0x1 << 23) 15462306a36Sopenharmony_ci#define RT1308_PLL1_M_MASK (0x3f << 16) 15562306a36Sopenharmony_ci#define RT1308_PLL1_M_SFT 16 15662306a36Sopenharmony_ci#define RT1308_PLL1_N_MASK (0x7f << 8) 15762306a36Sopenharmony_ci#define RT1308_PLL1_N_SFT 8 15862306a36Sopenharmony_ci 15962306a36Sopenharmony_ci/* CLOCK-1 (0x06) */ 16062306a36Sopenharmony_ci#define RT1308_DIV_FS_SYS_MASK (0xf << 28) 16162306a36Sopenharmony_ci#define RT1308_DIV_FS_SYS_SFT 28 16262306a36Sopenharmony_ci#define RT1308_SEL_FS_SYS_MASK (0x7 << 24) 16362306a36Sopenharmony_ci#define RT1308_SEL_FS_SYS_SFT 24 16462306a36Sopenharmony_ci#define RT1308_SEL_FS_SYS_SRC_MCLK (0x0 << 24) 16562306a36Sopenharmony_ci#define RT1308_SEL_FS_SYS_SRC_BCLK (0x1 << 24) 16662306a36Sopenharmony_ci#define RT1308_SEL_FS_SYS_SRC_PLL (0x2 << 24) 16762306a36Sopenharmony_ci#define RT1308_SEL_FS_SYS_SRC_RCCLK (0x4 << 24) 16862306a36Sopenharmony_ci 16962306a36Sopenharmony_ci/* CLOCK-2 (0x08) */ 17062306a36Sopenharmony_ci#define RT1308_DIV_PRE_PLL_MASK (0xf << 28) 17162306a36Sopenharmony_ci#define RT1308_DIV_PRE_PLL_SFT 28 17262306a36Sopenharmony_ci#define RT1308_SEL_PLL_SRC_MASK (0x7 << 24) 17362306a36Sopenharmony_ci#define RT1308_SEL_PLL_SRC_SFT 24 17462306a36Sopenharmony_ci#define RT1308_SEL_PLL_SRC_MCLK (0x0 << 24) 17562306a36Sopenharmony_ci#define RT1308_SEL_PLL_SRC_BCLK (0x1 << 24) 17662306a36Sopenharmony_ci#define RT1308_SEL_PLL_SRC_RCCLK (0x4 << 24) 17762306a36Sopenharmony_ci 17862306a36Sopenharmony_ci/* Clock Detect (0x0a) */ 17962306a36Sopenharmony_ci#define RT1308_MCLK_DET_EN_MASK (0x1 << 25) 18062306a36Sopenharmony_ci#define RT1308_MCLK_DET_EN_SFT 25 18162306a36Sopenharmony_ci#define RT1308_MCLK_DET_EN (0x1 << 25) 18262306a36Sopenharmony_ci#define RT1308_BCLK_DET_EN_MASK (0x1 << 24) 18362306a36Sopenharmony_ci#define RT1308_BCLK_DET_EN_SFT 24 18462306a36Sopenharmony_ci#define RT1308_BCLK_DET_EN (0x1 << 24) 18562306a36Sopenharmony_ci 18662306a36Sopenharmony_ci/* DAC Setting (0x10) */ 18762306a36Sopenharmony_ci#define RT1308_DVOL_MUTE_R_EN_SFT 7 18862306a36Sopenharmony_ci#define RT1308_DVOL_MUTE_L_EN_SFT 6 18962306a36Sopenharmony_ci 19062306a36Sopenharmony_ci/* I2S Setting-1 (0x15) */ 19162306a36Sopenharmony_ci#define RT1308_I2S_DF_SEL_MASK (0x3 << 12) 19262306a36Sopenharmony_ci#define RT1308_I2S_DF_SEL_SFT 12 19362306a36Sopenharmony_ci#define RT1308_I2S_DF_SEL_I2S (0x0 << 12) 19462306a36Sopenharmony_ci#define RT1308_I2S_DF_SEL_LEFT (0x1 << 12) 19562306a36Sopenharmony_ci#define RT1308_I2S_DF_SEL_PCM_A (0x2 << 12) 19662306a36Sopenharmony_ci#define RT1308_I2S_DF_SEL_PCM_B (0x3 << 12) 19762306a36Sopenharmony_ci#define RT1308_I2S_DL_RX_SEL_MASK (0x7 << 4) 19862306a36Sopenharmony_ci#define RT1308_I2S_DL_RX_SEL_SFT 4 19962306a36Sopenharmony_ci#define RT1308_I2S_DL_RX_SEL_16B (0x0 << 4) 20062306a36Sopenharmony_ci#define RT1308_I2S_DL_RX_SEL_20B (0x1 << 4) 20162306a36Sopenharmony_ci#define RT1308_I2S_DL_RX_SEL_24B (0x2 << 4) 20262306a36Sopenharmony_ci#define RT1308_I2S_DL_RX_SEL_32B (0x3 << 4) 20362306a36Sopenharmony_ci#define RT1308_I2S_DL_RX_SEL_8B (0x4 << 4) 20462306a36Sopenharmony_ci#define RT1308_I2S_DL_TX_SEL_MASK (0x7 << 0) 20562306a36Sopenharmony_ci#define RT1308_I2S_DL_TX_SEL_SFT 0 20662306a36Sopenharmony_ci#define RT1308_I2S_DL_TX_SEL_16B (0x0 << 0) 20762306a36Sopenharmony_ci#define RT1308_I2S_DL_TX_SEL_20B (0x1 << 0) 20862306a36Sopenharmony_ci#define RT1308_I2S_DL_TX_SEL_24B (0x2 << 0) 20962306a36Sopenharmony_ci#define RT1308_I2S_DL_TX_SEL_32B (0x3 << 0) 21062306a36Sopenharmony_ci#define RT1308_I2S_DL_TX_SEL_8B (0x4 << 0) 21162306a36Sopenharmony_ci 21262306a36Sopenharmony_ci/* I2S Setting-2 (0x16) */ 21362306a36Sopenharmony_ci#define RT1308_I2S_DL_SEL_MASK (0x7 << 24) 21462306a36Sopenharmony_ci#define RT1308_I2S_DL_SEL_SFT 24 21562306a36Sopenharmony_ci#define RT1308_I2S_DL_SEL_16B (0x0 << 24) 21662306a36Sopenharmony_ci#define RT1308_I2S_DL_SEL_20B (0x1 << 24) 21762306a36Sopenharmony_ci#define RT1308_I2S_DL_SEL_24B (0x2 << 24) 21862306a36Sopenharmony_ci#define RT1308_I2S_DL_SEL_32B (0x3 << 24) 21962306a36Sopenharmony_ci#define RT1308_I2S_DL_SEL_8B (0x4 << 24) 22062306a36Sopenharmony_ci#define RT1308_I2S_BCLK_MASK (0x1 << 14) 22162306a36Sopenharmony_ci#define RT1308_I2S_BCLK_SFT 14 22262306a36Sopenharmony_ci#define RT1308_I2S_BCLK_NORMAL (0x0 << 14) 22362306a36Sopenharmony_ci#define RT1308_I2S_BCLK_INV (0x1 << 14) 22462306a36Sopenharmony_ci 22562306a36Sopenharmony_ci/* Power Control-1 (0x32) */ 22662306a36Sopenharmony_ci#define RT1308_POW_MBIAS20U (0x1 << 31) 22762306a36Sopenharmony_ci#define RT1308_POW_MBIAS20U_BIT 31 22862306a36Sopenharmony_ci#define RT1308_POW_ALDO (0x1 << 30) 22962306a36Sopenharmony_ci#define RT1308_POW_ALDO_BIT 30 23062306a36Sopenharmony_ci#define RT1308_POW_DBG (0x1 << 29) 23162306a36Sopenharmony_ci#define RT1308_POW_DBG_BIT 29 23262306a36Sopenharmony_ci#define RT1308_POW_DACL (0x1 << 28) 23362306a36Sopenharmony_ci#define RT1308_POW_DACL_BIT 28 23462306a36Sopenharmony_ci#define RT1308_POW_DAC1 (0x1 << 27) 23562306a36Sopenharmony_ci#define RT1308_POW_DAC1_BIT 27 23662306a36Sopenharmony_ci#define RT1308_POW_CLK25M (0x1 << 26) 23762306a36Sopenharmony_ci#define RT1308_POW_CLK25M_BIT 26 23862306a36Sopenharmony_ci#define RT1308_POW_ADC_R (0x1 << 25) 23962306a36Sopenharmony_ci#define RT1308_POW_ADC_R_BIT 25 24062306a36Sopenharmony_ci#define RT1308_POW_ADC_L (0x1 << 24) 24162306a36Sopenharmony_ci#define RT1308_POW_ADC_L_BIT 24 24262306a36Sopenharmony_ci#define RT1308_POW_DLDO (0x1 << 21) 24362306a36Sopenharmony_ci#define RT1308_POW_DLDO_BIT 21 24462306a36Sopenharmony_ci#define RT1308_POW_VREF (0x1 << 20) 24562306a36Sopenharmony_ci#define RT1308_POW_VREF_BIT 20 24662306a36Sopenharmony_ci#define RT1308_POW_MIXER_R (0x1 << 18) 24762306a36Sopenharmony_ci#define RT1308_POW_MIXER_R_BIT 18 24862306a36Sopenharmony_ci#define RT1308_POW_MIXER_L (0x1 << 17) 24962306a36Sopenharmony_ci#define RT1308_POW_MIXER_L_BIT 17 25062306a36Sopenharmony_ci#define RT1308_POW_MBIAS4U (0x1 << 16) 25162306a36Sopenharmony_ci#define RT1308_POW_MBIAS4U_BIT 16 25262306a36Sopenharmony_ci#define RT1308_POW_PLL2_LDO_EN (0x1 << 12) 25362306a36Sopenharmony_ci#define RT1308_POW_PLL2_LDO_EN_BIT 12 25462306a36Sopenharmony_ci#define RT1308_POW_PLL2B_EN (0x1 << 11) 25562306a36Sopenharmony_ci#define RT1308_POW_PLL2B_EN_BIT 11 25662306a36Sopenharmony_ci#define RT1308_POW_PLL2F_EN (0x1 << 10) 25762306a36Sopenharmony_ci#define RT1308_POW_PLL2F_EN_BIT 10 25862306a36Sopenharmony_ci#define RT1308_POW_PLL2F2_EN (0x1 << 9) 25962306a36Sopenharmony_ci#define RT1308_POW_PLL2F2_EN_BIT 9 26062306a36Sopenharmony_ci#define RT1308_POW_PLL2B2_EN (0x1 << 8) 26162306a36Sopenharmony_ci#define RT1308_POW_PLL2B2_EN_BIT 8 26262306a36Sopenharmony_ci 26362306a36Sopenharmony_ci/* Power Control-2 (0x36) */ 26462306a36Sopenharmony_ci#define RT1308_POW_PDB_SRC_BIT (0x1 << 27) 26562306a36Sopenharmony_ci#define RT1308_POW_PDB_MN_BIT (0x1 << 25) 26662306a36Sopenharmony_ci#define RT1308_POW_PDB_REG_BIT (0x1 << 24) 26762306a36Sopenharmony_ci 26862306a36Sopenharmony_ci 26962306a36Sopenharmony_ci/* System Clock Source */ 27062306a36Sopenharmony_cienum { 27162306a36Sopenharmony_ci RT1308_FS_SYS_S_MCLK, 27262306a36Sopenharmony_ci RT1308_FS_SYS_S_BCLK, 27362306a36Sopenharmony_ci RT1308_FS_SYS_S_PLL, 27462306a36Sopenharmony_ci RT1308_FS_SYS_S_RCCLK, /* 25.0 MHz */ 27562306a36Sopenharmony_ci}; 27662306a36Sopenharmony_ci 27762306a36Sopenharmony_ci/* PLL Source */ 27862306a36Sopenharmony_cienum { 27962306a36Sopenharmony_ci RT1308_PLL_S_MCLK, 28062306a36Sopenharmony_ci RT1308_PLL_S_BCLK, 28162306a36Sopenharmony_ci RT1308_PLL_S_RCCLK, 28262306a36Sopenharmony_ci}; 28362306a36Sopenharmony_ci 28462306a36Sopenharmony_cienum { 28562306a36Sopenharmony_ci RT1308_AIF1, 28662306a36Sopenharmony_ci RT1308_AIFS 28762306a36Sopenharmony_ci}; 28862306a36Sopenharmony_ci 28962306a36Sopenharmony_cienum rt1308_hw_ver { 29062306a36Sopenharmony_ci RT1308_VER_C = 2, 29162306a36Sopenharmony_ci RT1308_VER_D 29262306a36Sopenharmony_ci}; 29362306a36Sopenharmony_ci 29462306a36Sopenharmony_ci#endif /* end of _RT1308_H_ */ 295