[PATCH v6 3/3] platform/x86: Enable Atom PMC platform clocks

2016-12-09 Thread Irina Tirdea
clocks are available for general system use, where appropriate. For example, the usage for platform clocks suggested in the datasheet is the following: PLT_CLK[2:0] - Camera PLT_CLK[3] - Audio Codec PLT_CLK[4] - PLT_CLK[5] - COMMs Signed-off-by: Irina Tirdea Signed-off-by: Pierre-Louis Bossart

[PATCH v6 1/3] clk: x86: Add Atom PMC platform clocks

2016-12-09 Thread Irina Tirdea
clocks are available for general system use, where appropriate, and each have Control & Frequency register fields associated with them. Signed-off-by: Irina Tirdea Signed-off-by: Pierre-Louis Bossart --- drivers/clk/x86/Makefile | 3 + drivers/clk/x86/clk-byt-p

[PATCH v6 2/3] arch/x86/platform/atom: Move pmc_atom to drivers/platform/x86

2016-12-09 Thread Irina Tirdea
The pmc_atom driver does not contain any architecture specific code. It only enables the SOC Power Management Controller Driver for BayTrail and CherryTrail platforms. Move the pmc_atom driver from arch/x86/platform/atom to drivers/platform/x86. Signed-off-by: Irina Tirdea --- arch/x86/Kconfig

[PATCH v6 0/3] Add platform clock for BayTrail platforms

2016-12-09 Thread Irina Tirdea
ister/clkdev_create Irina Tirdea (3): clk: x86: Add Atom PMC platform clocks arch/x86/platform/atom: Move pmc_atom to drivers/platform/x86 platform/x86: Enable Atom PMC platform clocks arch/x86/Kconfig | 4 - arch/x86/platform/atom/Mak

[PATCH v5 1/2] arch/x86/platform/atom: Move pmc_atom to drivers/platform/x86

2016-12-07 Thread Irina Tirdea
The pmc_atom driver does not contain any architecture specific code. It only enables the SOC Power Management Controller Driver for BayTrail and CherryTrail platforms. Move the pmc_atom driver from arch/x86/platform/atom to drivers/platform/x86. Signed-off-by: Irina Tirdea --- arch/x86/Kconfig

[PATCH v5 0/2] Add platform clock for BayTrail platforms

2016-12-07 Thread Irina Tirdea
using pmc_atom_read()/write() and use readl/writel API instead - use devm_clk_hw_register/clkdev_hw_create instead of clk_register/clkdev_create Irina Tirdea (2): arch/x86/platform/atom: Move pmc_atom to drivers/platform/x86 clk: x86: Add Atom PMC platform clocks arch/x86/Kc

[PATCH v5 2/2] clk: x86: Add Atom PMC platform clocks

2016-12-07 Thread Irina Tirdea
LK[5] - COMMs Signed-off-by: Irina Tirdea Signed-off-by: Pierre-Louis Bossart --- drivers/clk/x86/Makefile | 1 + drivers/clk/x86/clk-byt-plt.c | 380 ++ drivers/platform/x86/Kconfig | 1 + drivers/platform/x86/pmc_at

[RESEND PATCH v4] clk: x86: Add Atom PMC platform clocks

2016-10-17 Thread Irina Tirdea
LK[5] - COMMs Signed-off-by: Irina Tirdea Signed-off-by: Pierre-Louis Bossart --- Hi, This patch specifically enables the audio MCLK required by Baytrail CR devices (support already merged in Mark's tree). The patch has already been reviewed by Stephen Boyd [1]. The only remaining question i

[PATCH v12 0/5] Goodix touchscreen enhancements

2016-09-10 Thread Irina Tirdea
v12: - add documentation for configuration firmware update - minor changes due to rebase - add 2 new patches to fix reset sequence and add support for gt9157 Previous changes: https://lkml.org/lkml/2015/11/19/241 Irina Tirdea (5): Input: goodix - add sysfs interface to dump config Input

[PATCH v12 3/5] Input: goodix - add runtime power management support

2016-09-10 Thread Irina Tirdea
management support is only available if the gpio pins are properly initialized from ACPI/DT. Signed-off-by: Irina Tirdea --- drivers/input/touchscreen/goodix.c | 156 + 1 file changed, 142 insertions(+), 14 deletions(-) diff --git a/drivers/input/touchscreen

[PATCH v12 5/5] Input: goodix - add support for gt9157

2016-09-10 Thread Irina Tirdea
Goodix touchscreen GT9157 has the same basic functionality as GT911 touchscreen. This is based on Goodix datasheets for GT911 and GT9157 and on Goodix driver gt9xx.c for Android (publicly available in Android kernel trees for various devices). Signed-off-by: Irina Tirdea --- Documentation

[PATCH v12 2/5] Input: goodix - add support for ESD

2016-09-10 Thread Irina Tirdea
... } }) } The ESD protection mechanism is only available if the gpio pins are properly initialized from ACPI/DT. This is based on Goodix datasheets for GT911 and GT9271 and on Goodix driver gt9xx.c for Android (publicly available in Android kernel trees for various devices). Sign

