change(psram): update voltage configurations

This commit is contained in:
Armando
2024-02-06 16:01:06 +08:00
committed by Armando (Dou Yiwen)
parent 97702b3579
commit 62440e5b12
5 changed files with 39 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
/*
* SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD
* SPDX-FileCopyrightText: 2023-2024 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
@@ -17,6 +17,22 @@
#define I2C_BIAS 0x6A
#define I2C_BIAS_HOSTID 0
#define I2C_BIAS_DREG_1P6 0
#define I2C_BIAS_DREG_1P6_MSB 3
#define I2C_BIAS_DREG_1P6_LSB 0
#define I2C_BIAS_DREG_1P1 0
#define I2C_BIAS_DREG_1P1_MSB 7
#define I2C_BIAS_DREG_1P1_LSB 4
#define I2C_BIAS_DREG_1P1_PVT 1
#define I2C_BIAS_DREG_1P1_PVT_MSB 3
#define I2C_BIAS_DREG_1P1_PVT_LSB 0
#define I2C_BIAS_DREG_2P2_PVT 1
#define I2C_BIAS_DREG_2P2_PVT_MSB 7
#define I2C_BIAS_DREG_2P2_PVT_LSB 4
#define I2C_BIAS_OR_FORCE_XPD_CK 4
#define I2C_BIAS_OR_FORCE_XPD_CK_MSB 0
#define I2C_BIAS_OR_FORCE_XPD_CK_LSB 0

View File

@@ -17,6 +17,10 @@
#define I2C_MPLL 0x63
#define I2C_MPLL_HOSTID 0
#define I2C_MPLL_IR_CAL_RSTB 1
#define I2C_MPLL_IR_CAL_RSTB_MSB 5
#define I2C_MPLL_IR_CAL_RSTB_lSB 5
#define I2C_MPLL_DIV_REG_ADDR 2
#define I2C_MPLL_REF_DIV_ADDR I2C_MPLL_DIV_REG_ADDR
#define I2C_MPLL_REF_DIV_ADDR_MSB 2
@@ -25,3 +29,7 @@
#define I2C_MPLL_DIV_ADDR I2C_MPLL_DIV_REG_ADDR
#define I2C_MPLL_DIV_ADDR_MSB 7
#define I2C_MPLL_DIV_ADDR_LSB 3
#define I2C_MPLL_DHREF 3
#define I2C_MPLL_DHREF_MSB 5
#define I2C_MPLL_DHREF_LSB 4