From: noman pouigt <variksla@gmail.com>
To: dmitry.torokhov@gmail.com, linux-input@vger.kernel.org
Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: gpio_key.c device tree question
Date: Sun, 8 Jan 2017 19:42:19 -0800 [thread overview]
Message-ID: <CAES_P+_SWsRQZFRJU37FJuXPEcZPgADbcdN8-9EXKGL990XpDQ@mail.gmail.com> (raw)
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,
next reply other threads:[~2017-01-09 3:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-09 3:42 noman pouigt [this message]
2017-01-10 7:29 ` gpio_key.c device tree question noman pouigt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAES_P+_SWsRQZFRJU37FJuXPEcZPgADbcdN8-9EXKGL990XpDQ@mail.gmail.com \
--to=variksla@gmail.com \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.torokhov@gmail.com \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).