Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1331556 > unrolled thread

[PATCH v5 00/10] Input: synaptics-rmi4: Synaptics RMI4 Driver

Started byAndrew Duggan <aduggan@synaptics.com>
First post2016-02-10 23:30 +0100
Last post2016-02-15 23:50 +0100
Articles 7 — 4 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH v5 00/10] Input: synaptics-rmi4: Synaptics RMI4 Driver Andrew Duggan <aduggan@synaptics.com> - 2016-02-10 23:30 +0100
    Re: [PATCH v5 00/10] Input: synaptics-rmi4: Synaptics RMI4 Driver Benjamin Tissoires <benjamin.tissoires@redhat.com> - 2016-02-11 11:10 +0100
      Re: [PATCH v5 00/10] Input: synaptics-rmi4: Synaptics RMI4 Driver Andrew Duggan <aduggan@synaptics.com> - 2016-02-11 22:40 +0100
        Re: [PATCH v5 00/10] Input: synaptics-rmi4: Synaptics RMI4 Driver Benjamin Tissoires <benjamin.tissoires@redhat.com> - 2016-02-12 09:00 +0100
    Re: [PATCH v5 00/10] Input: synaptics-rmi4: Synaptics RMI4 Driver Linus Walleij <linus.walleij@linaro.org> - 2016-02-12 14:00 +0100
      Re: [PATCH v5 00/10] Input: synaptics-rmi4: Synaptics RMI4 Driver Andrew Duggan <aduggan@synaptics.com> - 2016-02-12 19:20 +0100
    Re: [PATCH v5 00/10] Input: synaptics-rmi4: Synaptics RMI4 Driver Bjorn Andersson <bjorn.andersson@linaro.org> - 2016-02-15 23:50 +0100

#1331556 — [PATCH v5 00/10] Input: synaptics-rmi4: Synaptics RMI4 Driver

FromAndrew Duggan <aduggan@synaptics.com>
Date2016-02-10 23:30 +0100
Subject[PATCH v5 00/10] Input: synaptics-rmi4: Synaptics RMI4 Driver
Message-ID<r0LqQ-8kt-77@gated-at.bofh.it>
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

-- 
2.5.0

[toc] | [next] | [standalone]


#1331797

FromBenjamin Tissoires <benjamin.tissoires@redhat.com>
Date2016-02-11 11:10 +0100
Message-ID<r0Wme-7iA-9@gated-at.bofh.it>
In reply to#1331556
On Feb 10 2016 or thereabouts, Andrew Duggan wrote:
> 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:
Tested-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>

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

> 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
> 
> -- 
> 2.5.0
> 

[toc] | [prev] | [next] | [standalone]


#1332386

FromAndrew Duggan <aduggan@synaptics.com>
Date2016-02-11 22:40 +0100
Message-ID<r177X-63k-3@gated-at.bofh.it>
In reply to#1331797
On 02/11/2016 02:05 AM, Benjamin Tissoires wrote:
> On Feb 10 2016 or thereabouts, Andrew Duggan wrote:
>> 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:
> Tested-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
>
> 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.

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

> Cheers,
> Benjamin
>
>> 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
>>
>> -- 
>> 2.5.0
>>

[toc] | [prev] | [next] | [standalone]


#1332559

FromBenjamin Tissoires <benjamin.tissoires@redhat.com>
Date2016-02-12 09:00 +0100
Message-ID<r1gNY-3W4-11@gated-at.bofh.it>
In reply to#1332386
On Feb 11 2016 or thereabouts, Andrew Duggan wrote:
> On 02/11/2016 02:05 AM, Benjamin Tissoires wrote:
> >On Feb 10 2016 or thereabouts, Andrew Duggan wrote:
> >>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:
> >Tested-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
> >
> >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.
> 
> 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.

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

> 
> Andrew
> 
> >Cheers,
> >Benjamin
> >
> >>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
> >>
> >>-- 
> >>2.5.0
> >>
> 

[toc] | [prev] | [next] | [standalone]


#1332715

FromLinus Walleij <linus.walleij@linaro.org>
Date2016-02-12 14:00 +0100
Message-ID<r1lui-77r-29@gated-at.bofh.it>
In reply to#1331556
On Wed, Feb 10, 2016 at 11:23 PM, Andrew Duggan <aduggan@synaptics.com> wrote:

> 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.
Tested-by: Linus Walleij <linus.walleij@linaro.org>

Yours,
Linus Walleij

[toc] | [prev] | [next] | [standalone]


#1333001

FromAndrew Duggan <aduggan@synaptics.com>
Date2016-02-12 19:20 +0100
Message-ID<r1qtY-27E-17@gated-at.bofh.it>
In reply to#1332715
On 02/12/2016 04:54 AM, Linus Walleij wrote:
> On Wed, Feb 10, 2016 at 11:23 PM, Andrew Duggan <aduggan@synaptics.com> wrote:
>
>> 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.
> Tested-by: Linus Walleij <linus.walleij@linaro.org>

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

> Yours,
> Linus Walleij

[toc] | [prev] | [next] | [standalone]


#1334858

FromBjorn Andersson <bjorn.andersson@linaro.org>
Date2016-02-15 23:50 +0100
Message-ID<r2A7T-7qB-5@gated-at.bofh.it>
In reply to#1331556
On Wed, Feb 10, 2016 at 2:23 PM, Andrew Duggan <aduggan@synaptics.com> wrote:
> 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
>

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.

Tested-by: Bjorn Andersson <bjorn.andersson@linaro.org>

Regards,
Bjorn

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web