linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/3] Add Richtek RT5120 PMIC support
@ 2022-07-14  6:42 cy_huang
  2022-07-14  6:42 ` [PATCH v3 1/3] dt-binding: mfd: " cy_huang
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: cy_huang @ 2022-07-14  6:42 UTC (permalink / raw)
  To: robh+dt, krzysztof.kozlowski+dt, lee.jones, broonie,
	dmitry.torokhov
  Cc: lgirdwood, cy_huang, devicetree, linux-kernel, linux-input

From: ChiYuan Huang <cy_huang@richtek.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.

rt5120-regulator can be referred in the below link
Link: https://lore.kernel.org/lkml/165599062767.127406.12571486984170083213.b4-ty@kernel.org/

Since v3:
- Use a 'dev' variable and dev_err_probe to decrease the LOC in mfd.
- Simplify the power key irq handler key report
- Since press and release irq not needed to keep in private data, change 'press',
  'release' irq as local variable only.
- Fix Kconfig typo for pwrkey.

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 (3):
  dt-binding: mfd: Add Richtek RT5120 PMIC support
  mfd: rt5120: Add Richtek PMIC 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                 | 105 ++++++++++++
 drivers/mfd/Kconfig                                |  12 ++
 drivers/mfd/Makefile                               |   1 +
 drivers/mfd/rt5120.c                               | 121 ++++++++++++++
 7 files changed, 427 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

-- 
2.7.4


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-08-09  8:52 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-14  6:42 [PATCH v3 0/3] Add Richtek RT5120 PMIC support cy_huang
2022-07-14  6:42 ` [PATCH v3 1/3] dt-binding: mfd: " cy_huang
2022-07-14  6:42 ` [PATCH v3 2/3] mfd: rt5120: Add Richtek " cy_huang
2022-08-09  8:52   ` Lee Jones
2022-07-14  6:42 ` [PATCH v3 3/3] input: misc: rt5120: Add power key support cy_huang
2022-07-26  3:45 ` [PATCH v3 0/3] Add Richtek RT5120 PMIC support ChiYuan Huang
2022-07-26  9:59   ` Krzysztof Kozlowski
2022-07-26 10:03     ` ChiYuan Huang
2022-08-01 14:42       ` Lee Jones
2022-08-01 15:20         ` ChiYuan Huang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).