06 Aug, 2016

1 commit

  • Pull more input updates from Dmitry Torokhov:
    "Two new drivers for touchscreen controllers:

    - Silead touchscreen controllers
    - SiS 9200 family touchscreen controllers

    and a few driver fixes"

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
    Input: silead - remove some dead code
    Input: sis-i2c - select CONFIG_CRC_ITU_T
    Input: add driver for SiS 9200 family I2C touchscreen controllers
    Input: ili210x - fix permissions on "calibrate" attribute
    Input: elan_i2c - properly wake up touchpad on ASUS laptops
    Input: add driver for Silead touchscreens
    Input: elantech - fix debug dump of the current packet
    Input: rotary_encoder - support binary encoding of states
    Input: xpad - power off wireless 360 controllers on suspend
    Input: i8042 - break load dependency between atkbd/psmouse and i8042
    Input: synaptics-rmi4 - do not check for NULL when calling of_node_put()
    Input: cros_ec_keyb - cleanup use of dev

    Linus Torvalds
     

04 Aug, 2016

3 commits


03 Aug, 2016

5 commits


02 Aug, 2016

1 commit

  • Pull ARM SoC driver updates from Olof Johansson:
    "Driver updates for ARM SoCs.

    A slew of changes this release cycle. The reset driver tree, that we
    merge through arm-soc for historical reasons, is also sizable this
    time around.

    Among the changes:

    - clps711x: Treewide changes to compatible strings, merged here for simplicity.
    - Qualcomm: SCM firmware driver cleanups, move to platform driver
    - ux500: Major cleanups, removal of old mach-specific infrastructure.
    - Atmel external bus memory driver
    - Move of brcmstb platform to the rest of bcm
    - PMC driver updates for tegra, various fixes and improvements
    - Samsung platform driver updates to support 64-bit Exynos platforms
    - Reset controller cleanups moving to devm_reset_controller_register() APIs
    - Reset controller driver for Amlogic Meson
    - Reset controller driver for Hisilicon hi6220
    - ARM SCPI power domain support"

    * tag 'armsoc-drivers' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (100 commits)
    ARM: ux500: consolidate base platform files
    ARM: ux500: move soc_id driver to drivers/soc
    ARM: ux500: call ux500_setup_id later
    ARM: ux500: consolidate soc_device code in id.c
    ARM: ux500: remove cpu_is_u* helpers
    ARM: ux500: use CLK_OF_DECLARE()
    ARM: ux500: move l2x0 init to .init_irq
    mfd: db8500 stop passing around platform data
    ASoC: ab8500-codec: remove platform data based probe
    ARM: ux500: move ab8500_regulator_plat_data into driver
    ARM: ux500: remove unused regulator data
    soc: raspberrypi-power: add CONFIG_OF dependency
    firmware: scpi: add CONFIG_OF dependency
    video: clps711x-fb: Changing the compatibility string to match with the smallest supported chip
    input: clps711x-keypad: Changing the compatibility string to match with the smallest supported chip
    pwm: clps711x: Changing the compatibility string to match with the smallest supported chip
    serial: clps711x: Changing the compatibility string to match with the smallest supported chip
    irqchip: clps711x: Changing the compatibility string to match with the smallest supported chip
    clocksource: clps711x: Changing the compatibility string to match with the smallest supported chip
    clk: clps711x: Changing the compatibility string to match with the smallest supported chip
    ...

    Linus Torvalds
     

28 Jul, 2016

