[PATCH v5 0/3] power: supply: mt6360_charger: add MT6360 charger support
Gene Chen
gene.chen.richtek at gmail.com
Fri May 28 01:12:57 PDT 2021
This patch series add MT6360 Charger support contains driver and binding
document
Gene Chen (3)
lib: add linear range get selector within
dt-bindings: power: Add bindings document for Charger support on MT6360 PMIC
power: supply: mt6360_charger: add MT6360 charger support
Documentation/devicetree/bindings/power/supply/mt6360_charger.yaml | 48
drivers/power/supply/Kconfig | 11
drivers/power/supply/Makefile | 1
drivers/power/supply/mt6360_charger.c | 856 ++++++++++
include/linux/linear_range.h | 2
lib/linear_ranges.c | 31
6 files changed, 949 insertions(+)
changelogs between v1 & v2
- Add binding property with unit and custom name prefix
- Remove extcon device, redundant brackets and interrupts
- Fix power supply prop "charger type"
changelogs between v2 & v3
- Add register selector to value mapping
changelogs between v3 & v4
- move pdata vinovp to mt6360_chg_info
- remove unuse sysfs attribute
- refactor debug log and warning
- add power supply prop input voltage limit
changelogs between v4 & v5
- add linear range selector mapping
- use linear range to map charger setting
More information about the Linux-mediatek
mailing list