[PATCH] ARM: dts: cubieboard4: Fix DCDC5 regulator constraints

Chen-Yu Tsai wens at csie.org
Fri Oct 25 08:32:47 PDT 2024


On Mon, 07 Oct 2024 23:29:16 +0100, Andre Przywara wrote:
> The DCDC5 voltage rail in the X-Powers AXP809 PMIC has a resolution of
> 50mV, so the currently enforced limits of 1.475 and 1.525 volts cannot
> be set, when the existing regulator value is beyond this range.
> 
> This will lead to the whole regulator driver to give up and fail
> probing, which in turn will hang the system, as essential devices depend
> on the PMIC.
> In this case a bug in U-Boot set the voltage to 1.75V (meant for DCDC4),
> and the AXP driver's attempt to correct this lead to this error:
> ==================
> [    4.447653] axp20x-rsb sunxi-rsb-3a3: AXP20X driver loaded
> [    4.450066] vcc-dram: Bringing 1750000uV into 1575000-1575000uV
> [    4.460272] vcc-dram: failed to apply 1575000-1575000uV constraint: -EINVAL
> [    4.474788] axp20x-regulator axp20x-regulator.0: Failed to register dcdc5
> [    4.482276] axp20x-regulator axp20x-regulator.0: probe with driver axp20x-regulator failed with error -22
> ==================
> 
> [...]

Applied to fixes-for-6.12 in git at github.com:linux-sunxi/linux-sunxi.git, thanks!

[1/1] ARM: dts: cubieboard4: Fix DCDC5 regulator constraints
      commit: dd36ad71ad65968f97630808bc8d605c929b128e

Best regards,
-- 
Chen-Yu Tsai <wens at csie.org>




More information about the linux-arm-kernel mailing list