Re: [PATCH 2/3] Add support for monitoring gpio switches

2015-12-22 Thread Linus Walleij
On Wed, Dec 16, 2015 at 11:11 AM, Martyn Welch wrote: >> Patches like that has however already been suggested, and I have NACKed >> them because the GPIO sysfs ABI is insane, and that is why I am >> refactoring >> the world to create a proper chardev ABI for GPIO instead. See: >> http://marc.info

Re: [PATCH 2/3] Add support for monitoring gpio switches

2015-12-16 Thread Martyn Welch
On 11/12/15 09:08, Linus Walleij wrote: On Fri, Dec 4, 2015 at 6:31 PM, Martyn Welch wrote: Select Chromebooks have gpio attached to switches used to cause the firmware to enter alternative modes of operation and/or control other device characteristics (such as write protection on flash devi

Re: [PATCH 2/3] Add support for monitoring gpio switches

2015-12-11 Thread Linus Walleij
On Fri, Dec 4, 2015 at 6:31 PM, Martyn Welch wrote: > Select Chromebooks have gpio attached to switches used to cause the > firmware to enter alternative modes of operation and/or control other > device characteristics (such as write protection on flash devices). This > patch adds a driver that e

Re: [PATCH 2/3] Add support for monitoring gpio switches

2015-12-05 Thread Martyn Welch
On 04/12/15 18:57, Greg Kroah-Hartman wrote: On Fri, Dec 04, 2015 at 05:31:14PM +, Martyn Welch wrote: Select Chromebooks have gpio attached to switches used to cause the firmware to enter alternative modes of operation and/or control other device characteristics (such as write protection

Re: [PATCH 2/3] Add support for monitoring gpio switches

2015-12-04 Thread Greg Kroah-Hartman
On Fri, Dec 04, 2015 at 05:31:14PM +, Martyn Welch wrote: > Select Chromebooks have gpio attached to switches used to cause the > firmware to enter alternative modes of operation and/or control other > device characteristics (such as write protection on flash devices). This > patch adds a drive

Re: [PATCH 2/3] Add support for monitoring gpio switches

2015-12-04 Thread kbuild test robot
Hi Martyn, [auto build test WARNING on char-misc/char-misc-testing] [also build test WARNING on v4.4-rc3 next-20151203] url: https://github.com/0day-ci/linux/commits/Martyn-Welch/Device-tree-binding-documentation-for-gpio-switch/20151205-014105 coccinelle warnings: (new ones prefixed by >>)

[PATCH 2/3] Add support for monitoring gpio switches

2015-12-04 Thread Martyn Welch
Select Chromebooks have gpio attached to switches used to cause the firmware to enter alternative modes of operation and/or control other device characteristics (such as write protection on flash devices). This patch adds a driver that exposes a read-only interface to allow these signals to be read