Linux-Kernel-PMIC-Drivers

Rohm power management IC drivers for Linux kernel.

Drivers Home

This project is maintained by RohmSemiconductor

ROHM Power Management IC BD71815 Linux device drivers.

01/2021 ROHM mainstream driver for BD71815

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:

  1. Get the upstream driver and add a power-supply driver in it.
  2. Get the whole old reference driver below and test + fix it.
  3. Get the upstream driver + SW-gauge draft and test + fix it.

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.

Reference driver ported on Linux v.4.9.99

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