Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1554031
| From | noman pouigt <variksla@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | gpio_key.c device tree question |
| Date | 2017-01-09 04:50 +0100 |
| Message-ID | <sXz86-79a-7@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Hello,
I am trying to see how to disable the sub device nodes in
gpio_keys device node.
I have this in my base dtsi file:
#include "vendor_file.dtsi"
gpio_keys {
compatible = "gpio-keys";
input-name = "gpio-keys";
pinctrl-names = "gpio_key_active","gpio_key_suspend";
pinctrl-0 = <&key_active>;
pinctrl-1 = <&key_suspend>;
camera_snapshot {
label = "camera_snapshot";
//snip
};
};
I have this in vendor_file.dtsi:
gpio_keys {
source_key_1 {
label = "source_key_1";
//snip
};
};
In my current consolidated dtb file all nodes are getting
added i.e. camera_snapshot and source_key_1. How
can i remove camera_snapshot node from the
gpio_keys device node or disable it?
Thanks,
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
gpio_key.c device tree question noman pouigt <variksla@gmail.com> - 2017-01-09 04:50 +0100 Re: gpio_key.c device tree question noman pouigt <variksla@gmail.com> - 2017-01-10 08:30 +0100
csiph-web