Skip to contentSkip to conversation

Input: synaptics-rmi4: Synaptics RMI4 Driver

PATCH In review Andrew Duggan 6 participants 11 messages Feb 10, 2016 – Mar 16, 2016 HID

lore
Share & tools
lore
#0 lore raw

v5 cover Input: synaptics-rmi4: Synaptics RMI4 Driver

This is the v5 patch series which fixes the issues identified by kbuild and coccinelle in the previous patch series. These include:

- Using ARRAY_SIZE instead of a custom macro to calculate the size of the function handler array.
- Remove setting the .owner field for the driver in rmi_i2c and rmi_spi since the i2c-core and spi set that field.
- Fix if statment in rmi_f30 which was testing has_led twice instead of testing has_gpio.

Thanks,
Andrew

Andrew Duggan (10):
Input: synaptics-rmi4: Add support for Synaptics RMI4 devices
Input: synaptics-rmi4: Add I2C transport driver
Input: synaptics-rmi4: Add device tree support for RMI4 I2C devices
Input: synaptics-rmi4: Add support for 2D sensors and F11
Input: synaptics-rmi4: Add device tree support for 2d sensors and F11
Input: synaptics-rmi4: Add support for F12
Input: synaptics-rmi4: Add support for F30
Input: synaptics-rmi4: Add SPI transport driver
Input: synaptics-rmi4: Add device tree support to the SPI transport
driver
HID: rmi: Make hid-rmi a transport driver for synaptics-rmi4

 .../bindings/input/rmi4/rmi_2d_sensor.txt          |   56 +
 .../devicetree/bindings/input/rmi4/rmi_f01.txt     |   39 +
 .../devicetree/bindings/input/rmi4/rmi_i2c.txt     |   53 +
 .../devicetree/bindings/input/rmi4/rmi_spi.txt     |   57 +
 .../bindings/input/touchscreen/touchscreen.txt     |    2 +
 Documentation/devicetree/bindings/spi/spi-bus.txt  |    2 +
 .../devicetree/bindings/vendor-prefixes.txt        |    1 +
 drivers/hid/Kconfig                                |    2 +-
 drivers/hid/hid-rmi.c                              |  891 ++-----------
 drivers/input/Kconfig                              |    2 +
 drivers/input/Makefile                             |    2 +
 drivers/input/rmi4/Kconfig                         |   63 +
 drivers/input/rmi4/Makefile                        |   13 +
 drivers/input/rmi4/rmi_2d_sensor.c                 |  329 +++++
 drivers/input/rmi4/rmi_2d_sensor.h                 |   87 ++
 drivers/input/rmi4/rmi_bus.c                       |  419 +++++++
 drivers/input/rmi4/rmi_bus.h                       |  182 +++
 drivers/input/rmi4/rmi_driver.c                    | 1055 ++++++++++++++++
 drivers/input/rmi4/rmi_driver.h                    |  105 ++
 drivers/input/rmi4/rmi_f01.c                       |  624 ++++++++++
 drivers/input/rmi4/rmi_f11.c                       | 1317 ++++++++++++++++++++
 drivers/input/rmi4/rmi_f12.c                       |  457 +++++++
 drivers/input/rmi4/rmi_f30.c                       |  407 ++++++
 drivers/input/rmi4/rmi_i2c.c                       |  397 ++++++
 drivers/input/rmi4/rmi_spi.c                       |  589 +++++++++
 include/linux/rmi.h                                |  359 ++++++
 include/uapi/linux/input.h                         |    1 +
 27 files changed, 6693 insertions(+), 818 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/input/rmi4/rmi_2d_sensor.txt
 create mode 100644 Documentation/devicetree/bindings/input/rmi4/rmi_f01.txt
 create mode 100644 Documentation/devicetree/bindings/input/rmi4/rmi_i2c.txt
 create mode 100644 Documentation/devicetree/bindings/input/rmi4/rmi_spi.txt
 create mode 100644 drivers/input/rmi4/Kconfig
 create mode 100644 drivers/input/rmi4/Makefile
 create mode 100644 drivers/input/rmi4/rmi_2d_sensor.c
 create mode 100644 drivers/input/rmi4/rmi_2d_sensor.h
 create mode 100644 drivers/input/rmi4/rmi_bus.c
 create mode 100644 drivers/input/rmi4/rmi_bus.h
 create mode 100644 drivers/input/rmi4/rmi_driver.c
 create mode 100644 drivers/input/rmi4/rmi_driver.h
 create mode 100644 drivers/input/rmi4/rmi_f01.c
 create mode 100644 drivers/input/rmi4/rmi_f11.c
 create mode 100644 drivers/input/rmi4/rmi_f12.c
 create mode 100644 drivers/input/rmi4/rmi_f30.c
 create mode 100644 drivers/input/rmi4/rmi_i2c.c
 create mode 100644 drivers/input/rmi4/rmi_spi.c
 create mode 100644 include/linux/rmi.h