[PATCH v12 1/5] Input: goodix - add sysfs interface to dump config

2016-09-10 Thread Irina Tirdea
its configuration. This sysfs interface will be exported only if the gpio pins are properly initialized from ACPI/DT. Signed-off-by: Irina Tirdea --- Documentation/input/goodix.txt | 84 ++ drivers/input/touchscreen/goodix.c | 64

[PATCH v12 4/5] Input: goodix - fix reset sequence

2016-09-10 Thread Irina Tirdea
: Irina Tirdea --- drivers/input/touchscreen/goodix.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/input/touchscreen/goodix.c b/drivers/input/touchscreen/goodix.c index 182ff9c..6fba804 100644 --- a/drivers/input/touchscreen/goodix.c +++ b/drivers/input/touchscreen/goodix.c

[RFC PATCH v2 0/3] Add ACPI support for pinctrl configuration

2016-04-05 Thread Irina Tirdea
- define pinconf_generic_dt_node_to_map since it is used by pinctrl sirf driver - add dependency on PINCONF_GENERIC to the entire ACPI parsing code - dropped first patch from the series since it got merged ("pinctrl: Rename pinctrl_utils_dt_free_map to pinctrl_utils_free_map") Irina Tirdea (3): pinctrl: pinco

[RFC PATCH v2 1/3] pinctrl: pinconf-generic: Add ACPI support

2016-04-05 Thread Irina Tirdea
Add ACPI support for the generic device tree properties. Convert the pinconf generic code to handle both ACPI and device tree by using the fwnode_property API. Also include renaming device tree references in names of functions and structures from 'dt' to 'fwnode'. Signed-

[RFC PATCH v2 3/3] pinctrl: Parse GpioInt/GpioIo resources

2016-04-05 Thread Irina Tirdea
Parse GpioInt/GpioIo ACPI resources and use the pin configuration information to generate pin controller maps. These maps are associated with the "default" state, only if this state is defined in the _DSD of the acpi device. Signed-off-by: Irina Tirdea --- Documentation/ac

[RFC PATCH v2 2/3] pinctrl: Add ACPI support

2016-04-05 Thread Irina Tirdea
configuration node supports the generic device tree properties. The implementation is based on device tree code from devicetree.c. Signed-off-by: Irina Tirdea --- Documentation/acpi/pinctrl-properties.txt | 284 + drivers/pinctrl/Makefile | 1 + drivers

[RFC PATCH 2/4] pinctrl: pinconf-generic: Add ACPI support

2016-03-31 Thread Irina Tirdea
Add ACPI support for the generic device tree properties. Convert the pinconf generic code to handle both ACPI and device tree by using the fwnode_property API. Also include renaming device tree references in names of functions and structures from 'dt' to 'fwnode'. Signed-

[RFC PATCH 0/4] Add ACPI support for pinctrl configuration

2016-03-31 Thread Irina Tirdea
device tree, while pincontroller drivers can also define custom ones. Irina Tirdea (4): pinctrl: Rename pinctrl_utils_dt_free_map to pinctrl_utils_free_map pinctrl: pinconf-generic: Add ACPI support pinctrl: Add ACPI support pinctrl: Parse GpioInt/GpioIo resources Documentation/acpi

[RFC PATCH 4/4] pinctrl: Parse GpioInt/GpioIo resources

2016-03-31 Thread Irina Tirdea
Parse GpioInt/GpioIo ACPI resources and use the pin configuration information to generate pin controller maps. These maps are associated with the "default" state, only if this state is defined in the _DSD of the acpi device. Signed-off-by: Irina Tirdea --- Documentation/ac

[RFC PATCH 3/4] pinctrl: Add ACPI support

2016-03-31 Thread Irina Tirdea
configuration node supports the generic device tree properties. The implementation is based on device tree code from devicetree.c. Signed-off-by: Irina Tirdea --- Documentation/acpi/pinctrl-properties.txt | 274 + drivers/pinctrl/Makefile | 1 + drivers

[RFC PATCH 1/4] pinctrl: Rename pinctrl_utils_dt_free_map to pinctrl_utils_free_map

2016-03-31 Thread Irina Tirdea
: Irina Tirdea --- drivers/pinctrl/bcm/pinctrl-bcm281xx.c | 2 +- drivers/pinctrl/bcm/pinctrl-cygnus-mux.c | 2 +- drivers/pinctrl/bcm/pinctrl-iproc-gpio.c | 2 +- drivers/pinctrl/bcm/pinctrl-nsp-gpio.c | 2 +- drivers/pinctrl/berlin/berlin.c | 2

[PATCH v2 1/1] iio: gyro: bmg160: fix endianness when reading axes

2016-03-29 Thread Irina Tirdea
big endian platforms. Fix endianness for big endian platforms by converting the values for the axes read from little endian to cpu. This is also partially fixed in commit 82d8e5da1a33 ("iio: accel: bmg160: optimize transfers in trigger handler"). Signed-off-by: Irina Tirdea --- Chang

[PATCH v2 1/1] iio: accel: bmc150: fix endianness when reading axes

