07 Jul, 2015

1 commit


19 Nov, 2014

1 commit

  • Because with OF we can pass more specific
    compatible flags (such as edt-ft5306) instead
    of generic edt-ft5x06, when i2c-core's
    of_i2c_register_devices() tries to request_module(),
    it'll request it with a non-existent specific module
    alias.

    In order to have this driver autoprobing again, we
    just need to add missing MODULE_ALIAS() entries to
    edt-ft5x06 driver.

    Thanks to Dmitry for noticing that it actually should
    autoprobe even with of_device_id.

    Cc: Dmitry Torokhov
    Cc:
    Cc: # v3.15+
    Fixes: dac90dc2 (Input: edt-ft5x06 - add DT support)
    Signed-off-by: Felipe Balbi
    Signed-off-by: Sekhar Nori

    Felipe Balbi
     

04 Jul, 2014

7 commits

  • [ Upstream commit cc071acaa2cf7b7b8c716ad48f3ba93a2e064687 ]

    The driver sends 3 bytes instead of 2 when accessing a register on the M09
    firmware, so writing to gain seems to overflow into the offset register.

    Signed-off-by: Robert Woerle
    Acked-By: Simon Budig
    Signed-off-by: Dmitry Torokhov
    Signed-off-by: Felipe Balbi

    Robert Woerle
     
  • [ Upstream commit e2c3ecf0ea8e87c5209371af7da107ebc47a5639 ]

    The if condition was accidentally deleted here so we return every time
    instead of returning on error.

    Fixes: fd335ab04b3f ('Input: edt-ft5x06 - add support for M09 firmware version')
    Signed-off-by: Dan Carpenter
    Reviewed-by: Jingoo Han
    Acked-By: Lothar Waßmann
    Signed-off-by: Dmitry Torokhov
    Signed-off-by: Felipe Balbi

    Dan Carpenter
     
  • [ Upstream commit fd335ab04b3f1b3309dfbfea71a1a79a7bacc4ad ]

    There is a new firmware version for the EDT-FT5x06 chip.
    Add support for detecting the firmware version and handle the
    differences appropriately.

    Signed-off-by: Lothar Waßmann
    Signed-off-by: Dmitry Torokhov
    Signed-off-by: Felipe Balbi

    Lothar Waßmann
     
  • [ Upstream commit ee3e946e31e6df0f9845f9b3d527252003603530 ]

    The chip may report invalid coordinates on touchdown events, so don't
    report the initial touchdown event.

    Signed-off-by: Lothar Waßmann
    Acked-by: Fugang Duan
    Signed-off-by: Dmitry Torokhov
    Signed-off-by: Felipe Balbi

    Lothar Waßmann
     
  • [ Upstream commit c0808467494318029f71185b42b61f1ae153afdc ]

    The FT5x06 datasheet specifies a minimum reset width of 5ms and a
    delay between deassertion of reset and start of reporting of 300ms.
    Adjust the delays to conform to the datasheet.

    With the original delays I sometimes experienced communication
    timeouts when initializing the controller.

    Signed-off-by: Lothar Waßmann
    Acked-by: Fugang Duan
    Signed-off-by: Dmitry Torokhov
    Signed-off-by: Felipe Balbi

    Lothar Waßmann
     
  • [ Upstream commit dac90dc23211996286c3b934057d0df77cfef0b4 ]

    Signed-off-by: Lothar Waßmann
    Signed-off-by: Dmitry Torokhov
    Signed-off-by: Felipe Balbi

    Lothar Waßmann
     
  • [ Upstream commit 1730d81460b929b1f217cb7d9cb193a7b0e58dd9 ]

    - remove redundant parens
    - remove redundant type casts
    - fix mixed tab/space indentation

    Signed-off-by: Lothar Waßmann
    Acked-by: Fugang Duan
    Signed-off-by: Dmitry Torokhov
    Signed-off-by: Felipe Balbi

    Lothar Waßmann
     

21 Jan, 2014

1 commit


06 Dec, 2013

1 commit

  • Use the wrapper function for retrieving the platform data instead
    of accessing dev->platform_data directly. This is a cosmetic change
    to make the code simpler and enhance the readability.

    Signed-off-by: Jingoo Han
    Acked-by: Fugang Duan
    Signed-off-by: Dmitry Torokhov

    Jingoo Han
     

31 Mar, 2013

1 commit


24 Nov, 2012

3 commits


30 Oct, 2012

1 commit


18 Oct, 2012

1 commit

  • This removes an open coded simple_open() function and
    replaces file operations references to the function
    with simple_open() instead.

    dpatch engine is used to auto generate this patch.
    (https://github.com/weiyj/dpatch)

    Signed-off-by: Wei Yongjun
    Signed-off-by: Dmitry Torokhov

    Wei Yongjun
     

01 Oct, 2012

1 commit


20 Sep, 2012

2 commits


22 Aug, 2012

1 commit


25 Jul, 2012

1 commit