mbox series

[v2,0/2] Add Richtek RT5739 switching voltage regulator support

Message ID 1676599618-24819-1-git-send-email-cy_huang@richtek.com
Headers show
Series Add Richtek RT5739 switching voltage regulator support | expand

Message

ChiYuan Huang Feb. 17, 2023, 2:06 a.m. UTC
From: ChiYuan Huang <cy_huang@richtek.com>

This patch set is to add Richtek RT5739 regulator support.

The RT5739 is a step-down switching voltage regulator that delivers a digitally
programmable output from an input voltage supply from 2.5V to 5.5V. The output
voltage is programmed through an I2C interface.

Since v2:
- Refine dt-binding patch subject
- Shorten and refine title and description without too much marketing text.
- Fix the typo from 'connecton' to 'connection' in 'richtek,vsel-active-high'
  property description
- Remove maxItems in property 'regulator-allowed-modes'
- Fix the wrong min/max microvolt in binding example. Must be '300000' and
  '1300000', respectively.
 
ChiYuan Huang (2):
  dt-bindings: regulator: Add Richtek RT5739
  regulator: Add support for Richtek RT5739 voltage regulator

 .../bindings/regulator/richtek,rt5739.yaml         |  72 +++++
 drivers/regulator/Kconfig                          |  13 +
 drivers/regulator/Makefile                         |   1 +
 drivers/regulator/rt5739.c                         | 290 +++++++++++++++++++++
 4 files changed, 376 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/regulator/richtek,rt5739.yaml
 create mode 100644 drivers/regulator/rt5739.c