[PATCH 2/7] OMAP2+: mux: Enable wakeup for wakeup enable requested pads

Tony Lindgren tony at atomide.com
Tue Mar 8 12:26:25 EST 2011


* Govindraj <govindraj.ti at gmail.com> [110308 03:43]:
> 
> I am not sure whether now we can control read/writes to pad_mux from any driver
> interface and I think we have to go through mux framework for any
> read/writes to mux.

Sure, the drivers should not mess with those registers directly.

> with this I cant control pad wake up capabilities with sysfs as done
> earlier in serial.c
> now control to read/write to pad is outside scope of the driver
> interface as omap_hwmod_mux
> is the one that takes decision for driver with mux values provided
> during omap_hwmod_mux_init.

The sysfs interface to control this should still be from the drivers.
Sounds like we need some way to set the wakeup flags before pm_runtime_put
is called.

Regards,

Tony



More information about the linux-arm-kernel mailing list