Closed PabloPL closed 5 years ago
extcon: fsa9480: Adjust for new extcon interface extcon: fsa9480: Add manual switching sysfs
TODO:
I believe max8998 charger has its own vbus detection mechanism as well.
Have you investigated charger-manager? Might be a good way of unifying extcon, max8998, max17040, and adc temperature table from vendor kernel.
Not yet and quick grep shows that there are no dts using it.
fsa9480 got accepted in mainline
For reference, a charger-manager DTS is available at https://git.tizen.org/cgit/platform/kernel/linux-exynos/commit/arch/arm/boot/dts/exynos3250-rinato.dts?h=dev/rebase_v4.1.51&id=b16ec86de799d4300359dd9881df00c8f03a4665
However, there needs to be a bunch of work on it, including adding the charger regulator to max8998 and adjusting the extcon interface to actually work...
There is already driver at https://github.com/tom3q/linux/commit/c54d9ad07eb30dc0ae11f4e13d0cbd0c11c77f03 It needs to be updated to new extcon api (work done on for-upstream/fsa9480).