All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH] imx: video: staging: Add HDMI support to imx-drm driver
       [not found] ` <CAOMZO5CGpdD-iSVBc_dCvCFPXnRuP8PEBRi=xUEcOGwNubX3GQ@mail.gmail.com>
@ 2013-08-10 20:15   ` Tony Prisk
  2013-08-12 16:06     ` Fabio Estevam
  2013-09-28  3:52     ` Fabio Estevam
  0 siblings, 2 replies; 4+ messages in thread
From: Tony Prisk @ 2013-08-10 20:15 UTC (permalink / raw)
  To: linux-arm-kernel

On 11/08/13 05:52, Fabio Estevam wrote:
> Hi Tony,
>
> On Sun, Aug 4, 2013 at 4:47 PM, Tony Prisk <linux@prisktech.co.nz> wrote:
>> Add support for the HDMI controller found on the i.MX6. Driver is
>> based on code originally added by Sascha Hauer, but not submitted
>> to mainline/staging with the rest of the driver.
>>
>> Signed-off-by: Tony Prisk <linux@prisktech.co.nz>
>> ---
>>
>> This is a tidy up of Sascha's earlier HDMI driver for the staging/imx-drm
>> driver. It is still missing CEA support, but has tested fine on a Wandboard
>> Quad (and possibly the Dual?).
>>
>> This is a RFC to see how people feel about the state of the code for inclusion
>> into the mainline staging driver and what still needs to be done to get it
>> there.
>>
>> I have tidied up a lot of the unneccessary code that isn't used and added
>> some proper OF-related stuff.
> Thanks for working on this.
>
>> Regards
>> Tony Prisk
>>
>>   arch/arm/boot/dts/imx6dl-wandboard.dts      |   13 +
>>   arch/arm/boot/dts/imx6q-wandboard.dts       |   13 +
>>   arch/arm/boot/dts/imx6qdl.dtsi              |   10 +
> Please split the dts changes from the driver changes.
>
> The driver changes should go via Greg Kroah-Hartman staging tree.
>
> Once it is accepted, then you could submit the dts changes into Shawn's tree.
>
> I made some comments below (mostly comestic). After you take care of
> them, please send a formal patch to gregkh and
> devel at driverdev.osuosl.org (and also the folks you have Cc'ed here).
>
> ...
>
Thanks for the review.. Most of this is expected. I hadn't spent a lot 
of time tidying up or 'formalizing' the patch, but I will tidy up the 
comments you made.

Three problem's I have noticed with the driver are:

1) If I start the system with no output connected, then connect the 
hdmi, the framebuffer is initialized in 1024x768, but the 
connector/encoder is in 1920x1080 (as per the video= kernel param).

2) The PLL fails to lock several times during startup, but always seems 
to be ok to initialize the actually requested mode.

3) EDID reading fails occassionally for no obvious reason. Powering down 
the Wandboard (sometimes several times) and it comes right.

Once I get all this sorted out, and the code tidied up properly I will 
send a 'proper' patch.

