27 May, 2011

3 commits


26 May, 2011

1 commit

  • * git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile: (26 commits)
    arch/tile: prefer "tilepro" as the name of the 32-bit architecture
    compat: include aio_abi.h for aio_context_t
    arch/tile: cleanups for tilegx compat mode
    arch/tile: allocate PCI IRQs later in boot
    arch/tile: support signal "exception-trace" hook
    arch/tile: use better definitions of xchg() and cmpxchg()
    include/linux/compat.h: coding-style fixes
    tile: add an RTC driver for the Tilera hypervisor
    arch/tile: finish enabling support for TILE-Gx 64-bit chip
    compat: fixes to allow working with tile arch
    arch/tile: update defconfig file to something more useful
    tile: do_hardwall_trap: do not play with task->sighand
    tile: replace mm->cpu_vm_mask with mm_cpumask()
    tile,mn10300: add device parameter to dma_cache_sync()
    audit: support the "standard"
    arch/tile: clarify flush_buffer()/finv_buffer() function names
    arch/tile: kernel-related cleanups from removing static page size
    arch/tile: various header improvements for building drivers
    arch/tile: disable GX prefetcher during cache flush
    arch/tile: tolerate disabling CONFIG_BLK_DEV_INITRD
    ...

    Linus Torvalds
     

25 May, 2011

1 commit

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: (40 commits)
    Input: ADP5589 - new driver for I2C Keypad Decoder and I/O Expander
    Input: tsc2007 - add X, Y and Z fuzz factors to platform data
    Input: tsc2007 - add poll_period parameter to platform data
    Input: tsc2007 - add poll_delay parameter to platform data
    Input: tsc2007 - add max_rt parameter to platform data
    Input: tsc2007 - debounce pressure measurement
    Input: ad714x - fix captouch wheel option algorithm
    Input: ad714x - allow platform code to specify irqflags
    Input: ad714x - fix threshold and completion interrupt masks
    Input: ad714x - fix up input configuration
    Input: elantech - remove support for proprietary X driver
    Input: elantech - report multitouch with proper ABS_MT messages
    Input: elantech - export pressure and width when supported
    Input: elantech - describe further the protocol
    Input: atmel_tsadcc - correct call to input_free_device
    Input: add driver FSL MPR121 capacitive touch sensor
    Input: remove useless synchronize_rcu() calls
    Input: ads7846 - fix gpio_pendown configuration
    Input: ads7846 - add possibility to use external vref on ads7846
    Input: rotary-encoder - add support for half-period encoders
    ...

    Linus Torvalds
     

24 May, 2011

2 commits

  • Dmitry Torokhov
     
  • * 'tty-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty-2.6: (48 commits)
    serial: 8250_pci: add support for Cronyx Omega PCI multiserial board.
    tty/serial: Fix break handling for PORT_TEGRA
    tty/serial: Add explicit PORT_TEGRA type
    n_tracerouter and n_tracesink ldisc additions.
    Intel PTI implementaiton of MIPI 1149.7.
    Kernel documentation for the PTI feature.
    export kernel call get_task_comm().
    tty: Remove to support serial for S5P6442
    pch_phub: Support new device ML7223
    8250_pci: Add support for the Digi/IBM PCIe 2-port Adapter
    ASoC: Update cx20442 for TTY API change
    pch_uart: Support new device ML7223 IOH
    parport: Use request_muxed_region for IT87 probe and lock
    tty/serial: add support for Xilinx PS UART
    n_gsm: Use print_hex_dump_bytes
    drivers/tty/moxa.c: Put correct tty value
    TTY: tty_io, annotate locking functions
    TTY: serial_core, remove superfluous set_task_state
    TTY: serial_core, remove invalid test
    Char: moxa, fix locking in moxa_write
    ...

    Fix up trivial conflicts in drivers/bluetooth/hci_ldisc.c and
    drivers/tty/serial/Makefile.

    I did the hci_ldisc thing as an evil merge, cleaning things up.

    Linus Torvalds
     

20 May, 2011

3 commits


19 May, 2011

1 commit


18 May, 2011

5 commits

  • These new platform-specific values can be used to set the fuzz parameter
    passed to the input_set_abs_params() function for the ABS_X, ABS_Y and
    ABS_PRESSURE axes.

    Signed-off-by: Thierry Reding
    Signed-off-by: Dmitry Torokhov

    Thierry Reding
     
  • This new parameter allows the polling frequency to be configured while
    keeping the default of once every millisecond.

    Signed-off-by: Thierry Reding
    Signed-off-by: Dmitry Torokhov

    Thierry Reding
     
  • Depending on the quality of the touch panel, the time for the X-, X+, Y-
    and Y+ inputs to settle may vary. The poll_delay parameter can be used
    to override the default of 1 millisecond.

    Cc: Dmitry Torokhov
    Cc: Kwangwoo Lee
    Signed-off-by: Thierry Reding
    Signed-off-by: Dmitry Torokhov

    Thierry Reding
     
  • Finger touch events or very quick stylus events on low-quality panels
    can cause the tsc2007 to read bogus values. Looking at oscilloscope
    snapshots, this seems to be caused by the touch event disappearing
    during the measurements. These bogus values result in misclicks, where
    the X and Y values deviate from the real position.

    Most of these misclicks can be filtered out by setting a low enough
    threshold for the maximum resistance (which is loosely the inverse of
    the pressure) allowed to consider a set of values valid. Since this
    behaviour is largely dependent on the type and quality of the panel,
    this commit introduces the max_rt parameter. The default value is kept
    at MAX_12BIT.

    Signed-off-by: Thierry Reding
    Signed-off-by: Dmitry Torokhov

    Thierry Reding
     
  • When the controller signals a pen-down event via the platform-specific
    GPIO, while the sample values indicate an invalid measurement, the
    measurement needs to be repeated.

    Signed-off-by: Thierry Reding
    Signed-off-by: Dmitry Torokhov

    Thierry Reding
     

