Skip to content

pinctrl single support for SoC specific features

Tony Lindgren linux-arm-kernel linux-devicetree linux-omap 1 version New

Get series with b4
b4 am 20130607203936.16513.57494.stgit@localhost

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4pinctrl: single: Prepare for supporting SoC specific featuresdrivers/pinctrl/pinctrl-single.c drivers/pinctrl/pinctrl-single.h+52 -161 reply
1/4pinctrl: single: Prepare for supporting SoC specific featuresdrivers/pinctrl/pinctrl-single.c drivers/pinctrl/pinctrl-single.h+52 -172 replies
1/4pinctrl: single: Prepare for supporting SoC specific features+0 -00 replies
2/4pinctrl: single: Add hardware specific hooks for IRQ and GPIO wake-up eventsDocumentation/devicetree/bindings/pinctrl/pinctrl-single.txt drivers/pinctrl/pinctrl-single.c drivers/pinctrl/pinctrl-single.h+123 -141 reply
2/4pinctrl: single: Add hardware specific hooks for IRQ and GPIO wake-up eventsDocumentation/devicetree/bindings/pinctrl/pinctrl-single.txt drivers/pinctrl/pinctrl-single.c drivers/pinctrl/pinctrl-single.h+123 -141 reply
2/4pinctrl: single: Add hardware specific hooks for IRQ and GPIO wake-up events+0 -00 replies
3/4pinctrl: single: omap: Add SoC specific module for wake-up eventsdrivers/pinctrl/Makefile drivers/pinctrl/pinctrl-single-omap.c include/linux/platform_data/pinctrl-single-omap.h+293 -14 replies
3/4pinctrl: single: omap: Add SoC specific module for wake-up eventsdrivers/pinctrl/Makefile drivers/pinctrl/pinctrl-single-omap.c include/linux/platform_data/pinctrl-single-omap.h+293 -10 replies
3/4pinctrl: single: omap: Add SoC specific module for wake-up events+0 -01 reply
3/4pinctrl: single: omap: Add SoC specific module for wake-up events+0 -00 replies
4/4ARM: OMAP: Move DT wake-up event handling over to use pinctrl-single-omaparch/arm/boot/dts/omap3.dtsi arch/arm/boot/dts/omap4.dtsi arch/arm/boot/dts/omap5.dtsi +3 more+40 -81 reply
4/4ARM: OMAP: Move DT wake-up event handling over to use pinctrl-single-omap+0 -00 replies
4/4ARM: OMAP: Move DT wake-up event handling over to use pinctrl-single-omap+0 -01 reply
4/4ARM: OMAP: Move DT wake-up event handling over to use pinctrl-single-omaparch/arm/boot/dts/omap3.dtsi arch/arm/boot/dts/omap4.dtsi arch/arm/boot/dts/omap5.dtsi +5 more+52 -80 replies

Reviews trailers per patch

7 of 14 patches have a Reviewed-by or Acked-by.

PatchHaojian Zhuang
1/4A-b
1/4A-b
1/4A-b
2/4
2/4
2/4
3/4A-b
3/4A-b
3/4A-b
3/4A-b
4/4
4/4
4/4
4/4

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

Read the v1 thread

Cover letter [PATCH 0/4] pinctrl single support for SoC specific features

Hi all,

Here are few patches to add support for SoC specific features to pinctrl-single. This is needed at least for omaps to support IO chain wake-up events from deeper idle states.

With this patch series, device drivers can request named pinctrl states like active and idle from the PM runtime suspend and resume calls to set the wake enable bits for selected pins. Further the device driver can toggle the wake-up feature as needed based on the device_may_wakeup() state set by the standard sysfs power/wakeup entry.

This is implemented in a separate pinctrl-single-omap driver that works together with pinctrl-single. This way the SoC specific are separated from the common pinctrl-single, and allows a relatively easy way to implement SoC specific things like wake-up events, pin interrupts, and GPIO.

Regards,

Tony

---

Tony Lindgren (4):
pinctrl: single: Prepare for supporting SoC specific features
pinctrl: single: Add hardware specific hooks for IRQ and GPIO wake-up events
pinctrl: single: omap: Add SoC specific module for wake-up events
ARM: OMAP: Move DT wake-up event handling over to use pinctrl-single-omap

 .../devicetree/bindings/pinctrl/pinctrl-single.txt |    5 
 arch/arm/boot/dts/omap3.dtsi                       |    4 
 arch/arm/boot/dts/omap4.dtsi                       |    4 
 arch/arm/boot/dts/omap5.dtsi                       |    4 
 arch/arm/mach-omap2/mux.c                          |    8 -
 arch/arm/mach-omap2/pm34xx.c                       |    2 
 arch/arm/mach-omap2/prm_common.c                   |   26 ++
 drivers/pinctrl/Makefile                           |    3 
 drivers/pinctrl/pinctrl-single-omap.c              |  287 ++++++++++++++++++++
 drivers/pinctrl/pinctrl-single.c                   |  157 +++++++++--
 drivers/pinctrl/pinctrl-single.h                   |   43 +++
 include/linux/platform_data/pinctrl-single-omap.h  |    4 
 12 files changed, 508 insertions(+), 39 deletions(-)
 create mode 100644 drivers/pinctrl/pinctrl-single-omap.c
 create mode 100644 drivers/pinctrl/pinctrl-single.h
 create mode 100644 include/linux/platform_data/pinctrl-single-omap.h
Signature · 1 line
Signature