31 Mar, 2011

1 commit


22 Mar, 2011

1 commit


16 Mar, 2011

1 commit

  • Supports YCbCr420sp, YCbCr422sp, and YCbCr44sp, formats
    (bpp = 12, 16, and 24) respectively.

    When double-buffering both Y planes appear before the C planes (Y-Y-C-C),
    as opposed to Y-C-Y-C.

    Set .nonstd in struct sh_mobile_lcdc_chan_cfg to enable YUV mode, and use
    .bpp to distiguish between the 3 modes.
    The value of .nonstd is copied to bits 16-31 of LDDFR in the LCDC and
    should be set accordingly.
    .nonstd must be set to 0 for RGB mode.

    Due to the encoding of YUV data, the framebuffer will clear to green
    instead of black.

    In YUV 420 mode, panning is only possible in 2 line increments.
    Additionally in YUV 420 mode the vertical resolution of the framebuffer
    must be an even number.

    Signed-off-by: Damian Hobson-Garcia
    Signed-off-by: Paul Mundt

    Damian Hobson-Garcia
     

10 Mar, 2011

1 commit


06 Jan, 2011

3 commits


05 Jan, 2011

2 commits


22 Dec, 2010

1 commit


21 Dec, 2010

1 commit


16 Nov, 2010

2 commits

  • udlfb has undergone a fair bit of cleanup recently and is effectively at
    the point where it can be liberated from staging purgatory and promoted
    to a real driver.

    The outstanding cleanups are all minor, with some of them dependent on
    drivers/video headers, so these will be done incrementally from udlfb's
    new home.

    Requested-by: Bernie Thompson
    Signed-off-by: Paul Mundt

    Paul Mundt
     
  • This is already defined by linux/fb.h now, so punt the duplicate
    definition from the driver header.

    Signed-off-by: Mike Frysinger
    Signed-off-by: Paul Mundt

    Mike Frysinger
     

10 Nov, 2010

1 commit


29 Oct, 2010

1 commit


25 Oct, 2010

2 commits

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6: (365 commits)
    ALSA: hda - Disable sticky PCM stream assignment for AD codecs
    ALSA: usb - Creative USB X-Fi volume knob support
    ALSA: ca0106: Use card specific dac id for mute controls.
    ALSA: ca0106: Allow different sound cards to use different SPI channel mappings.
    ALSA: ca0106: Create a nice spot for mapping channels to dacs.
    ALSA: ca0106: Move enabling of front dac out of hardcoded setup sequence.
    ALSA: ca0106: Pull out dac powering routine into separate function.
    ALSA: ca0106 - add Sound Blaster 5.1vx info.
    ASoC: tlv320dac33: Use usleep_range for delays
    ALSA: usb-audio: add Novation Launchpad support
    ALSA: hda - Add workarounds for CT-IBG controllers
    ALSA: hda - Fix wrong TLV mute bit for STAC/IDT codecs
    ASoC: tpa6130a2: Error handling for broken chip
    ASoC: max98088: Staticise m98088_eq_band
    ASoC: soc-core: Fix codec->name memory leak
    ALSA: hda - Apply ideapad quirk to Acer laptops with Cxt5066
    ALSA: hda - Add some workarounds for Creative IBG
    ALSA: hda - Fix wrong SPDIF NID assignment for CA0110
    ALSA: hda - Fix codec rename rules for ALC662-compatible codecs
    ALSA: hda - Add alc_init_jacks() call to other codecs
    ...

    Linus Torvalds
     
  • * 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (39 commits)
    Update broken web addresses in arch directory.
    Update broken web addresses in the kernel.
    Revert "drivers/usb: Remove unnecessary return's from void functions" for musb gadget
    Revert "Fix typo: configuation => configuration" partially
    ida: document IDA_BITMAP_LONGS calculation
    ext2: fix a typo on comment in ext2/inode.c
    drivers/scsi: Remove unnecessary casts of private_data
    drivers/s390: Remove unnecessary casts of private_data
    net/sunrpc/rpc_pipe.c: Remove unnecessary casts of private_data
    drivers/infiniband: Remove unnecessary casts of private_data
    drivers/gpu/drm: Remove unnecessary casts of private_data
    kernel/pm_qos_params.c: Remove unnecessary casts of private_data
    fs/ecryptfs: Remove unnecessary casts of private_data
    fs/seq_file.c: Remove unnecessary casts of private_data
    arm: uengine.c: remove C99 comments
    arm: scoop.c: remove C99 comments
    Fix typo configue => configure in comments
    Fix typo: configuation => configuration
    Fix typo interrest[ing|ed] => interest[ing|ed]
    Fix various typos of valid in comments
    ...

    Fix up trivial conflicts in:
    drivers/char/ipmi/ipmi_si_intf.c
    drivers/usb/gadget/rndis.c
    net/irda/irnet/irnet_ppp.c

    Linus Torvalds
     