17 May, 2011

7 commits

  • As reported by Jean-Francois Dagenais, the wheel algorithm caused a
    divide by zero exception due to missing variable pre-initialization.
    In fact it turned out that the whole algorithm had several problems.
    It is therefore replaced with something that is known working.

    Signed-off-by: Michael Hennerich
    Tested-by: Jean-Francois Dagenais
    Signed-off-by: Dmitry Torokhov

    Michael Hennerich
     
  • Add option to specify irqflags in platfrom data.
    Also update copyright notice.

    Signed-off-by: Michael Hennerich
    Tested-by: Jean-Francois Dagenais
    Signed-off-by: Dmitry Torokhov

    Michael Hennerich
     
  • Fix two issues in the threshold and completion interrupt mask and unmask
    functions. According to the AD714x datasheets the highest stage completion
    interrupt should be enabled. Fix mask computation.

    Signed-off-by: Michael Hennerich
    Tested-by: Jean-Francois Dagenais
    Signed-off-by: Dmitry Torokhov

    Michael Hennerich
     
  • Add missing input name and set up parent devices so input devices will
    show in proper places in sysfs tree.

    Signed-off-by: Michael Hennerich
    Tested-by: Jean-Francois Dagenais
    Signed-off-by: Dmitry Torokhov

    Michael Hennerich
     
  • Apparently somewhere someone had a proprietary X driver. To get the
    multitouch info, it uses some hack on the normal API instead of using
    the multitouch protocol. Now that the multitouch info is transmitted
    correctly it makes not much sense to keep it. Especially because it's
    impossible to find this proprietary X driver anywhere, so the number of
    users must be very low.

    Signed-off-by: Éric Piel
    Reviewed-by: Henrik Rydberg
    Signed-off-by: Dmitry Torokhov

    Éric Piel
     
  • Multitouch info was reported only via a old protocol used by the
    proprietary X driver from elantech. Let's report the multitouch info
    also following the official MT protocol. It's semi-mt because the device
    only reports the lowest/highest coordinates.

    This was done following the multi-touch-protocol.txt documentation, and
    inspired by the bcm5974 and elantech implementations. Testing was light
    as there is not many applications using this protocol yet, but the X
    synaptics driver didn't complain and the X multitouch driver behaved
    correctly.

    Signed-off-by: Éric Piel
    Reviewed-by: Henrik Rydberg
    Signed-off-by: Dmitry Torokhov

    Éric Piel
     
  • Using the info of the Dell/Ubuntu driver, described in the protocol
    document, report both width and pressure when pressing 1 and 3
    fingers, for the versions of the touchpad which support it.

    Signed-off-by: Éric Piel
    Reviewed-by: Henrik Rydberg
    Signed-off-by: Dmitry Torokhov

    Éric Piel
     

15 May, 2011

1 commit


13 May, 2011

2 commits

  • This support was partially present in the existing code (look for
    "__tilegx__" ifdefs) but with this change you can build a working
    kernel using the TILE-Gx toolchain and ARCH=tilegx.

    Most of these files are new, generally adding a foo_64.c file
    where previously there was just a foo_32.c file.

    The ARCH=tilegx directive redirects to arch/tile, not arch/tilegx,
    using the existing SRCARCH mechanism in the top-level Makefile.

    Changes to existing files:

    - and changed to factor the
    include of in the common header.

    - and arch/tile/kernel/compat.c changed to remove
    the "const" markers I had put on compat_sys_execve() when trying
    to match some recent similar changes to the non-compat execve.
    It turns out the compat version wasn't "upgraded" to use const.

    - and were
    previously included accidentally, with the 32-bit contents. Now
    they have the proper 64-bit contents.

    Finally, I had to hack the existing hacky drivers/input/input-compat.h
    to add yet another "#ifdef" for INPUT_COMPAT_TEST (same as x86_64).

    Signed-off-by: Chris Metcalf
    Acked-by: Dmitry Torokhov [drivers/input]

    Chris Metcalf
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
    Input: ads7846 - remove unused variable from struct ads7845_ser_req
    Input: ads7846 - make transfer buffers DMA safe

    Linus Torvalds
     

12 May, 2011

7 commits


05 May, 2011

4 commits


04 May, 2011

2 commits


03 May, 2011

1 commit