Signature · 1 line
2.5.0
Tested-by on the v5 series
#1 lore raw
Quoted 10 lines · Andrew Duggan

This is the v5 patch series which fixes the issues identified by kbuild and coccinelle in the previous patch series. These include:

- Using ARRAY_SIZE instead of a custom macro to calculate the size of the function handler array.
- Remove setting the .owner field for the driver in rmi_i2c and rmi_spi since the i2c-core and spi set that field.
- Fix if statment in rmi_f30 which was testing has_led twice instead of testing has_gpio.

Thanks Andrew for the (hopefully) last respin.

For the rmi4 core/bus:

The HID part does not apply on top of Jiri's tree, so we might want to prevent Dmitri to pick this patch up for now (the 10/10).

Regarding the SMBus part, I have pushed my rebase on top of your v5 here:
https://github.com/bentiss/linux/tree/synaptics-rmi4-smbus-v4.5-rc3%2B

There is no trackpoint support (no PS/2 redirection) nor support for the embedded buttons. I think it would be good to already merge the current RMI4 bits so at least I2C and SPI could use it, and then figure out the remaining parts for HID and SMBus.

Cheers,
Benjamin

Quoted 67 lines

Thanks,
Andrew

Andrew Duggan (10):
Input: synaptics-rmi4: Add support for Synaptics RMI4 devices
Input: synaptics-rmi4: Add I2C transport driver
Input: synaptics-rmi4: Add device tree support for RMI4 I2C devices
Input: synaptics-rmi4: Add support for 2D sensors and F11
Input: synaptics-rmi4: Add device tree support for 2d sensors and F11
Input: synaptics-rmi4: Add support for F12
Input: synaptics-rmi4: Add support for F30
Input: synaptics-rmi4: Add SPI transport driver
Input: synaptics-rmi4: Add device tree support to the SPI transport
driver
HID: rmi: Make hid-rmi a transport driver for synaptics-rmi4

 .../bindings/input/rmi4/rmi_2d_sensor.txt          |   56 +
 .../devicetree/bindings/input/rmi4/rmi_f01.txt     |   39 +
 .../devicetree/bindings/input/rmi4/rmi_i2c.txt     |   53 +
 .../devicetree/bindings/input/rmi4/rmi_spi.txt     |   57 +
 .../bindings/input/touchscreen/touchscreen.txt     |    2 +
 Documentation/devicetree/bindings/spi/spi-bus.txt  |    2 +
 .../devicetree/bindings/vendor-prefixes.txt        |    1 +
 drivers/hid/Kconfig                                |    2 +-
 drivers/hid/hid-rmi.c                              |  891 ++-----------
 drivers/input/Kconfig                              |    2 +
 drivers/input/Makefile                             |    2 +
 drivers/input/rmi4/Kconfig                         |   63 +
 drivers/input/rmi4/Makefile                        |   13 +
 drivers/input/rmi4/rmi_2d_sensor.c                 |  329 +++++
 drivers/input/rmi4/rmi_2d_sensor.h                 |   87 ++
 drivers/input/rmi4/rmi_bus.c                       |  419 +++++++
 drivers/input/rmi4/rmi_bus.h                       |  182 +++
 drivers/input/rmi4/rmi_driver.c                    | 1055 ++++++++++++++++
 drivers/input/rmi4/rmi_driver.h                    |  105 ++
 drivers/input/rmi4/rmi_f01.c                       |  624 ++++++++++
 drivers/input/rmi4/rmi_f11.c                       | 1317 ++++++++++++++++++++
 drivers/input/rmi4/rmi_f12.c                       |  457 +++++++
 drivers/input/rmi4/rmi_f30.c                       |  407 ++++++
 drivers/input/rmi4/rmi_i2c.c                       |  397 ++++++
 drivers/input/rmi4/rmi_spi.c                       |  589 +++++++++
 include/linux/rmi.h                                |  359 ++++++
 include/uapi/linux/input.h                         |    1 +
 27 files changed, 6693 insertions(+), 818 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/input/rmi4/rmi_2d_sensor.txt
 create mode 100644 Documentation/devicetree/bindings/input/rmi4/rmi_f01.txt
 create mode 100644 Documentation/devicetree/bindings/input/rmi4/rmi_i2c.txt
 create mode 100644 Documentation/devicetree/bindings/input/rmi4/rmi_spi.txt
 create mode 100644 drivers/input/rmi4/Kconfig
 create mode 100644 drivers/input/rmi4/Makefile
 create mode 100644 drivers/input/rmi4/rmi_2d_sensor.c
 create mode 100644 drivers/input/rmi4/rmi_2d_sensor.h
 create mode 100644 drivers/input/rmi4/rmi_bus.c
 create mode 100644 drivers/input/rmi4/rmi_bus.h
 create mode 100644 drivers/input/rmi4/rmi_driver.c
 create mode 100644 drivers/input/rmi4/rmi_driver.h
 create mode 100644 drivers/input/rmi4/rmi_f01.c
 create mode 100644 drivers/input/rmi4/rmi_f11.c
 create mode 100644 drivers/input/rmi4/rmi_f12.c
 create mode 100644 drivers/input/rmi4/rmi_f30.c
 create mode 100644 drivers/input/rmi4/rmi_i2c.c
 create mode 100644 drivers/input/rmi4/rmi_spi.c
 create mode 100644 include/linux/rmi.h
