[PATCH v3 0/3] Add RK801 PMIC support

Joseph Chen posted 3 patches 3 weeks, 4 days ago
.../bindings/mfd/rockchip,rk801.yaml          | 197 ++++++++++++++
drivers/mfd/Kconfig                           |   6 +-
drivers/mfd/rk8xx-core.c                      |  81 ++++++
drivers/mfd/rk8xx-i2c.c                       |  33 ++-
drivers/regulator/rk808-regulator.c           | 243 ++++++++++++++++++
include/linux/mfd/rk808.h                     | 118 +++++++++
6 files changed, 674 insertions(+), 4 deletions(-)
create mode 100644 Documentation/devicetree/bindings/mfd/rockchip,rk801.yaml
[PATCH v3 0/3] Add RK801 PMIC support
Posted by Joseph Chen 3 weeks, 4 days ago
This patch series adds support for the Rockchip RK801 Power Management
Integrated Circuit (PMIC) to the Linux kernel.

The RK801 is a PMIC designed for multimedia and handheld devices. It
includes:
- 4 BUCK regulators (DCDC)
- 2 LDO regulators
- 1 SWITCH regulator
- Interrupt support for power key events

The implementation follows the existing rk808 MFD driver architecture
and integrates RK801 as a new variant in the RK8XX family.

Patch 1 adds the device tree binding documentation for RK801, describing
the compatible string, regulators configuration, and example usage.

Patch 2 adds the MFD core support for RK801, including device detection
and register definitions.

Patch 3 adds the regulator driver support for RK801, implementing the
4 BUCK regulators, 2 LDO regulators, and 1 SWITCH regulator.

Changes in v3:
- Fix patch split issue: MFD patch incorrectly removed the entire
  drivers/regulator/rk808-regulator.c file in v2
- Kconfig description: use "Rockchip RK8xx Power Management Chips"
  instead of listing all individual chips (suggested by Heiko)

Changes in v2:
- Include all necessary To/Cc entries
- Rename pmic/regulator names from uppercase to lowercase(dcdc[1-4]|ldo[1-2]|switch)
  to align with DT coding style
- Drop 'rockchip,system-power-controller'
- Remove unused 'pwrctrl-gpios' from DT binding example
- Split regulator support into a separate patch (was part of mfd patch in v1)

Joseph Chen (3):
  dt-bindings: mfd: Add rk801 binding
  mfd: rk8xx: Add RK801 support
  regulator: rk808: Add RK801 support

 .../bindings/mfd/rockchip,rk801.yaml          | 197 ++++++++++++++
 drivers/mfd/Kconfig                           |   6 +-
 drivers/mfd/rk8xx-core.c                      |  81 ++++++
 drivers/mfd/rk8xx-i2c.c                       |  33 ++-
 drivers/regulator/rk808-regulator.c           | 243 ++++++++++++++++++
 include/linux/mfd/rk808.h                     | 118 +++++++++
 6 files changed, 674 insertions(+), 4 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/mfd/rockchip,rk801.yaml

--
2.25.1
Re: [PATCH v3 0/3] Add RK801 PMIC support
Posted by Lee Jones 2 weeks, 3 days ago
On Mon, 12 Jan 2026 20:43:48 +0800, Joseph Chen wrote:
> This patch series adds support for the Rockchip RK801 Power Management
> Integrated Circuit (PMIC) to the Linux kernel.
> 
> The RK801 is a PMIC designed for multimedia and handheld devices. It
> includes:
> - 4 BUCK regulators (DCDC)
> - 2 LDO regulators
> - 1 SWITCH regulator
> - Interrupt support for power key events
> 
> [...]

Applied, thanks!

[1/3] dt-bindings: mfd: Add rk801 binding
      commit: a8a2add7b1889f00bc5d2b1f25fad34e89ef85fb
[2/3] mfd: rk8xx: Add RK801 support
      commit: 156442eb6e44d545f09559bd70c5b31fba39eb01
[3/3] regulator: rk808: Add RK801 support
      commit: 3e10bbd9c8a6d5d016b8e52c5d4ceba93a2304a0

--
Lee Jones [李琼斯]

