aboutsummaryrefslogtreecommitdiff
path: root/include/linux/input
Commit message (Collapse)AuthorAgeFilesLines
* drivers: input: qpnp-power-on: Import OnePlus changesLuca Stefani2022-03-121-1/+69
| | | | Change-Id: Id18d77d2bb5d6ad03f532b7285559d4fe4ceaaad
* input: gpio-matrix-keypad: Accept device name from device nodeSwetha Chikkaboraiah2020-02-031-0/+1
| | | | | | | | | | The device name is not properly set if the platform device is created from device tree. Read "input-name" property to set the device name. Change-Id: Ib348df17f2222d88032435424cfcff9d37054ddd Signed-off-by: Swetha Chikkaboraiah <schikk@codeaurora.org> Signed-off-by: Chetan C R <cchinnad@codeaurora.org>
* input: touchscreen: cyttsp5: add new touch driverxigualu2019-06-103-0/+283
| | | | | | | | | | This is the reference driver source code for cyttsp5 touch driver. Change-Id: I9b57cac83cfa1ea6cc7f3a655cd65cba499c137c Signed-off-by: xigualu <luxh0702@thundersoft.com> Git-commit: 797867bcbaf7a9c3b7ef9d8652e65e148d90bb07 Git-repo: https://source.codeaurora.org/external/thundersoft/ihvjointlab/sensor-driver/commit/?h=Parade_cyttsp5 Signed-off-by: Fei Mao <feim1@codeaurora.org>
* input: synaptics_dsx_2.6: Add support for automatic FW upgradeVenkata Prahlad Valluru2018-09-031-0/+1
| | | | | | | | Enable firmware upgrade at startup. Add devicetree node to set the firmware name. Change-Id: I4dbbcbf223529f1bff02b2591957040f1fc7609d Signed-off-by: Venkata Prahlad Valluru <vvalluru@codeaurora.org>
* input: touchscreen: synaptics_2.6: Add regulator configuration supportVenkata Prahlad Valluru2018-05-251-0/+4
| | | | | | | | | Add bus and power regulator configurations for both active and suspend mode. Move to low power mode during idle suspend. Enable configuration options through device tree. Change-Id: Ic1509ab7e31e7488460a6cc86e5cd434a84fa7a8 Signed-off-by: Venkata Prahlad Valluru <vvalluru@codeaurora.org>
* input: gen_vkeys: squash commit from 3.14-kernelMohan Pallaka2018-04-251-0/+24
| | | | | | | | | | | | | | | | Squash and apply the following changes taken from the msm-3.14 kernel branch as of msm-3.14 commit 8139d0b4e7a6d ("ARM: dts: msm: Set flag to manage clks") c24a3df input: gen_vkeys: Make y_offset an optional property bb2ac18 vkeys: gen_vkeys: Add key position offset 1a6d213 input: Add support for virtual key generation Fix checkpatch errors. Change-Id: Ie0e14d201a42632af57ff23dc85cec8881125e5a Signed-off-by: Alex Sarraf <asarraf@codeaurora.org> Signed-off-by: Venkata Prahlad Valluru <vvalluru@codeaurora.org>
* input: touchscreen: Propagating fixes for ft5x06 from msm-3.18Amy Maloche2018-04-181-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is squash of the below gerrits from msm-3.18. feb6ad0 ft5x06: Set input property bit to indicate a direct input device 83310a9 input: ft5x06_ts: Add DT support 86797e8 input: ft5x06_ts: Add support for FB notifications d898291 input: ft5x06: Add support for firmware upgrade 0804395 input: ft5x06_ts: Add debugfs support 836a474 input: ft5x06_ts: Add support for protocol B 71e8bfd input: ft5x06_ts: Add debugfs entry for dump info 8a123ff input: touchpanel: Release all touches during suspend 77ab545 input: ft5x06_ts: Handle error if i2c read fails 550c106 input: ft5x06_ts: Disable regulators in suspend 4c142d1 input: touchpanel: fix the number of touch events detection 88dd4c2 input: ft5x06_ts: Add firmware upgrade support for ft6x06 473f8cd input: ft5x06_ts: Parse board specific parameters from pdata 88d102e input: ft5x06_ts: Upgrade firmware based on version 75184ddc input: touchscreen: remove PRESSURE event from ft5x06 driver d6e831b input: touchscreen: add option to ignore Focaltech family-id check 15725c2 input: touchscreen: ft5x06: remove unbalanced touch event 740d7b1 input: touchscreen: ft5x06: add FT5336 firmware update support a857895 input: touchscreen: ft5x06: fix firmware force update issue 4e8b58e input: touchscreen: request threaded-only IRQs with IRQF_ONESHOT a144428 input: ft5x06: add support when CONFIG_PM is not defined 20482b2 input: ft5x06_ts: remove deprecated apis in 3.18 kernel 6146c68 input: ft5x06_ts: add support for firmware update for CTP FT6X36 8399308 input: touchscreen: change the focaltech firmware upgrade method dba19fc input: ft5x06_ts: check vendor id before upgrade FT firmware 266d1fe input: ft5x06_ts: add support for pinctrl framework 7e2ea02 input: ft5x06_ts: fix the Focaltech CTP current leakage issue f09a056 input: focaltech: release pinctrl resources on probe failure 494eae3 input: ft5x06_ts: pinctrl and gpio config in suspend/resume path 5c6aa1b input: ft5x06_ts: add NULL pointer check d397de6 input: ft5x06_ts: add proximity feature support 8726963 ARM: dts: msm: correct Focaltech CTP irq flag configuration 5cc0bff input: ft5x06_ts: add gesture feature support f26889b4 input: ft5x06_ts: do not free input_dev after unregister it a409edae input: ft5x06_ts: fix compiling error in FT CTP driver 0796794 input: ft5x06_ts: correct the status of the pocket mode fb9da6c input: change sensors classdev device's parent to input devices e781db6 input: ft5x06_ts: add sysfs to access touch module info 6c5f9d2 input: ft5x06_ts: remove proximity sensor support 28783b9 input: ft5x06: defer touch resume to workqueue 4a64f8c input: ft5x06: add secure touch support for Focaltech on 8937 QRD 2a45585 input: ft5x06: creation of secure touch sysfs files cee9cca input: ft5x06: Add support for clocks for secure touch on 8937 QRD 6d6c08e input: ft5x06: check return value of kobject_create_and_add 3176095 input: ft5x06_ts: fix uninitialized references in ft5x06_ts Fix merge conflicts, checkpatch errors. Change-Id: I67976638d376f15f9fd649854dee3e5bf530399b Signed-off-by: Venkata Prahlad Valluru <vvalluru@codeaurora.org>
* Merge "input: ft5x06_ts: Add DT support"Linux Build Service Account2018-04-181-0/+47
|\
| * input: ft5x06_ts: Add DT supportMohan Pallaka2018-04-161-4/+20
| | | | | | | | | | | | | | | | | | | | Add device tree support for focaltech controller driver. The data is represented in device tree format and parsed by the driver using of framework apis. Change-Id: Ibcdd8c3579f401ac0632d670e1b7c674aa67ba8d Signed-off-by: Mohan Pallaka <mpallaka@codeaurora.org> Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
| * input: ft5x06_ts: Add driver for ft5x06 seriesMohan Pallaka2018-04-161-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | Ft5x06 controllers are single chip capacitive touch panel controller ICs with a built-in 8 bit Micro Controller Unit. It supports multi-touch capability and can detect up to five touches. Fix checkpatch errors. Change-Id: I39eb1175d473d1f2c463e1c4a0a1606307da9dc0 Signed-off-by: Mohan Pallaka <mpallaka@codeaurora.org> Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
* | input: touchscreen: enable/disable wakeup gestures for synaptics v2.6Venkata Prahlad Valluru2018-04-141-0/+1
|/ | | | | | | | Add devicetree property for wakeup gesture enable. Override this choice through sysfs. Change-Id: I61e386e89dda7ac12291a9b0138f649f71678ff8 Signed-off-by: Venkata Prahlad Valluru <vvalluru@codeaurora.org>
* input: synaptics_dsx_2.6: Propagating fixes from msm-3.18Shantanu Jain2018-02-051-0/+3
| | | | | | | | | | | | | | | | | | | | | This commit is a squash of all the below commits from the branch msm-3.18 with updated license and checkpatch errors fixed 25bdea0 input: synaptics_2.6: add pin control func for TMO project f24e4ec synaptics_dsx_2.6: not reinit when spontaneous reset is detected 1b62edb input: synaptics_dsx_2.6: correct secure_touch_init function 109cf15 input: synaptics_dsx_2.6: correct sysfs permissions a7ade8b5 input: synaptics_dsx_2.6: fix issues raised by static analyzer 5c47ba4 input: synaptics_dsx_2.6: fix CTP power issue for QRD8953 9832a75 input: synaptics: defer touch resume to workqueue for v2.6 driver 4059151 input: synaptics_dsx_2.6: Add support for clocks for secure touch 422e578 input: synaptics_dsx_2.6: remove fake touch points a75bcbc input: synaptics_dsx_2.6: creation of secure touch sysfs ifiles 4a580c2 synaptics_dsx_2.6: add secure touch support for Synaptics V2.6 Change-Id: Ice4e04189a6280d94ab09a426860975a65724635 Signed-off-by: Venkata Prahlad Valluru <vvalluru@codeaurora.org> Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
* input: synaptics_dsx_2.6: update driver to enable touch S332UMao Li2018-01-211-7/+7
| | | | | | | | | | | | Synaptics reference driver V2.6 is being cleaned up to enable touch controller S332U. Add Kconfig and Makefile changes to enable Synaptics dsx V2.6 driver's compilation. Clean checkpatch errors. CRs-Fixed: 943896 Change-Id: I7e79e9ee321b7a7c90d27f065281dc73cee65391 Signed-off-by: Mao Li <maol@codeaurora.org> Signed-off-by: Venkata Prahlad Valluru <vvalluru@codeaurora.org>
* input: touchpanel: Add Synaptics latest version 2.6 touchpanel driverMao Li2018-01-121-0/+111
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the reference driver source code for synaptics touch driver, the version is 2.6. All the new files are copied from the git commit: 7b6b9d126aca1f371e8abf3ae56d7a5a4e538f13 drivers/input/touchscreen/synaptics_dsx_2.6/synaptics_dsx_active_pen.c is copied from kernel/drivers/input/touchscreen/synaptics_dsx/synaptics_dsx_active_pen.c; drivers/input/touchscreen/synaptics_dsx_2.6/synaptics_dsx_core.c is copied from kernel/drivers/input/touchscreen/synaptics_dsx/synaptics_dsx_core.c; drivers/input/touchscreen/synaptics_dsx_2.6/synaptics_dsx_core.h is copied from kernel/drivers/input/touchscreen/synaptics_dsx/synaptics_dsx_core.h; drivers/input/touchscreen/synaptics_dsx_2.6/synaptics_dsx_fw_update.c is copied from kernel/drivers/input/touchscreen/synaptics_dsx/synaptics_dsx_fw_update.c; drivers/input/touchscreen/synaptics_dsx_2.6/synaptics_dsx_gesture.c is copied from kernel/drivers/input/touchscreen/synaptics_dsx/synaptics_dsx_gesture.c; drivers/input/touchscreen/synaptics_dsx_2.6/synaptics_dsx_i2c.c is copied from kernel/drivers/input/touchscreen/synaptics_dsx/synaptics_dsx_i2c.c; drivers/input/touchscreen/synaptics_dsx_2.6/synaptics_dsx_proximity.c is copied from kernel/drivers/input/touchscreen/synaptics_dsx/synaptics_dsx_proximity.c; drivers/input/touchscreen/synaptics_dsx_2.6/synaptics_dsx_rmi_dev.c is copied from kernel/drivers/input/touchscreen/synaptics_dsx/synaptics_dsx_rmi_dev.c; drivers/input/touchscreen/synaptics_dsx_2.6/synaptics_dsx_rmi_hid_i2c.c is copied from kernel/drivers/input/touchscreen/synaptics_dsx/synaptics_dsx_rmi_hid_i2c.c; drivers/input/touchscreen/synaptics_dsx_2.6/synaptics_dsx_spi.c is copied from kernel/drivers/input/touchscreen/synaptics_dsx/synaptics_dsx_spi.c; drivers/input/touchscreen/synaptics_dsx_2.6/synaptics_dsx_test_reporting.c is copied from kernel/drivers/input/touchscreen/synaptics_dsx/synaptics_dsx_test_reporting.c drivers/input/touchscreen/synaptics_dsx_2.6/synaptics_dsx_video.c is copied from kernel/drivers/input/touchscreen/synaptics_dsx/synaptics_dsx_video.c include/linux/input/synaptics_dsx_v2_6.h is copied from kernel/include/linux/input/synaptics_dsx.h Change-Id: Ifda2c38ca5b4a82c3363d8c59ae9da3839568e82 Signed-off-by: Mao Li <maol@codeaurora.org>
* Merge "input: touchpanel: Add Synaptics latest version 2.7 touchpanel driver"Linux Build Service Account2018-01-081-0/+113
|\
| * input: touchpanel: Add Synaptics latest version 2.7 touchpanel driverchenx2017-12-281-0/+113
| | | | | | | | | | | | | | | | | | | | | | | | This is the reference driver source code for synaptics touch driver, the version is 2.7.It is used for QVR845 touchscreen. Change-Id: I2b5a8ef1b354340a2a8afa4cc27e322672160a03 Signed-off-by: chenx <chenxiang0527@thundersoft.com> Git-commit: 485b00bb7275ac565328166de1365013a77122f2 Git-repo: https://source.codeaurora.org/external/thundersoft/ihvjointlab/sensor-driver/commit/?h=Synaptics_ctp_v2.7 [jinf@codeaurora.org: resolve trivial merge conflicts] Signed-off-by: Jin Fu <jinf@codeaurora.org>
* | drivers: power: reset: Do cold reset when doing oem rebootLijuan Gao2017-12-141-0/+5
|/ | | | | | | | | | | | | As the IMEM approach to store reset reason is deprecated, so use the spare register in PMIC power-on peripheral to store the oem restart reason. Bit-2 to bit-7 of SOFT_RB_SPARE for hard reset reason, so divide existing range into regions, value 0 to 31 for common defined features and 32 to 63 values are for OEMs/ODMs specific features. Change-Id: Ib8e64d6dd5a335325d0469280e41e9d10ec9b893 Signed-off-by: Lijuan Gao <lijuang@codeaurora.org>
* input: add snapshot of qpnp-power-on driverDavid Collins2017-01-111-0/+96
| | | | | | | | | | | | | | The qpnp-power-on driver provides support for key presses via several key specific PMIC inputs. It also supports reading power-on reasons and configuring the power-off type (i.e. restart, shutdown, etc). This snapshot is taken as of msm-4.4 commit 07f2f9952c78 ("input: move qpnp-power-on driver into input/misc directory"). Change-Id: Idcbaefa635d49075c9b93819766d722ca0eb698f Signed-off-by: David Collins <collinsd@codeaurora.org>
* Input: of_touchscreen - add support for inverted / swapped axesHans de Goede2016-07-151-1/+20
| | | | | | | | | | | | | | | Extend touchscreen_parse_properties() with support for the touchscreen-inverted-x/y and touchscreen-swapped-x-y properties and add touchscreen_set_mt_pos() and touchscreen_report_pos() helper functions for storing coordinates into a input_mt_pos struct, or directly reporting them, taking these properties into account. This commit also modifies the existing callers of touchscreen_parse_properties() to pass in NULL for the new third argument, keeping the existing behavior. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
* Input: cyttsp - switch to using device propertiesOreste Salerno2016-01-271-15/+0
| | | | | | | | | | Drop support for platform data passed via a C-structure and switch to device properties instead, which should make the driver compatible with all platforms: OF, ACPI and static boards. Static boards should use property sets to communicate device parameters to the driver. Signed-off-by: Oreste Salerno <oreste.salerno@tomtom.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
* Input: edt-ft5x06 - remove support for platform dataDmitry Torokhov2015-09-271-21/+0
| | | | | | | | We do not have any users of platform data in the tree and all newer platforms are either DT or ACPI, so let's drop handling of platform data. Tested-by: Franklin S Cooper Jr <fcooper@ti.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
* Input: edt-ft5x06 - switch to newer gpio frameworkFranklin S Cooper Jr2015-09-271-3/+0
| | | | | | | | | | | | | | | The current/old gpio framework used doesn't properly listen to ACTIVE_LOW and ACTIVE_HIGH flags. The newer gpio framework takes into account these flags when setting gpio values. Since the values being output were based on voltage and not logic they change to reflect this difference. Also use gpiod_set_value_cansleep since wake and reset pins can be provided by bus based io expanders. Switch from msleep(5) to udelay_range(5000,6000) to avoid check patch warning. Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
* Input: pixcir_i2c_ts - move platform dataDmitry Torokhov2015-07-111-64/+0
| | | | | | | | | Let's move driver's platform data definitions from include/linux/input/ into include/linux/platform_data/ so that it stays with the rest of platform data definitions. Acked-by: Roger Quadros <rogerq@ti.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
* Input: of_touchscreen - switch to using device propertiesDmitry Torokhov2015-07-111-9/+2
| | | | | | | | Let's switch form OF to device properties so that common parsing code could work not only on device tree but also on ACPI-based platforms. Reviewed-by: Roger Quadros <rogerq@ti.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
* Input: improve parsing OF parameters for touchscreensDmitry Torokhov2015-06-251-2/+3
| | | | | | | | | | When applying touchscreen parameters specified in device tree let's make sure we keep whatever setup was done by the driver and not reset the missing values to zero. Reported-by: Pavel Machek <pavel@ucw.cz> Tested-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
* Input: MT - add support for balanced slot assignmentHenrik Rydberg2015-02-011-1/+2
| | | | | | | | | | | | | | | | | Some devices are not fast enough to differentiate between a fast-moving contact and a new contact. This problem cannot be fully resolved because information is truly missing, but it is possible to safe-guard against obvious mistakes by restricting movement with a maximum displacement. The new problem formulation for dmax > 0 cannot benefit from the speedup for positive definite matrices, but since the convergence is faster, the result is about the same. For a handful of contacts, the latency difference is truly negligible. Suggested-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Tested-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Henrik Rydberg <rydberg@bitmath.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
* Input: MT - make slot cleanup callable outside mt_sync_frame()Henrik Rydberg2014-08-071-0/+1
| | | | | | | | | | Some semi-mt drivers use the slots in a manual way, but may still want to call parts of the frame synchronization logic. This patch makes input_mt_drop_unused callable from those drivers. Signed-off-by: Henrik Rydberg <rydberg@euromail.se> Reviewed-by: Benson Leung <bleung@chromium.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
* Input: pixcir_i2c_ts - support up to 5 fingers and hardware tracking IDsRoger Quadros2014-07-281-0/+12
| | | | | | | | Some variants of the Pixcir touch controller support up to 5 simultaneous fingers and hardware tracking IDs. Prepare the driver for that. Signed-off-by: Roger Quadros <rogerq@ti.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
* Input: add common DT binding for touchscreensSebastian Reichel2014-05-291-0/+22
| | | | | | | | | | | | | | Add common DT binding documentation for touchscreen devices and implement input_parse_touchscreen_of_params, which parses the common properties and configures the input device accordingly. The method currently does not interpret the axis inversion properties, since there is no matching flag in the generic linux input device. Reviewed-by: Pavel Machek <pavel@ucw.cz> Acked-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Sebastian Reichel <sre@kernel.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
* Input: pixcir_i2c_ts - get rid of pdata->attb_read_val()Roger Quadros2014-05-181-1/+1
| | | | | | | | | | | Get rid of the attb_read_val() platform hook. Instead, read the ATTB gpio directly from the driver. Fail if valid ATTB gpio is not provided by patform data. Signed-off-by: Roger Quadros <rogerq@ti.com> Acked-by: Mugunthan V N <mugunthanvnm@ti.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
* Input: pixcir_i2c_ts - initialize interrupt mode and power modeRoger Quadros2014-05-181-0/+42
| | | | | | | | | | | | | Introduce helper functions to configure power and interrupt registers. Default to IDLE mode on probe as device supports auto wakeup to ACVIE mode on detecting finger touch. Configure interrupt mode and polarity on start up. Power down on device closure or module removal. Signed-off-by: Roger Quadros <rogerq@ti.com> Acked-by: Mugunthan V N <mugunthanvnm@ti.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
* Input: pmic8xxx-pwrkey - migrate to DTStephen Boyd2014-03-301-31/+0
| | | | | | | | The driver is only supported on DT enabled platforms. Convert the driver to DT so that it can probe properly. Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
* Input: pmic8xxx-keypad - migrate to DTStephen Boyd2014-03-301-52/+0
| | | | | | | | The driver is only supported on DT enabled platforms. Convert the driver to DT so that it can probe properly. Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
* Merge tag 'mfd-3.11-1' of ↵Linus Torvalds2013-07-101-23/+0
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-next Pull MFD update from Samuel Ortiz: "For the 3.11 merge we only have one new MFD driver for the Kontron PLD. But we also have: - Support for the TPS659038 PMIC from the palmas driver. - Intel's Coleto Creek and Avoton SoCs support from the lpc_ich driver. - RTL8411B support from the rtsx driver. - More DT support for the Arizona, max8998, twl4030-power and the ti_am335x_tsadc drivers. - The SSBI driver move under MFD. - A conversion to the devm_* API for most of the MFD drivers. - The twl4030-power got split from twl-core into its own module. - A major ti_am335x_adc cleanup, leading to a proper DT support. - Our regular arizona and wm* updates and cleanups from the Wolfson folks. - A better error handling and initialization, and a regulator subdevice addition for the 88pm80x driver. - A bulk platform_set_drvdata() call removal that's no longer need since commit 0998d0631001 ("device-core: Ensure drvdata = NULL when no driver is bound") * tag 'mfd-3.11-1' of git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-next: (102 commits) mfd: sec: Provide max_register to regmap mfd: wm8994: Remove duplicate check for active JACKDET MAINTAINERS: Add include directory to MFD file patterns mfd: sec: Remove fields not used since regmap conversion watchdog: Kontron PLD watchdog timer driver mfd: max8998: Add support for Device Tree regulator: max8998: Use arrays for specifying voltages in platform data mfd: max8998: Add irq domain support regulator: palmas: Add TPS659038 support mfd: Kontron PLD mfd driver mfd: palmas: Add TPS659038 PMIC support mfd: palmas: Add SMPS10_BOOST feature mfd: palmas: Check if irq is valid mfd: lpc_ich: iTCO_wdt patch for Intel Coleto Creek DeviceIDs mfd: twl-core: Change TWL6025 references to TWL6032 mfd: davinci_voicecodec: Fix build breakage mfd: vexpress: Make the driver optional for arm and arm64 mfd: htc-egpio: Use devm_ioremap_nocache() instead of ioremap_nocache() mfd: davinci_voicecodec: Convert to use devm_* APIs mfd: twl4030-power: Fix relocking on error ...
| * input: mfd: ti_am335x_tsc remove remaining platform data piecesSebastian Andrzej Siewior2013-06-121-35/+0
| | | | | | | | | | | | | | The two header files removed here are unused and have no users as this platform was never used with platform devices. Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
| * input: ti_am33x_tsc: Order of TSC wires, made configurablePatil, Rachna2013-06-121-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | The current driver expected touchscreen input wires(XP,XN,YP,YN) to be connected in a particular order. Making changes to accept this as platform data. Sebastian reworked the original patch and removed a lot of the not required pieces. Signed-off-by: Patil, Rachna <rachna@ti.com> Signed-off-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
* | Merge branch 'next' into for-linusDmitry Torokhov2013-07-021-0/+19
|\| | | | | | | Prepare first set of updates for 3.11 merge window.
| * Merge tag 'mfd-3.10-1' of ↵Linus Torvalds2013-05-051-0/+19
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-next Pull MFD update from Samuel Ortiz: "For 3.10 we have a few new MFD drivers for: - The ChromeOS embedded controller which provides keyboard, battery and power management services. This controller is accessible through i2c or SPI. - Silicon Laboratories 476x controller, providing access to their FM chipset and their audio codec. - Realtek's RTS5249, a memory stick, MMC and SD/SDIO PCI based reader. - Nokia's Tahvo power button and watchdog device. This device is very similar to Retu and is thus supported by the same code base. - STMicroelectronics STMPE1801, a keyboard and GPIO controller supported by the stmpe driver. - ST-Ericsson AB8540 and AB8505 power management and voltage converter controllers through the existing ab8500 code. Some other drivers got cleaned up or improved. In particular: - The Linaro/STE guys got the ab8500 driver in sync with their internal code through a series of optimizations, fixes and improvements. - The AS3711 and OMAP USB drivers now have DT support. - The arizona clock and interrupt handling code got improved. - The wm5102 register patch and boot mechanism also got improved." * tag 'mfd-3.10-1' of git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-next: (104 commits) mfd: si476x: Don't use 0bNNN mfd: vexpress: Handle pending config transactions mfd: ab8500: Export ab8500_gpadc_sw_hw_convert properly mfd: si476x: Fix i2c warning mfd: si476x: Add header files and Kbuild plumbing mfd: si476x: Add chip properties handling code mfd: si476x: Add the bulk of the core driver mfd: si476x: Add commands abstraction layer mfd: rtsx: Support RTS5249 mfd: retu: Add Tahvo support mfd: ucb1400: Pass ucb1400-gpio data through ac97 bus mfd: wm8994: Add some OF properties mfd: wm8994: Add device ID data to WM8994 OF device IDs input: Export matrix_keypad_parse_of_params() mfd: tps65090: Add compatible string for charger subnode mfd: db8500-prcmu: Support platform dependant device selection mfd: syscon: Fix warnings when printing resource_size_t of: Add stub of_get_parent for non-OF builds mfd: omap-usb-tll: Convert to devm_ioremap_resource() mfd: omap-usb-host: Convert to devm_ioremap_resource() ...
| | * input: matrix-keymap: Add function to read the new DT bindingSimon Glass2013-04-051-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We now have a binding which adds two parameters to the matrix keypad DT node. This is separate from the GPIO-driven matrix keypad binding, and unfortunately incompatible, since that uses row-gpios/col-gpios for the row and column counts. So the easiest option here is to provide a function for non-GPIO drivers to use to decode the binding. Note: We could in fact create an entirely separate structure to hold these two fields, but it does not seem worth it, yet. If we have more parameters then we can add this, and then refactor each driver to hold such a structure. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Tested-by: Sourav Poddar <sourav.poddar@ti.com> (v2) Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
* | | Input: tps6507x-ts - remove vref from platform dataDmitry Torokhov2013-06-251-1/+0
|/ / | | | | | | | | | | | | | | Although defined in platform data, vref is not used anywhere. Also remove model, irq, and clear_penirq as they are not used either. Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
* | Input: MT - handle semi-mt devices in coreHenrik Rydberg2013-04-071-0/+1
| | | | | | | | | | | | | | | | | | Most semi-mt drivers use the slots in a manual way, but really only need to treat the finger count manually. With this patch, a semi-mt driver may use the input-mt core for everything else. Signed-off-by: Henrik Rydberg <rydberg@euromail.se> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
* | Merge tag 'v3.9-rc3' into nextDmitry Torokhov2013-03-173-17/+29
|\| | | | | | | | | Merge with mainline to bring in module_platform_driver_probe() and devm_ioremap_resource().
| * Merge branch 'for-linus' of ↵Linus Torvalds2013-02-202-62/+2
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input Pull input updates from Dmitry Torokhov: "Two new touchpad drivers - Cypress APA I2C Trackpad and Cypress PS/2 touchpad and a big update to ALPS driver from Kevin Cernekee that adds support for "Rushmore" touchpads and paves way for adding support for "Dolphin" touchpads. There is also a new input driver for Goldfish emulator and also Android keyreset driver was folded into SysRq code. A few more drivers were updated with device tree bindings and others got some small cleanups and fixes." * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: (55 commits) Input: cyttsp-spi - remove duplicate MODULE_ALIAS() Input: tsc2005 - add MODULE_ALIAS Input: tegra-kbc - require CONFIG_OF, remove platform data Input: synaptics - initialize pointer emulation usage Input: MT - do not apply filtering on emulated events Input: bma150 - make some defines public and fix some comments Input: bma150 - fix checking pm_runtime_get_sync() return value Input: ALPS - enable trackstick on Rushmore touchpads Input: ALPS - add support for "Rushmore" touchpads Input: ALPS - make the V3 packet field decoder "pluggable" Input: ALPS - move pixel and bitmap info into alps_data struct Input: ALPS - fix command mode check Input: ALPS - rework detection of Pinnacle AGx touchpads Input: ALPS - move {addr,nibble}_command settings into alps_set_defaults() Input: ALPS - use function pointers for different protocol handlers Input: ALPS - rework detection sequence Input: ALPS - introduce helper function for repeated commands Input: ALPS - move alps_get_model() down below hw_init code Input: ALPS - copy "model" info into alps_data struct Input: ALPS - document the alps.h data structures ...
| * \ Merge branch 'for-linus' of ↵Linus Torvalds2012-12-181-8/+2
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input Pull second round of input updates from Dmitry Torokhov: "As usual, there are a couple of new drivers, input core now supports managed input devices (devres), a slew of drivers now have device tree support and a bunch of fixes and cleanups." * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: (71 commits) Input: walkera0701 - fix crash on startup Input: matrix-keymap - provide a proper module license Input: gpio_keys_polled - switch to using gpio_request_one() Input: gpio_keys - switch to using gpio_request_one() Input: wacom - fix touch support for Bamboo Fun CTH-461 Input: xpad - add a few new VID/PID combinations Input: xpad - minor formatting fixes Input: gpio-keys-polled - honor 'autorepeat' setting in platform data Input: tca8418-keypad - switch to using managed resources Input: tca8418_keypad - increase severity of failures in probe() Input: tca8418_keypad - move device ID tables closer to where they are used Input: tca8418_keypad - use dev_get_platdata() to retrieve platform data Input: tca8418_keypad - use a temporary variable for parent device Input: tca8418_keypad - add support for shared interrupt Input: tca8418_keypad - add support for device tree bindings Input: remove Compaq iPAQ H3600 (Bitsy) touchscreen driver Input: bu21013_ts - add support for Device Tree booting Input: bu21013_ts - move GPIO init and exit functions into the driver Input: bu21013_ts - request regulator that actually exists ARM: ux500: Strip out duplicate touch screen platform information ...
| * \ \ Merge tag 'mfd-3.8-1' of ↵Linus Torvalds2012-12-162-17/+23
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-2.6 Pull MFS update from Samuel Ortiz: "This is the MFD patch set for the 3.8 merge window. We have several new drivers, most of the time coming with their sub devices drivers: - Austria Microsystem's AS3711 - Nano River's viperboard - TI's TPS80031, AM335x TS/ADC, - Realtek's MMC/memstick card reader - Nokia's retu We also got some notable cleanups and improvements: - tps6586x got converted to IRQ domains. - tps65910 and tps65090 moved to the regmap IRQ API. - STMPE is now Device Tree aware. - A general twl6040 and twl-core cleanup, with moves to the regmap I/O and IRQ APIs and a conversion to the recently added PWM framework. - sta2x11 gained regmap support. Then the rest is mostly tiny cleanups and fixes, among which we have Mark's wm5xxx and wm8xxx patchset." Far amount of annoying but largely trivial conflicts. Many due to __devinit/exit removal, others due to one or two of the new drivers also having come in through another tree. * tag 'mfd-3.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-2.6: (119 commits) mfd: tps6507x: Convert to devm_kzalloc mfd: stmpe: Update DT support for stmpe driver mfd: wm5102: Add readback of DSP status 3 register mfd: arizona: Log if we fail to create the primary IRQ domain mfd: tps80031: MFD_TPS80031 needs to select REGMAP_IRQ mfd: tps80031: Add terminating entry for tps80031_id_table mfd: sta2x11: Fix potential NULL pointer dereference in __sta2x11_mfd_mask() mfd: wm5102: Add tuning for revision B mfd: arizona: Defer patch initialistation until after first device boot mfd: tps65910: Fix wrong ack_base register mfd: tps65910: Remove unused data mfd: stmpe: Get rid of irq_invert_polarity mfd: ab8500-core: Fix invalid free of devm_ allocated data mfd: wm5102: Mark DSP memory regions as volatile mfd: wm5102: Correct default for LDO1_CONTROL_2 mfd: arizona: Register haptics devices mfd: wm8994: Make current device behaviour the default mfd: tps65090: MFD_TPS65090 needs to select REGMAP_IRQ mfd: Fix stmpe.c build when OF is not enabled mfd: jz4740-adc: Use devm_kzalloc ...
| | * | | input: TSC: ti_tscadc: Rename the existing touchscreen driverPatil, Rachna2012-11-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make way for addition of MFD driver. The existing touchsreen driver is a MFD client. For better readability we rename the file to indicate its functionality as only touchscreen. Signed-off-by: Patil, Rachna <rachna@ti.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
| | * | | input: TSC: ti_tscadc: Add Step configuration as platform dataPatil, Rachna2012-11-051-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are 16 programmable Step Configuration registers which are used by the sequencer. Program the Steps in order to configure a channel input to be sampled. If the same step is applied several times, the coordinate values read are more accurate. Hence we provide the user an option of how many steps should be configured. For ex: If this value is assigned as 4, This means that 4 steps are applied to read x co-ordinate and 4 steps to read y co-ordinate. Furtheron the interrupt handler already holds code to use delta filter and report the best value out of these values to the input sub-system. Signed-off-by: Patil, Rachna <rachna@ti.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
| * | | | Input: mt: add input_mt_is_usedBenjamin Tissoires2012-11-151-0/+6
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch extracts the test (slot->frame == mt->frame) so that it can be used in third party drivers. Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com> Reviewed-by: Henrik Rydberg <rydberg@euromail.se> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
| * | | Merge branch 'for-linus' of ↵Linus Torvalds2012-10-021-0/+62
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input Pull input updates from Dmitry Torokhov: "A few drivers were updated with device tree bindings and others got a few small cleanups and fixes." Fix trivial conflict in drivers/input/keyboard/omap-keypad.c due to changes clashing with a whitespace cleanup. * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: (28 commits) Input: wacom - mark Intuos5 pad as in-prox when touching buttons Input: synaptics - adjust threshold for treating position values as negative Input: hgpk - use %*ph to dump small buffer Input: gpio_keys_polled - fix dt pdata->nbuttons Input: Add KD[GS]KBDIACRUC ioctls to the compatible list Input: omap-keypad - fixed formatting Input: tegra - move platform data header Input: wacom - add support for EMR on Cintiq 24HD touch Input: s3c2410_ts - make s3c_ts_pmops const Input: samsung-keypad - use of_get_child_count() helper Input: samsung-keypad - use of_match_ptr() Input: uinput - fix formatting Input: uinput - specify exact bit sizes on userspace APIs Input: uinput - mark failed submission requests as free Input: uinput - fix race that can block nonblocking read Input: uinput - return -EINVAL when read buffer size is too small Input: uinput - take event lock when fetching events from buffer Input: get rid of MATCH_BIT() macro Input: rotary-encoder - add DT bindings Input: rotary-encoder - constify platform data pointers ...
* | | | | Input: auo-pixcir-ts - handle reset gpio directlyHeiko Stübner2013-02-241-3/+1
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Devicetree based platforms don't handle device callbacks very well and until now no board has come along that needs more extended hwinit than pulling the rst gpio high. Therefore pull the reset handling directly into the driver and remove the callbacks from the driver. If extended device setup is needed at some later point, power-sequences would probably be the solution of choice. Signed-off-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>