]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
power: supply: rt9467: Add properties for VBUS and IBUS reading
authorChiYuan Huang <cy_huang@richtek.com>
Thu, 14 Aug 2025 07:27:41 +0000 (15:27 +0800)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Sat, 6 Sep 2025 21:28:57 +0000 (23:28 +0200)
commit15a84d15a677533afa55010f1e2052a27fcd854d
tree43fe7f2aa4ff543d034f40a572636f3133d38881
parentfee0904441325d83e7578ca457ec65a9d3f21264
power: supply: rt9467: Add properties for VBUS and IBUS reading

Since there's the existing ADC function, add properties 'VOLTAGE_NOW'
and 'CURRENT_NOW' to report the current VBUS and IBUS value, respectively.

Signed-off-by: ChiYuan Huang <cy_huang@richtek.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/rt9467-charger.c