Skip to content

SPMI patches needed by Hikey 970

Mauro Carvalho Chehab linux-arm-kernel linux-arm-msm linux-devicetree lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest44 patches 11 repliesIn review
  2. 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 filesSizeRepliesApplied
1/44staging: spmi: add Hikey 970 SPMI controller driverdrivers/staging/hikey9xx/hisi-spmi-controller.c+390 -00 replies
2/44staging: spmi: hisi-spmi-controller: coding style fixupdrivers/staging/hikey9xx/hisi-spmi-controller.c+82 -970 replies
3/44staging: spmi: hisi-spmi-controller: fix it to probe successfullydrivers/staging/hikey9xx/hisi-spmi-controller.c+7 -40 replies
4/44staging: spmi: hisi-spmi-controller: fix a typodrivers/staging/hikey9xx/hisi-spmi-controller.c+1 -10 replies
5/44staging: spmi: hisi-spmi-controller: adjust whitespaces at definesdrivers/staging/hikey9xx/hisi-spmi-controller.c+14 -120 replies
6/44staging: spmi: hisi-spmi-controller: use le32 macros where neededdrivers/staging/hikey9xx/hisi-spmi-controller.c+7 -130 replies
7/44staging: spmi: hisi-spmi-controller: add debug when values are read/writedrivers/staging/hikey9xx/hisi-spmi-controller.c+12 -30 replies
8/44staging: spmi: hisi-spmi-controller: fix the dev_foo() logicdrivers/staging/hikey9xx/hisi-spmi-controller.c+21 -200 replies
9/44staging: spmi: hisi-spmi-controller: add it to the building systemdrivers/staging/Kconfig drivers/staging/Makefile drivers/staging/hikey9xx/Kconfig +1 more+16 -00 replies
10/44staging: spmi: hisi-spmi-controller: do some code cleanupsdrivers/staging/hikey9xx/hisi-spmi-controller.c+61 -890 replies
11/44staging: mfd: add a PMIC driver for HiSilicon 6421 SPMI versiondrivers/staging/hikey9xx/hi6421-spmi-pmic.c include/linux/mfd/hi6421-spmi-pmic.h+924 -00 replies
12/44staging: mfd: hi6421-spmi-pmic: get rid of unused codedrivers/staging/hikey9xx/hi6421-spmi-pmic.c include/linux/mfd/hi6421-spmi-pmic.h+0 -1050 replies
13/44staging: mfd: hi6421-spmi-pmic: deal with non-static functionsdrivers/staging/hikey9xx/hi6421-spmi-pmic.c+24 -1230 replies
14/44staging: mfd: hi6421-spmi-pmic: get rid of the static varsdrivers/staging/hikey9xx/hi6421-spmi-pmic.c include/linux/mfd/hi6421-spmi-pmic.h+97 -1470 replies
15/44staging: mfd: hi6421-spmi-pmic: cleanup hi6421-spmi-pmic.h headerinclude/linux/mfd/hi6421-spmi-pmic.h+0 -260 replies
16/44staging: mfd: hi6421-spmi-pmic: change the binding logicdrivers/staging/hikey9xx/hi6421-spmi-pmic.c+29 -550 replies
17/44staging: mfd: hi6421-spmi-pmic: get rid of unused OF propertiesdrivers/staging/hikey9xx/hi6421-spmi-pmic.c include/linux/mfd/hi6421-spmi-pmic.h+7 -1520 replies
18/44staging: mfd: hi6421-spmi-pmic: cleanup OF propertiesdrivers/staging/hikey9xx/hi6421-spmi-pmic.c+8 -80 replies
19/44staging: mfd: hi6421-spmi-pmic: change namespace on its functionsdrivers/staging/hikey9xx/hi6421-spmi-pmic.c include/linux/mfd/hi6421-spmi-pmic.h+70 -780 replies
20/44staging: mfd: hi6421-spmi-pmic: fix some coding style issuesdrivers/staging/hikey9xx/hi6421-spmi-pmic.c include/linux/mfd/hi6421-spmi-pmic.h+3 -30 replies
21/44staging: mfd: hi6421-spmi-pmic: add it to the building systemdrivers/staging/hikey9xx/Kconfig drivers/staging/hikey9xx/Makefile+19 -10 replies
22/44staging: mfd: hi6421-spmi-pmic: cleanup the codedrivers/staging/hikey9xx/hi6421-spmi-pmic.c include/linux/mfd/hi6421-spmi-pmic.h+74 -890 replies
23/44staging: regulator: add a regulator driver for HiSilicon 6421v600 SPMI PMICdrivers/staging/hikey9xx/hi6421v600-regulator.c+741 -00 replies
24/44staging: regulator: hi6421v600-regulator: get rid of unused codedrivers/staging/hikey9xx/hi6421v600-regulator.c+8 -1880 replies
25/44staging: regulator: hi6421v600-regulator: port it to upstreamdrivers/staging/hikey9xx/hi6421v600-regulator.c+5 -290 replies
26/44staging: regulator: hi6421v600-regulator: coding style fixupsdrivers/staging/hikey9xx/hi6421v600-regulator.c+56 -540 replies
27/44staging: regulator: hi6421v600-regulator: change the binding logicdrivers/staging/hikey9xx/hi6421v600-regulator.c+91 -950 replies
28/44staging: regulator: hi6421v600-regulator: cleanup struct hisi_regulatordrivers/staging/hikey9xx/hi6421v600-regulator.c+92 -1340 replies
29/44staging: regulator: hi6421v600-regulator: cleanup debug messagesdrivers/staging/hikey9xx/hi6421v600-regulator.c+47 -290 replies
30/44staging: regulator: hi6421v600-regulator: use shorter names for OF propertiesdrivers/staging/hikey9xx/hi6421v600-regulator.c+21 -310 replies
31/44staging: regulator: hi6421v600-regulator: better handle modesdrivers/staging/hikey9xx/hi6421v600-regulator.c+10 -220 replies
32/44staging: regulator: hi6421v600-regulator: change namespacedrivers/staging/hikey9xx/hi6421v600-regulator.c+47 -470 replies
33/44staging: regulator: hi6421v600-regulator: convert to use get/set voltage_seldrivers/staging/hikey9xx/hi6421v600-regulator.c+22 -360 replies
34/44staging: regulator: hi6421v600-regulator: don't use usleep_range for off_on_delaydrivers/staging/hikey9xx/hi6421v600-regulator.c+0 -30 replies
35/44staging: regulator: hi6421v600-regulator: add a driver-specific debug macrodrivers/staging/hikey9xx/hi6421v600-regulator.c+32 -290 replies
36/44staging: regulator: hi6421v600-regulator: initialize ramp_delaydrivers/staging/hikey9xx/hi6421v600-regulator.c+3 -00 replies
37/44staging: regulator: hi6421v600-regulator: cleanup DT settingsdrivers/staging/hikey9xx/hi6421v600-regulator.c+42 -270 replies
38/44staging: regulator: hi6421v600-regulator: fix some coding style issuesdrivers/staging/hikey9xx/hi6421v600-regulator.c+14 -140 replies
39/44staging: regulator: hi6421v600-regulator: add it to the building systemdrivers/staging/hikey9xx/Kconfig drivers/staging/hikey9xx/Makefile+12 -30 replies
40/44staging: regulator: hi6421v600-regulator: code cleanupdrivers/staging/hikey9xx/hi6421v600-regulator.c+33 -470 replies
41/44staging: hikey9xx: add a TODO listdrivers/staging/hikey9xx/TODO+5 -00 replies
42/44MAINTAINERS: add an entry for HiSilicon 6421v600 driversMAINTAINERS+6 -01 reply
43/44dt: document HiSilicon SPMI controller and mfd/regulator propertiesDocumentation/devicetree/bindings/mfd/hisilicon,hi6421-spmi-pmic.yaml Documentation/devicetree/bindings/spmi/hisilicon,hisi-spmi-controller.yaml+236 -06 replies
43/44dt: document HiSilicon SPMI controller and mfd/regulator propertiesDocumentation/devicetree/bindings/mfd/hisilicon,hi6421-spmi-pmic.yaml Documentation/devicetree/bindings/spmi/hisilicon,hisi-spmi-controller.yaml+221 -01 reply
44/44dt: hisilicon: add support for the PMIC found on Hikey 970arch/arm64/boot/dts/hisilicon/hi3670-hikey970.dts arch/arm64/boot/dts/hisilicon/hikey970-pmic.dtsi+203 -190 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

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