2016-03-29 Thread Irina Tirdea
big endian platforms. Fix endianness for big endian platforms by converting the values for the axes read from little endian to cpu. This is also partially fixed in commit b6fb9b6d6552 ("iio: accel: bmc150: optimize transfers in trigger handler"). Signed-off-by: Irina Tirdea --- Chang

[PATCH v3 1/1] iio: accel: bmc150: use common definition for regmap conf

2016-03-29 Thread Irina Tirdea
bmc150_i2c_regmap_conf is defined three times (in bmc150-accel-core.c, bmc150-accel-i2c.c and and bmc150-accel-spi.c), although the definition is the same. Use one common definition for bmc150_i2c_regmap_conf in all included files. Signed-off-by: Irina Tirdea --- Changes from v2: - fix spi

[PATCH v2 1/1] iio: accel: bmc150: use common definition for regmap conf

2016-03-28 Thread Irina Tirdea
bmc150_i2c_regmap_conf is defined three times (in bmc150-accel-core.c, bmc150-accel-i2c.c and and bmc150-accel-spi.c), although the definition is the same. Use one common definition for bmc150_i2c_regmap_conf in all included files. Signed-off-by: Irina Tirdea --- Changes from v1: - instead

[PATCH 1/1] iio: gyro: bmg160: fix buffer read values

2016-03-28 Thread Irina Tirdea
mg160: optimize transfers in trigger handler"). Signed-off-by: Irina Tirdea --- drivers/iio/gyro/bmg160_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/gyro/bmg160_core.c b/drivers/iio/gyro/bmg160_core.c index 295cf1d..e165ce9 100644 --- a/driver

[PATCH 1/1] iio: gyro: bmg160: fix endianness when reading axes

2016-03-28 Thread Irina Tirdea
big endian platforms. Fix endianness for big endian platforms by converting the values for the axes read from little endian to cpu. This is also partially fixed in commit 82d8e5da1a33 ("iio: accel: bmg160: optimize transfers in trigger handler"). Signed-off-by: Irina Tirdea --- driver

[PATCH 1/1] iio: accel: bmc150: fix endianness when reading axes

2016-03-28 Thread Irina Tirdea
big endian platforms. Fix endianness for big endian platforms by converting the values for the axes read from little endian to cpu. This is also partially fixed in commit b6fb9b6d6552 ("iio: accel: bmc150: optimize transfers in trigger handler"). Signed-off-by: Irina Tirdea --- drivers

[PATCH 1/1] i2c: dln2: Pass forward ACPI companion

2016-03-24 Thread Irina Tirdea
Share the ACPI companion for the platform device with the i2c adapter, so that the adapter has access to the properties defined in ACPI tables. Signed-off-by: Irina Tirdea --- drivers/i2c/busses/i2c-dln2.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/i2c/busses/i2c-dln2.c b

[PATCH 6/6] iio: accel: kxcjk-1013: optimize i2c transfers in trigger handler

2016-03-24 Thread Irina Tirdea
will fallback to reading each axis as a separate word in case i2c block read is not supported. Signed-off-by: Adriana Reus Signed-off-by: Irina Tirdea Acked-by: Jonathan Cameron Acked-by: Srinivas Pandruvada --- drivers/iio/accel/kxcjk-1013.c | 19 --- 1 file changed, 8

[PATCH 5/6] iio: accel: kxcjk-1013: use available_scan_masks

2016-03-24 Thread Irina Tirdea
From: Adriana Reus Use available_scan_masks to allow the iio core to select the data to send to userspace depending on which axes are enabled, instead of doing this in the driver's interrupt handler. Signed-off-by: Adriana Reus Signed-off-by: Irina Tirdea Acked-by: Jonathan Cameron Ack

[PATCH 1/6] iio: accel: bmc150: use available_scan_masks

2016-03-24 Thread Irina Tirdea
Use available_scan_masks to allow the iio core to select the data to send to userspace depending on which axes are enabled, instead of doing this in the driver's interrupt handler. Signed-off-by: Irina Tirdea --- drivers/iio/accel/bmc150-accel-core.c | 9 +++-- 1 file changed, 7 inser

[PATCH 3/6] iio: gyro: bmg160: use available_scan_masks

2016-03-24 Thread Irina Tirdea
Use available_scan_masks to allow the iio core to select the data to send to userspace depending on which axes are enabled, instead of doing this in the driver's interrupt handler. Signed-off-by: Irina Tirdea --- drivers/iio/gyro/bmg160_core.c | 9 +++-- 1 file changed, 7 insertions(

[PATCH 4/6] iio: accel: bmg160: optimize transfers in trigger handler

2016-03-24 Thread Irina Tirdea
impact on the frequency of the accelerometer at high sample rates due to additional delays introduced by the bus at each transfer. Reading all axis values in one bus transfer reduces the delays introduced by the bus. Signed-off-by: Irina Tirdea --- drivers/iio/gyro/bmg160_core.c | 17

[PATCH 0/6] Driver optimizations in trigger handler