Signature · 1 line
2.5.0
#2 lore raw
Quoted 19 lines · Benjamin Tissoires
Quoted 10 lines · Andrew Duggan

This is the v5 patch series which fixes the issues identified by kbuild and coccinelle in the previous patch series. These include:

- Using ARRAY_SIZE instead of a custom macro to calculate the size of the function handler array.
- Remove setting the .owner field for the driver in rmi_i2c and rmi_spi since the i2c-core and spi set that field.
- Fix if statment in rmi_f30 which was testing has_led twice instead of testing has_gpio.

Thanks Andrew for the (hopefully) last respin.

For the rmi4 core/bus:

The HID part does not apply on top of Jiri's tree, so we might want to prevent Dmitri to pick this patch up for now (the 10/10).

Quoted 8 lines

Regarding the SMBus part, I have pushed my rebase on top of your v5 here:
https://github.com/bentiss/linux/tree/synaptics-rmi4-smbus-v4.5-rc3%2B

There is no trackpoint support (no PS/2 redirection) nor support for the embedded buttons. I think it would be good to already merge the current RMI4 bits so at least I2C and SPI could use it, and then figure out the remaining parts for HID and SMBus.

Yes, my hid-rmi patch b786ae8e269b (HID: rmi: Check that the device is a RMI device in suspend and resume callbacks) is in Jiri's tree, but not yet anywhere else. Including the HID patch in this patch series has probably unnecessarily complicated things since HID is a separate tree. It is self contained and I can resubmit HID support as a standalone patch once the core has been accepted.

But, I do think that HID support is ready to go and the changes need to get the patch to apply cleanly on top of b786ae8e269b are minimal.

Andrew

Quoted 70 lines

Cheers,
Benjamin

Quoted 67 lines

Thanks,
Andrew