14 Sep, 2010

2 commits

  • The SH-Mobile HDMI driver runs in several contexts: ISR, delayed work-queue,
    task context, when called from the sh_mobile_lcdc framebuffer driver. This
    creates ample race possibilities. Even though most these races are purely
    theoretical, it is better to close them. To trace fb_info validity we install a
    notification callback in the HDMI driver, and the only way for it to get to
    driver internal data is by using struct sh_mobile_lcdc_chan, therefore it had
    to be extracted into a separate common header.

    Signed-off-by: Guennadi Liakhovetski
    Signed-off-by: Paul Mundt

    Guennadi Liakhovetski
     
  • This is a preparation for HDMI hotplug support. This patch just moves all
    platform defined video modes for the sh_mobile_lcdcfb driver to separate
    arrays and switches all users to use element 0 of that array, so, this patch
    doesn't introduce any functional changes and as such should not cause any
    regressions.

    Signed-off-by: Guennadi Liakhovetski
    Signed-off-by: Paul Mundt

    Guennadi Liakhovetski
     

10 Sep, 2010

1 commit

  • This patch solve below report from Guennadi

    1)

    > +/* Audio source select */
    > +#define HDMI_SRC_MASK (0xF << 0)
    > +#define HDMI_SRC_I2S (0 << 0) /* default */
    > +#define HDMI_SRC_SPDIF (1 << 0)
    > +#define HDMI_SRC_DSD (2 << 0)
    > +#define HDMI_SRC_HBR (3 << 0)

    I would be more specific with these macro names, i.e., include "AUDIO" or
    "SND" or something similar in them, e.g., HDMI_AUDIO_SRC_I2S.

    2)

    > + case HDMI_SRC_I2S:
    > + data = (0x0 << 3);
    > + break;
    > + case HDMI_SRC_SPDIF:
    > + data = (0x1 << 3);
    > + break;
    > + case HDMI_SRC_DSD:
    > + data = (0x2 << 3);
    > + break;
    > + case HDMI_SRC_HBR:
    > + data = (0x3 << 3);

    In all above cases parenthesis are superfluous.

    Reported-by: Guennadi Liakhovetski
    Signed-off-by: Kuninori Morimoto
    Reviewed-by: Guennadi Liakhovetski
    Acked-by: Liam Girdwood
    Signed-off-by: Mark Brown

    Kuninori Morimoto
     

01 Sep, 2010

1 commit


16 Aug, 2010

1 commit


15 Aug, 2010

1 commit


04 Aug, 2010

2 commits


31 May, 2010

1 commit


25 May, 2010

2 commits

  • FBIO_WAITFORVSYNC is currently implemented by matroxfb, atyfb, intelfb and
    more. All of them keep redefining the same FBIO_WAITFORVSYNC macro over
    and over again, so move it to linux/fb.h and clean up those duplicate
    defines.

    Signed-off-by: Grazvydas Ignotas
    Cc: Ville Syrjala
    Cc: Grant Likely
    Cc: Maik Broemme
    Cc: Petr Vandrovec
    Cc: Benjamin Herrenschmidt
    Cc: Krzysztof Helt
    Cc: "Hiremath, Vaibhav"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Grazvydas Ignotas
     
  • This work includes the following:

    - Implement handler for FBIO_WAITFORVSYNC ioctl.

    - Allocate the data and palette buffers separately. A consequence of
    this is that the palette and data loading is now done in different
    phases. And that the LCD must be disabled temporarily after the palette
    is loaded but this will only happen once after init and each time the
    palette is changed. I think this is OK.

    - Allocate two (ping and pong) framebuffers from memory.

    - Add pan_display handler which toggles the LCDC DMA registers between
    the ping and pong buffers.

    Signed-off-by: Martin Ambrose
    Cc: Chaithrika U S
    Cc: Sudhakar Rajashekhara
    Cc: Krzysztof Helt
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Martin Ambrose
     

24 May, 2010

3 commits


13 Mar, 2010