2016-03-24 Thread Irina Tirdea
: accel: kxcjk-1013: optimize i2c transfers in trigger handler Irina Tirdea (4): iio: accel: bmc150: use available_scan_masks iio: accel: bmc150: optimize transfers in trigger handler iio: gyro: bmg160: use available_scan_masks iio: accel: bmg160: optimize transfers in trigger handler

[PATCH 2/6] iio: accel: bmc150: optimize transfers in trigger handler

2016-03-24 Thread Irina Tirdea
impact on the frequency of the accelerometer at high sample rates due to additional delays introduced by the bus at each transfer. Reading all axis values in one bus transfer reduces the delays introduced by the bus. Signed-off-by: Irina Tirdea --- drivers/iio/accel/bmc150-accel-core.c | 18

[PATCH 1/1] iio: fix config watermark initial value

2016-03-24 Thread Irina Tirdea
. Set as initial value for config->watermark the maximum allowed value so that the minimum value will always be set from one of the buffers. Signed-off-by: Irina Tirdea --- drivers/iio/industrialio-buffer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/iio/industrialio-buffer.c b

[PATCH 1/1] iio: remove unused gpio consumer.h include

2016-03-24 Thread Irina Tirdea
GPIO handling code has been removed from the drivers (since this is now handled by the ACPI core) in commit 0f0796509c07 ("iio: remove gpio interrupt probing from drivers that use a single interrupt"). Remove the include for linux/gpio/consumer.h since it is no longer used. Signed-off

[PATCH 1/1] iio: remove gpio interrupt probing from drivers that use a single interrupt

2016-03-24 Thread Irina Tirdea
ove gpio interrupt probing from drivers that use a single interrupt") removes gpio interrupt probing from most drivers. This patch cleans the remaining ones. Signed-off-by: Irina Tirdea --- drivers/iio/accel/mxc4005.c| 29 - drivers/iio/

[PATCH 1/1] iio: accel: bmc150: remove unused definition

2016-03-24 Thread Irina Tirdea
fields. Signed-off-by: Irina Tirdea --- drivers/iio/accel/bmc150-accel-core.c | 6 -- drivers/iio/accel/bmc150-accel-i2c.c | 1 + 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/iio/accel/bmc150-accel-core.c b/drivers/iio/accel/bmc150-accel-core.c index c73331f7

[PATCH 1/1] mfd: core: fix ACPI child matching by _HID/_CID

2016-03-12 Thread Irina Tirdea
: Irina Tirdea --- drivers/mfd/mfd-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/mfd-core.c b/drivers/mfd/mfd-core.c index 88bd1b1..409da01 100644 --- a/drivers/mfd/mfd-core.c +++ b/drivers/mfd/mfd-core.c @@ -107,7 +107,7 @@ static void mfd_acpi_add_device

[PATCH 1/1] ACPI / property: fix data node parsing in acpi_get_next_subnode

2016-03-12 Thread Irina Tirdea
When an ACPI node has both ACPI device nodes and ACPI data nodes, acpi_get_next_subnode will return the ACPI data nodes of its last parsed child. Make sure that the acpi device that is parsed is the original acpi node and not any of its children. Signed-off-by: Irina Tirdea --- drivers/acpi

[PATCH v11 7/8] Input: goodix - add sysfs interface to dump config

2015-11-19 Thread Irina Tirdea
its configuration. This sysfs interface will be exported only if the gpio pins are properly initialized from ACPI/DT. Signed-off-by: Irina Tirdea Tested-by: Bastien Nocera Tested-by: Aleksei Mamlin --- drivers/input/touchscreen/goodix.c | 23 +++ 1 file changed, 23

[PATCH v11 6/8] Input: goodix - add support for ESD

2015-11-19 Thread Irina Tirdea
... } }) } The ESD protection mechanism is only available if the gpio pins are properly initialized from ACPI/DT. This is based on Goodix datasheets for GT911 and GT9271 and on Goodix driver gt9xx.c for Android (publicly available in Android kernel trees for various devices). Signed

[PATCH v11 1/8] Input: goodix - use actual config length for each device type

2015-11-19 Thread Irina Tirdea
more than the actual size of the configuration registers. Signed-off-by: Irina Tirdea Acked-by: Bastien Nocera Tested-by: Bastien Nocera Tested-by: Aleksei Mamlin --- drivers/input/touchscreen/goodix.c | 25 +++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git

[PATCH v11 4/8] Input: goodix - add power management support

2015-11-19 Thread Irina Tirdea
gt9xx.c for Android (publicly available in Android kernel trees for various devices). Signed-off-by: Octavian Purdila Signed-off-by: Irina Tirdea --- drivers/input/touchscreen/goodix.c | 96 -- 1 file changed, 91 insertions(+), 5 deletions(-) diff --git a/drivers

[PATCH v11 0/8] Goodix touchscreen enhancements

2015-11-19 Thread Irina Tirdea
erty for config - dropped "input: goodix: add ACPI IDs for GT911 and GT9271" patch - add ACPI DSDT excerpt in commit message where necessary - add comments for suspend/resume sleep values - dropped the checkpatch fixes that did not make sense - added Bastien's ack to the first pa

[PATCH v11 5/8] Input: goodix - use goodix_i2c_write_u8 instead of i2c_master_send

2015-11-19 Thread Irina Tirdea
Use goodix_i2c_write_u8 instead of i2c_master_send to simplify code. Signed-off-by: Irina Tirdea Tested-by: Bastien Nocera Tested-by: Aleksei Mamlin --- drivers/input/touchscreen/goodix.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/input/touchscreen

[PATCH v11 8/8] Input: goodix - add runtime power management support

2015-11-19 Thread Irina Tirdea
management support is only available if the gpio pins are properly initialized from ACPI/DT. Signed-off-by: Irina Tirdea --- drivers/input/touchscreen/goodix.c | 159 + 1 file changed, 145 insertions(+), 14 deletions(-) diff --git a/drivers/input/touchscreen

[PATCH v11 3/8] Input: goodix - write configuration data to device

2015-11-19 Thread Irina Tirdea
or various devices). Signed-off-by: Octavian Purdila Signed-off-by: Irina Tirdea --- drivers/input/touchscreen/goodix.c | 247 - 1 file changed, 215 insertions(+), 32 deletions(-) diff --git a/drivers/input/touchscreen/goodix.c b/drivers/input/touchscree

[PATCH v11 2/8] Input: goodix - reset device at init

2015-11-19 Thread Irina Tirdea
{ Package (2) {"irq-gpios", Package() {^STAC, 0, 0, 0 }}, Package (2) {"reset-gpios", Package() {^STAC, 1, 0, 0 }}, ... } } Signed-off-by: Octavian Purdila Signed-off-by: Irina Tirdea --- .../bindings/input/touchscreen/goodix.txt

[PATCH v10 0/8] Goodix touchscreen enhancements

2015-11-18 Thread Irina Tirdea
;s ack to the first patch Irina Tirdea (8): Input: goodix - use actual config length for each device type Input: goodix - reset device at init Input: goodix - write configuration data to device Input: goodix - add power management support Input: goodix - use goodix_i2c_write_u8 instead o

[PATCH v10 1/8] Input: goodix - use actual config length for each device type

2015-11-18 Thread Irina Tirdea
more than the actual size of the configuration registers. Signed-off-by: Irina Tirdea Acked-by: Bastien Nocera Tested-by: Bastien Nocera Tested-by: Aleksei Mamlin --- drivers/input/touchscreen/goodix.c | 25 +++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git

[PATCH v10 2/8] Input: goodix - reset device at init

2015-11-18 Thread Irina Tirdea
{ Package (2) {"irq-gpio", Package() {^STAC, 0, 0, 0 }}, Package (2) {"reset-gpio", Package() {^STAC, 1, 0, 0 }}, ... } } Signed-off-by: Octavian Purdila Signed-off-by: Irina Tirdea --- .../bindings/input/touchscreen/goodix.txt

[PATCH v10 5/8] Input: goodix - use goodix_i2c_write_u8 instead of i2c_master_send

2015-11-18 Thread Irina Tirdea
Use goodix_i2c_write_u8 instead of i2c_master_send to simplify code. Signed-off-by: Irina Tirdea Tested-by: Bastien Nocera Tested-by: Aleksei Mamlin --- drivers/input/touchscreen/goodix.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/input/touchscreen

[PATCH v10 4/8] Input: goodix - add power management support

2015-11-18 Thread Irina Tirdea
gt9xx.c for Android (publicly available in Android kernel trees for various devices). Signed-off-by: Octavian Purdila Signed-off-by: Irina Tirdea --- drivers/input/touchscreen/goodix.c | 96 -- 1 file changed, 91 insertions(+), 5 deletions(-) diff --git a/drivers

[PATCH v10 6/8] Input: goodix - add support for ESD

2015-11-18 Thread Irina Tirdea
... } }) } The ESD protection mechanism is only available if the gpio pins are properly initialized from ACPI/DT. This is based on Goodix datasheets for GT911 and GT9271 and on Goodix driver gt9xx.c for Android (publicly available in Android kernel trees for various devices)

[PATCH v10 7/8] Input: goodix - add sysfs interface to dump config

2015-11-18 Thread Irina Tirdea
its configuration. This sysfs interface will be exported only if the gpio pins are properly initialized from ACPI/DT. Signed-off-by: Irina Tirdea Tested-by: Bastien Nocera Tested-by: Aleksei Mamlin --- drivers/input/touchscreen/goodix.c | 23 +++ 1 file changed, 23

[PATCH v10 3/8] Input: goodix - write configuration data to device

2015-11-18 Thread Irina Tirdea
or various devices). Signed-off-by: Octavian Purdila Signed-off-by: Irina Tirdea --- drivers/input/touchscreen/goodix.c | 247 - 1 file changed, 215 insertions(+), 32 deletions(-) diff --git a/drivers/input/touchscreen/goodix.c b/drivers/input/touchscree

[PATCH v10 8/8] Input: goodix - add runtime power management support

2015-11-18 Thread Irina Tirdea
management support is only available if the gpio pins are properly initialized from ACPI/DT. Signed-off-by: Irina Tirdea --- drivers/input/touchscreen/goodix.c | 159 + 1 file changed, 145 insertions(+), 14 deletions(-) diff --git a/drivers/input/touchscreen

