Use goodix_i2c_write_u8 instead of i2c_master_send to simplify code.
Signed-off-by: Irina Tirdea irina.tir...@intel.com
---
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
)
{
Name (_HID, GDIX1001)
...
Name (_DSD, Package ()
{
ToUUID(daffd814-6eba-4d8c-8a91-bc9bbf4aa301),
Package ()
{
Package (2) { esd-recovery-timeout-ms, Package(1) { 2000 }},
...
}
}
}
Signed-off-by: Irina Tirdea irina.tir
.
Signed-off-by: Octavian Purdila octavian.purd...@intel.com
Signed-off-by: Irina Tirdea irina.tir...@intel.com
---
drivers/input/touchscreen/goodix.c | 32
1 file changed, 20 insertions(+), 12 deletions(-)
diff --git a/drivers/input/touchscreen/goodix.c
b/drivers
- dropped the checkpatch fixes that did not make sense
- added Bastien's ack to the first patch
Irina Tirdea (8):
input: goodix: fix alignment issues
input: goodix: fix variable length array warning
input: goodix: export id and version read from device
input: goodix: reset device at init
}},
...
}
}
Signed-off-by: Octavian Purdila octavian.purd...@intel.com
Signed-off-by: Irina Tirdea irina.tir...@intel.com
---
.../bindings/input/touchscreen/goodix.txt | 5 ++
drivers/input/touchscreen/goodix.c | 100 +
2 files changed, 105
will lead to wasting 40 bytes
when using devices with maximum 5 touch points. However,
that is prefferable to using kmalloc which will use even
more resources.
Signed-off-by: Irina Tirdea irina.tir...@intel.com
---
drivers/input/touchscreen/goodix.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion
Fix alignment to match open parenthesis detected by
running checkpatch.pl --strict.
Signed-off-by: Irina Tirdea irina.tir...@intel.com
Acked-by: Bastien Nocera had...@hadess.net
---
drivers/input/touchscreen/goodix.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git
and on Goodix
driver gt9xx.c for Android (publicly available in Android kernel
trees for various devices).
Signed-off-by: Octavian Purdila octavian.purd...@intel.com
Signed-off-by: Irina Tirdea irina.tir...@intel.com
---
drivers/input/touchscreen/goodix.c | 128 +
1
Implement suspend/resume for goodix driver.
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-off-by: Octavian Purdila octavian.purd...@intel.com
Signed-off-by: Irina Tirdea
...@intel.com
Signed-off-by: Irina Tirdea irina.tir...@intel.com
---
.../bindings/input/touchscreen/goodix.txt | 5 +
drivers/input/touchscreen/goodix.c | 143 +
2 files changed, 148 insertions(+)
diff --git a/Documentation/devicetree/bindings/input
property. If it is set to 0,
ESD protection is disabled.
Signed-off-by: Irina Tirdea irina.tir...@intel.com
---
.../bindings/input/touchscreen/goodix.txt | 4 +
drivers/input/touchscreen/goodix.c | 106 -
2 files changed, 106 insertions(+), 4 deletions
.
Signed-off-by: Octavian Purdila octavian.purd...@intel.com
Signed-off-by: Irina Tirdea irina.tir...@intel.com
---
drivers/input/touchscreen/goodix.c | 32
1 file changed, 20 insertions(+), 12 deletions(-)
diff --git a/drivers/input/touchscreen/goodix.c
b/drivers
Fix alignment to match open parenthesis detected by
running checkpatch.pl --strict.
Signed-off-by: Irina Tirdea irina.tir...@intel.com
---
drivers/input/touchscreen/goodix.c | 17 +
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/drivers/input/touchscreen/goodix.c
Use goodix_i2c_write_u8 instead of i2c_master_send to simplify code.
Signed-off-by: Irina Tirdea irina.tir...@intel.com
---
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
Fix sparse warning:
drivers/input/touchscreen/goodix.c:182:26: warning:
Variable length array is used.
Replace the variable length array with fixed length.
Signed-off-by: Irina Tirdea irina.tir...@intel.com
---
drivers/input/touchscreen/goodix.c | 2 +-
1 file changed, 1 insertion(+), 1
After power on, it is recommended that the driver resets the device.
For reset the driver needs to control the interrupt and
reset gpio pins (configured through ACPI/device tree).
Signed-off-by: Octavian Purdila octavian.purd...@intel.com
Signed-off-by: Irina Tirdea irina.tir...@intel.com
Implement suspend/resume for goodix driver.
Signed-off-by: Octavian Purdila octavian.purd...@intel.com
Signed-off-by: Irina Tirdea irina.tir...@intel.com
---
drivers/input/touchscreen/goodix.c | 81 +++---
1 file changed, 76 insertions(+), 5 deletions(-)
diff
Add ACPI IDs to support Goodix GT911 and GT9271
touchscreens.
Signed-off-by: Irina Tirdea irina.tir...@intel.com
---
drivers/input/touchscreen/goodix.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/input/touchscreen/goodix.c
b/drivers/input/touchscreen/goodix.c
index 9561396
Add several enhancements to the Goodix touchscreen driver:
- write configuration data to the device
- power management support
- cleanup and refactoring
Irina Tirdea (9):
input: goodix: fix alignment issues
input: goodix: fix variable length array warning
input: goodix: export id
gt9xx.c for Android (publicly available in Android kernel
trees for various devices).
Signed-off-by: Irina Tirdea irina.tir...@intel.com
---
drivers/input/touchscreen/goodix.c | 162 +++--
1 file changed, 156 insertions(+), 6 deletions(-)
diff --git a/drivers
for various devices).
Signed-off-by: Octavian Purdila octavian.purd...@intel.com
Signed-off-by: Irina Tirdea irina.tir...@intel.com
---
drivers/input/touchscreen/goodix.c | 223 +++--
1 file changed, 191 insertions(+), 32 deletions(-)
diff --git a/drivers/input/touchscreen
gt9xx.c for Android (publicly available
in Android kernel trees for various devices).
Signed-off-by: Octavian Purdila octavian.purd...@intel.com
Signed-off-by: Irina Tirdea irina.tir...@intel.com
---
drivers/input/touchscreen/goodix.c | 94 --
1 file changed, 89
Purdila octavian.purd...@intel.com
Signed-off-by: Irina Tirdea irina.tir...@intel.com
---
.../bindings/input/touchscreen/goodix.txt | 5 +
drivers/input/touchscreen/goodix.c | 131 -
2 files changed, 134 insertions(+), 2 deletions(-)
diff --git
for suspend/resume sleep values
- dropped the checkpatch fixes that did not make sense
- added Bastien's ack to the first patch
Irina Tirdea (5):
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 of i2c_master_send to simplify code.
Signed-off-by: Irina Tirdea irina.tir...@intel.com
---
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
gt9xx.c for Android (publicly available
in Android kernel trees for various devices).
Signed-off-by: Octavian Purdila octavian.purd...@intel.com
Signed-off-by: Irina Tirdea irina.tir...@intel.com
---
drivers/input/touchscreen/goodix.c | 94 --
1 file changed, 89
for various devices).
Signed-off-by: Octavian Purdila octavian.purd...@intel.com
Signed-off-by: Irina Tirdea irina.tir...@intel.com
---
drivers/input/touchscreen/goodix.c | 225 +++--
1 file changed, 192 insertions(+), 33 deletions(-)
diff --git a/drivers/input/touchscreen
more than the actual size of the
configuration registers.
Signed-off-by: Irina Tirdea irina.tir...@intel.com
---
drivers/input/touchscreen/goodix.c | 25 +++--
1 file changed, 23 insertions(+), 2 deletions(-)
diff --git a/drivers/input/touchscreen/goodix.c
b/drivers/input
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-off-by: Irina Tirdea irina.tir
: 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 patch
Irina Tirdea (8):
Input: goodix - reset
Purdila octavian.purd...@intel.com
Signed-off-by: Irina Tirdea irina.tir...@intel.com
---
.../bindings/input/touchscreen/goodix.txt | 5 +
drivers/input/touchscreen/goodix.c | 136 +
2 files changed, 141 insertions(+)
diff --git a/Documentation/devicetree
Use goodix_i2c_write_u8 instead of i2c_master_send to simplify code.
Signed-off-by: Irina Tirdea irina.tir...@intel.com
---
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
changed, x,y axis are switched, etc.)
Signed-off-by: Irina Tirdea irina.tir...@intel.com
---
tools/touch-goodix-generate-fw.sh | 39 +++
1 file changed, 39 insertions(+)
create mode 100755 tools/touch-goodix-generate-fw.sh
diff --git a/tools/touch-goodix
its configuration.
Signed-off-by: Irina Tirdea irina.tir...@intel.com
---
drivers/input/touchscreen/goodix.c | 23 +++
1 file changed, 23 insertions(+)
diff --git a/drivers/input/touchscreen/goodix.c
b/drivers/input/touchscreen/goodix.c
index a23fe3e..c4512cf 100644
its configuration.
This sysfs interface will be exported only if the gpio pins are properly
initialized from ACPI/DT.
Signed-off-by: Irina Tirdea <irina.tir...@intel.com>
---
drivers/input/touchscreen/goodix.c | 23 +++
1 file changed, 23 insertions(+)
diff --git a/d
gt9xx.c for Android (publicly available
in Android kernel trees for various devices).
Signed-off-by: Octavian Purdila <octavian.purd...@intel.com>
Signed-off-by: Irina Tirdea <irina.tir...@intel.com>
---
drivers/input/touchscreen/goodix.c | 94 --
1 file
Use goodix_i2c_write_u8 instead of i2c_master_send to simplify code.
Signed-off-by: Irina Tirdea <irina.tir...@intel.com>
---
drivers/input/touchscreen/goodix.c | 7 +--
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/drivers/input/touchscreen/goodix.c
b/drivers
eset-gpio", Package() {^STAC, 1, 0, 0 }},
...
}
}
Signed-off-by: Octavian Purdila <octavian.purd...@intel.com>
Signed-off-by: Irina Tirdea <irina.tir...@intel.com>
---
.../bindings/input/touchscreen/goodix.txt | 5 +
drivers/input/touchscree
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 data to de
or various devices).
Signed-off-by: Octavian Purdila <octavian.purd...@intel.com>
Signed-off-by: Irina Tirdea <irina.tir...@intel.com>
---
drivers/input/touchscreen/goodix.c | 229 +++--
1 file changed, 196 insertions(+), 33 deletions(-)
diff
more than the actual size of the
configuration registers.
Signed-off-by: Irina Tirdea <irina.tir...@intel.com>
Acked-by: Bastien Nocera <had...@hadess.net>
---
drivers/input/touchscreen/goodix.c | 25 +++--
1 file changed, 23 insertions(+), 2 deletions(-)
diff --g
Signed-off-by: Irina Tirdea <irina.tir...@intel.com>
---
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/d
management support is only available if the gpio pins
are properly initialized from ACPI/DT.
Signed-off-by: Irina Tirdea <irina.tir...@intel.com>
---
drivers/input/touchscreen/goodix.c | 152 +
1 file changed, 138 insertions(+), 14 deletions(-)
diff
or various devices).
Signed-off-by: Octavian Purdila <octavian.purd...@intel.com>
Signed-off-by: Irina Tirdea <irina.tir...@intel.com>
---
drivers/input/touchscreen/goodix.c | 229 +++--
1 file changed, 196 insertions(+), 33 deletions(-)
diff
{
Package (2) {"irq-gpio", Package() {^STAC, 0, 0, 0 }},
Package (2) {"reset-gpio", Package() {^STAC, 1, 0, 0 }},
...
}
}
Signed-off-by: Octavian Purdila <octavian.purd...@intel.com>
Signed-off-by: Irina Tirdea <irina.tir...@in
Signed-off-by: Irina Tirdea <irina.tir...@intel.com>
---
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/d
management support is only available if the gpio pins
are properly initialized from ACPI/DT.
Signed-off-by: Irina Tirdea <irina.tir...@intel.com>
---
drivers/input/touchscreen/goodix.c | 152 +
1 file changed, 138 insertions(+), 14 deletions(-)
diff
Use goodix_i2c_write_u8 instead of i2c_master_send to simplify code.
Signed-off-by: Irina Tirdea <irina.tir...@intel.com>
---
drivers/input/touchscreen/goodix.c | 7 +--
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/drivers/input/touchscreen/goodix.c
b/drivers
ut-ms", Package(1) { 2000 }},
...
}
})
}
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)
gt9xx.c for Android (publicly available
in Android kernel trees for various devices).
Signed-off-by: Octavian Purdila <octavian.purd...@intel.com>
Signed-off-by: Irina Tirdea <irina.tir...@intel.com>
---
drivers/input/touchscreen/goodix.c | 94 --
1 file
its configuration.
This sysfs interface will be exported only if the gpio pins are properly
initialized from ACPI/DT.
Signed-off-by: Irina Tirdea <irina.tir...@intel.com>
---
drivers/input/touchscreen/goodix.c | 23 +++
1 file changed, 23 insertions(+)
diff --git a/d
management support is only available if the gpio pins
are properly initialized from ACPI/DT.
Signed-off-by: Irina Tirdea <irina.tir...@intel.com>
Tested-by: Bastien Nocera <had...@hadess.net>
Tested-by: Aleksei Mamlin <mamli...@gmail.com>
---
drivers/input/touchscr
{
Package (2) {"irq-gpio", Package() {^STAC, 0, 0, 0 }},
Package (2) {"reset-gpio", Package() {^STAC, 1, 0, 0 }},
...
}
}
Signed-off-by: Octavian Purdila <octavian.purd...@intel.com>
Signed-off-by: Irina Tirdea <irina.tir...@i
or various devices).
Signed-off-by: Octavian Purdila <octavian.purd...@intel.com>
Signed-off-by: Irina Tirdea <irina.tir...@intel.com>
Tested-by: Bastien Nocera <had...@hadess.net>
Tested-by: Aleksei Mamlin <mamli...@gmail.com>
---
driver
Use goodix_i2c_write_u8 instead of i2c_master_send to simplify code.
Signed-off-by: Irina Tirdea <irina.tir...@intel.com>
Tested-by: Bastien Nocera <had...@hadess.net>
Tested-by: Aleksei Mamlin <mamli...@gmail.com>
---
drivers/input/touchscreen/goodix.c | 7 +--
1 file ch
more than the actual size of the
configuration registers.
Signed-off-by: Irina Tirdea <irina.tir...@intel.com>
Acked-by: Bastien Nocera <had...@hadess.net>
Tested-by: Bastien Nocera <had...@hadess.net>
Tested-by: Aleksei Mamlin <mamli...@gmail.com>
---
drivers/input/t
its configuration.
This sysfs interface will be exported only if the gpio pins are properly
initialized from ACPI/DT.
Signed-off-by: Irina Tirdea <irina.tir...@intel.com>
Tested-by: Bastien Nocera <had...@hadess.net>
Tested-by: Aleksei Mamlin <mamli...@gmail.com>
---
drivers
ut-ms", Package(1) { 2000 }},
...
}
})
}
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-off-by: Irina Tirdea <irina.tir...@intel.com>
Tested-by: Bastien Nocera <had...@hadess.net>
Tested-by: Aleksei Mamlin <mamli...@gmail.com>
---
drivers/input/touchscreen/goodix.c | 19 ++-
1 file changed, 10 insertions(+), 9 deletions(-)
diff --g
gt9xx.c for Android (publicly available
in Android kernel trees for various devices).
Signed-off-by: Octavian Purdila <octavian.purd...@intel.com>
Signed-off-by: Irina Tirdea <irina.tir...@intel.com>
Tested-by: Bastien Nocera <had...@hadess.net>
Tested-by: Aleksei Mamlin <mamli...@gm
more than the actual size of the
configuration registers.
Signed-off-by: Irina Tirdea <irina.tir...@intel.com>
Acked-by: Bastien Nocera <had...@hadess.net>
Tested-by: Bastien Nocera <had...@hadess.net>
Tested-by: Aleksei Mamlin <mamli...@gmail.com>
---
drivers/input/t
irst 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 of i2c_master_se
gt9xx.c for Android (publicly available
in Android kernel trees for various devices).
Signed-off-by: Octavian Purdila <octavian.purd...@intel.com>
Signed-off-by: Irina Tirdea <irina.tir...@intel.com>
---
drivers/input/touchscreen/goodix.c | 96 --
1 file
or various devices).
Signed-off-by: Octavian Purdila <octavian.purd...@intel.com>
Signed-off-by: Irina Tirdea <irina.tir...@intel.com>
---
drivers/input/touchscreen/goodix.c | 247 -
1 file changed, 215 insertions(+), 32 deletions(-)
diff
{
Package (2) {"irq-gpio", Package() {^STAC, 0, 0, 0 }},
Package (2) {"reset-gpio", Package() {^STAC, 1, 0, 0 }},
...
}
}
Signed-off-by: Octavian Purdila <octavian.purd...@intel.com>
Signed-off-by: Irina Tirdea <irina.tir...@in
Use goodix_i2c_write_u8 instead of i2c_master_send to simplify code.
Signed-off-by: Irina Tirdea <irina.tir...@intel.com>
Tested-by: Bastien Nocera <had...@hadess.net>
Tested-by: Aleksei Mamlin <mamli...@gmail.com>
---
drivers/input/touchscreen/goodix.c | 7 +--
1 file ch
management support is only available if the gpio pins
are properly initialized from ACPI/DT.
Signed-off-by: Irina Tirdea <irina.tir...@intel.com>
---
drivers/input/touchscreen/goodix.c | 159 +
1 file changed, 145 insertions(+), 14 deletions(-)
diff
ut-ms", Package(1) { 2000 }},
...
}
})
}
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)
its configuration.
This sysfs interface will be exported only if the gpio pins are properly
initialized from ACPI/DT.
Signed-off-by: Irina Tirdea <irina.tir...@intel.com>
Tested-by: Bastien Nocera <had...@hadess.net>
Tested-by: Aleksei Mamlin <mamli...@gmail.com>
---
drivers
or various devices).
Signed-off-by: Octavian Purdila <octavian.purd...@intel.com>
Signed-off-by: Irina Tirdea <irina.tir...@intel.com>
---
drivers/input/touchscreen/goodix.c | 225 +++--
1 file changed, 192 insertions(+), 33 deletions(-)
diff --git a/dri
gt9xx.c for Android (publicly available
in Android kernel trees for various devices).
Signed-off-by: Octavian Purdila <octavian.purd...@intel.com>
Signed-off-by: Irina Tirdea <irina.tir...@intel.com>
---
drivers/input/touchscreen/goodix.c | 94 --
1 file
more than the actual size of the
configuration registers.
Signed-off-by: Irina Tirdea <irina.tir...@intel.com>
---
drivers/input/touchscreen/goodix.c | 25 +++--
1 file changed, 23 insertions(+), 2 deletions(-)
diff --git a/drivers/input/touchscreen/goodix.c
b/drivers
Purdila <octavian.purd...@intel.com>
Signed-off-by: Irina Tirdea <irina.tir...@intel.com>
---
.../bindings/input/touchscreen/goodix.txt | 5 +
drivers/input/touchscreen/goodix.c | 136 +
2 files changed, 141 insertions(+)
diff --git a/D
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 patch
Irina
management support is only available if the gpio pins
are properly initialized from ACPI/DT.
Signed-off-by: Irina Tirdea <irina.tir...@intel.com>
---
drivers/input/touchscreen/goodix.c | 57 +++---
1 file changed, 53 insertions(+), 4 deletions(-)
diff
its configuration.
This sysfs interface will be exported only if the gpio pins are properly
initialized from ACPI/DT.
Signed-off-by: Irina Tirdea <irina.tir...@intel.com>
---
drivers/input/touchscreen/goodix.c | 23 +++
1 file changed, 23 insertions(+)
diff --git a/d
power management so that
further acceses to the device will not change the actual state.
The device can be resumed by setting the attribute to "on" or "auto".
The behaviour of the interface when switching only between "on"
and "auto" states remains unchanged.
S
gt9xx.c for Android (publicly available
in Android kernel trees for various devices).
Signed-off-by: Octavian Purdila <octavian.purd...@intel.com>
Signed-off-by: Irina Tirdea <irina.tir...@intel.com>
---
drivers/input/touchscreen/goodix.c | 94 --
1 file
management support is only available if the gpio pins
are properly initialized from ACPI/DT.
Signed-off-by: Irina Tirdea <irina.tir...@intel.com>
---
drivers/input/touchscreen/goodix.c | 63 +++---
1 file changed, 59 insertions(+), 4 deletions(-)
diff
ut-ms", Package(1) { 2000 }},
...
}
})
}
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)
or various devices).
Signed-off-by: Octavian Purdila <octavian.purd...@intel.com>
Signed-off-by: Irina Tirdea <irina.tir...@intel.com>
---
drivers/input/touchscreen/goodix.c | 225 -
1 file changed, 194 insertions(+), 31 deletions(-)
diff --git a/dri
its configuration.
This sysfs interface will be exported only if the gpio pins are properly
initialized from ACPI/DT.
Signed-off-by: Irina Tirdea <irina.tir...@intel.com>
---
drivers/input/touchscreen/goodix.c | 23 +++
1 file changed, 23 insertions(+)
diff --git a/d
Use goodix_i2c_write_u8 instead of i2c_master_send to simplify code.
Signed-off-by: Irina Tirdea <irina.tir...@intel.com>
---
drivers/input/touchscreen/goodix.c | 7 +--
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/drivers/input/touchscreen/goodix.c
b/drivers
uot; 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: goodix -
Purdila <octavian.purd...@intel.com>
Signed-off-by: Irina Tirdea <irina.tir...@intel.com>
---
.../bindings/input/touchscreen/goodix.txt | 5 +
drivers/input/touchscreen/goodix.c | 136 +
2 files changed, 141 insertions(+)
diff --git a/D
Signed-off-by: Irina Tirdea <irina.tir...@intel.com>
Acked-by: Bastien Nocera <had...@hadess.net>
---
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/go
gt9xx.c for Android (publicly available
in Android kernel trees for various devices).
Signed-off-by: Octavian Purdila <octavian.purd...@intel.com>
Signed-off-by: Irina Tirdea <irina.tir...@intel.com>
---
drivers/input/touchscreen/goodix.c | 96 --
1 file
- 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 patch
Irina Tirdea (8
management support is only available if the gpio pins
are properly initialized from ACPI/DT.
Signed-off-by: Irina Tirdea <irina.tir...@intel.com>
---
drivers/input/touchscreen/goodix.c | 159 +
1 file changed, 145 insertions(+), 14 deletions(-)
diff
Use goodix_i2c_write_u8 instead of i2c_master_send to simplify code.
Signed-off-by: Irina Tirdea <irina.tir...@intel.com>
Tested-by: Bastien Nocera <had...@hadess.net>
Tested-by: Aleksei Mamlin <mamli...@gmail.com>
---
drivers/input/touchscreen/goodix.c | 7 +--
1 file ch
more than the actual size of the
configuration registers.
Signed-off-by: Irina Tirdea <irina.tir...@intel.com>
Acked-by: Bastien Nocera <had...@hadess.net>
Tested-by: Bastien Nocera <had...@hadess.net>
Tested-by: Aleksei Mamlin <mamli...@gmail.com>
---
drivers/input/t
ut-ms", Package(1) { 2000 }},
...
}
})
}
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)
{
Package (2) {"irq-gpios", Package() {^STAC, 0, 0, 0 }},
Package (2) {"reset-gpios", Package() {^STAC, 1, 0, 0 }},
...
}
}
Signed-off-by: Octavian Purdila <octavian.purd...@intel.com>
Signed-off-by: Irina Tirdea <irin
or various devices).
Signed-off-by: Octavian Purdila <octavian.purd...@intel.com>
Signed-off-by: Irina Tirdea <irina.tir...@intel.com>
---
drivers/input/touchscreen/goodix.c | 247 -
1 file changed, 215 insertions(+), 32 deletions(-)
diff
its configuration.
This sysfs interface will be exported only if the gpio pins are properly
initialized from ACPI/DT.
Signed-off-by: Irina Tirdea <irina.tir...@intel.com>
Tested-by: Bastien Nocera <had...@hadess.net>
Tested-by: Aleksei Mamlin <mamli...@gmail.com>
---
drivers
95 matches
Mail list logo