Skip to content

pinctrl: add pincontrol driver for palmas device.

Laxman Dewangan linux-devicetree lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 7 repliesIn review
  2. v23 patches 5 repliesSuperseded
  3. v12 patches 11 repliesSuperseded

Changes in v3 from the cover letter

- Rebased the DT binding document on top of Stephen's cleanup.
- Convert name of propery "pinctrl-pins" to "pins" and "pinctrl-function" to function.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3pinctrl: add utility functions for add map/configsdrivers/pinctrl/Makefile drivers/pinctrl/pinctrl-utils.c drivers/pinctrl/pinctrl-utils.h+178 -11 reply
2/3pinctrl: pinconf-generic: add generic APIs for mapping pinctrl nodeDocumentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt drivers/pinctrl/pinconf-generic.c include/linux/pinctrl/pinconf-generic.h+105 -02 replies
3/3pinctrl: palmas: add pincontrol driverDocumentation/devicetree/bindings/pinctrl/pinctrl-palmas.txt drivers/pinctrl/Kconfig drivers/pinctrl/Makefile +2 more+1216 -114 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchStephen WarrenLee Jones
1/3R-b
2/3R-b
3/3R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH V3 0/3] pinctrl: add pincontrol driver for palmas device.

Changes from V1:
- Split the additon of common code into pinctrl-utils and pinconf-generic.
- Use the pinconf-generic APIs for mapping node.
- Use pinconf generic properties to define the Palmas pincontrol nodes.
- Nit and cleanups, typo fixes, rephrasing the sentences etc.
- Use pin specific APIs for setting pin configuration rather than group specific.

Changes from V2:
- Rebased the DT binding document on top of Stephen's cleanup.
- Convert name of propery "pinctrl-pins" to "pins" and "pinctrl-function" to function.

Laxman Dewangan (3):
pinctrl: add utility functions for add map/configs
pinctrl: pinconf-generic: add generic APIs for mapping pinctrl node
pinctrl: palmas: add pincontrol driver

 .../bindings/pinctrl/pinctrl-bindings.txt          |    3 +
 .../devicetree/bindings/pinctrl/pinctrl-palmas.txt |   96 ++
 drivers/pinctrl/Kconfig                            |   10 +
 drivers/pinctrl/Makefile                           |    3 +-
 drivers/pinctrl/pinconf-generic.c                  |   96 ++
 drivers/pinctrl/pinctrl-palmas.c                   | 1085 ++++++++++++++++++++
 drivers/pinctrl/pinctrl-utils.c                    |  135 +++
 drivers/pinctrl/pinctrl-utils.h                    |   42 +
 include/linux/mfd/palmas.h                         |   35 +-
 include/linux/pinctrl/pinconf-generic.h            |    6 +
 10 files changed, 1499 insertions(+), 12 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/pinctrl/pinctrl-palmas.txt
 create mode 100644 drivers/pinctrl/pinctrl-palmas.c
 create mode 100644 drivers/pinctrl/pinctrl-utils.c
 create mode 100644 drivers/pinctrl/pinctrl-utils.h