[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1655892104-10874-1-git-send-email-u0084500@gmail.com>
Date: Wed, 22 Jun 2022 18:01:40 +0800
From: cy_huang <u0084500@...il.com>
To: robh+dt@...nel.org, krzysztof.kozlowski+dt@...aro.org,
lee.jones@...aro.org, broonie@...nel.org, dmitry.torokhov@...il.com
Cc: lgirdwood@...il.com, cy_huang@...htek.com,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-input@...r.kernel.org
Subject: [PATCH v2 0/4] Add Richtek RT5120 PMIC support
From: ChiYuan Huang <cy_huang@...htek.com>
This patch series is to add Richtek RT5120 PMIC support.
In RT5120, it integrates four channels of buck converter, one channel of LDO,
and one external enable channel to control the external power source.
Since v2:
- Add 'unevaluatedProperties: false' for regulator buck1~4/ldo/exten.
- Fix indention and remove status for powerkey.
- Refine powerkey description for more HW details.
- For the regulator property parsing, use of_property_read_u32 instead.
- Not to overwrite regulator constraint.
- Refine regulator desc coding.
ChiYuan Huang (4):
dt-binding: mfd: Add Richtek RT5120 PMIC support
mfd: rt5120: Add Richtek PMIC support
regulator: rt5120: Add PMIC regulator support
input: misc: rt5120: Add power key support
.../devicetree/bindings/mfd/richtek,rt5120.yaml | 178 +++++++++
drivers/input/misc/Kconfig | 9 +
drivers/input/misc/Makefile | 1 +
drivers/input/misc/rt5120-pwrkey.c | 115 ++++++
drivers/mfd/Kconfig | 12 +
drivers/mfd/Makefile | 1 +
drivers/mfd/rt5120.c | 125 ++++++
drivers/regulator/Kconfig | 10 +
drivers/regulator/Makefile | 1 +
drivers/regulator/rt5120-regulator.c | 420 +++++++++++++++++++++
10 files changed, 872 insertions(+)
create mode 100644 Documentation/devicetree/bindings/mfd/richtek,rt5120.yaml
create mode 100644 drivers/input/misc/rt5120-pwrkey.c
create mode 100644 drivers/mfd/rt5120.c
create mode 100644 drivers/regulator/rt5120-regulator.c
--
2.7.4
Powered by blists - more mailing lists