All of lore.kernel.org
 help / color / mirror / Atom feed
From: Svyatoslav Ryhel <clamor95@gmail.com>
To: "Tom Warren" <twarren@nvidia.com>,
	"Svyatoslav Ryhel" <clamor95@gmail.com>,
	"Marek Vasut" <marex@denx.de>,
	"Philippe Reynes" <philippe.reynes@softathome.com>,
	"Marcel Ziswiler" <marcel.ziswiler@toradex.com>,
	"Fabio Estevam" <festevam@denx.de>,
	"Simon Glass" <sjg@chromium.org>,
	"Jonas Schwöbel" <jonasschwoebel@yahoo.de>
Cc: u-boot@lists.denx.de
Subject: [PATCH v1 1/4] configs: tegra-common-post: add GPIO keyboard as STDIN device
Date: Wed, 12 Apr 2023 22:49:44 +0300	[thread overview]
Message-ID: <20230412194947.11578-2-clamor95@gmail.com> (raw)
In-Reply-To: <20230412194947.11578-1-clamor95@gmail.com>

GPIO keyboard is used on many newly upstreamed devices.

Tested-by: Andreas Westman Dorcsak <hedmoo@yahoo.com> # ASUS Grouper E1565
Tested-by: Svyatoslav Ryhel <clamor95@gmail.com> # LG P895 T30
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
---
 include/configs/tegra-common-post.h | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/include/configs/tegra-common-post.h b/include/configs/tegra-common-post.h
index 991ffbb7df..2d5095639a 100644
--- a/include/configs/tegra-common-post.h
+++ b/include/configs/tegra-common-post.h
@@ -35,6 +35,12 @@
 #define STDIN_KBD_USB ""
 #endif
 
+#ifdef CONFIG_BUTTON_KEYBOARD
+#define STDIN_BTN_KBD ",button-kbd"
+#else
+#define STDIN_BTN_KBD ""
+#endif
+
 #ifdef CONFIG_VIDEO
 #define STDOUT_VIDEO ",vidconsole"
 #else
@@ -48,7 +54,7 @@
 #endif
 
 #define TEGRA_DEVICE_SETTINGS \
-	"stdin=serial" STDIN_KBD_KBC STDIN_KBD_USB STDOUT_CROS_EC "\0" \
+	"stdin=serial" STDIN_KBD_KBC STDIN_KBD_USB STDOUT_CROS_EC STDIN_BTN_KBD "\0" \
 	"stdout=serial" STDOUT_VIDEO "\0" \
 	"stderr=serial" STDOUT_VIDEO "\0" \
 	""
-- 
2.37.2


  reply	other threads:[~2023-04-12 19:50 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-12 19:49 [PATCH v1 0/4] Tegra: add ASUS/Google Nexus 7 (2012) support Svyatoslav Ryhel
2023-04-12 19:49 ` Svyatoslav Ryhel [this message]
2023-04-12 19:49 ` [PATCH v1 2/4] configs: tegra-common-post: make PXE and DHCP boot targets optional Svyatoslav Ryhel
2023-04-12 19:49 ` [PATCH v1 3/4] ARM: tegra: add SoC UID calculation function Svyatoslav Ryhel
2023-04-12 19:49 ` [PATCH v1 4/4] board: asus: grouper: add Google Nexus 7 (2012) support Svyatoslav Ryhel
2023-04-19  1:46   ` Simon Glass
2023-04-19  7:25     ` Svyatoslav Ryhel
2023-04-12 23:07 ` [PATCH v1 0/4] Tegra: add ASUS/Google " Tom Warren
2023-04-13  6:05   ` Svyatoslav Ryhel
2023-04-13 17:13     ` Tom Warren
2023-04-13 19:11       ` Svyatoslav Ryhel
2023-04-16 11:56       ` Svyatoslav Ryhel
2023-04-17 15:08         ` Tom Warren
2023-04-17 15:26           ` Svyatoslav Ryhel
2023-04-18  7:31           ` Svyatoslav Ryhel
2023-04-18 21:03             ` Tom Warren

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=20230412194947.11578-2-clamor95@gmail.com \
    --to=clamor95@gmail.com \
    --cc=festevam@denx.de \
    --cc=jonasschwoebel@yahoo.de \
    --cc=marcel.ziswiler@toradex.com \
    --cc=marex@denx.de \
    --cc=philippe.reynes@softathome.com \
    --cc=sjg@chromium.org \
    --cc=twarren@nvidia.com \
    --cc=u-boot@lists.denx.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.