07 Aug, 2008

1 commit


06 Aug, 2008

2 commits


02 Aug, 2008

1 commit

  • * git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6: (28 commits)
    mm/hugetlb.c must #include
    video: Fix up hp6xx driver build regressions.
    sh: defconfig updates.
    sh: Kill off stray mach-rsk7203 reference.
    serial: sh-sci: Fix up SH7760/SH7780/SH7785 early printk regression.
    sh: Move out individual boards without mach groups.
    sh: Make sure AT_SYSINFO_EHDR is exposed to userspace in asm/auxvec.h.
    sh: Allow SH-3 and SH-5 to use common headers.
    sh: Provide common CPU headers, prune the SH-2 and SH-2A directories.
    sh/maple: clean maple bus code
    sh: More header path fixups for mach dir refactoring.
    sh: Move out the solution engine headers to arch/sh/include/mach-se/
    sh: I2C fix for AP325RXA and Migo-R
    sh: Shuffle the board directories in to mach groups.
    sh: dma-sh: Fix up dreamcast dma.h mach path.
    sh: Switch KBUILD_DEFCONFIG to shx3_defconfig.
    sh: Add ARCH_DEFCONFIG entries for sh and sh64.
    sh: Fix compile error of Solution Engine
    sh: Proper __put_user_asm() size mismatch fix.
    sh: Stub in a dummy ENTRY_OFFSET for uImage offset calculation.
    ...

    Linus Torvalds
     

31 Jul, 2008

2 commits


30 Jul, 2008

1 commit


25 Jul, 2008

5 commits

  • * 'for-linus' of git://git.o-hand.com/linux-rpurdie-backlight:
    backlight: Fix missing kernel doc entry
    backlight: Add Nvidia-based Apple Macbook Pro backlight driver

    Linus Torvalds
     
  • This patch adds a platform driver using the ATMEL PWM driver to control a
    backlight which requires a PWM signal and optional GPIO signal for discrete
    on/off signal. It has been tested on Favr-32 board from EarthLCD.

    The driver is configurable by supplying a struct with the platform data. See
    the include/linux/atmel-pwm-bl.h for details.

    The board code for Favr-32 will be submitted to the AVR32 kernel list.

    Signed-off-by: Hans-Christian Egtvedt
    Cc: Krzysztof Helt
    Cc: Haavard Skinnemoen
    Cc: Richard Purdie
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Hans-Christian Egtvedt
     
  • Add a platform_lcd driver to allow boards with simple lcd power controls
    to register themselves easily.

    [akpm@linux-foundation.org: build fix]
    Signed-off-by: Ben Dooks
    Cc: Richard Purdie
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ben Dooks
     
  • Add the lcd_device being checked to the check_fb entry of lcd_ops. This
    ensures that any driver using this to check against it's own state can do
    so, and also makes all the calls in lcd_ops more orthogonal in their
    arguments.

    Signed-off-by: Ben Dooks
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ben Dooks
     
  • Provide support for the ILI9320 display controller chip which is found in
    many LCD displays. Included with this is support for an example LCD using
    this chip, the VGG2432A4.

    Signed-off-by: Ben Dooks
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ben Dooks
     

23 Jul, 2008

2 commits


03 Jul, 2008

3 commits


07 Feb, 2008

3 commits

  • This adds the OMAP1 PWL-based LCD backlight driver. It's been in the OMAP
    tree for some time. Note that OMAP2 can do similar things with the generic
    timers which have PWM outputs. Such timers are more generic than the PWL
    found on OMAP1 chips, but have a different EMI profile because they aren't
    driven by a pseudorandom number generator.

    [akpm@linux-foundation.org: cleanups]
    Signed-off-by: David Brownell
    Signed-off-by: Andrzej Zaborowski
    Signed-off-by: Andrew Morton
    Signed-off-by: Richard Purdie

    Andrzej Zaborowski
     
  • Avoid driver callbacks when the brightness hasn't changed since
    they're not necessary.

    Signed-off-by: Helge Deller
    Signed-off-by: Richard Purdie

    Helge Deller
     
  • On the sam9 EK boards, the LCD backlight is hooked up to a PWM output from
    the LCD controller. It's controlled by "contrast" registers though.

    This patch lets boards declare that they have that kind of backlight
    control. The driver can then export this control, letting screenblank and
    other operations actually take effect ... reducing the typically
    substantial power drain from the backlight.

    Note that it's not fully cooked
    - doesn't force backlight off during system suspend
    - the "power" and "blank" events may not be done right
    This should be easily added in the future.

    [nicolas.ferre@atmel.com: remove unneeded inline and rename functions]
    Signed-off-by: David Brownell
    Signed-off-by: Nicolas Ferre
    Cc: Andrew Victor
    Cc: Russell King
    Cc: "Antonino A. Daplas"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    David Brownell
     

17 Oct, 2007

1 commit


14 Oct, 2007