Andrew Duggan (10):
Input: synaptics-rmi4: Add support for Synaptics RMI4 devices
Input: synaptics-rmi4: Add I2C transport driver
Input: synaptics-rmi4: Add device tree support for RMI4 I2C devices
Input: synaptics-rmi4: Add support for 2D sensors and F11
Input: synaptics-rmi4: Add device tree support for 2d sensors and F11
Input: synaptics-rmi4: Add support for F12
Input: synaptics-rmi4: Add support for F30
Input: synaptics-rmi4: Add SPI transport driver
Input: synaptics-rmi4: Add device tree support to the SPI transport
driver
HID: rmi: Make hid-rmi a transport driver for synaptics-rmi4

  .../bindings/input/rmi4/rmi_2d_sensor.txt          |   56 +
  .../devicetree/bindings/input/rmi4/rmi_f01.txt     |   39 +
  .../devicetree/bindings/input/rmi4/rmi_i2c.txt     |   53 +
  .../devicetree/bindings/input/rmi4/rmi_spi.txt     |   57 +
  .../bindings/input/touchscreen/touchscreen.txt     |    2 +
  Documentation/devicetree/bindings/spi/spi-bus.txt  |    2 +
  .../devicetree/bindings/vendor-prefixes.txt        |    1 +
  drivers/hid/Kconfig                                |    2 +-
  drivers/hid/hid-rmi.c                              |  891 ++-----------
  drivers/input/Kconfig                              |    2 +
  drivers/input/Makefile                             |    2 +
  drivers/input/rmi4/Kconfig                         |   63 +
  drivers/input/rmi4/Makefile                        |   13 +
  drivers/input/rmi4/rmi_2d_sensor.c                 |  329 +++++
  drivers/input/rmi4/rmi_2d_sensor.h                 |   87 ++
  drivers/input/rmi4/rmi_bus.c                       |  419 +++++++
  drivers/input/rmi4/rmi_bus.h                       |  182 +++
  drivers/input/rmi4/rmi_driver.c                    | 1055 ++++++++++++++++
  drivers/input/rmi4/rmi_driver.h                    |  105 ++
  drivers/input/rmi4/rmi_f01.c                       |  624 ++++++++++
  drivers/input/rmi4/rmi_f11.c                       | 1317 ++++++++++++++++++++
  drivers/input/rmi4/rmi_f12.c                       |  457 +++++++
  drivers/input/rmi4/rmi_f30.c                       |  407 ++++++
  drivers/input/rmi4/rmi_i2c.c                       |  397 ++++++
  drivers/input/rmi4/rmi_spi.c                       |  589 +++++++++
  include/linux/rmi.h                                |  359 ++++++
  include/uapi/linux/input.h                         |    1 +
  27 files changed, 6693 insertions(+), 818 deletions(-)

create mode 100644 Documentation/devicetree/bindings/input/rmi4/rmi_2d_sensor.txt create mode 100644 Documentation/devicetree/bindings/input/rmi4/rmi_f01.txt create mode 100644 Documentation/devicetree/bindings/input/rmi4/rmi_i2c.txt create mode 100644 Documentation/devicetree/bindings/input/rmi4/rmi_spi.txt create mode 100644 drivers/input/rmi4/Kconfig
create mode 100644 drivers/input/rmi4/Makefile
create mode 100644 drivers/input/rmi4/rmi_2d_sensor.c
create mode 100644 drivers/input/rmi4/rmi_2d_sensor.h
create mode 100644 drivers/input/rmi4/rmi_bus.c
create mode 100644 drivers/input/rmi4/rmi_bus.h
create mode 100644 drivers/input/rmi4/rmi_driver.c
create mode 100644 drivers/input/rmi4/rmi_driver.h
create mode 100644 drivers/input/rmi4/rmi_f01.c
create mode 100644 drivers/input/rmi4/rmi_f11.c
create mode 100644 drivers/input/rmi4/rmi_f12.c
create mode 100644 drivers/input/rmi4/rmi_f30.c
create mode 100644 drivers/input/rmi4/rmi_i2c.c
create mode 100644 drivers/input/rmi4/rmi_spi.c
create mode 100644 include/linux/rmi.h

Signature · 1 line
2.5.0
#3 lore raw
Quoted 36 lines · Andrew Duggan
Quoted 19 lines · Benjamin Tissoires
Quoted 10 lines · Andrew Duggan

This is the v5 patch series which fixes the issues identified by kbuild and coccinelle in the previous patch series. These include:

- Using ARRAY_SIZE instead of a custom macro to calculate the size of the function handler array.
- Remove setting the .owner field for the driver in rmi_i2c and rmi_spi since the i2c-core and spi set that field.
- Fix if statment in rmi_f30 which was testing has_led twice instead of testing has_gpio.

Thanks Andrew for the (hopefully) last respin.

For the rmi4 core/bus:

The HID part does not apply on top of Jiri's tree, so we might want to prevent Dmitri to pick this patch up for now (the 10/10).

Quoted 8 lines

Regarding the SMBus part, I have pushed my rebase on top of your v5 here:
https://github.com/bentiss/linux/tree/synaptics-rmi4-smbus-v4.5-rc3%2B