[PATCH v9 7/9] Input: goodix - add sysfs interface to dump config

2015-10-12 Thread Irina Tirdea
its configuration. This sysfs interface will be exported only if the gpio pins are properly initialized from ACPI/DT. Signed-off-by: Irina Tirdea Tested-by: Bastien Nocera Tested-by: Aleksei Mamlin --- drivers/input/touchscreen/goodix.c | 23 +++ 1 file changed, 23

[PATCH v9 1/9] Input: goodix - use actual config length for each device type

2015-10-12 Thread Irina Tirdea
more than the actual size of the configuration registers. Signed-off-by: Irina Tirdea Acked-by: Bastien Nocera Tested-by: Bastien Nocera Tested-by: Aleksei Mamlin --- drivers/input/touchscreen/goodix.c | 25 +++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git

[PATCH v9 4/9] Input: goodix - add power management support

2015-10-12 Thread Irina Tirdea
gt9xx.c for Android (publicly available in Android kernel trees for various devices). Signed-off-by: Octavian Purdila Signed-off-by: Irina Tirdea Tested-by: Bastien Nocera Tested-by: Aleksei Mamlin --- drivers/input/touchscreen/goodix.c | 94 -- 1 file changed, 89

[PATCH v9 2/9] Input: goodix - reset device at init

2015-10-12 Thread Irina Tirdea
{ Package (2) {"irq-gpio", Package() {^STAC, 0, 0, 0 }}, Package (2) {"reset-gpio", Package() {^STAC, 1, 0, 0 }}, ... } } Signed-off-by: Octavian Purdila Signed-off-by: Irina Tirdea Acked-by: Bastien Nocera Tested-by: Bastien Nocera

[PATCH v9 3/9] Input: goodix - write configuration data to device

2015-10-12 Thread Irina Tirdea
or various devices). Signed-off-by: Octavian Purdila Signed-off-by: Irina Tirdea Tested-by: Bastien Nocera Tested-by: Aleksei Mamlin --- drivers/input/touchscreen/goodix.c | 229 +++-- 1 file changed, 196 insertions(+), 33 deletions(-) diff --git a/dri

[PATCH v9 0/9] Goodix touchscreen enhancements

2015-10-12 Thread Irina Tirdea
tead of ACPI/DT property for config - dropped "input: goodix: add ACPI IDs for GT911 and GT9271" patch - add ACPI DSDT excerpt in commit message where necessary - add comments for suspend/resume sleep values - dropped the checkpatch fixes that did not make sense - added Bastien's

[PATCH v9 5/9] Input: goodix - use goodix_i2c_write_u8 instead of i2c_master_send

2015-10-12 Thread Irina Tirdea
Use goodix_i2c_write_u8 instead of i2c_master_send to simplify code. Signed-off-by: Irina Tirdea Tested-by: Bastien Nocera Tested-by: Aleksei Mamlin --- drivers/input/touchscreen/goodix.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/input/touchscreen

[PATCH v9 6/9] Input: goodix - add support for ESD

2015-10-12 Thread Irina Tirdea
... } }) } The ESD protection mechanism is only available if the gpio pins are properly initialized from ACPI/DT. This is based on Goodix datasheets for GT911 and GT9271 and on Goodix driver gt9xx.c for Android (publicly available in Android kernel trees for various devices). Signe

[PATCH v9 8/9] Input: goodix - add runtime power management support

2015-10-12 Thread Irina Tirdea
management support is only available if the gpio pins are properly initialized from ACPI/DT. Signed-off-by: Irina Tirdea Tested-by: Bastien Nocera Tested-by: Aleksei Mamlin --- drivers/input/touchscreen/goodix.c | 152 + 1 file changed, 138 insertions(+), 14

[PATCH v9 9/9] Input: goodix - sort includes using inverse Xmas tree order

2015-10-12 Thread Irina Tirdea
Signed-off-by: Irina Tirdea Tested-by: Bastien Nocera Tested-by: Aleksei Mamlin --- drivers/input/touchscreen/goodix.c | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/drivers/input/touchscreen/goodix.c b/drivers/input/touchscreen/goodix.c index b958b37

[PATCH v8 0/9] Goodix touchscreen enhancements

2015-10-08 Thread Irina Tirdea
- add comments for suspend/resume sleep values - dropped the checkpatch fixes that did not make sense - added Bastien's ack to the first patch Irina Tirdea (9): Input: goodix - use actual config length for each device type Input: goodix - reset device at init Input: goodix - write c

[PATCH v8 2/9] Input: goodix - reset device at init

2015-10-08 Thread Irina Tirdea
{ Package (2) {"irq-gpio", Package() {^STAC, 0, 0, 0 }}, Package (2) {"reset-gpio", Package() {^STAC, 1, 0, 0 }}, ... } } Signed-off-by: Octavian Purdila Signed-off-by: Irina Tirdea --- .../bindings/input/touchsc

[PATCH v8 6/9] Input: goodix - add support for ESD

2015-10-08 Thread Irina Tirdea
... } }) } The ESD protection mechanism is only available if the gpio pins are properly initialized from ACPI/DT. This is based on Goodix datasheets for GT911 and GT9271 and on Goodix driver gt9xx.c for Android (publicly available in Android kernel trees for various devices)

[PATCH v8 5/9] Input: goodix - use goodix_i2c_write_u8 instead of i2c_master_send

2015-10-08 Thread Irina Tirdea
Use goodix_i2c_write_u8 instead of i2c_master_send to simplify code. Signed-off-by: Irina Tirdea --- drivers/input/touchscreen/goodix.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/input/touchscreen/goodix.c b/drivers/input/touchscreen/goodix.c index

[PATCH v8 3/9] Input: goodix - write configuration data to device

2015-10-08 Thread Irina Tirdea
or various devices). Signed-off-by: Octavian Purdila Signed-off-by: Irina Tirdea --- drivers/input/touchscreen/goodix.c | 229 +++-- 1 file changed, 196 insertions(+), 33 deletions(-) diff --git a/drivers/input/touchscreen/goodix.c b/drivers/input/touchscree

[PATCH v8 8/9] Input: goodix - add runtime power management support

2015-10-08 Thread Irina Tirdea
management support is only available if the gpio pins are properly initialized from ACPI/DT. Signed-off-by: Irina Tirdea --- drivers/input/touchscreen/goodix.c | 152 + 1 file changed, 138 insertions(+), 14 deletions(-) diff --git a/drivers/input/touchscreen

[PATCH v8 9/9] Input: goodix - sort includes using inverse Xmas tree order

2015-10-08 Thread Irina Tirdea
Signed-off-by: Irina Tirdea --- drivers/input/touchscreen/goodix.c | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/drivers/input/touchscreen/goodix.c b/drivers/input/touchscreen/goodix.c index b958b37..22bfc4b 100644 --- a/drivers/input/touchscreen

[PATCH v8 1/9] Input: goodix - use actual config length for each device type

2015-10-08 Thread Irina Tirdea
more than the actual size of the configuration registers. Signed-off-by: Irina Tirdea Acked-by: Bastien Nocera --- drivers/input/touchscreen/goodix.c | 25 +++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/drivers/input/touchscreen/goodix.c b/drivers/input

[PATCH v8 7/9] Input: goodix - add sysfs interface to dump config

2015-10-08 Thread Irina Tirdea
its configuration. This sysfs interface will be exported only if the gpio pins are properly initialized from ACPI/DT. Signed-off-by: Irina Tirdea --- drivers/input/touchscreen/goodix.c | 23 +++ 1 file changed, 23 insertions(+) diff --git a/drivers/input/touchscreen/goodix.c

[PATCH v8 4/9] Input: goodix - add power management support

2015-10-08 Thread Irina Tirdea
gt9xx.c for Android (publicly available in Android kernel trees for various devices). Signed-off-by: Octavian Purdila Signed-off-by: Irina Tirdea --- drivers/input/touchscreen/goodix.c | 94 -- 1 file changed, 89 insertions(+), 5 deletions(-) diff --git a/drivers

[PATCH v7 3/9] Input: goodix - write configuration data to device

2015-10-08 Thread Irina Tirdea
or various devices). Signed-off-by: Octavian Purdila Signed-off-by: Irina Tirdea --- drivers/input/touchscreen/goodix.c | 229 +++-- 1 file changed, 196 insertions(+), 33 deletions(-) diff --git a/drivers/input/touchscreen/goodix.c b/drivers/input/touchscree

[PATCH v7 0/9] Goodix touchscreen enhancements

2015-10-08 Thread Irina Tirdea
for suspend/resume sleep values - dropped the checkpatch fixes that did not make sense - added Bastien's ack to the first patch Irina Tirdea (9): Input: goodix - use actual config length for each device type Input: goodix - reset device at init Input: goodix - write configuration

[PATCH v7 5/9] Input: goodix - use goodix_i2c_write_u8 instead of i2c_master_send

2015-10-08 Thread Irina Tirdea
Use goodix_i2c_write_u8 instead of i2c_master_send to simplify code. Signed-off-by: Irina Tirdea --- drivers/input/touchscreen/goodix.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/input/touchscreen/goodix.c b/drivers/input/touchscreen/goodix.c index

[PATCH v7 9/9] Input: goodix - sort includes using inverse Xmas tree order

2015-10-08 Thread Irina Tirdea
Signed-off-by: Irina Tirdea --- drivers/input/touchscreen/goodix.c | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/drivers/input/touchscreen/goodix.c b/drivers/input/touchscreen/goodix.c index 7f0da7e..1f0625a 100644 --- a/drivers/input/touchscreen

[PATCH v7 8/9] Input: goodix - add runtime power management support

2015-10-08 Thread Irina Tirdea
management support is only available if the gpio pins are properly initialized from ACPI/DT. Signed-off-by: Irina Tirdea --- drivers/input/touchscreen/goodix.c | 152 + 1 file changed, 138 insertions(+), 14 deletions(-) diff --git a/drivers/input/touchscreen

[PATCH v7 6/9] Input: goodix - add support for ESD

