Re: [systemd-devel] [PATCH v2] logind: add standard gpio power button support

2015-08-03 Thread Kefeng Wang
On 2015-08-03 23:50, Lennart Poettering wrote: > On Mon, 03.08.15 09:55, Kefeng Wang ([email protected]) wrote: > >> Many boards like hisilicon D02 board use standard gpio key to power down >> system. >> A description of gpio-key in dts shown below, >

[systemd-devel] [PATCH v2] logind: add standard gpio power button support

2015-08-02 Thread Kefeng Wang
Many boards like hisilicon D02 board use standard gpio key to power down system. A description of gpio-key in dts shown below, gpio_keys { compatible = "gpio-keys"; #address-cells = <1>; #size-cells = <0>; pwrbutton { label = "Power Button";

[systemd-devel] [PATCH] logind: add standard gpio power button support

2015-07-31 Thread Kefeng Wang
gpio-keys" ATTRS{keys}=="116" ATTRS{switches}=="" ATTRS{driver_override}=="(null)" ATTRS{disabled_keys}=="" ATTRS{disabled_switches}=="" looking at parent device '/devices/platform': KERNELS=="platform"