There is no trackpoint support (no PS/2 redirection) nor support for the embedded buttons. I think it would be good to already merge the current RMI4 bits so at least I2C and SPI could use it, and then figure out the remaining parts for HID and SMBus.

Yes, my hid-rmi patch b786ae8e269b (HID: rmi: Check that the device is a RMI device in suspend and resume callbacks) is in Jiri's tree, but not yet anywhere else. Including the HID patch in this patch series has probably unnecessarily complicated things since HID is a separate tree. It is self contained and I can resubmit HID support as a standalone patch once the core has been accepted.

Quoted 2 lines

But, I do think that HID support is ready to go and the changes need to get the patch to apply cleanly on top of b786ae8e269b are minimal.

I agree that the HID part should use rmi4 core as soon as possible. It's just that the patch in this series conflicts with the upstream HID tree. And this usually requires coordination between Jiri and Dmitry. I was mentioning it to avoid having Linus to handle the merge himself, or at least so we can explain to him how the merge should be done because of the conflict.

Cheers,
Benjamin

Quoted 74 lines

Andrew

Quoted 70 lines

Cheers,
Benjamin

Quoted 67 lines

Thanks,
Andrew

Andrew Duggan (10):
Input: synaptics-rmi4: Add support for Synaptics RMI4 devices
Input: synaptics-rmi4: Add I2C transport driver
Input: synaptics-rmi4: Add device tree support for RMI4 I2C devices
Input: synaptics-rmi4: Add support for 2D sensors and F11
Input: synaptics-rmi4: Add device tree support for 2d sensors and F11
Input: synaptics-rmi4: Add support for F12
Input: synaptics-rmi4: Add support for F30
Input: synaptics-rmi4: Add SPI transport driver
Input: synaptics-rmi4: Add device tree support to the SPI transport
driver
HID: rmi: Make hid-rmi a transport driver for synaptics-rmi4

 .../bindings/input/rmi4/rmi_2d_sensor.txt          |   56 +
 .../devicetree/bindings/input/rmi4/rmi_f01.txt     |   39 +
 .../devicetree/bindings/input/rmi4/rmi_i2c.txt     |   53 +
 .../devicetree/bindings/input/rmi4/rmi_spi.txt     |   57 +
 .../bindings/input/touchscreen/touchscreen.txt     |    2 +
 Documentation/devicetree/bindings/spi/spi-bus.txt  |    2 +
 .../devicetree/bindings/vendor-prefixes.txt        |    1 +
 drivers/hid/Kconfig                                |    2 +-
 drivers/hid/hid-rmi.c                              |  891 ++-----------
 drivers/input/Kconfig                              |    2 +
 drivers/input/Makefile                             |    2 +
 drivers/input/rmi4/Kconfig                         |   63 +
 drivers/input/rmi4/Makefile                        |   13 +
 drivers/input/rmi4/rmi_2d_sensor.c                 |  329 +++++
 drivers/input/rmi4/rmi_2d_sensor.h                 |   87 ++
 drivers/input/rmi4/rmi_bus.c                       |  419 +++++++
 drivers/input/rmi4/rmi_bus.h                       |  182 +++
 drivers/input/rmi4/rmi_driver.c                    | 1055 ++++++++++++++++
 drivers/input/rmi4/rmi_driver.h                    |  105 ++
 drivers/input/rmi4/rmi_f01.c                       |  624 ++++++++++
 drivers/input/rmi4/rmi_f11.c                       | 1317 ++++++++++++++++++++
 drivers/input/rmi4/rmi_f12.c                       |  457 +++++++
 drivers/input/rmi4/rmi_f30.c                       |  407 ++++++
 drivers/input/rmi4/rmi_i2c.c                       |  397 ++++++
 drivers/input/rmi4/rmi_spi.c                       |  589 +++++++++
 include/linux/rmi.h                                |  359 ++++++
 include/uapi/linux/input.h                         |    1 +
 27 files changed, 6693 insertions(+), 818 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/input/rmi4/rmi_2d_sensor.txt
 create mode 100644 Documentation/devicetree/bindings/input/rmi4/rmi_f01.txt
 create mode 100644 Documentation/devicetree/bindings/input/rmi4/rmi_i2c.txt
 create mode 100644 Documentation/devicetree/bindings/input/rmi4/rmi_spi.txt
 create mode 100644 drivers/input/rmi4/Kconfig
 create mode 100644 drivers/input/rmi4/Makefile
 create mode 100644 drivers/input/rmi4/rmi_2d_sensor.c
 create mode 100644 drivers/input/rmi4/rmi_2d_sensor.h
 create mode 100644 drivers/input/rmi4/rmi_bus.c
 create mode 100644 drivers/input/rmi4/rmi_bus.h
 create mode 100644 drivers/input/rmi4/rmi_driver.c
 create mode 100644 drivers/input/rmi4/rmi_driver.h
 create mode 100644 drivers/input/rmi4/rmi_f01.c
 create mode 100644 drivers/input/rmi4/rmi_f11.c
 create mode 100644 drivers/input/rmi4/rmi_f12.c
 create mode 100644 drivers/input/rmi4/rmi_f30.c
 create mode 100644 drivers/input/rmi4/rmi_i2c.c
 create mode 100644 drivers/input/rmi4/rmi_spi.c
 create mode 100644 include/linux/rmi.h
