[PATCH 0/4] Support regulator ON/OFF by PMIC state machine.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Support regulator enable/disable via BD718(37/47/50) PMIC state machine.

The ROHM BD718(37/47/50) PMICs are mainly used for powering i.MX8 based
systems. On some setups the i.MX8 SoC uses a IO line to suspend the
system. These PMICs support this via PMIC internal HW state machine
which can be toggled for example by the PMIC_STBY_REQ IO-pin.

Regulators can be controlled either by this state machine or by SW via
I2C. This patch series allows mixed control model by adding a
device-tree property which is intended to be used to leave some of the
regulators under HW state machine control while allowing other to be
still controlled using the driver. The driver can also be used to set
voltages levels for all regulators no matter if enable/disable state is
controlled by SW or HW.

---

Matti Vaittinen (4):
  regulator: bd718x7 initialize regulator config only once
  dt-bindings: regulator: bd71837: add property for omitting ON/OFF
    control
  dt-bindings: regulator: bd71847: add property for omitting ON/OFF
    control
  regulator: bd718x7 fix regulator states at SUSPEND

 .../regulator/rohm,bd71837-regulator.yaml     |  11 +
 .../regulator/rohm,bd71847-regulator.yaml     |  11 +
 drivers/regulator/bd718x7-regulator.c         | 422 +++++++++++-------
 3 files changed, 293 insertions(+), 151 deletions(-)

-- 
2.21.0


-- 
Matti Vaittinen, Linux device drivers
ROHM Semiconductors, Finland SWDC
Kiviharjunlenkki 1E
90220 OULU
FINLAND

~~~ "I don't think so," said Rene Descartes. Just then he vanished ~~~
Simon says - in Latin please.
~~~ "non cogito me" dixit Rene Descarte, deinde evanescavit ~~~
Thanks to Simon Glass for the translation =] 



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux