public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: Kevin Hilman <khilman@mvista.com>
Cc: linux-omap-open-source@linux.omap.com
Subject: Re: [PATCH] ARM: OMAP: 2430SDP: turn off secondary LCD backlight on boot
Date: Fri, 10 Aug 2007 02:33:09 -0700	[thread overview]
Message-ID: <20070810093309.GN8658@atomide.com> (raw)
In-Reply-To: <20070730225528.778419364@mvista.com>

* Kevin Hilman <khilman@mvista.com> [070730 16:11]:
> There is not yet any driver for the secondary LCD, so turn off
> the backlight on boot.
> 
> Signed-off-by: Kevin Hilman <khilman@mvista.com>
> ---
>  arch/arm/mach-omap2/board-2430sdp.c |    5 +++++
>  1 file changed, 5 insertions(+)
> 
> Index: linux-2.6.21/arch/arm/mach-omap2/board-2430sdp.c
> ===================================================================
> --- linux-2.6.21.orig/arch/arm/mach-omap2/board-2430sdp.c
> +++ linux-2.6.21/arch/arm/mach-omap2/board-2430sdp.c
> @@ -55,6 +55,7 @@
>  #define TS_GPIO                 24
>  
>  #define TWL4030_MSECURE_GPIO	118
> +#define SECONDARY_LCD_GPIO	147
>  
>  static struct mtd_partition sdp2430_partitions[] = {
>  	/* bootloader (U-Boot, etc) in first sector */
> @@ -466,6 +467,10 @@ static void __init omap_2430sdp_init(voi
>  	spi_register_board_info(sdp2430_spi_board_info,
>  				ARRAY_SIZE(sdp2430_spi_board_info));
>  	ads7846_dev_init();
> +
> +	/* turn off secondary LCD backlight */
> +	omap_set_gpio_direction(SECONDARY_LCD_GPIO, 0);
> +	omap_set_gpio_dataout(SECONDARY_LCD_GPIO, 0);
>  }
>  
>  static void __init omap_2430sdp_map_io(void)

Pushing today.

Tony

      reply	other threads:[~2007-08-10  9:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-30 22:55 [PATCH] ARM: OMAP: 2430SDP: turn off secondary LCD backlight on boot Kevin Hilman
2007-08-10  9:33 ` Tony Lindgren [this message]

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=20070810093309.GN8658@atomide.com \
    --to=tony@atomide.com \
    --cc=khilman@mvista.com \
    --cc=linux-omap-open-source@linux.omap.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