[RFC PATCH 0/3] ARM: OMAP2+: Add command line parameter for debugSS module control
Hiremath, Vaibhav
hvaibhav at ti.com
Thu Mar 14 07:29:33 EDT 2013
> -----Original Message-----
> From: Hiremath, Vaibhav
> Sent: Monday, March 04, 2013 5:06 PM
> To: linux-omap at vger.kernel.org
> Cc: tony at atomide.com; khilman at linaro.org; paul at pwsan.com; Nayak,
> Rajendra; linux-arm-kernel at lists.infradead.org; Hiremath, Vaibhav
> Subject: [RFC PATCH 0/3] ARM: OMAP2+: Add command line parameter for
> debugSS module control
>
> From: Vaibhav Hiremath <hvaibhav at ti.com>
>
> 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@vger.kernel.org/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
More information about the linux-arm-kernel
mailing list