From: Tony Lindgren <tony@atomide.com>
To: mythripk@ti.com
Cc: tomi.valkeinen@ti.com, linux-omap@vger.kernel.org,
Ricardo Salveti de Araujo <ricardo.salveti@linaro.org>
Subject: Re: [PATCH v2 2/2] OMAPDSS: HDMI: Disable HDMI DDC internal pull up
Date: Fri, 11 Nov 2011 09:22:00 -0800 [thread overview]
Message-ID: <20111111172200.GG31337@atomide.com> (raw)
In-Reply-To: <1321016900-1714-4-git-send-email-mythripk@ti.com>
* mythripk@ti.com <mythripk@ti.com> [111111 04:41]:
> From: Mythri P K <mythripk@ti.com>
>
> Disables the internal pull resistor for SDA and SCL enabled by
> default as there are expernal pull up's in 4460 and 4430 ES2.3,
> It is done to avoid the EDID read failure.
>
> Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@linaro.org>
> Signed-off-by: Mythri P K <mythripk@ti.com>
> ---
> arch/arm/mach-omap2/board-4430sdp.c | 12 +++++++++++-
> arch/arm/mach-omap2/board-omap4panda.c | 13 ++++++++++++-
> arch/arm/mach-omap2/display.c | 17 ++++++++++++++---
> include/video/omapdss.h | 2 +-
> 4 files changed, 38 insertions(+), 6 deletions(-)
>
> diff --git a/arch/arm/mach-omap2/board-4430sdp.c b/arch/arm/mach-omap2/board-4430sdp.c
> index 4a519a3..91d3742 100644
> --- a/arch/arm/mach-omap2/board-4430sdp.c
> +++ b/arch/arm/mach-omap2/board-4430sdp.c
> @@ -826,7 +826,17 @@ static void omap_4430sdp_display_init(void)
> sdp4430_lcd_init();
> sdp4430_picodlp_init();
> omap_display_init(&sdp4430_dss_data);
> - omap_hdmi_enable_pads();
> + /*
> + * CONTROL_I2C_1: HDMI_DDC_SDA_PULLUPRESX (bit 28) and
> + * HDMI_DDC_SCL_PULLUPRESX (bit 24) are set to disable
> + * internal pull up resistor - This is a change needed in
> + * OMAP4460 and OMAP4430 ES2.3 as the external pull up
> + * are present. This is needed to avoid EDID read failure.
> + */
> + if (cpu_is_omap446x() || (omap_rev() > OMAP4430_REV_ES2_2))
> + omap_hdmi_enable_pads(1);
> + else
> + omap_hdmi_enable_pads(0);
> }
If you now have omap_hdmi_init(), then you can just pass it board
specific flags like OMAP_HDMI_EXTERNAL_PULL. The generic init function
will make it easier to move things over to DT also.
Regards,
Tony
next prev parent reply other threads:[~2011-11-11 17:22 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-11 13:08 [PATCH v2 1/2] OMAPDSS: HDMI: Move duplicate code from boardfile to mythripk
2011-11-11 13:08 ` mythripk
2011-11-11 13:08 ` [PATCH v2 2/2] OMAPDSS: HDMI: Disable HDMI DDC internal pull up mythripk
2011-11-11 13:08 ` mythripk
2011-11-11 17:22 ` Tony Lindgren [this message]
2011-11-14 4:06 ` K, Mythri P
2011-11-14 7:05 ` Tomi Valkeinen
2011-11-11 17:20 ` [PATCH v2 1/2] OMAPDSS: HDMI: Move duplicate code from boardfile to Tony Lindgren
2011-11-14 7:03 ` Tomi Valkeinen
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=20111111172200.GG31337@atomide.com \
--to=tony@atomide.com \
--cc=linux-omap@vger.kernel.org \
--cc=mythripk@ti.com \
--cc=ricardo.salveti@linaro.org \
--cc=tomi.valkeinen@ti.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