Re: [PATCH 5/5] ARM: tegra: Add hdmi to Tegra114 Dalmore device tree

From: Thierry Reding
Date: Wed Aug 28 2013 - 09:26:31 EST


On Wed, Aug 28, 2013 at 03:49:45PM +0300, Mikko Perttunen wrote:
> On 08/28/2013 03:30 PM, Thierry Reding wrote:
> >On Wed, Aug 28, 2013 at 01:40:59PM +0300, Mikko Perttunen wrote:
[...]
> >> regulator-min-microvolt = <5000000>;
> >> regulator-max-microvolt = <5000000>;
> >> enable-active-high;
> >>+ regulator-always-on;
> >>+ regulator-boot-on;
> >
> >This warrants at least a mention in the commit message.
>
> Hmm, yeah. Looks like the HDMI driver only enables the Vdd in
> tegra_output_hdmi_enable, which is too late at least for DDC. I
> guess a better patch would be to enable it earlier. In _probe?

I don't think that would be much better. That way the supply will still
always be on, independent of whether we're actually using HDMI or not.
I'm thinking that perhaps we need to allow HDMI to override get_modes()
by something custom. That should also help with the EDID problem in the
earlier patch.

Thierry

Attachment: pgp00000.pgp
Description: PGP signature