1. 29 Sep, 2020 2 commits
  2. 27 Sep, 2020 2 commits
  3. 21 Sep, 2020 2 commits
    • Linus Walleij's avatar
      Merge tag 'intel-pinctrl-v5.10-1' of... · 5b398f8f
      Linus Walleij authored
      Merge tag 'intel-pinctrl-v5.10-1' of git://git.kernel.org/pub/scm/linux/kernel/git/pinctrl/intel into devel
      
      intel-pinctrl for v5.10-1
      
      * Add last part of cleanup Cherryview driver to align with other drivers
      * Due to above clean up Cherryview and Baytrail drivers to use common API
      
      The following is an automated git shortlog grouped by driver:
      
      baytrail:
       -  Switch to use intel_pinctrl_get_soc_data()
      
      cherryview:
       -  Preserve CHV_PADCTRL1_INVRXTX_TXDATA flag on GPIOs
       -  Switch to use intel_pinctrl_get_soc_data()
       -  Utilize temporary variable to hold device pointer
       -  Switch to use struct intel_pinctrl
       -  Move custom community members to separate data struct
       -  Drop stale comment
      
      intel:
       -  Update header block to reflect direct dependencies
       -  Extract intel_pinctrl_get_soc_data() helper for wider use
      5b398f8f
    • Linus Walleij's avatar
      Merge tag 'renesas-pinctrl-for-v5.10-tag1' of... · e777f8c8
      Linus Walleij authored
      Merge tag 'renesas-pinctrl-for-v5.10-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers into devel
      
      pinctrl: renesas: Updates for v5.10
      
        - Add CAN and USB1 PWEN pin groups on R-Car H2 and RZ/G1,
        - Three more conversion of DT bindings to json-schema,
        - Group all Renesas pinctrl drivers and improve visual Kconfig
          structure,
        - Rename drivers/pinctrl/sh-pfc to drivers/pinctrl/renesas,
        - Minor fixes and improvements.
      e777f8c8
  4. 15 Sep, 2020 12 commits
  5. 12 Sep, 2020 13 commits
  6. 07 Sep, 2020 1 commit
    • Hans de Goede's avatar
      pinctrl: cherryview: Preserve CHV_PADCTRL1_INVRXTX_TXDATA flag on GPIOs · a0bf06dc
      Hans de Goede authored
      One some devices the GPIO should output the inverted value from what
      device-drivers / ACPI code expects. The reason for this is unknown,
      perhaps these systems use an external buffer chip on the GPIO which
      inverts the signal. The BIOS makes this work by setting the
      CHV_PADCTRL1_INVRXTX_TXDATA flag.
      
      Before this commit we would unconditionally clear all INVRXTX flags,
      including the CHV_PADCTRL1_INVRXTX_TXDATA flag when a GPIO is requested
      by a driver (from chv_gpio_request_enable()).
      
      This breaks systems using this setup. Specifically it is causing
      problems for systems with a goodix touchscreen, where the BIOS sets the
      INVRXTX_TXDATA flag on the GPIO used for the touchscreen's reset pin.
      
      The goodix touchscreen driver by defaults configures this pin as input
      (relying on the pull-up to keep it high), but the clearing of the
      INVRXTX_TXDATA flag done by chv_gpio_request_enable() causes it to be
      driven low for a brief time before the GPIO gets set to input mode.
      
      This causes the touchscreen controller to get reset. On most CHT devs
      with this touchscreen this leads to:
      
      [   31.596534] Goodix-TS i2c-GDIX1001:00: i2c test failed attempt 1: -121
      
      The driver retries this though and then everything is fine. But during
      reset the touchscreen uses its interrupt pin as bootstrap to determine
      which i2c address to use and on the Acer One S1003 the spurious reset
      caused by the clearing of the INVRXTX_TXDATA flag causes the controller
      to come back up again on the wrong i2c address, breaking things.
      
      This commit fixes both the -121 errors, as well as the total breakage
      on the Acer One S1003, by making chv_gpio_clear_triggering() not clear
      the INVRXTX_TXDATA flag if the pin is already configured as a GPIO.
      
      Note that chv_pinmux_set_mux() does still unconditionally clear the
      flag, so this only affects GPIO usage.
      
      Fixes: a7d4b171 ("Input: goodix - add support for getting IRQ + reset GPIOs on Cherry Trail devices")
      Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
      Acked-by: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
      Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
      a0bf06dc
  7. 31 Aug, 2020 1 commit
  8. 28 Aug, 2020 1 commit
  9. 27 Aug, 2020 6 commits