regulator: Fixes for v5.17
A series of fixes for the da9121 driver. -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmIZCVoACgkQJNaLcl1U h9CWkQf+Ih/bM3Ccg23E4nsUr5Mm3mwiNoQ+vH4oudK5YVqsc71mJ43kidwS0zwj hy6Vg9zyeO2jVpKhy3isYz4SOsNg7HqqzAMLUd8k6fLlKwoLrCerVV6hny/QvT/8 KqEfIsNXvIHsQz2ee9fnDqqpQcPyuxgA0hamfcSDLHSwwyRWinTBGkdBTbnAdIS9 hrkjMWjNQUlp3tmue6JeDYsQu7Hb2buBhawWPG1H3c2+bmA05DMNdjfUK0Dbf/mu bWWddotWfx01hEF+Q3d8k3UP4w80FdSR2tVU/+hMVqimuIYx/xh7PH51Grv8Bk/h M/P8R1hd5ipLwlHH4RHBKlCjkZvmgg== =7Zcj -----END PGP SIGNATURE----- Merge tag 'regulator-fix-v5.17-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator Pull regulator fixes from Mark Brown: "A series of fixes for the da9121 driver" * tag 'regulator-fix-v5.17-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator: regulator: da9121: Remove surplus DA9141 parameters regulator: da9121: Fix DA914x voltage value regulator: da9121: Fix DA914x current values
This commit is contained in:
commit
64b5132b89
|
@ -87,16 +87,16 @@ static struct da9121_range da9121_3A_1phase_current = {
|
|||
};
|
||||
|
||||
static struct da9121_range da914x_40A_4phase_current = {
|
||||
.val_min = 14000000,
|
||||
.val_max = 80000000,
|
||||
.val_stp = 2000000,
|
||||
.val_min = 26000000,
|
||||
.val_max = 78000000,
|
||||
.val_stp = 4000000,
|
||||
.reg_min = 1,
|
||||
.reg_max = 14,
|
||||
};
|
||||
|
||||
static struct da9121_range da914x_20A_2phase_current = {
|
||||
.val_min = 7000000,
|
||||
.val_max = 40000000,
|
||||
.val_min = 13000000,
|
||||
.val_max = 39000000,
|
||||
.val_stp = 2000000,
|
||||
.reg_min = 1,
|
||||
.reg_max = 14,
|
||||
|
@ -561,7 +561,7 @@ static const struct regulator_desc da9217_reg = {
|
|||
};
|
||||
|
||||
#define DA914X_MIN_MV 500
|
||||
#define DA914X_MAX_MV 1000
|
||||
#define DA914X_MAX_MV 1300
|
||||
#define DA914X_STEP_MV 10
|
||||
#define DA914X_MIN_SEL (DA914X_MIN_MV / DA914X_STEP_MV)
|
||||
#define DA914X_N_VOLTAGES (((DA914X_MAX_MV - DA914X_MIN_MV) / DA914X_STEP_MV) \
|
||||
|
@ -585,10 +585,6 @@ static const struct regulator_desc da9141_reg = {
|
|||
.vsel_mask = DA9121_MASK_BUCK_BUCKx_5_CHx_A_VOUT,
|
||||
.enable_reg = DA9121_REG_BUCK_BUCK1_0,
|
||||
.enable_mask = DA9121_MASK_BUCK_BUCKx_0_CHx_EN,
|
||||
/* Default value of BUCK_BUCK1_0.CH1_SRC_DVC_UP */
|
||||
.ramp_delay = 20000,
|
||||
/* tBUCK_EN */
|
||||
.enable_time = 20,
|
||||
};
|
||||
|
||||
static const struct regulator_desc da9142_reg = {
|
||||
|
|
Loading…
Reference in New Issue