Signature · 1 line
2.5.0
Tested-by on the v5 series
#4 lore raw
In reply to Andrew Duggan
Quoted 9 lines · Andrew Duggan

This is the v5 patch series which fixes the issues identified by kbuild and coccinelle in the previous patch series. These include:

- Using ARRAY_SIZE instead of a custom macro to calculate the size of the function handler array.
- Remove setting the .owner field for the driver in rmi_i2c and rmi_spi since the i2c-core and spi set that field.
- Fix if statment in rmi_f30 which was testing has_led twice instead of testing has_gpio.

Works like a charm.

Yours,
Linus Walleij

#5 lore raw
Quoted 5 lines · Linus Walleij
Quoted 3 lines · Andrew Duggan

This is the v5 patch series which fixes the issues identified by kbuild and coccinelle in the previous patch series. These include:

Quoted 8 lines
Quoted 6 lines

- Using ARRAY_SIZE instead of a custom macro to calculate the size of the function handler array.
- Remove setting the .owner field for the driver in rmi_i2c and rmi_spi since the i2c-core and spi set that field.
- Fix if statment in rmi_f30 which was testing has_led twice instead of testing has_gpio.

Works like a charm.

Thanks for testing. At this point except for the touchscreen binding rename fix needed in patch 5, all of the outstanding issues have been addressed. If the rest of the patch series is acceptable, then I can do a final v6 respin which fixes the binding and also removes the HID patch. But, if more work needs to be done on the patch series I can wait to do the respin. Dmitry, what do you think of the patch series at this point?

Thanks,
Andrew

Quoted 2 lines

Yours,
Linus Walleij

#6 lore raw
Quoted 15 lines · Andrew Duggan
Quoted 5 lines · Linus Walleij
Quoted 3 lines · Andrew Duggan

This is the v5 patch series which fixes the issues identified by kbuild and coccinelle in the previous patch series. These include:

Quoted 8 lines
Quoted 6 lines

- Using ARRAY_SIZE instead of a custom macro to calculate the size of the function handler array.
- Remove setting the .owner field for the driver in rmi_i2c and rmi_spi since the i2c-core and spi set that field.
- Fix if statment in rmi_f30 which was testing has_led twice instead of testing has_gpio.

Works like a charm.

Quoted 6 lines

Thanks for testing. At this point except for the touchscreen binding rename fix needed in patch 5, all of the outstanding issues have been addressed. If the rest of the patch series is acceptable, then I can do a final v6 respin which fixes the binding and also removes the HID patch. But, if more work needs to be done on the patch series I can wait to do the respin. Dmitry, what do you think of the patch series at this point?

Dmitry, ping on this one...

I'd like to see the series in 4.6, and we are getting closer of the merge window. Could we get some of your time on this?

Cheers,
Benjamin

Quoted 7 lines

Thanks,
Andrew

Quoted 2 lines

Yours,
Linus Walleij

#7 lore raw
Quoted 23 lines · Benjamin Tissoires
Quoted 15 lines · Andrew Duggan
Quoted 5 lines · Linus Walleij
Quoted 3 lines · Andrew Duggan

This is the v5 patch series which fixes the issues identified by kbuild and coccinelle in the previous patch series. These include:

Quoted 8 lines
Quoted 6 lines