Regards
Tony P

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [RFC PATCH] imx: video: staging: Add HDMI support to imx-drm driver
  2013-08-10 20:15   ` [RFC PATCH] imx: video: staging: Add HDMI support to imx-drm driver Tony Prisk
@ 2013-08-12 16:06     ` Fabio Estevam
  2013-09-28  3:52     ` Fabio Estevam
  1 sibling, 0 replies; 4+ messages in thread
From: Fabio Estevam @ 2013-08-12 16:06 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Tony,

On Sat, Aug 10, 2013 at 5:15 PM, Tony Prisk <linux@prisktech.co.nz> wrote:

> Thanks for the review.. Most of this is expected. I hadn't spent a lot of
> time tidying up or 'formalizing' the patch, but I will tidy up the comments
> you made.
>
> Three problem's I have noticed with the driver are:
>
> 1) If I start the system with no output connected, then connect the hdmi,
> the framebuffer is initialized in 1024x768, but the connector/encoder is in
> 1920x1080 (as per the video= kernel param).
>
> 2) The PLL fails to lock several times during startup, but always seems to
> be ok to initialize the actually requested mode.
>
> 3) EDID reading fails occassionally for no obvious reason. Powering down the
> Wandboard (sometimes several times) and it comes right.

Could it be that the DDC pull-up resistors are out of spec on Wandboard?

According to this datasheet (Table 3) :
http://www.nxp.com/documents/data_sheet/PCA9507.pdf

the SDA/SCL pull ups should be between 1.5k - 2.0k.

On Wandboard these pullups are 2.2k.

>
> Once I get all this sorted out, and the code tidied up properly I will send
> a 'proper' patch.

Understood.

Even though the three issues are still present, IMHO is still worth
submitting your patch, as the drivers in 'staging' directory are known
to be in initial development phase.

Regards,

Fabio Estevam

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [RFC PATCH] imx: video: staging: Add HDMI support to imx-drm driver
  2013-08-10 20:15   ` [RFC PATCH] imx: video: staging: Add HDMI support to imx-drm driver Tony Prisk
  2013-08-12 16:06     ` Fabio Estevam
@ 2013-09-28  3:52     ` Fabio Estevam
  2013-09-29 17:44       ` Tony Prisk
  1 sibling, 1 reply; 4+ messages in thread
From: Fabio Estevam @ 2013-09-28  3:52 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Tony,

[Fix ARM kernel mailing list address that was wrong in your first email]

On Sat, Aug 10, 2013 at 5:15 PM, Tony Prisk <linux@prisktech.co.nz> wrote:
> On 11/08/13 05:52, Fabio Estevam wrote:

> Thanks for the review.. Most of this is expected. I hadn't spent a lot of
> time tidying up or 'formalizing' the patch, but I will tidy up the comments
> you made.
>
> Three problem's I have noticed with the driver are:
>
> 1) If I start the system with no output connected, then connect the hdmi,
> the framebuffer is initialized in 1024x768, but the connector/encoder is in
> 1920x1080 (as per the video= kernel param).
>
> 2) The PLL fails to lock several times during startup, but always seems to
> be ok to initialize the actually requested mode.
>
> 3) EDID reading fails occassionally for no obvious reason. Powering down the
> Wandboard (sometimes several times) and it comes right.
>
> Once I get all this sorted out, and the code tidied up properly I will send
> a 'proper' patch.

Do you still plan to submitting the HDMI driver for mx6?

Regards,

Fabio Estevam

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [RFC PATCH] imx: video: staging: Add HDMI support to imx-drm driver
  2013-09-28  3:52     ` Fabio Estevam
@ 2013-09-29 17:44       ` Tony Prisk
  0 siblings, 0 replies; 4+ messages in thread
From: Tony Prisk @ 2013-09-29 17:44 UTC (permalink / raw)
  To: linux-arm-kernel

On 28/09/13 15:52, Fabio Estevam wrote:
> Hi Tony,
>
> [Fix ARM kernel mailing list address that was wrong in your first email]
>
> On Sat, Aug 10, 2013 at 5:15 PM, Tony Prisk <linux@prisktech.co.nz> wrote:
>> On 11/08/13 05:52, Fabio Estevam wrote:
>> Thanks for the review.. Most of this is expected. I hadn't spent a lot of
>> time tidying up or 'formalizing' the patch, but I will tidy up the comments
>> you made.
>>
>> Three problem's I have noticed with the driver are:
>>
>> 1) If I start the system with no output connected, then connect the hdmi,
>> the framebuffer is initialized in 1024x768, but the connector/encoder is in
>> 1920x1080 (as per the video= kernel param).
>>
>> 2) The PLL fails to lock several times during startup, but always seems to
>> be ok to initialize the actually requested mode.
>>
>> 3) EDID reading fails occassionally for no obvious reason. Powering down the
>> Wandboard (sometimes several times) and it comes right.
>>
>> Once I get all this sorted out, and the code tidied up properly I will send
>> a 'proper' patch.
> Do you still plan to submitting the HDMI driver for mx6?
>
> Regards,
>
> Fabio Estevam
Sorry... I've been tied up with work a lot lately and haven't had a lot 
of time to spend on it.
I still haven't been able to overcome the problem with the resolutions 
at 108Mhz, otherwise it seems to work pretty well. I expect it will be a 
while yet before I can spend any serious time on it, so if someone else 
wants to work through the problem and submit a patch, feel free.

Regards
Tony Prisk

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-09-29 17:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1375645673-18237-1-git-send-email-linux@prisktech.co.nz>
     [not found] ` <CAOMZO5CGpdD-iSVBc_dCvCFPXnRuP8PEBRi=xUEcOGwNubX3GQ@mail.gmail.com>
2013-08-10 20:15   ` [RFC PATCH] imx: video: staging: Add HDMI support to imx-drm driver Tony Prisk
2013-08-12 16:06     ` Fabio Estevam
2013-09-28  3:52     ` Fabio Estevam
2013-09-29 17:44       ` Tony Prisk

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.