1 commit

  • * git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6: (124 commits)
    sh: allow building for both r2d boards in same binary.
    sh: fix r2d board detection
    sh: Discard .exit.text/.exit.data at runtime.
    sh: Fix up some section alignments in linker script.
    sh: Fix SH-4 DMAC CHCR masking.
    sh: Rip out left-over nommu cond syscall cruft.
    sh: Make kgdb i-cache flushing less inept.
    sh: kgdb section mismatches and tidying.
    sh: cleanup struct irqaction initializers.
    sh: early_printk tidying.
    video: pvr2fb: Add TV (RGB) support to Dreamcast PVR driver.
    sh: Conditionalize gUSA support.
    sh: Follow gUSA preempt changes in __switch_to().
    sh: Tidy up gUSA preempt handling.
    sh: __copy_user() optimizations for small copies.
    sh: clkfwk: Support multi-level clock propagation.
    sh: Fix URAM start address on SH7785.
    sh: Use boot_cpu_data for CPU probe.
    sh: Support extended mode TLB on SH-X3.
    sh: Bump MAX_ACTIVE_REGIONS for SH7785.
    ...

    Linus Torvalds
     

12 Oct, 2007

4 commits

  • Convert the corgi backlight driver to a more generic version
    so it can be reused by other code rather than being Zaurus/PXA
    specific.

    Signed-off-by: Richard Purdie

    Richard Purdie
     
  • This patch adds support for powering on and off the Samsung LTV350QV LCD
    panel via SPI. The driver responds to framebuffer power management, it
    powers off the panel on reboot/halt/poweroff. It can also be controlled
    through sysfs. The panel is powered up when the module is loaded, and off
    when the module is unloaded. Verified on AVR32 STK1000.

    Signed-off-by: Haavard Skinnemoen
    Signed-off-by: David Brownell
    Signed-off-by: Richard Purdie

    Haavard Skinnemoen
     
  • After fixing the too small memory allocation in cr_backlight_probe()
    from drivers/video/backlight/cr_bllcd.c
    (commit e3bbb3f05339de438faf54124f25c92e6fe4ac2e) I noticed that the
    Coverity checker also thought there were a few memory leaks in there.
    I took a closer look and confirmed that there were indeed several
    leaks.

    At the start of the function we allocate storage for a
    'struct cr_panel' and store the pointer in a variable named 'crp'.

    Then we call pci_get_device() and pci_read_config_byte() and if
    either of them fail we return without freeing the memory allocated
    for the 'struct cr_panel'. These two leaks are easy to fix since we
    don't even use 'crp' for anything up to this point, so I simply
    moved the allocation further down in the function so it only happens
    just before we actually need it.

    A bit further down we call backlight_device_register() and store the
    result in 'crp->cr_backlight_device'. In case of error we return
    'crp->cr_backlight_device' from the function, thus leaking 'crp'
    itself. The same thing happens with the call to lcd_device_register().
    To fix these two leaks I declare two new pointers to hold the return
    values, so that in case of error we can return the pointer (as before)
    but without leaking 'crp'.

    This version of the patch also adds missing
    backlight_device_unregister() / lcd_device_unregister() / pci_dev_put()
    calls to error paths.
    Thanks to Richard Purdie for noticing.

    Signed-off-by: Jesper Juhl
    Signed-off-by: Andrew Morton
    Signed-off-by: Richard Purdie

    Jesper Juhl
     
  • This patch makes two needlessly global structs static.

    Signed-off-by: Adrian Bunk
    Signed-off-by: Andrew Morton
    Signed-off-by: Richard Purdie

    Adrian Bunk
     

21 Sep, 2007

1 commit


23 Jul, 2007

1 commit


22 Jul, 2007

1 commit


20 Jul, 2007

1 commit


16 Jul, 2007

2 commits

  • Convert the backlight and LCD classes from struct class_device
    to struct device since class_device is scheduled for removal.

    One nasty API break is the backlight power attribute has had to be
    renamed to bl_power and the LCD power attribute has had to be renamed
    to lcd_power since the original names clash with the core. I can't see
    a way around this.

    Signed-off-by: Richard Purdie
    Acked-by: Greg Kroah-Hartman

    Richard Purdie
     
  • Switch the order of LCD_CLASS_DEVICE and BACKLIGHT_CLASS_DEVICE,
    so that it's possible to insert LCD devices without borking the
    dependency displays of xconfig and other config tools.

    Signed-off-by: David Brownell
    Signed-off-by: Richard Purdie

    David Brownell
     

12 Jul, 2007

1 commit

  • sysfs is now completely out of driver/module lifetime game. After
    deletion, a sysfs node doesn't access anything outside sysfs proper,
    so there's no reason to hold onto the attribute owners. Note that
    often the wrong modules were accounted for as owners leading to
    accessing removed modules.

    This patch kills now unnecessary attribute->owner. Note that with
    this change, userland holding a sysfs node does not prevent the
    backing module from being unloaded.

    For more info regarding lifetime rule cleanup, please read the
    following message.

    http://article.gmane.org/gmane.linux.kernel/510293

    (tweaked by Greg to not delete the field just yet, to make it easier to
    merge things properly.)

    Signed-off-by: Tejun Heo
    Cc: Cornelia Huck
    Cc: Andrew Morton
    Signed-off-by: Greg Kroah-Hartman

    Tejun Heo
     

09 May, 2007

1 commit


15 Mar, 2007

1 commit


08 Mar, 2007

1 commit


20 Feb, 2007

4 commits