Re: [PATCH v3 0/3] Add RK801 PMIC support
Posted by Lee Jones 2 weeks, 3 days ago
On Tue, 20 Jan 2026, Lee Jones wrote:

> On Mon, 12 Jan 2026 20:43:48 +0800, Joseph Chen wrote:
> > This patch series adds support for the Rockchip RK801 Power Management
> > Integrated Circuit (PMIC) to the Linux kernel.
> > 
> > The RK801 is a PMIC designed for multimedia and handheld devices. It
> > includes:
> > - 4 BUCK regulators (DCDC)
> > - 2 LDO regulators
> > - 1 SWITCH regulator
> > - Interrupt support for power key events
> > 
> > [...]
> 
> Applied, thanks!
> 
> [1/3] dt-bindings: mfd: Add rk801 binding
>       commit: a8a2add7b1889f00bc5d2b1f25fad34e89ef85fb
> [2/3] mfd: rk8xx: Add RK801 support
>       commit: 156442eb6e44d545f09559bd70c5b31fba39eb01
> [3/3] regulator: rk808: Add RK801 support
>       commit: 3e10bbd9c8a6d5d016b8e52c5d4ceba93a2304a0

Note to self: ib-mfd-regulator-6.20

-- 
Lee Jones [李琼斯]
Re: [PATCH v3 0/3] Add RK801 PMIC support
Posted by Lee Jones 2 weeks, 3 days ago
On Tue, 20 Jan 2026, Lee Jones wrote:

> On Tue, 20 Jan 2026, Lee Jones wrote:
> 
> > On Mon, 12 Jan 2026 20:43:48 +0800, Joseph Chen wrote:
> > > This patch series adds support for the Rockchip RK801 Power Management
> > > Integrated Circuit (PMIC) to the Linux kernel.
> > > 
> > > The RK801 is a PMIC designed for multimedia and handheld devices. It
> > > includes:
> > > - 4 BUCK regulators (DCDC)
> > > - 2 LDO regulators
> > > - 1 SWITCH regulator
> > > - Interrupt support for power key events
> > > 
> > > [...]
> > 
> > Applied, thanks!
> > 
> > [1/3] dt-bindings: mfd: Add rk801 binding
> >       commit: a8a2add7b1889f00bc5d2b1f25fad34e89ef85fb
> > [2/3] mfd: rk8xx: Add RK801 support
> >       commit: 156442eb6e44d545f09559bd70c5b31fba39eb01
> > [3/3] regulator: rk808: Add RK801 support
> >       commit: 3e10bbd9c8a6d5d016b8e52c5d4ceba93a2304a0
> 
> Note to self: ib-mfd-regulator-6.20

Note to everyone else: Pull-request to follow after build testing.

-- 
Lee Jones [李琼斯]
[GIT PULL] Immutable branch between MFD and Regulator due for the v6.20 merge window
Posted by Lee Jones 2 weeks, 1 day ago
Enjoy!

The following changes since commit 8f0b4cce4481fb22653697cced8d0d04027cb1e8:

  Linux 6.19-rc1 (2025-12-14 16:05:07 +1200)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git ib-mfd-regulator-v6.20

for you to fetch changes up to 3e10bbd9c8a6d5d016b8e52c5d4ceba93a2304a0:

  regulator: rk808: Add RK801 support (2026-01-20 14:58:12 +0000)

----------------------------------------------------------------
Immutable branch between MFD and Regulator due for the v6.20 merge window

----------------------------------------------------------------
Joseph Chen (3):
      dt-bindings: mfd: Add rk801 binding
      mfd: rk8xx: Add RK801 support
      regulator: rk808: Add RK801 support

 .../devicetree/bindings/mfd/rockchip,rk801.yaml    | 197 +++++++++++++++++
 drivers/mfd/Kconfig                                |   6 +-
 drivers/mfd/rk8xx-core.c                           |  81 +++++++
 drivers/mfd/rk8xx-i2c.c                            |  33 ++-
 drivers/regulator/rk808-regulator.c                | 243 +++++++++++++++++++++
 include/linux/mfd/rk808.h                          | 118 ++++++++++
 6 files changed, 674 insertions(+), 4 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/mfd/rockchip,rk801.yaml

-- 
Lee Jones [李琼斯]