[PATCH V3 00/10] regulator: da9121: extend support to variants, add features

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

 



This series extends the DA9121 driver to add support for related products:

  DA9130, 10A, Dual-Phase (Automotive Grade)
  DA9122, 5A + 5A
  DA9131, 5A + 5A (Automotive Grade)
  DA9220, 3A + 3A
  DA9132, 3A + 3A (Automotive Grade)
  DA9217, 6A, Dual-Phase

It also extends support to cover DT configured GPIO enable, current limit
setting, and interrupt handling for all devices.

The datasheets are currently available here:

https://www.dialog-semiconductor.com/sites/default/files/da9122_datasheet_2v1.pdf
https://www.dialog-semiconductor.com/sites/default/files/da9220_datasheet_2v1.pdf
https://www.dialog-semiconductor.com/sites/default/files/da9217_datasheet_2v1.pdf
https://www.dialog-semiconductor.com/sites/default/files/da9130-a_datasheet_1v0.pdf
https://www.dialog-semiconductor.com/sites/default/files/da9131-a_datasheet_1v0.pdf
https://www.dialog-semiconductor.com/sites/default/files/da9132-a_datasheet_1v0.pdf

V3:

 - Restored missing DT bindings patch

V2:

 - Remove Vincent Whitchurch as DT maintainer, as requested
 - Use configuration to select register map
 - Split regmap and description patch
 - Defer device ID check to negate, not gatekeep
 - Removed superfluous compatible check
 - Tidied banner comment
 - Switched to using of_parse_cb()
 - Simplified buck checks accordingly
 - Simplified current/mode register/mask use
 - Simplified interrupt handling
 - Synchronise workqueue at driver exit

Adam Ward (10):
  regulator: Update DA9121 dt-bindings
  regulator: da9121: Add header file
  regulator: da9121: Add device variants
  regulator: da9121: Add device variant regmaps
  regulator: da9121: Add device variant descriptors
  regulator: da9121: Add support for device variants via devicetree
  regulator: da9121: Update registration to support multiple buck
    variants
  regulator: da9121: add current support
  regulator: da9121: add mode support
  regulator: da9121: add interrupt support

 .../devicetree/bindings/regulator/dlg,da9121.yaml  |  164 +++-
 MAINTAINERS                                        |    2 +
 drivers/regulator/Kconfig                          |   14 +-
 drivers/regulator/da9121-regulator.c               | 1033 +++++++++++++++++++-
 drivers/regulator/da9121-regulator.h               |  291 ++++++
 .../dt-bindings/regulator/dlg,da9121-regulator.h   |   22 +
 include/linux/regulator/da9121.h                   |   36 +
 7 files changed, 1513 insertions(+), 49 deletions(-)
 create mode 100644 drivers/regulator/da9121-regulator.h
 create mode 100644 include/dt-bindings/regulator/dlg,da9121-regulator.h
 create mode 100644 include/linux/regulator/da9121.h

-- 
1.9.1




[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