From: Kevin Hilman <khilman@linaro.org>
To: Tomasz Figa <tomasz.figa@gmail.com>
Cc: Tobias Jakobi <liquid.acid@gmx.net>,
linux-samsung-soc@vger.kernel.org,
Inki Dae <inki.dae@samsung.com>,
arun.kk@samsung.com,
Tomasz Stanislawski <t.stanislaws@samsung.com>,
"Rafael J. Wysocki" <rjw@rjwysocki.net>,
Ulf Hansson <ulf.hansson@linaro.org>,
Marek Szyprowski <m.szyprowski@samsung.com>
Subject: Re: exynos4412: powerdomain issues with HDMI PHY and VP
Date: Tue, 27 May 2014 09:49:50 -0700 [thread overview]
Message-ID: <7hwqd79nf5.fsf@paris.lan> (raw)
In-Reply-To: <53810E0D.5010802@gmail.com> (Tomasz Figa's message of "Sat, 24 May 2014 23:24:29 +0200")
Tomasz Figa <tomasz.figa@gmail.com> writes:
> Hi Tobias,
>
> First of all, big thanks for investigating this issue. Hopefully we can
> have it fixed in upstream soon.
>
> I've added Tomasz Stanislawski to CC list, as he's been doing some work
> to enable HDMI support on Exynos4 using Exynos DRM.
>
> On 24.05.2014 22:45, Tobias Jakobi wrote:
>> Hello,
>>
>> I'm still working on getting HDMI output on my ODROID-X2 board (based on
>> Exynos4412 Prime) working. My tree is a 3.15-rc6 with some patches on
>> top to get it boot on the board.
>>
>> You can find the tree here:
>> https://github.com/tobiasjakobi/linux-odroid/commits/odroid-3.15.y
>>
>> Here is the DTS:
>> https://github.com/tobiasjakobi/linux-odroid/blob/odroid-3.15.y/arch/arm/boot/dts/exynos4412-odroidx2.dts
>>
>> I encountered two issues with powerdomains. On related to HDMI PHY and
>> the other one related to the VP (video processor).
>>
>> The pd the mixer is in, is currently set to pd_tv. I can't seem to
>> specify multiple powerdomains for one device. However the PHY seems to
>> need both TV and LCD0 pd to function properly.
>
> We've discovered this issue too. Unfortunately the Linux implementation
> of generic power domain core (genpd) doesn't support multiple power
> domains per device, so we ended up with a hack in our internal tree.
>
> Generic power domain bindings aren't going to help too much, because
> even though they account for this, the implementation will use only the
> first domain.
>
> I have CC'ed Rafael, Kevin and Ulf, as they might have some ideas how to
> solve this.
Hmm, this seems a bit strange. How is this implemented in hardware? It
seems rather unlikely that the same IP block is getting power from two
different power rails. So I don't think what you really want is to have
the device modeled in 2 power domains.
Rather, I suspect there's some functional dependency going on that's not
directly a function of the power domain itself. Taking a wild shot in
the dark, it wouldn't be too surprising if the IP block in question
depends on a clock coming from a device in another power domain? Since
this sounds display related, is the pixel clock required coming from an
IP block in the other power domain?
If it's something like a clock dependency, then that needs to be modeled
so what when the clock is enabled, the power domain containg the device
providing that clock cannot be shut down.
Kevin
next prev parent reply other threads:[~2014-05-27 16:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-24 20:45 exynos4412: powerdomain issues with HDMI PHY and VP Tobias Jakobi
2014-05-24 21:24 ` Tomasz Figa
2014-05-27 16:49 ` Kevin Hilman [this message]
2014-05-27 16:55 ` Tomasz Figa
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=7hwqd79nf5.fsf@paris.lan \
--to=khilman@linaro.org \
--cc=arun.kk@samsung.com \
--cc=inki.dae@samsung.com \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=liquid.acid@gmx.net \
--cc=m.szyprowski@samsung.com \
--cc=rjw@rjwysocki.net \
--cc=t.stanislaws@samsung.com \
--cc=tomasz.figa@gmail.com \
--cc=ulf.hansson@linaro.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.