3 commits

  • This patch adds waveform storing capability to broadsheetfb. It uses the
    firmware class to retrieve the waveform, and the request to initiate the
    waveform storing is done via a driver sysfs entry, loadstore_waveform.

    Broadsheet is a framebuffer device. It is slightly different from a
    typical framebuffer controller that drives a normal TFT-LCD display. Most
    E-Ink display panels require a waveform in order to function. That is, in
    order to drive the state of a pixel to black, gray, or white, a specific
    waveform is utilized. Basically, that waveform represents the specific
    E-field wiggling needed to get the pixel to its optimal state given
    current temperature, and its previous state. TN/IPS-LCDs use a similar
    concept but the driving waveform is sufficiently simple that it is
    internalized in the TFT source/gate driver.

    These E-Ink waveforms are specific to a production batch. That is, a
    batch of display films are produced, then they get characterized and a
    waveform is generated for that batch. Broadsheet, typically, is attached
    to its private SPI flash which is then flashed with this waveform.

    Users won't be able to see the waveform and typically won't ever need to
    know about it. If however, the display panel attached to broadsheet is
    changed out, then they will need to update their waveform. That would
    typically be done at a factory or repair facility rather than by a user.

    [akpm@linux-foundation.org: fix printk warning]
    Signed-off-by: Jaya Kumar
    Cc: Geert Uytterhoeven
    Cc: Krzysztof Helt
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jaya Kumar
     
  • Allow boards with GP-MMIO controllers to provide hooks to broadsheetfb in
    order to offload cmd/data writes and data reads instead of relying only on
    host based GPIO wiggling.

    Signed-off-by: Jaya Kumar
    Cc: Geert Uytterhoeven
    Cc: Krzysztof Helt
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jaya Kumar
     
  • Update broadsheetfb to add support for multiple panel types. The 3.7" and
    6" are known to work but the 9.7" is untested due to lack of hardware.

    Signed-off-by: Jaya Kumar
    Cc: Geert Uytterhoeven
    Cc: Krzysztof Helt
    Cc: Russell King
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jaya Kumar
     

16 Feb, 2010

1 commit


17 Dec, 2009

1 commit

  • * git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6: (33 commits)
    sh: Fix test of unsigned in se7722_irq_demux()
    sh: mach-ecovec24: Add FSI sound support
    sh: mach-ecovec24: Add mt9t112 camera support
    sh: mach-ecovec24: Add tw9910 support
    sh: MSIOF/mmc_spi platform data for the Ecovec24 board
    sh: ms7724se: Add ak4642 support
    sh: Fix up FPU build for SH5
    sh: Remove old early serial console code V2
    sh: sh5 scif pdata (sh5-101/sh5-103)
    sh: sh4a scif pdata (sh7757/sh7763/sh7770/sh7780/sh7785/sh7786/x3)
    sh: sh4a scif pdata (sh7343/sh7366/sh7722/sh7723/sh7724)
    sh: sh4 scif pdata (sh7750/sh7760/sh4-202)
    sh: sh3 scif pdata (sh7705/sh770x/sh7710/sh7720)
    sh: sh2a scif pdata (sh7201/sh7203/sh7206/mxg)
    sh: sh2 scif pdata (sh7616)
    sh-sci: Extend sh-sci driver with early console V2
    sh: Stub in P3 ioremap support for nommu parts.
    sh: wire up vmallocinfo support in ioremap() implementations.
    sh: Make the unaligned trap handler always obey notification levels.
    sh: Couple kernel and user write page perm bits for CONFIG_X2TLB
    ...

    Linus Torvalds
     

16 Dec, 2009

1 commit


10 Dec, 2009

2 commits

  • Paul Mundt
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (42 commits)
    tree-wide: fix misspelling of "definition" in comments
    reiserfs: fix misspelling of "journaled"
    doc: Fix a typo in slub.txt.
    inotify: remove superfluous return code check
    hdlc: spelling fix in find_pvc() comment
    doc: fix regulator docs cut-and-pasteism
    mtd: Fix comment in Kconfig
    doc: Fix IRQ chip docs
    tree-wide: fix assorted typos all over the place
    drivers/ata/libata-sff.c: comment spelling fixes
    fix typos/grammos in Documentation/edac.txt
    sysctl: add missing comments
    fs/debugfs/inode.c: fix comment typos
    sgivwfb: Make use of ARRAY_SIZE.
    sky2: fix sky2_link_down copy/paste comment error
    tree-wide: fix typos "couter" -> "counter"
    tree-wide: fix typos "offest" -> "offset"
    fix kerneldoc for set_irq_msi()
    spidev: fix double "of of" in comment
    comment typo fix: sybsystem -> subsystem
    ...

    Linus Torvalds
     

09 Dec, 2009

1 commit