- Using ARRAY_SIZE instead of a custom macro to calculate the size of the function handler array.
- Remove setting the .owner field for the driver in rmi_i2c and rmi_spi since the i2c-core and spi set that field.
- Fix if statment in rmi_f30 which was testing has_led twice instead of testing has_gpio.

Works like a charm.

Quoted 6 lines

Thanks for testing. At this point except for the touchscreen binding rename fix needed in patch 5, all of the outstanding issues have been addressed. If the rest of the patch series is acceptable, then I can do a final v6 respin which fixes the binding and also removes the HID patch. But, if more work needs to be done on the patch series I can wait to do the respin. Dmitry, what do you think of the patch series at this point?

Quoted 4 lines

Dmitry, ping on this one...

I'd like to see the series in 4.6, and we are getting closer of the merge window. Could we get some of your time on this?

I adjusted the binding on patch 5 (to read -x-mm and y-mm) and applied the first 9 leaving the HID out for now.

Thanks.

Signature · 1 line
Dmitry
#8 lore raw
Quoted 24 lines · Dmitry Torokhov
Quoted 23 lines · Benjamin Tissoires
Quoted 21 lines · Andrew Duggan
Quoted 5 lines · Linus Walleij
Quoted 3 lines · Andrew Duggan

This is the v5 patch series which fixes the issues identified by kbuild and coccinelle in the previous patch series. These include:

Quoted 8 lines
Quoted 6 lines

- Using ARRAY_SIZE instead of a custom macro to calculate the size of the function handler array.
- Remove setting the .owner field for the driver in rmi_i2c and rmi_spi since the i2c-core and spi set that field.
- Fix if statment in rmi_f30 which was testing has_led twice instead of testing has_gpio.

Works like a charm.

Thanks for testing. At this point except for the touchscreen binding rename fix needed in patch 5, all of the outstanding issues have been addressed. If the rest of the patch series is acceptable, then I can do a final v6 respin which fixes the binding and also removes the HID patch. But, if more work needs to be done on the patch series I can wait to do the respin. Dmitry, what do you think of the patch series at this point?

Quoted 8 lines
Quoted 4 lines

Dmitry, ping on this one...

I'd like to see the series in 4.6, and we are getting closer of the merge window. Could we get some of your time on this?

I adjusted the binding on patch 5 (to read -x-mm and y-mm) and applied the first 9 leaving the HID out for now.

Great! Thanks everyone for testing and reviewing.

Andrew

Quoted 8 lines

Thanks.

--
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#9 lore raw
In reply to Dmitry Torokhov
Quoted 7 lines · Dmitry Torokhov
Quoted 2 lines · Benjamin Tissoires

I'd like to see the series in 4.6, and we are getting closer of the merge window. Could we get some of your time on this?

I adjusted the binding on patch 5 (to read -x-mm and y-mm) and applied the first 9 leaving the HID out for now.

Thanks to everyone involved that we finally got this in upstream shape after all these years!

Yours,
Linus Walleij

Tested-by on the v5 series
#10 lore raw
In reply to Andrew Duggan
Quoted 13 lines · Andrew Duggan

This is the v5 patch series which fixes the issues identified by kbuild and coccinelle in the previous patch series. These include:

- Using ARRAY_SIZE instead of a custom macro to calculate the size of the function handler array.
- Remove setting the .owner field for the driver in rmi_i2c and rmi_spi since the i2c-core and spi set that field.
- Fix if statment in rmi_f30 which was testing has_led twice instead of testing has_gpio.

Thanks,
Andrew

Quoted 13 lines

Andrew Duggan (10):
Input: synaptics-rmi4: Add support for Synaptics RMI4 devices
Input: synaptics-rmi4: Add I2C transport driver
Input: synaptics-rmi4: Add device tree support for RMI4 I2C devices
Input: synaptics-rmi4: Add support for 2D sensors and F11
Input: synaptics-rmi4: Add device tree support for 2d sensors and F11
Input: synaptics-rmi4: Add support for F12
Input: synaptics-rmi4: Add support for F30
Input: synaptics-rmi4: Add SPI transport driver
Input: synaptics-rmi4: Add device tree support to the SPI transport
driver
HID: rmi: Make hid-rmi a transport driver for synaptics-rmi4

My rmi4 device is powered by two regulators that are left disabled by the boot, so I have a patch to acquire those and toggle them appropriately. I plan to send that out once your patches lands.

Regards,
Bjorn