Public bug reported:

On QDF2400 systems (ACPI-based), the kernel currently assumes all GPIOs
from the qcom/pinctrl driver are configured for input. However, UEFI may
have configured them for output. An upstream fix addresses this by
adding a get_direction function:

commit 8e51533780ba223a3562ff4382c6b6f350c7e9a4
Author: Timur Tabi <ti...@codeaurora.org>
Date:   Fri Feb 10 17:21:00 2017 -0600

    pinctrl: qcom: add get_direction function
    
    The get_direction callback function allows gpiolib to know the current
    direction (input vs output) for a given GPIO.
    
    This is particularly useful on ACPI systems, where the GPIOs are
    configured only by firmware (typically UEFI), so the only way to
    know the initial values to query the hardware directly.  Without
    this function, gpiolib thinks that all GPIOs are configured for
    input.

** Affects: linux (Ubuntu)
     Importance: Medium
     Assignee: dann frazier (dannf)
         Status: In Progress

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1672504

Title:
  pinctrl: qcom: add get_direction function

Status in linux package in Ubuntu:
  In Progress

Bug description:
  On QDF2400 systems (ACPI-based), the kernel currently assumes all
  GPIOs from the qcom/pinctrl driver are configured for input. However,
  UEFI may have configured them for output. An upstream fix addresses
  this by adding a get_direction function:

  commit 8e51533780ba223a3562ff4382c6b6f350c7e9a4
  Author: Timur Tabi <ti...@codeaurora.org>
  Date:   Fri Feb 10 17:21:00 2017 -0600

      pinctrl: qcom: add get_direction function
      
      The get_direction callback function allows gpiolib to know the current
      direction (input vs output) for a given GPIO.
      
      This is particularly useful on ACPI systems, where the GPIOs are
      configured only by firmware (typically UEFI), so the only way to
      know the initial values to query the hardware directly.  Without
      this function, gpiolib thinks that all GPIOs are configured for
      input.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1672504/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to