]> www.infradead.org Git - users/jedix/linux-maple.git/commit
power: supply: axp20x_battery: Update temp sensor for AXP717 from device tree
authorChris Morgan <macromorgan@hotmail.com>
Tue, 4 Feb 2025 15:58:33 +0000 (09:58 -0600)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Fri, 21 Feb 2025 01:19:29 +0000 (02:19 +0100)
commitbbcfe510ecd47f2db4c8653c7dfa9dc7a55b1583
treeba21b9f6b8317257645da9ffa138638c5f33da99
parent626006541069d4d595128f03cc3a1b70a482805c
power: supply: axp20x_battery: Update temp sensor for AXP717 from device tree

Allow a boolean property of "x-powers,no-thermistor" to specify devices
where the ts pin is not connected to anything. This works around an
issue found with some devices where the efuse is not programmed
correctly from the factory or when the register gets set erroneously.

Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
Tested-by: Philippe Simons <simons.philippe@gmail.com>
Link: https://lore.kernel.org/r/20250204155835.161973-4-macroalpha82@gmail.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/axp20x_battery.c