Re: [PATCH v2 1/1] Input: gpio_keys - add device tree support for interrupt only keys
From: Laxman Dewangan <ldewangan@nvidia.com>
Date: 2014-11-13 11:17:06
Also in:
linux-devicetree, linux-gpio
From: Laxman Dewangan <ldewangan@nvidia.com>
Date: 2014-11-13 11:17:06
Also in:
linux-devicetree, linux-gpio
On Thursday 13 November 2014 04:35 PM, Arnd Bergmann wrote:
On Thursday 13 November 2014 16:29:02 Laxman Dewangan wrote:quoted
Yes, I posted patch for interrupt key on context on key connected to PMIC-Onkey. On PMIC, there is onkey pin input which generates interrupt only when it toggles. So if we have key (power key on our platforms) connected to this pin then we will only get interrupt from PMIC. Instead of implementing full interrupt key driver, I added this support on existing gpio keys.So is this code still in place, and do you think it's worthwhile to have a DT binding for it? Could the PMIC register a gpio controller instead?
This pin is not supported as GPIO and so exporting the functionality through GPIO is not feasible until we treat the onkey as GPIO pin without actual gpio functionality i..e only interrupt functionality.