[SRU][Xenial][PATCH 0/3] #LP1620979 Fix hotkeys with platforms using pinctrl-cherryview

Phidias Chiang phidias.chiang at canonical.com
Wed Oct 19 06:45:22 UTC 2016


[Impact]

pinctrl-cherryview driver originaly added all communities to IRQ domain,
and some of GPIOs can not generate normal interrupts, which makes some
hotkeys can not work (e.g., brightness keys)

[Fix]

This patch set adds some helper function to gpiolib to set which GPIOs
are needed to add to IRQ domain, and solve the issue.

[Test]

After apply the patch the issue is fixed. And since this patch set
changes some behaviour in gpiolib, we also test some platfroms which
also uses pinctrl-cherryview, and no regression has been found so far.

Mika Westerberg (3):
  gpiolib: Make it possible to exclude GPIOs from IRQ domain
  pinctrl: cherryview: Do not mask all interrupts in probe
  pinctrl: cherryview: Do not add all southwest and north GPIOs to IRQ
    domain

 Documentation/gpio/driver.txt              |  6 +++
 drivers/gpio/gpiolib.c                     | 66 ++++++++++++++++++++++++++++--
 drivers/pinctrl/intel/pinctrl-cherryview.c | 39 ++++++++++++++++--
 include/linux/gpio/driver.h                |  6 +++
 4 files changed, 110 insertions(+), 7 deletions(-)

-- 
2.7.3





More information about the kernel-team mailing list