lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 4 Apr 2007 12:12:46 -0700
From:	Randy Dunlap <randy.dunlap@...cle.com>
To:	Tony Lindgren <tony@...mide.com>
Cc:	linux-kernel@...r.kernel.org,
	David Brownell <dbrownell@...rs.sourceforge.net>
Subject: Re: [PATCH 51/90] ARM: OMAP: osk+mistral backlight, power, board
 specific

On Wed,  4 Apr 2007 14:05:30 -0400 Tony Lindgren wrote:

> From: David Brownell <dbrownell@...rs.sourceforge.net>
> 
> Mistral-specific:
> 
>   - Add PWL-driven LCD backlight device
> 
>   - Apply power to the board even when the LCD isn't configured; things
>     like EEPROM, temperature sensor, and wakeup switch depend on it.
> 
> Signed-off-by: David Brownell <dbrownell@...rs.sourceforge.net>
> Signed-off-by: Tony Lindgren <tony@...mide.com>
> ---
>  arch/arm/mach-omap1/board-osk.c |   22 ++++++++++++++++++++++
>  1 files changed, 22 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/mach-omap1/board-osk.c b/arch/arm/mach-omap1/board-osk.c
> index 253c539..df9681d 100644
> --- a/arch/arm/mach-omap1/board-osk.c
> +++ b/arch/arm/mach-omap1/board-osk.c
> @@ -373,6 +386,15 @@ static void __init osk_mistral_init(void)
>  	} else
>  		printk(KERN_ERR "OSK+Mistral: wakeup button is awol\n");
>  
> +	/* LCD:  backlight, and power; power controls other devices on the
> +	 * board, like the touchscreen, EEPROM, and wakeup (!) switch.
> +	 */
> +	omap_cfg_reg(PWL);
> +	if (omap_request_gpio(2) == 0) {
> +		omap_set_gpio_direction(2, 0 /* out */);
> +		omap_set_gpio_dataout(2, 1 /* on */);

Some #defined values would be better than those comments.

> +	}
> +
>  	platform_add_devices(mistral_devices, ARRAY_SIZE(mistral_devices));
>  }
>  #else



---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