[PATCH v1 1/4] power: pmic: Modify the BUCK1 voltage range

Marek Vasut marex at denx.de
Mon Jun 5 12:07:29 CEST 2023


On 6/5/23 11:48, Joy Zou wrote:
> The new pmic trimed BUCK1. So need to modify the range.
> The default value of Toff_Deb is used to distinguish the old and new pmic.

[...]

> +++ b/include/power/pca9450.h
> @@ -63,6 +63,8 @@ enum {
>   	NXP_CHIP_TYPE_AMOUNT
>   };
>   
> +#define PCA9450_REG_PWRCTRL_TOFF_DEB    BIT(5)
> +
>   #define PCA9450_DVS_BUCK_RUN_MASK	0x7f
>   #define PCA9450_LDO12_MASK		0x07
>   #define PCA9450_LDO34_MASK		0x1f

Shouldn't there be a new DT compatible, 'nxp,pca9451a' somewhere ?
Like e.g. in drivers/power/pmic/pca9450.c ?


More information about the U-Boot mailing list