--- v2
+++ v5
@@ -1,62 +1,98 @@
-This is re-spin of the patch series submitted some time ago by Mani,
-who added initial support (MFD core and regulators) for the Actions
-Semi ATC260x PMICs:
-https://lore.kernel.org/lkml/20190617155011.15376-1-manivannan.sadhasivam@linaro.org/
-
The ATC260x family of PMICs integrates Audio Codec, Power management,
Clock generation and GPIO controller blocks. There are currently 3
variants: ATC2603A, ATC2603C and ATC2609A.
-In addition to the ATC2609A regulator functionality provided that time,
-this patchset adds support for the ATC2603C variant, together with some
-new functionalities for both chips: power controller and onkey input.
-The ATC2603A variant remains unsupported for the moment.
+This is re-spin of the v1 patch series submitted some time ago by
+Mani, who provided the MFD and regulator drivers for ATC2609A:
+https://lore.kernel.org/lkml/20190617155011.15376-1-manivannan.sadhasivam@linaro.org/
-This has been tested on RoseapplePi, a SBC based on the Action Semi S500
-SoC, which integrates ATC2603C PMIC. An initial support for this board
-has been already submitted:
-https://lore.kernel.org/lkml/cover.1592123160.git.cristian.ciocaltea@gmail.com/
+Since v2, I added support for ATC2603C, together with some new
+functionalities for both chips: power controller and onkey input.
+The ATC2603A chip type remains unsupported for the moment.
-Please note that enabling the ATC260x PMICs on the compatible Actions
-Semi Owl SoC based boards depends on the following:
+This has been tested on RoseapplePi, a SBC based on the Actions Semi S500
+SoC, which integrates the ATC2603C variant of the PMIC.
-* Actions Semi SIRQ driver (for PMIC DTS setup):
- https://lore.kernel.org/lkml/cover.1597852360.git.cristian.ciocaltea@gmail.com/
+Note that enabling the ATC260x PMICs on compatible Actions Semi Owl SoC
+based boards depends on:
-* I2C Atomic transfers in Actions Semi Owl driver (for proper operation
- of the power controller driver):
- https://lore.kernel.org/lkml/b086ef6d355d9730c839359e15eb06175283e323.1596485741.git.cristian.ciocaltea@gmail.com/
-
+* the Actions Semi SIRQ driver (for PMIC DTS setup), merged in v5.10:
+ https://lore.kernel.org/lkml/cover.1600114378.git.cristian.ciocaltea@gmail.com/
+
+* the atomic transfers in Owl I2C driver (for power controller), merged in v5.11:
+ https://lore.kernel.org/lkml/cover.1602190168.git.cristian.ciocaltea@gmail.com/
+
+Additionally, please note that I have taken the authorship for the MFD
+and regulator drivers patches, considering the original code has been
+modified to a large extent.
+
Thanks,
Cristi
+Changes in v5:
+- Removed an unnecessary '#include' line in the power-off driver,
+ as noticed by Sebastian
+- Rebased patchset on v5.11-rc3
+
+Changes in v4:
+- Updated MFD driver according to Lee's review
+- Handled ATC2603C's LDO12 fixed regulator per Mark's suggestion
+- Rebased patchset on v5.11-rc1
+
+Changes in v3:
+- Integrated feedback from Mani, Rob, Mark, Sebastian, Dmitry
+- Fixed issues reported by Lee's kernel test robot
+- Added new patch for 'reset-time-sec' DT binding property
+- Rebased patchset on v5.10-rc6
+
+Changes in v2:
+- Reworked MFD core & I2C driver
+ * Integrated Lee's feedback
+ * Added support for using the regmap within atomic contexts
+ * Added support for ATC2603C chip variant
+ * Reorganized KConfig entries
+- Improved regulator driver
+ * Added support for ATC2603C variant
+ * Used helper macros for more compact specification of regulator_desc items
+ * Added more regulator capabilities
+- Added power controller driver
+ * Provides system poweroff/reboot functionalities
+ * Depends on atomic transfers in the Owl I2C driver
+- Added onkey driver: exposes the power button as an input device
+- Added yaml binding doc
+- Rebased patchset on kernel v5.9-rc1
+
Cristian Ciocaltea (6):
+ dt-bindings: input: Add reset-time-sec common property
dt-bindings: mfd: Add Actions Semi ATC260x PMIC binding
mfd: Add MFD driver for ATC260x PMICs
regulator: Add regulator driver for ATC260x PMICs
power: reset: Add poweroff driver for ATC260x PMICs
input: atc260x: Add onkey driver for ATC260x PMICs
+
+Manivannan Sadhasivam (1):
MAINTAINERS: Add entry for ATC260x PMIC
- .../bindings/mfd/actions,atc260x.yaml | 221 ++++++++
+ .../devicetree/bindings/input/input.yaml | 7 +
+ .../bindings/mfd/actions,atc260x.yaml | 183 ++++++
MAINTAINERS | 12 +
drivers/input/misc/Kconfig | 11 +
drivers/input/misc/Makefile | 2 +-
- drivers/input/misc/atc260x-onkey.c | 304 +++++++++++
+ drivers/input/misc/atc260x-onkey.c | 305 ++++++++++
drivers/mfd/Kconfig | 18 +
drivers/mfd/Makefile | 3 +
- drivers/mfd/atc260x-core.c | 290 ++++++++++
- drivers/mfd/atc260x-i2c.c | 73 +++
+ drivers/mfd/atc260x-core.c | 293 ++++++++++
+ drivers/mfd/atc260x-i2c.c | 64 +++
drivers/power/reset/Kconfig | 8 +-
drivers/power/reset/Makefile | 1 +
- drivers/power/reset/atc260x-poweroff.c | 274 ++++++++++
+ drivers/power/reset/atc260x-poweroff.c | 262 +++++++++
drivers/regulator/Kconfig | 8 +
drivers/regulator/Makefile | 1 +
- drivers/regulator/atc260x-regulator.c | 511 ++++++++++++++++++
- include/linux/mfd/atc260x/atc2603c.h | 281 ++++++++++
- include/linux/mfd/atc260x/atc2609a.h | 308 +++++++++++
- include/linux/mfd/atc260x/core.h | 86 +++
- 18 files changed, 2410 insertions(+), 2 deletions(-)
+ drivers/regulator/atc260x-regulator.c | 539 ++++++++++++++++++
+ include/linux/mfd/atc260x/atc2603c.h | 281 +++++++++
+ include/linux/mfd/atc260x/atc2609a.h | 308 ++++++++++
+ include/linux/mfd/atc260x/core.h | 58 ++
+ 19 files changed, 2362 insertions(+), 2 deletions(-)
create mode 100644 Documentation/devicetree/bindings/mfd/actions,atc260x.yaml
create mode 100644 drivers/input/misc/atc260x-onkey.c
create mode 100644 drivers/mfd/atc260x-core.c
@@ -68,5 +104,5 @@
create mode 100644 include/linux/mfd/atc260x/core.h
--
-2.28.0
+2.30.0