public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] omap: overo: Disable pull-ups on camera PCLK, HS and VS signals
@ 2011-09-30 19:08 Steve Sakoman
  2011-10-14 20:16 ` Albert ARIBAUD
  0 siblings, 1 reply; 2+ messages in thread
From: Steve Sakoman @ 2011-09-30 19:08 UTC (permalink / raw)
  To: u-boot

The level shifters used on the Caspa camera module have a 4k output
impedance. Combined with the 100uA pull-up resistors in the OMAP3,
this raises the ground level to 400mV. Adding crosstalk between the
pixel clock and the HS/VS signals on the flat cable (a ground line in
between would have been nice), logic 0 levels can raise up to 650mV.
This exceeds the camera input pins VIL maximum voltage.  This change
suggested-by Laurent Pinchart

Signed-off-by: Steve Sakoman <steve@sakoman.com>
---

diff --git a/board/overo/overo.h b/board/overo/overo.h
index 42ef1b1..915f15b 100644
--- a/board/overo/overo.h
+++ b/board/overo/overo.h
@@ -160,10 +160,10 @@ const omap3_sysinfo sysinfo = {
 	MUX_VAL(CP(DSS_DATA22),		(IDIS | PTD | DIS | M0)) /*DSS_DATA22*/\
 	MUX_VAL(CP(DSS_DATA23),		(IDIS | PTD | DIS | M0)) /*DSS_DATA23*/\
  /*CAMERA*/\
-	MUX_VAL(CP(CAM_HS),		(IEN  | PTU | EN  | M0)) /*CAM_HS */\
-	MUX_VAL(CP(CAM_VS),		(IEN  | PTU | EN  | M0)) /*CAM_VS */\
+	MUX_VAL(CP(CAM_HS),		(IEN  | PTU | DIS | M0)) /*CAM_HS */\
+	MUX_VAL(CP(CAM_VS),		(IEN  | PTU | DIS | M0)) /*CAM_VS */\
 	MUX_VAL(CP(CAM_XCLKA),		(IDIS | PTD | DIS | M0)) /*CAM_XCLKA*/\
-	MUX_VAL(CP(CAM_PCLK),		(IEN  | PTU | EN  | M0)) /*CAM_PCLK*/\
+	MUX_VAL(CP(CAM_PCLK),		(IEN  | PTU | DIS | M0)) /*CAM_PCLK*/\
 	MUX_VAL(CP(CAM_FLD),		(IDIS | PTD | DIS | M4)) /*CAM_FLD*/\
 	MUX_VAL(CP(CAM_D0),		(IEN  | PTD | DIS | M0)) /*CAM_D0*/\
 	MUX_VAL(CP(CAM_D1),		(IEN  | PTD | DIS | M0)) /*CAM_D1*/\

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

* [U-Boot] omap: overo: Disable pull-ups on camera PCLK, HS and VS signals
  2011-09-30 19:08 [U-Boot] omap: overo: Disable pull-ups on camera PCLK, HS and VS signals Steve Sakoman
@ 2011-10-14 20:16 ` Albert ARIBAUD
  0 siblings, 0 replies; 2+ messages in thread
From: Albert ARIBAUD @ 2011-10-14 20:16 UTC (permalink / raw)
  To: u-boot

Hi Steve,

Le 30/09/2011 21:08, Steve Sakoman a ?crit :
> The level shifters used on the Caspa camera module have a 4k output
> impedance. Combined with the 100uA pull-up resistors in the OMAP3,
> this raises the ground level to 400mV. Adding crosstalk between the
> pixel clock and the HS/VS signals on the flat cable (a ground line in
> between would have been nice), logic 0 levels can raise up to 650mV.
> This exceeds the camera input pins VIL maximum voltage.  This change
> suggested-by Laurent Pinchart
>
> Signed-off-by: Steve Sakoman<steve@sakoman.com>
> ---
>
> diff --git a/board/overo/overo.h b/board/overo/overo.h
> index 42ef1b1..915f15b 100644
> --- a/board/overo/overo.h
> +++ b/board/overo/overo.h
> @@ -160,10 +160,10 @@ const omap3_sysinfo sysinfo = {
>   	MUX_VAL(CP(DSS_DATA22),		(IDIS | PTD | DIS | M0)) /*DSS_DATA22*/\
>   	MUX_VAL(CP(DSS_DATA23),		(IDIS | PTD | DIS | M0)) /*DSS_DATA23*/\
>    /*CAMERA*/\
> -	MUX_VAL(CP(CAM_HS),		(IEN  | PTU | EN  | M0)) /*CAM_HS */\
> -	MUX_VAL(CP(CAM_VS),		(IEN  | PTU | EN  | M0)) /*CAM_VS */\
> +	MUX_VAL(CP(CAM_HS),		(IEN  | PTU | DIS | M0)) /*CAM_HS */\
> +	MUX_VAL(CP(CAM_VS),		(IEN  | PTU | DIS | M0)) /*CAM_VS */\
>   	MUX_VAL(CP(CAM_XCLKA),		(IDIS | PTD | DIS | M0)) /*CAM_XCLKA*/\
> -	MUX_VAL(CP(CAM_PCLK),		(IEN  | PTU | EN  | M0)) /*CAM_PCLK*/\
> +	MUX_VAL(CP(CAM_PCLK),		(IEN  | PTU | DIS | M0)) /*CAM_PCLK*/\
>   	MUX_VAL(CP(CAM_FLD),		(IDIS | PTD | DIS | M4)) /*CAM_FLD*/\
>   	MUX_VAL(CP(CAM_D0),		(IEN  | PTD | DIS | M0)) /*CAM_D0*/\
>   	MUX_VAL(CP(CAM_D1),		(IEN  | PTD | DIS | M0)) /*CAM_D1*/\
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>
>

Applied to u-boot-arm/master, thanks.

Amicalement,
-- 
Albert.

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

end of thread, other threads:[~2011-10-14 20:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-30 19:08 [U-Boot] omap: overo: Disable pull-ups on camera PCLK, HS and VS signals Steve Sakoman
2011-10-14 20:16 ` Albert ARIBAUD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox