Skip to content

pinctrl single support for SoC specific features

Roger Quadros linux-arm-kernel linux-devicetree linux-omap 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
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+21 -11 reply
3/4pinctrl: single: omap: Add SoC specific module for wake-up events+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 +3 more+40 -81 reply
4/4ARM: OMAP: Move DT wake-up event handling over to use pinctrl-single-omap+0 -00 replies

Reviews trailers per patch

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

Read the v1 thread

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

Hi Tony,

Quoted 13 lines · Tony Lindgren

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.

Quoted 5 lines

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.

What's the status of this? Would be nice to get it in 3.12. I'm basing the OMAP USB host wakeup support on this.

cheers,
-roger