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,
>
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";
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"