public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Ricardo Neri <ricardo.neri@ti.com>
To: Paul Walmsley <paul@pwsan.com>
Cc: b-cousson@ti.com, tony@atomide.com, tomi.valkeinen@ti.com,
	s-guiriec@ti.com, mythripk@ti.com, linux-omap@vger.kernel.org
Subject: Re: [RFC] ARM: OMAP4: hwmod data: add HWMOD_SWSUP_SIDLE to dss_hdmi to data
Date: Tue, 19 Jun 2012 10:08:56 -0500	[thread overview]
Message-ID: <4FE09608.3090104@ti.com> (raw)
In-Reply-To: <alpine.DEB.2.00.1206181518430.11642@utopia.booyaka.com>

On 06/18/2012 04:22 PM, Paul Walmsley wrote:
> Hi
>
> On Sat, 16 Jun 2012, Ricardo Neri wrote:
>
>> I would like to revive an old discussion regarding how to use a particular
>> idle mode for a specific use-case[1].
>>
>> As per the OMAP4 documentation, audio over HDMI should be transmitted in
>> no-idle mode. This patch adds the HWMOD_SWSUP_SIDLE so that omap_hwmode uses
>> no-idle/force-idle settings instead of smart-idle.
>>
>> However, if this flag is used, smart-idle nor smart-idle wakeup-capable
>> features could not be used. This would not be ideal if we want, for instance,
>> to wake up using a HDMI cable connect event.
>>
>> Ideally, the HDMI module should be set to no-idle when transmitting audio
>> and then go back to whatever mode it was (e.g., smart-idle) when audio
>> transmission is over. I am not sure how to do that, though.
>>
>> In the past, it was suggested to use an integration function through
>> platform_data[2], which didn't seem to be  suitable from the device tree
>> perspective; although there were no other alternatives[3].
>>
>> It was also suggested to add functions to allow/block smart-idle
>> momentarily[4], but how would the driver let know omap_hwmod when to
>> allow/block smart-idle without using platform_data/integration function?
>
> Yep that's indeed a good summary of the situation.
>
> Since your patch fixes a functionality problem, maybe update the inline
> comment that you add to the data file to summarize what you wrote above:
> that this is simply a temporary workaround until the device driver has the
> ability to control the idle behavior.
>
> Also if you want this patch to go in during the 3.5-rc fixes cycle, please
> document further in the patch description what specific problem this fixes
> (e.g., choppy/broken audio, etc.)

Thanks Paul! I will resend the patch with the updated comments.

Ricardo
>
>
> - Paul
>


      reply	other threads:[~2012-06-19 15:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-16 23:54 [RFC] ARM: OMAP4: hwmod data: add HWMOD_SWSUP_SIDLE to dss_hdmi to data Ricardo Neri
2012-06-18 21:22 ` Paul Walmsley
2012-06-19 15:08   ` Ricardo Neri [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FE09608.3090104@ti.com \
    --to=ricardo.neri@ti.com \
    --cc=b-cousson@ti.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=mythripk@ti.com \
    --cc=paul@pwsan.com \
    --cc=s-guiriec@ti.com \
    --cc=tomi.valkeinen@ti.com \
    --cc=tony@atomide.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox