The problem:
On some lenovo laptops (this problem has been reproduced on 3 lenovo
laptop models), we let the machine boot into the desktop and login to
the desktop, the touchpad workes very well. But After we close the
lid then after a while open the lid, the touchpad won't work anymore.
https://
o get gpio.
Signed-off-by: Hui Wang
---
drivers/input/touchscreen/egalax_ts.c | 12 ++--
1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/drivers/input/touchscreen/egalax_ts.c
b/drivers/input/touchscreen/egalax_ts.c
index 70524dd..b94eb50 100644
--- a/drivers/input/touchs
to wake up the controller, the old way to get
gpio is irq_to_gpio(), this API is dying and most platforms don't support
it, we change it to a more generic way to use devcietree.
Hui Wang (2):
Input: egalax_ts: get gpio from devicetree node
Input: add devicetree binding note for egal
The egalax_ts driver needs to get the gpio number of the irq pin,
and use this gpio to wake up the controller. So add a note
for this change.
Signed-off-by: Hui Wang
---
.../bindings/input/touchscreen/egalax-ts.txt | 17 +
1 files changed, 17 insertions(+), 0 deletions
rather than the suspend failure
> every time.
>
> BR,
> Jiejing
> 在 2012-8-7,下午5:39,Hui Wang 写道:
>
>
>> The irq_to_gpio() is old, most platforms use GENERIC_GPIO framework and
>> don't support this API anymore.
>>
>> The i.MX6q sabrelite platf
The egalax_ts driver needs to get the gpio number of the irq pin,
and use this gpio to wake up the controller. So add a note
for this change.
Signed-off-by: Hui Wang
---
.../bindings/input/touchscreen/egalax-ts.txt | 17 +
1 files changed, 17 insertions(+), 0 deletions
wake up signal for touch screen controller, we need to get this gpio
number and operate it to wake up the controller, the old way to get
gpio is irq_to_gpio(), this API is dying and most platforms don't support
it, we change it to a more generic way to use devcietree.
Hui Wang (2):
o get gpio.
Add a return value checking for waking up the controller in the probe
function, this guarantee only a workable device can pass init.
Signed-off-by: Hui Wang
---
drivers/input/touchscreen/egalax_ts.c | 19 ---
1 files changed, 16 insertions(+), 3 deletions(-)
diff --
lso act as a
wake up signal for touch screen controller, we need to get this gpio
number and operate it to wake up the controller, the old way to get
gpio is irq_to_gpio(), this API is dying and most platforms don't support
it, we change it to a more generic way to use devcietree.
Hui Wang (3)
o get gpio.
Add a return value checking for waking up the controller in the probe
function, this guarantee only a workable device can pass init.
Signed-off-by: Hui Wang
---
drivers/input/touchscreen/egalax_ts.c | 19 ---
1 files changed, 16 insertions(+), 3 deletions(-)
diff --
The egalax_ts driver needs to get the gpio number of the irq pin,
and use this gpio to wake up the controller. So add a note
for this change.
Signed-off-by: Hui Wang
---
.../bindings/input/touchscreen/egalax-ts.txt | 19 +++
1 files changed, 19 insertions(+), 0 deletions
i.MX6Q sabrelite board uses i2c3 to connect an eeti egalax
touchscreen controller, add it as an i2c slave device in the dts.
Signed-off-by: Hui Wang
---
arch/arm/boot/dts/imx6q-sabrelite.dts | 16
arch/arm/boot/dts/imx6q.dtsi |7 +++
2 files changed, 23
Shawn Guo wrote:
On Wed, Aug 15, 2012 at 06:31:47PM +0800, Hui Wang wrote:
The egalax_ts driver needs to get the gpio number of the irq pin,
and use this gpio to wake up the controller. So add a note
for this change.
Signed-off-by: Hui Wang
---
.../bindings/input/touchscreen/egalax-ts.txt
Shawn Guo wrote:
On Wed, Aug 15, 2012 at 06:31:48PM +0800, Hui Wang wrote:
i.MX6Q sabrelite board uses i2c3 to connect an eeti egalax
touchscreen controller, add it as an i2c slave device in the dts.
Signed-off-by: Hui Wang
---
arch/arm/boot/dts/imx6q-sabrelite.dts | 16
o get gpio.
Add a return value checking for waking up the controller in the probe
function, this guarantee only a workable device can pass init.
Signed-off-by: Hui Wang
---
drivers/input/touchscreen/egalax_ts.c | 25 ++---
1 files changed, 22 insertions(+), 3 deletions(-)
), this API is dying and most platforms don't support
it, we change it to a more generic way to use devcietree.
Hui Wang (3):
Input: egalax_ts: get gpio from devicetree node
Input: add devicetree binding note for egalax_ts
ARM: dts: imx6q-sabrelite: add eeti egalax touchscreen
.../b
i.MX6Q sabrelite board uses i2c3 to connect an eeti egalax
touchscreen controller, add it as an i2c slave device in the dts.
Signed-off-by: Hui Wang
---
arch/arm/boot/dts/imx6q-sabrelite.dts | 16
arch/arm/boot/dts/imx6q.dtsi |7 +++
2 files changed, 23
The egalax_ts driver needs to get the gpio number of the irq pin,
and use this gpio to wake up the controller. So add a note
for this change.
Signed-off-by: Hui Wang
---
.../bindings/input/touchscreen/egalax-ts.txt | 19 +++
1 files changed, 19 insertions(+), 0 deletions
Shawn Guo wrote:
On Thu, Aug 16, 2012 at 06:47:31PM +0800, Hui Wang wrote:
i.MX6Q sabrelite board uses i2c3 to connect an eeti egalax
touchscreen controller, add it as an i2c slave device in the dts.
Signed-off-by: Hui Wang
Looks good. Will apply it after the driver part gets
Arnd Bergmann wrote:
On Friday 17 August 2012, Shawn Guo wrote:
On Thu, Aug 16, 2012 at 06:47:29PM +0800, Hui Wang wrote:
The irq_to_gpio() is old, most platforms use GENERIC_GPIO framework
and don't support this API anymore.
The i.MX6q sabrelite platform equips an egalax touchs
, please apply 0001-xxx.patch and 0002-xxx.patch to
your tree. Shawn will merge 0003-xxx.patch from his tree.
Thanks,
Hui.
Hui Wang (3):
Input: egalax_ts: get gpio from devicetree node
Input: add devicetree binding note for egalax_ts
ARM: dts: imx6q-sabrelite: add eeti egalax touchscreen
o get gpio.
Add a return value checking for waking up the controller in the probe
function, this guarantee only a workable device can pass init.
Ackyed-by Zhang Jiejing
Reviewed-by: Shawn Guo
Signed-off-by: Hui Wang
---
drivers/input/touchscreen/egalax_ts.c | 25 ++---
1
The egalax_ts driver needs to get the gpio number of the irq pin,
and use this gpio to wake up the controller. So add a note
for this change.
Ackyed-by Zhang Jiejing
Reviewed-by: Shawn Guo
Signed-off-by: Hui Wang
---
.../bindings/input/touchscreen/egalax-ts.txt | 19
i.MX6Q sabrelite board uses i2c3 to connect an eeti egalax
touchscreen controller, add it as an i2c slave device in the dts.
Reviewed-by: Shawn Guo
Signed-off-by: Hui Wang
---
arch/arm/boot/dts/imx6q-sabrelite.dts | 16
arch/arm/boot/dts/imx6q.dtsi |9
Shawn Guo wrote:
Add LAKML ...
On Wed, Oct 10, 2012 at 09:30:36AM -0700, Dmitry Torokhov wrote:
Hi Hui,
On Wed, Oct 10, 2012 at 05:12:01PM +0800, Hui Wang wrote:
The irq_to_gpio() is old, most platforms use GENERIC_GPIO framework
and don't support this API anymore.
The i
25 matches
Mail list logo