SPMI patches needed by Hikey 970
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest44 patches 11 repliesIn review
- v144 patches 18 repliesSuperseded
Changes in v3 from the cover letter
- Some coding style changes, due to reviews from Joe Perches
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/44 | staging: spmi: add Hikey 970 SPMI controller driverdrivers/ | +390 | 0 replies | |
| 2/44 | staging: spmi: hisi-spmi-controller: coding style fixupdrivers/ | +82 | 0 replies | |
| 3/44 | staging: spmi: hisi-spmi-controller: fix it to probe successfullydrivers/ | +7 | 0 replies | |
| 4/44 | staging: spmi: hisi-spmi-controller: fix a typodrivers/ | +1 | 0 replies | |
| 5/44 | staging: spmi: hisi-spmi-controller: adjust whitespaces at definesdrivers/ | +14 | 0 replies | |
| 6/44 | staging: spmi: hisi-spmi-controller: use le32 macros where neededdrivers/ | +7 | 0 replies | |
| 7/44 | staging: spmi: hisi-spmi-controller: add debug when values are read/writedrivers/ | +12 | 0 replies | |
| 8/44 | staging: spmi: hisi-spmi-controller: fix the dev_foo() logicdrivers/ | +21 | 0 replies | |
| 9/44 | staging: spmi: hisi-spmi-controller: add it to the building systemdrivers/ drivers/ drivers/ +1 more | +16 | 0 replies | |
| 10/44 | staging: spmi: hisi-spmi-controller: do some code cleanupsdrivers/ | +61 | 0 replies | |
| 11/44 | staging: mfd: add a PMIC driver for HiSilicon 6421 SPMI versiondrivers/ include/ | +924 | 0 replies | |
| 12/44 | staging: mfd: hi6421-spmi-pmic: get rid of unused codedrivers/ include/ | +0 | 0 replies | |
| 13/44 | staging: mfd: hi6421-spmi-pmic: deal with non-static functionsdrivers/ | +24 | 0 replies | |
| 14/44 | staging: mfd: hi6421-spmi-pmic: get rid of the static varsdrivers/ include/ | +97 | 0 replies | |
| 15/44 | staging: mfd: hi6421-spmi-pmic: cleanup hi6421-spmi-pmic.h headerinclude/ | +0 | 0 replies | |
| 16/44 | staging: mfd: hi6421-spmi-pmic: change the binding logicdrivers/ | +29 | 0 replies | |
| 17/44 | staging: mfd: hi6421-spmi-pmic: get rid of unused OF propertiesdrivers/ include/ | +7 | 0 replies | |
| 18/44 | staging: mfd: hi6421-spmi-pmic: cleanup OF propertiesdrivers/ | +8 | 0 replies | |
| 19/44 | staging: mfd: hi6421-spmi-pmic: change namespace on its functionsdrivers/ include/ | +70 | 0 replies | |
| 20/44 | staging: mfd: hi6421-spmi-pmic: fix some coding style issuesdrivers/ include/ | +3 | 0 replies | |
| 21/44 | staging: mfd: hi6421-spmi-pmic: add it to the building systemdrivers/ drivers/ | +19 | 0 replies | |
| 22/44 | staging: mfd: hi6421-spmi-pmic: cleanup the codedrivers/ include/ | +74 | 0 replies | |
| 23/44 | staging: regulator: add a regulator driver for HiSilicon 6421v600 SPMI PMICdrivers/ | +741 | 0 replies | |
| 24/44 | staging: regulator: hi6421v600-regulator: get rid of unused codedrivers/ | +8 | 0 replies | |
| 25/44 | staging: regulator: hi6421v600-regulator: port it to upstreamdrivers/ | +5 | 0 replies | |
| 26/44 | staging: regulator: hi6421v600-regulator: coding style fixupsdrivers/ | +56 | 0 replies | |
| 27/44 | staging: regulator: hi6421v600-regulator: change the binding logicdrivers/ | +91 | 0 replies | |
| 28/44 | staging: regulator: hi6421v600-regulator: cleanup struct hisi_regulatordrivers/ | +92 | 0 replies | |
| 29/44 | staging: regulator: hi6421v600-regulator: cleanup debug messagesdrivers/ | +47 | 0 replies | |
| 30/44 | staging: regulator: hi6421v600-regulator: use shorter names for OF propertiesdrivers/ | +21 | 0 replies | |
| 31/44 | staging: regulator: hi6421v600-regulator: better handle modesdrivers/ | +10 | 0 replies | |
| 32/44 | staging: regulator: hi6421v600-regulator: change namespacedrivers/ | +47 | 0 replies | |
| 33/44 | staging: regulator: hi6421v600-regulator: convert to use get/set voltage_seldrivers/ | +22 | 0 replies | |
| 34/44 | staging: regulator: hi6421v600-regulator: don't use usleep_range for off_on_delaydrivers/ | +0 | 0 replies | |
| 35/44 | staging: regulator: hi6421v600-regulator: add a driver-specific debug macrodrivers/ | +32 | 0 replies | |
| 36/44 | staging: regulator: hi6421v600-regulator: initialize ramp_delaydrivers/ | +3 | 0 replies | |
| 37/44 | staging: regulator: hi6421v600-regulator: cleanup DT settingsdrivers/ | +42 | 0 replies | |
| 38/44 | staging: regulator: hi6421v600-regulator: fix some coding style issuesdrivers/ | +14 | 0 replies | |
| 39/44 | staging: regulator: hi6421v600-regulator: add it to the building systemdrivers/ drivers/ | +12 | 0 replies | |
| 40/44 | staging: regulator: hi6421v600-regulator: code cleanupdrivers/ | +33 | 0 replies | |
| 41/44 | staging: hikey9xx: add a TODO listdrivers/ | +5 | 0 replies | |
| 42/44 | MAINTAINERS: add an entry for HiSilicon 6421v600 driversMAINTAINERS | +6 | 1 reply | |
| 43/44 | dt: document HiSilicon SPMI controller and mfd/regulator propertiesDocumentation/ Documentation/ | +236 | 6 replies | |
| 43/44 | dt: document HiSilicon SPMI controller and mfd/regulator propertiesDocumentation/ Documentation/ | +221 | 1 reply | |
| 44/44 | dt: hisilicon: add support for the PMIC found on Hikey 970arch/ arch/ | +203 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH v3 00/44] SPMI patches needed by Hikey 970
Hi Greg,
This patch series is part of a work I'm doing in order to be able to support a HiKey 970 board that I recently got on my hands.
Regards,
Mauro.
v1:
submitted to drivers/{mfd,spmi,regulator}
v2:
- submitted via staging, mainly to preserve original
authorship and his SoB;
- as requested on previous review, patches were split per target subsystem.
v3:
- Some coding style changes, due to reviews from Joe Perches
Patches were tested on a Hikey 970 board.
Mauro Carvalho Chehab (41):
staging: spmi: hisi-spmi-controller: coding style fixup
staging: spmi: hisi-spmi-controller: fix it to probe successfully
staging: spmi: hisi-spmi-controller: fix a typo
staging: spmi: hisi-spmi-controller: adjust whitespaces at defines
staging: spmi: hisi-spmi-controller: use le32 macros where needed
staging: spmi: hisi-spmi-controller: add debug when values are
read/write
staging: spmi: hisi-spmi-controller: fix the dev_foo() logic
staging: spmi: hisi-spmi-controller: add it to the building system
staging: spmi: hisi-spmi-controller: do some code cleanups
staging: mfd: hi6421-spmi-pmic: get rid of unused code
staging: mfd: hi6421-spmi-pmic: deal with non-static functions
staging: mfd: hi6421-spmi-pmic: get rid of the static vars
staging: mfd: hi6421-spmi-pmic: cleanup hi6421-spmi-pmic.h header
staging: mfd: hi6421-spmi-pmic: change the binding logic
staging: mfd: hi6421-spmi-pmic: get rid of unused OF properties
staging: mfd: hi6421-spmi-pmic: cleanup OF properties
staging: mfd: hi6421-spmi-pmic: change namespace on its functions
staging: mfd: hi6421-spmi-pmic: fix some coding style issues
staging: mfd: hi6421-spmi-pmic: add it to the building system
staging: mfd: hi6421-spmi-pmic: cleanup the code
staging: regulator: hi6421v600-regulator: get rid of unused code
staging: regulator: hi6421v600-regulator: port it to upstream
staging: regulator: hi6421v600-regulator: coding style fixups
staging: regulator: hi6421v600-regulator: change the binding logic
staging: regulator: hi6421v600-regulator: cleanup struct
hisi_regulator
staging: regulator: hi6421v600-regulator: cleanup debug messages
staging: regulator: hi6421v600-regulator: use shorter names for OF
properties
staging: regulator: hi6421v600-regulator: better handle modes
staging: regulator: hi6421v600-regulator: change namespace
staging: regulator: hi6421v600-regulator: convert to use get/set
voltage_sel
staging: regulator: hi6421v600-regulator: don't use usleep_range for
off_on_delay
staging: regulator: hi6421v600-regulator: add a driver-specific debug
macro
staging: regulator: hi6421v600-regulator: initialize ramp_delay
staging: regulator: hi6421v600-regulator: cleanup DT settings
staging: regulator: hi6421v600-regulator: fix some coding style issues
staging: regulator: hi6421v600-regulator: add it to the building
system
staging: regulator: hi6421v600-regulator: code cleanup
staging: hikey9xx: add a TODO list
MAINTAINERS: add an entry for HiSilicon 6421v600 drivers
dt: document HiSilicon SPMI controller and mfd/regulator properties
dt: hisilicon: add support for the PMIC found on Hikey 970
Mayulong (3):
staging: spmi: add Hikey 970 SPMI controller driver
staging: mfd: add a PMIC driver for HiSilicon 6421 SPMI version
staging: regulator: add a regulator driver for HiSilicon 6421v600 SPMI
PMIC
.../mfd/hisilicon,hi6421-spmi-pmic.yaml | 182 +++++++ .../spmi/hisilicon,hisi-spmi-controller.yaml | 54 ++ MAINTAINERS | 6 + .../boot/dts/hisilicon/hi3670-hikey970.dts | 22 +- .../boot/dts/hisilicon/hikey970-pmic.dtsi | 200 ++++++++ drivers/staging/Kconfig | 2 + drivers/staging/Makefile | 1 + drivers/staging/hikey9xx/Kconfig | 35 ++ drivers/staging/hikey9xx/Makefile | 5 + drivers/staging/hikey9xx/TODO | 5 + drivers/staging/hikey9xx/hi6421-spmi-pmic.c | 382 ++++++++++++++ .../staging/hikey9xx/hi6421v600-regulator.c | 479 ++++++++++++++++++ .../staging/hikey9xx/hisi-spmi-controller.c | 356 +++++++++++++ include/linux/mfd/hi6421-spmi-pmic.h | 68 +++ 14 files changed, 1778 insertions(+), 19 deletions(-) create mode 100644 Documentation/devicetree/bindings/mfd/hisilicon,hi6421-spmi-pmic.yaml create mode 100644 Documentation/devicetree/bindings/spmi/hisilicon,hisi-spmi-controller.yaml create mode 100644 arch/arm64/boot/dts/hisilicon/hikey970-pmic.dtsi create mode 100644 drivers/staging/hikey9xx/Kconfig create mode 100644 drivers/staging/hikey9xx/Makefile create mode 100644 drivers/staging/hikey9xx/TODO create mode 100644 drivers/staging/hikey9xx/hi6421-spmi-pmic.c create mode 100644 drivers/staging/hikey9xx/hi6421v600-regulator.c create mode 100644 drivers/staging/hikey9xx/hisi-spmi-controller.c create mode 100644 include/linux/mfd/hi6421-spmi-pmic.h
Signature · 8 lines
2.26.2 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel