RE: [RFC PATCH 0/3] ARM: OMAP2+: Add command line parameter for debugSS module control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: Hiremath, Vaibhav
> Sent: Monday, March 04, 2013 5:06 PM
> To: linux-omap@xxxxxxxxxxxxxxx
> Cc: tony@xxxxxxxxxxx; khilman@xxxxxxxxxx; paul@xxxxxxxxx; Nayak,
> Rajendra; linux-arm-kernel@xxxxxxxxxxxxxxxxxxx; Hiremath, Vaibhav
> Subject: [RFC PATCH 0/3] ARM: OMAP2+: Add command line parameter for
> debugSS module control
> 
> From: Vaibhav Hiremath <hvaibhav@xxxxxx>
> 
> Currently there is no clean mechanism to control debugSS module and
> you have to always keep clocks enabled, either,
> 
>     - By enabling it during boot as part of clk_init function
>       (post common-clock migration).
>     Or
>     - By having HWMOD_INIT_NO_IDLE flag in hwmod data
>       (Joel submitted patch for AM335x earlier).
> 
> Based on the discussion with Kevin H,
> http://www.mail-archive.com/linux-omap@xxxxxxxxxxxxxxx/msg81771.html
> 
> This patch introduces new kernel parameter "omap_debugss_en",
> which will allow user to control debugSS module enable/disable
> part during boot-time.
> 
> In case of OMAP3, the debugSS is part of EMU domain and
> is currently controlled by clock tree alone.
> 
> In case of OMAP4, the debugSS is part of EMU domain and
> is currently controlled by clock tree, as MODULEMODE_SWCTRL
> is not defined for hwmod.
> 
> In case of AM335x, the debugSS is in wakeup domain and is currently
> controlled through hwmod alone. Currently we keep it always enabled.
> 
> Testing:
> 	- Tested on AM335x based EVM and BeagleBone platform
> 
> 	  As required, without this flag the debugSS module will be
> disabled
> 	  during kernel boot.
> 
> OMAP (2/3/4) may require some changes from clock/hwmod perspective
> in order to use this new parameter.
> I am still looking into OMAP spec and this RFC version of patch-series
> is to get comments or opinion from list.
> 
> Vaibhav Hiremath (3):
>   ARM: AM33XX: clock: Add debugSS clock nodes to clock tree
>   ARM: AM33XX: hwmod: Add hwmod data for debugSS
>   ARM: OMAP2+: Add command line parameter for debugSS module control
> 
>  Documentation/kernel-parameters.txt        |    3 +
>  arch/arm/mach-omap2/Makefile               |    2 +-
>  arch/arm/mach-omap2/cclock33xx_data.c      |   47 +++++++++++++++--
>  arch/arm/mach-omap2/debugss.c              |   80
> ++++++++++++++++++++++++++++
>  arch/arm/mach-omap2/omap_hwmod_33xx_data.c |   69 ++++++++++++++++----
> ----
>  5 files changed, 173 insertions(+), 28 deletions(-)
>  create mode 100644 arch/arm/mach-omap2/debugss.c

Kevin/Tony,

Any comments or input on this patch series?

Thanks,
Vaibhav



--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux