ARM Sunxi Platform Development
 help / color / mirror / Atom feed
* [PATCH 0/5] Fix RG35XX Battery Charging Issues
@ 2025-01-31 23:14 Chris Morgan
  2025-01-31 23:14 ` [PATCH 1/5] power: supply: axp20x_battery: Fix fault handling for AXP717 Chris Morgan
                   ` (6 more replies)
  0 siblings, 7 replies; 12+ messages in thread
From: Chris Morgan @ 2025-01-31 23:14 UTC (permalink / raw)
  To: linux-sunxi
  Cc: devicetree, linux-pm, lee, samuel, jernej.skrabec, wens, conor+dt,
	krzk+dt, robh, sre, Chris Morgan

From: Chris Morgan <macromorgan@hotmail.com>

The Anbernic RG35XX devices sometimes fail to charge when the register
for the battery temperature sensor is set to the incorrect value either
by user error or an incorrectly programmed efuse. Allow users to
hard-code if a temperature sensor is not present (which is the case for
all Anbernic RGxx series devices) to prevent this issue from causing
problems. Additionally, a bug was identified with the handling of PMU
faults while this fix was being tested.

Chris Morgan (5):
  power: supply: axp20x_battery: Fix fault handling for AXP717
  dt-bindings: power: supply: axp20x-battery: Add x-powers,no-thermistor
  mfd: axp20x: AXP717: Add AXP717_TS_PIN_CFG to writeable regs
  power: supply: axp20x_battery: Update temp sensor for AXP717 from
    device tree
  arm64: dts: allwinner: rg35xx: Add no-thermistor property for battery

 .../x-powers,axp20x-battery-power-supply.yaml | 22 ++++++--
 .../sun50i-h700-anbernic-rg35xx-2024.dts      |  1 +
 drivers/mfd/axp20x.c                          |  2 +-
 drivers/power/supply/axp20x_battery.c         | 50 +++++++++++++------
 include/linux/mfd/axp20x.h                    |  1 +
 5 files changed, 56 insertions(+), 20 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2025-02-03 15:08 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-31 23:14 [PATCH 0/5] Fix RG35XX Battery Charging Issues Chris Morgan
2025-01-31 23:14 ` [PATCH 1/5] power: supply: axp20x_battery: Fix fault handling for AXP717 Chris Morgan
2025-02-01 10:49   ` Chen-Yu Tsai
2025-01-31 23:14 ` [PATCH 2/5] dt-bindings: power: supply: axp20x-battery: Add x-powers,no-thermistor Chris Morgan
2025-02-03  7:45   ` Krzysztof Kozlowski
2025-01-31 23:14 ` [PATCH 3/5] mfd: axp20x: AXP717: Add AXP717_TS_PIN_CFG to writeable regs Chris Morgan
2025-02-01 10:52   ` Chen-Yu Tsai
2025-01-31 23:14 ` [PATCH 4/5] power: supply: axp20x_battery: Update temp sensor for AXP717 from device tree Chris Morgan
2025-02-01 11:05   ` Chen-Yu Tsai
2025-01-31 23:14 ` [PATCH 5/5] arm64: dts: allwinner: rg35xx: Add no-thermistor property for battery Chris Morgan
2025-02-01 11:08 ` [PATCH 0/5] Fix RG35XX Battery Charging Issues Chen-Yu Tsai
2025-02-03 15:08 ` (subset) " Sebastian Reichel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox