Rohm power management IC drivers for Linux kernel.
This project is maintained by RohmSemiconductor
First set of the BD71815 PMIC drivers were included in the mainstream Linux version 5.13-rc1. Please note that the driver sent to upstream kernel does not yet contain the power-supply portion because the ROHM power-supply driver contains a very IC specific fuel-gauge algorithm and this may not fit as such to a generic Linux driver. More work is required to separate the fuel-gauge computations from IC specific code. We keep working on this but can not guarantee the end result yet. If you have a project where you need the battery fuel-gauge implemented in BD71815 driver you may:
I would definitely go with option 1 or 3. The upstream driver is likely to be receiving testing and bug-fixes by others. It is also likely to be ported on new kernel versions. The old reference driver linked to bottom of the page is not maintained.
A Linux driver for the ROHM BD71815 Power Management IC is available here. Please note that this driver has been originally written for an early Linux 4.9 kernel and has not been actively maintained. Here we have a port to the more recent Linux v.4.9.99 - but this port has not been fully tested. Please treat this as a reference design only. See also the issues. Note: The issue list is not comprehensive. These and many other issues are fixed in upstream linux.
Please find the driver ported on Linux v4.9.99 here
This driver has support for