Skip to content

pinctrl: common handling of generic pinconfig props in dt

Heiko Stübner linux-arm-kernel lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 15 repliesIn review
  2. v12 patches 5 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2pinctrl: add function to parse generic pinconfig properties from a dt nodeDocumentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt drivers/pinctrl/pinconf-generic.c drivers/pinctrl/pinconf.h+125 -015 replies
2/2pinctrl: add pinctrl driver for Rockchip SoCsDocumentation/devicetree/bindings/pinctrl/rockchip,pinctrl.txt drivers/pinctrl/Kconfig drivers/pinctrl/Makefile +2 more+1483 -02 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/2] pinctrl: common handling of generic pinconfig props in dt

Hi Linus,

here is my second try ... after our talk today, hopefully more future proof (and acceptable).

I hadn't found a way to have the phandle as a simple argument in the pins property, so the example Rockchip driver now uses a second property rockchip,config = <&phandle>; to hold the link to the config node.

Surprisingly everything still works ;-) .

Heiko Stuebner (2):
pinctrl: add function to parse generic pinconfig properties from a dt node
pinctrl: add pinctrl driver for Rockchip SoCs

 .../bindings/pinctrl/pinctrl-bindings.txt          |   38 +
 .../bindings/pinctrl/rockchip,pinctrl.txt          |   98 ++
 drivers/pinctrl/Kconfig                            |    6 +
 drivers/pinctrl/Makefile                           |    1 +
 drivers/pinctrl/pinconf-generic.c                  |   81 ++
 drivers/pinctrl/pinconf.h                          |    6 +
 drivers/pinctrl/pinctrl-rockchip.c                 | 1346 ++++++++++++++++++++
 include/dt-bindings/pinctrl/rockchip.h             |   32 +
 8 files changed, 1608 insertions(+), 0 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/pinctrl/rockchip,pinctrl.txt
 create mode 100644 drivers/pinctrl/pinctrl-rockchip.c
 create mode 100644 include/dt-bindings/pinctrl/rockchip.h
Signature · 1 line
1.7.2.3