Skip to contentSkip to conversation

Input: add bu21029 touch driver

PATCH Jonas Mark (BT-FIR/ENG1) 2 participants 3 messages Jun 13, 2018 – Jun 14, 2018

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

Hello Dmitry,

Quoted 6 lines
Quoted 4 lines

[PATCH v5] Input: add bu21029 touch driver

Add Rohm BU21029 resistive touch panel controller support with I2C interface.

Is the patch ready to be pushed upstream? Is there anything I still need to do?

I would like to kindly remind you of the BU21029 touch screen driver. Could you please forward it to the mainline kernel?

Greetings,
Mark

Mark Jonas

Building Technologies, Panel Software Fire (BT-FIR/ENG1)
Bosch Sicherheitssysteme GmbH | Postfach 11 11 | 85626 Grasbrunn | GERMANY | www.boschsecurity.com

Sitz: Stuttgart, Registergericht: Amtsgericht Stuttgart HRB 23118
Aufsichtsratsvorsitzender: Stefan Hartung; Geschäftsführung: Gert van Iperen, Andreas Bartz, Thomas Quante, Bernhard Schuster

maintainer
#1 lore raw

Hi Mark,

Quoted 11 lines · On Wed, Jun 13, 2018 at 03:27:16PM +0000, Jonas Mark (BT-FIR/ENG1) wrote:

Hello Dmitry,

Quoted 6 lines
Quoted 4 lines

[PATCH v5] Input: add bu21029 touch driver

Add Rohm BU21029 resistive touch panel controller support with I2C interface.

Is the patch ready to be pushed upstream? Is there anything I still need to do?

I would like to kindly remind you of the BU21029 touch screen driver. Could you please forward it to the mainline kernel?

Sorry for the delay. Could you please tell me if the patch below (shoudl apply on top of your v5 version) works?

Thanks!

Signature · 20 lines
Dmitry


Input: bu - misc fixes

From: Dmitry Torokhov <[email protected]>

- add support for VDD supply
- reset GPIO is optional - it is not necessarily wired to AP
- add OF match table
- rudimentary handling of touchscreen as wakeup source
- removed bu21029_remove() as we have ->close method so touchscreen will be
  disabled/powered down upon unregistration
- misc code rearrangements

Signed-off-by: Dmitry Torokhov <[email protected]>
---
 .../bindings/input/touchscreen/bu21029.txt         |    3 
 drivers/input/touchscreen/bu21029_ts.c             |  325 ++++++++++----------
 2 files changed, 169 insertions(+), 159 deletions(-)
Documentation/devicetree/bindings/input/touchscreen/bu21029.txt +2 -1
index 030a888365dff..1aaa647cc3eaa 100644
@@ -5,13 +5,14 @@ Required properties:
  - reg                     : i2c device address of the chip (0x40 or 0x41)
  - interrupt-parent        : the phandle for the gpio controller
  - interrupts              : (gpio) interrupt to which the chip is connected
- - reset-gpios             : gpio pin to reset the chip (active low)
  - rohm,x-plate-ohms       : x-plate resistance in Ohm
 
 Optional properties:
+ - reset-gpios             : gpio pin to reset the chip (active low)
  - touchscreen-size-x      : horizontal resolution of touchscreen (in pixels)
  - touchscreen-size-y      : vertical resolution of touchscreen (in pixels)
  - touchscreen-max-pressure: maximum pressure value
+ - vdd-supply              : power supply for the controoler
 
 Example:
 
drivers/input/touchscreen/bu21029_ts.c +167 -158

505 lines not on this page · raw message

#2 lore raw

Hello Dmitry,

Quoted 2 lines

Sorry for the delay. Could you please tell me if the patch below (shoudl apply on top of your v5 version) works?

The patch applies cleanly and we will give the code a thorough test.

Quoted 8 lines
Documentation/devicetree/bindings/input/touchscreen/bu21029.txt +0 -0
index 030a888365dff..1aaa647cc3eaa 100644
@@ -5,13 +5,14 @@ Required properties:
  - reg                     : i2c device address of the chip (0x40 or 0x41)
  - interrupt-parent        : the phandle for the gpio controller

Documentation/devicetree/bindings/input/touchscreen/bu21029.txt Required properties: · line 15

Quoted 10 lines
Documentation/devicetree/bindings/input/touchscreen/bu21029.txt +2 -1
  - interrupts              : (gpio) interrupt to which the chip is connected
- - reset-gpios             : gpio pin to reset the chip (active low)
  - rohm,x-plate-ohms       : x-plate resistance in Ohm
 
 Optional properties:
+ - reset-gpios             : gpio pin to reset the chip (active low)
  - touchscreen-size-x      : horizontal resolution of touchscreen (in pixels)
  - touchscreen-size-y      : vertical resolution of touchscreen (in pixels)
  - touchscreen-max-pressure: maximum pressure value
+ - vdd-supply              : power supply for the controoler

There is a typo in controller.

Greetings,
Mark

Building Technologies, Panel Software Fire (BT-FIR/ENG1)
Bosch Sicherheitssysteme GmbH | Postfach 11 11 | 85626 Grasbrunn | GERMANY | www.boschsecurity.com

Sitz: Stuttgart, Registergericht: Amtsgericht Stuttgart HRB 23118
Aufsichtsratsvorsitzender: Stefan Hartung; Geschäftsführung: Gert van Iperen, Andreas Bartz, Thomas Quante, Bernhard Schuster