Re: [PATCH 0/5] Fix RG35XX Battery Charging Issues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Feb 1, 2025 at 7:17 AM Chris Morgan <macroalpha82@xxxxxxxxx> wrote:
>
> From: Chris Morgan <macromorgan@xxxxxxxxxxx>
>
> 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

Lee, FYI this power supply patch has a compile time dependency on the
mfd patch, due to the new register offset macro.

Chris, in the future, if you are aware of build time dependencies,
please mention them in the cover letter. That would help maintainers
sort out how to land things.


Thanks
ChenYu


>   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
>





[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux