[PATCH] power: supply: mt6360_charger: Set the input voltage limit in CHG_CTRL6

Sebastian Reichel sebastian.reichel at collabora.com
Sat Nov 28 19:36:14 PST 2026


On Sat, 07 Nov 2026 19:09:36 +0800, Rui Cao wrote:
> mt6360_charger_set_mivr() updates the MIVR field (bits 7:1) of
> CHG_CTRL3, but MIVR lives in CHG_CTRL6, where mt6360_charger_get_mivr()
> reads it and MediaTek's own MT6360 charger driver writes it. CHG_CTRL3
> holds the input current limit (AICR, bits 7:2) instead.
> 
> Writing input_voltage_limit therefore never changed the voltage limit
> and replaced the input current limit with the MIVR selector: 4.5 V, for
> example, set AICR to 250 mA.
> 
> [...]

Applied, thanks!

[1/1] power: supply: mt6360_charger: Set the input voltage limit in CHG_CTRL6
      commit: 0f281bc667fd465440be7fa67a448f62d717b3f4

Best regards,
-- 
Sebastian Reichel <sebastian.reichel at collabora.com>




More information about the linux-arm-kernel mailing list