2015-10-08 Thread Irina Tirdea
... } }) } The ESD protection mechanism is only available if the gpio pins are properly initialized from ACPI/DT. This is based on Goodix datasheets for GT911 and GT9271 and on Goodix driver gt9xx.c for Android (publicly available in Android kernel trees for various devices)

[PATCH v7 7/9] Input: goodix - add sysfs interface to dump config

2015-10-08 Thread Irina Tirdea
its configuration. This sysfs interface will be exported only if the gpio pins are properly initialized from ACPI/DT. Signed-off-by: Irina Tirdea --- drivers/input/touchscreen/goodix.c | 23 +++ 1 file changed, 23 insertions(+) diff --git a/drivers/input/touchscreen/goodix.c

[PATCH v7 1/9] Input: goodix - use actual config length for each device type

2015-10-08 Thread Irina Tirdea
more than the actual size of the configuration registers. Signed-off-by: Irina Tirdea Acked-by: Bastien Nocera --- drivers/input/touchscreen/goodix.c | 25 +++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/drivers/input/touchscreen/goodix.c b/drivers/input

[PATCH v7 4/9] Input: goodix - add power management support

2015-10-08 Thread Irina Tirdea
gt9xx.c for Android (publicly available in Android kernel trees for various devices). Signed-off-by: Octavian Purdila Signed-off-by: Irina Tirdea --- drivers/input/touchscreen/goodix.c | 94 -- 1 file changed, 89 insertions(+), 5 deletions(-) diff --git a/drivers

[PATCH v7 2/9] Input: goodix - reset device at init

2015-10-08 Thread Irina Tirdea
eset-gpio", Package() {^STAC, 1, 0, 0 }}, ... } } Signed-off-by: Octavian Purdila Signed-off-by: Irina Tirdea --- .../bindings/input/touchscreen/goodix.txt | 5 + drivers/input/touchscreen/goodix.c | 176 + 2 files ch

[PATCH v6 1/9] Input: goodix - sort includes alphabetically

2015-09-15 Thread Irina Tirdea
Signed-off-by: Irina Tirdea Acked-by: Bastien Nocera --- drivers/input/touchscreen/goodix.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/input/touchscreen/goodix.c b/drivers/input/touchscreen/goodix.c index e36162b..6ae28c5 100644 --- a/drivers/input

[PATCH v6 3/9] Input: goodix - reset device at init

2015-09-15 Thread Irina Tirdea
Purdila Signed-off-by: Irina Tirdea --- .../bindings/input/touchscreen/goodix.txt | 5 + drivers/input/touchscreen/goodix.c | 136 + 2 files changed, 141 insertions(+) diff --git a/Documentation/devicetree/bindings/input/touchscreen/goodix.txt b

[PATCH v6 0/9] Goodix touchscreen enhancements

2015-09-15 Thread Irina Tirdea
271" patch - add ACPI DSDT excerpt in commit message where necessary - add comments for suspend/resume sleep values - dropped the checkpatch fixes that did not make sense - added Bastien's ack to the first patch Irina Tirdea (9): Input: goodix - sort includes alphabetically Input:

[PATCH v6 2/9] Input: goodix - use actual config length for each device type

2015-09-15 Thread Irina Tirdea
more than the actual size of the configuration registers. Signed-off-by: Irina Tirdea Acked-by: Bastien Nocera --- drivers/input/touchscreen/goodix.c | 25 +++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/drivers/input/touchscreen/goodix.c b/drivers/input

[PATCH v6 5/9] Input: goodix - add power management support

2015-09-15 Thread Irina Tirdea
gt9xx.c for Android (publicly available in Android kernel trees for various devices). Signed-off-by: Octavian Purdila Signed-off-by: Irina Tirdea --- drivers/input/touchscreen/goodix.c | 94 -- 1 file changed, 89 insertions(+), 5 deletions(-) diff --git a/drivers

[PATCH v6 8/9] Input: goodix - add sysfs interface to dump config

2015-09-15 Thread Irina Tirdea
its configuration. This sysfs interface will be exported only if the gpio pins are properly initialized from ACPI/DT. Signed-off-by: Irina Tirdea --- drivers/input/touchscreen/goodix.c | 23 +++ 1 file changed, 23 insertions(+) diff --git a/drivers/input/touchscreen/goodix.c

[PATCH v6 6/9] Input: goodix - use goodix_i2c_write_u8 instead of i2c_master_send

2015-09-15 Thread Irina Tirdea
Use goodix_i2c_write_u8 instead of i2c_master_send to simplify code. Signed-off-by: Irina Tirdea --- drivers/input/touchscreen/goodix.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/input/touchscreen/goodix.c b/drivers/input/touchscreen/goodix.c index

[PATCH v6 7/9] Input: goodix - add support for ESD

2015-09-15 Thread Irina Tirdea
... } }) } The ESD protection mechanism is only available if the gpio pins are properly initialized from ACPI/DT. This is based on Goodix datasheets for GT911 and GT9271 and on Goodix driver gt9xx.c for Android (publicly available in Android kernel trees for various devices)

  1   2   3   4   5   >