4 commits

  • It's not advisable to use this encoding, but to support existing devices
    add support for this to the driver.

    Signed-off-by: Uwe Kleine-König
    Acked-by: Rob Herring
    Signed-off-by: Dmitry Torokhov

    Uwe Kleine-König
     
  • When the USB wireless adapter is suspended, the controllers
    lose their connection. This causes them to start flashing
    their LED rings and searching for the wireless adapter
    again, wasting the controller's battery power.

    Instead, we will tell the controllers to power down when
    we suspend. This mirrors the behavior of the controllers
    when connected to the console itself and how the official
    Xbox One wireless adapter behaves on Windows.

    Signed-off-by: Cameron Gutman
    Signed-off-by: Dmitry Torokhov

    Cameron Gutman
     
  • Pull input updates from Dmitry Torokhov:
    "Updates for the input subsystem. This contains the following new
    drivers promised in the last merge window:

    - driver for touchscreen controller found in Surface 3
    - driver for Pegasus Notetaker tablet
    - driver for Atmel Captouch Buttons
    - driver for Raydium I2C touchscreen controllers
    - powerkey driver for HISI 65xx SoC

    plus a few fixes"

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: (40 commits)
    Input: tty/vt/keyboard - use memdup_user()
    Input: pegasus_notetaker - set device mode in reset_resume() if in use
    Input: pegasus_notetaker - cancel workqueue's work in suspend()
    Input: pegasus_notetaker - fix usb_autopm calls to be balanced
    Input: pegasus_notetaker - handle usb control msg errors
    Input: wacom_w8001 - handle errors from input_mt_init_slots()
    Input: wacom_w8001 - resolution wasn't set for ABS_MT_POSITION_X/Y
    Input: pixcir_ts - add support for axis inversion / swapping
    Input: icn8318 - use of_touchscreen helpers for inverting / swapping axes
    Input: edt-ft5x06 - add support for inverting / swapping axes
    Input: of_touchscreen - add support for inverted / swapped axes
    Input: synaptics-rmi4 - use the RMI_F11_REL_BYTES define in rmi_f11_rel_pos_report
    Input: synaptics-rmi4 - remove unneeded variable
    Input: synaptics-rmi4 - remove pointer to rmi_function in f12_data
    Input: synaptics-rmi4 - support regulator supplies
    Input: raydium_i2c_ts - check CRC of incoming packets
    Input: xen-kbdfront - prefer xenbus_write() over xenbus_printf() where possible
    Input: fix a double word "is is" in include/linux/input.h
    Input: add powerkey driver for HISI 65xx SoC
    Input: apanel - spelling mistake - "skiping" -> "skipping"
    ...

    Linus Torvalds
     
  • As explained in 1407814240-4275-1-git-send-email-decui@microsoft.com we
    have a hard load dependency between i8042 and atkbd which prevents
    keyboard from working on Gen2 Hyper-V VMs.

    > hyperv_keyboard invokes serio_interrupt(), which needs a valid serio
    > driver like atkbd.c. atkbd.c depends on libps2.c because it invokes
    > ps2_command(). libps2.c depends on i8042.c because it invokes
    > i8042_check_port_owner(). As a result, hyperv_keyboard actually
    > depends on i8042.c.
    >
    > For a Generation 2 Hyper-V VM (meaning no i8042 device emulated), if a
    > Linux VM (like Arch Linux) happens to configure CONFIG_SERIO_I8042=m
    > rather than =y, atkbd.ko can't load because i8042.ko can't load(due to
    > no i8042 device emulated) and finally hyperv_keyboard can't work and
    > the user can't input: https://bugs.archlinux.org/task/39820
    > (Ubuntu/RHEL/SUSE aren't affected since they use CONFIG_SERIO_I8042=y)

    To break the dependency we move away from using i8042_check_port_owner()
    and instead allow serio port owner specify a mutex that clients should use
    to serialize PS/2 command stream.

    Reported-by: Mark Laws
    Tested-by: Mark Laws
    Cc: stable@vger.kernel.org
    Signed-off-by: Dmitry Torokhov

    Dmitry Torokhov
     

27 Jul, 2016

4 commits

  • Pull media updates from Mauro Carvalho Chehab:

    - new framework support for HDMI CEC and remote control support

    - new encoding codec driver for Mediatek SoC

    - new frontend driver: helene tuner

    - added support for NetUp almost universal devices, with supports
    DVB-C/S/S2/T/T2 and ISDB-T

    - the mn88472 frontend driver got promoted from staging

    - a new driver for RCar video input

    - some soc_camera legacy drivers got removed: timb, omap1, mx2, mx3

    - lots of driver cleanups, improvements and fixups

    * tag 'media/v4.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (377 commits)
    [media] cec: always check all_device_types and features
    [media] cec: poll should check if there is room in the tx queue
    [media] vivid: support monitor all mode
    [media] cec: fix test for unconfigured adapter in main message loop
    [media] cec: limit the size of the transmit queue
    [media] cec: zero unused msg part after msg->len
    [media] cec: don't set fh to NULL in CEC_TRANSMIT
    [media] cec: clear all status fields before transmit and always fill in sequence
    [media] cec: CEC_RECEIVE overwrote the timeout field
    [media] cxd2841er: Reading SNR for DVB-C added
    [media] cxd2841er: Reading BER and UCB for DVB-C added
    [media] cxd2841er: fix switch-case for DVB-C
    [media] cxd2841er: fix signal strength scale for ISDB-T
    [media] cxd2841er: adjust the dB scale for DVB-C
    [media] cxd2841er: provide signal strength for DVB-C
    [media] cxd2841er: fix BER report via DVBv5 stats API
    [media] mb86a20s: apply mask to val after checking for read failure
    [media] airspy: fix error logic during device register
    [media] s5p-cec/TODO: add TODO item
    [media] cec/TODO: drop comment about sphinx documentation
    ...

    Linus Torvalds
     
  • The of_node_put() function tests whether its argument is NULL and then
    returns immediately. Thus the test around the call is not needed.

    This issue was detected by using the Coccinelle software.

    Signed-off-by: Markus Elfring
    Signed-off-by: Dmitry Torokhov

    Markus Elfring
     
  • In cros_ec_keyb we stored "dev" in "struct cros_ec_keyb", but this was
    the EC's dev pointer and not the keyboard's. Let's clean this up to
    make it the keyboard's dev pointer. This could be useful in future
    patches but also has the nice effect of changing a few printouts to
    include the name of the keyboard device instead of the EC device, so we
    will see:

    [ 1.224648] cros-ec-keyb ff110000.spi:ec@0:keyboard-controller: valid_keys[00] = 0x14

    instead of:

    [ 1.224505] cros-ec-spi spi0.0: valid_keys[00] = 0x14

    Signed-off-by: Douglas Anderson
    Signed-off-by: Brian Norris
    Signed-off-by: Dmitry Torokhov

    Douglas Anderson
     
  • Prepare first round of input updates for 4.8 merge window.

    Dmitry Torokhov
     

23 Jul, 2016

1 commit

  • Pull input fixes from Dmitry Torokhov:
    "A few more fixes for the input subsystem:

    - restore naming for tsc2005 touchscreens as some userspace match on it
    - fix out of bound access in legacy keyboard driver
    - fixup in RMI4 driver

    Everything is tagged for stable as well"

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
    Input: tsc200x - report proper input_dev name
    tty/vt/keyboard: fix OOB access in do_compute_shiftstate()
    Input: synaptics-rmi4 - fix maximum size check for F12 control register 8

    Linus Torvalds
     

21 Jul, 2016

1 commit

  • Passes input_id struct to the common probe function for the tsc200x drivers
    instead of just the bustype.

    This allows for the use of the product variable to set the input_dev->name
    variable according to the type of touchscreen used. Note that when we
    introduced support for TSC2004 we started calling everything TSC200X, so
    let's keep this quirk.

    Signed-off-by: Michael Welling
    Cc: stable@vger.kernel.org
    Acked-by: Pavel Machek
    Acked-by: Pali Rohár
    Signed-off-by: Dmitry Torokhov

    Michael Welling
     

20 Jul, 2016

8 commits


16 Jul, 2016

6 commits


15 Jul, 2016

5 commits


14 Jul, 2016

1 commit