03 Aug, 2011

1 commit

  • Input close or device disable should not interact with the exported
    gpiolib functionality. However that's the case. __ad7879_disable()
    clears the entire AD7879_REG_CTRL2, while it should just power down
    the ADC and its reference.

    Signed-off-by: Michael Hennerich
    Signed-off-by: Dmitry Torokhov

    Michael Hennerich
     

19 Jul, 2011

2 commits


13 Jul, 2011

2 commits


05 Jul, 2011

3 commits

  • Currently, battery drivers also use poll_sample() provided by the
    wm97xx-core but this code always checks if the pen is down. Mark the
    channels which really need this (i.e. for the touchscreen) with the
    PEN_DOWN bit, and skip the checks otherwise. Now, the battery channels
    can always be read.

    Signed-off-by: Wolfram Sang
    Acked-by: Mark Brown
    Signed-off-by: Dmitry Torokhov

    Wolfram Sang
     
  • The current implementation of poll_sample() has the problem that one of
    its arguments, the channel to be selected, differs from wm9713 to other
    variants. This parameter gets passed to the (currently unused)
    mach-specific functions pre_sample() and post_sample() which thus have
    to deal with codec-specific differences. Refactor the routine so that
    the argument to poll_sample() is generic for all codecs and do necessary
    conversions only in the codec-specific driver. The outcome even uses
    less code and removes the non-standard use of the PEN_DOWN bit to mark
    the AUX-channels.

    Signed-off-by: Wolfram Sang
    Acked-by: Mark Brown
    Signed-off-by: Dmitry Torokhov

    Wolfram Sang
     
  • Signed-off-by: Wolfram Sang
    Acked-by: Mark Brown
    Signed-off-by: Dmitry Torokhov

    Wolfram Sang
     

04 Jul, 2011

2 commits


29 Jun, 2011

1 commit


28 Jun, 2011

2 commits


24 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
     

15 May, 2011

1 commit


12 May, 2011

2 commits


05 May, 2011

2 commits


04 May, 2011

1 commit


28 Apr, 2011

3 commits

  • Don't report BTN_TOUCH until we've got data as some less robust applications
    can be confused by getting a touch event by itself and it doesn't seem
    unreasonable for them to expect coordinates along with a touch.

    Signed-off-by: Mark Brown
    Signed-off-by: Dmitry Torokhov

    Mark Brown
     
  • This allows maximum flexibility for configuring the direct GPIO based
    interrupts.

    Signed-off-by: Mark Brown
    Signed-off-by: Dmitry Torokhov

    Mark Brown
     
  • If the WM831x pen down and data IRQs run in parallel it is possible for the
    data and pen down IRQs to deadlock themselves as one is part way through
    disabling its operation while the other is part way through enabling. Fix
    this by always disabling the pen down interrupt while data is active and
    vice versa. When a changeover is required we disable the IRQ that is to
    be stopped then schedule work that will enable the new IRQ.

    We need to handle the data flow in the data IRQ as the readback from the
    device needs to be ordered correctly with the IRQ for robust operation.

    This also fixes an issue when using the built in IRQs due to enable_irq()
    not being valid from interrupt context on an interrupt controller with bus
    operations like the built in IRQ controller - this issue may also have
    affected other interrupt controllers. We can't rely on having the data
    and pen down IRQs available via GPIOs on the CPU on every system.

    Signed-off-by: Mark Brown
    Signed-off-by: Dmitry Torokhov

    Mark Brown
     

23 Apr, 2011

1 commit


19 Apr, 2011

1 commit

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
    Input: xen-kbdfront - fix mouse getting stuck after save/restore
    Input: estimate number of events per packet
    Input: evdev - indicate buffer overrun with SYN_DROPPED
    Input: document event types and codes and their intended use
    Input: add KEY_IMAGES specifically for AL Image Browser
    Input: twl4030_keypad - fix potential NULL dereference in twl4030_kp_probe()
    Input: h3600_ts - fix error handling at connect
    Input: twl4030_keypad - avoid potential NULL-pointer dereference

    Linus Torvalds
     

13 Apr, 2011

3 commits


12 Apr, 2011

1 commit

  • Add MAXI max11801 resistive touchscreen controller driver. This driver
    uses Auto Mode and Aperture Mode.

    Support for other max1180x devices can be added to this driver as well,
    as they use almost the same register addresses and codes.

    You can find data sheet here:
    http://www.maxim-ic.com/datasheet/index.mvp/id/5943

    Signed-off-by: Zhang Jiejing
    Signed-off-by: Dmitry Torokhov

    Zhang Jiejing
     

08 Apr, 2011

1 commit


07 Apr, 2011

1 commit


06 Apr, 2011

1 commit

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
    Input: rpckbd - fix a leak of the IRQ during init failure
    Input: wacom - add support for Lenovo tablet ID (0xE6)
    Input: i8042 - downgrade selftest error message to dbg()
    Input: synaptics - fix crash in synaptics_module_init()
    Input: spear-keyboard - fix inverted condition in interrupt handler
    Input: uinput - allow for 0/0 min/max on absolute axes.
    Input: sparse-keymap - report KEY_UNKNOWN for unknown scan codes
    Input: sparse-keymap - report scancodes with key events
    Input: h3600_ts_input - fix a spelling error
    Input: wacom - report resolution for pen devices
    Input: wacom - constify wacom_features for a new missed Bamboo models

    Linus Torvalds
     

31 Mar, 2011

1 commit


29 Mar, 2011

1 commit


27 Mar, 2011

1 commit