Re: [PATCH v2] ARM: tegra: ventana: enable internal display

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/16/2012 12:51 AM, Alex Courbot wrote:
> On Friday 16 November 2012 15:44:51 Alexandre Courbot wrote:
>> Enable host1x and add the rgb output, providing EDID as a binary blob.
> 
> I would really prefer to have the EDID data fetched from DDC, but all my 
> attempts have failed so far. I don't even see the DDC wires on the platform 
> design guide. Mark, are you sure the EDID data you fetched with i2cget was 
> actually on Ventana? I can see that the DDC lines of T2 are connected to the 
> corresponding lines of the HDMI interface, but nothing similar regarding 
> internal display.

Yes, there is an EDID EEPROM on Ventana. We should certainly use that.

Assuming you have CONFIG_I2C_CHARDEV=y in the kernel's .config, and the
latest Ventana .dts file which enables the I2C bus mux, then the
following command dumps the EDID:

i2cdump  -f -y 5 0x50

That should be equivalent to something like:

	nvidia,ddc-i2c-bus = <&lcd_ddc>;

with lcd_ddc pointing at /i2cmux/i2c@1

That seems to work fine for me; how about you?

For reference, the patch below, although all the whitespace is screwed
up due to pasting it; I should really start using a "proper" email
client...:

> diff --git a/arch/arm/boot/dts/tegra20-ventana.dts b/arch/arm/boot/dts/tegra20-ventana.dts
> index 9731ba9..951f432 100644
> --- a/arch/arm/boot/dts/tegra20-ventana.dts
> +++ b/arch/arm/boot/dts/tegra20-ventana.dts
> @@ -14,7 +14,7 @@
>                 dc@54200000 {
>                         rgb {
>                                 status = "okay";
> -                               nvidia,edid = /incbin/("tegra20-ventana.edid");
> +                               nvidia,ddc-i2c-bus = <&lcd_ddc>;
>                                 backlight = <&backlight>;
>                         };
>                 };
> @@ -351,7 +351,7 @@
>                         #size-cells = <0>;
>                 };
>  
> -               i2c@1 {
> +               lcd_ddc: i2c@1 {
>                         reg = <1>;
>                         #address-cells = <1>;
>                         #size-cells = <0>;

--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux