public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Vignesh Raghavendra <vigneshr@ti.com>
To: u-boot@lists.denx.de
Subject: [PATCH v2 8/8] configs: am65x_evm: Enable USB keyboard as second stdin
Date: Mon, 9 Dec 2019 10:37:36 +0530	[thread overview]
Message-ID: <20191209050736.12018-9-vigneshr@ti.com> (raw)
In-Reply-To: <20191209050736.12018-1-vigneshr@ti.com>

Enable USB keyboard to be used as input device at U-Boot prompt. Both
serial and USB keyboard will be active inputs simultaneously.

Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
---
 configs/am65x_evm_a53_defconfig | 3 +++
 include/configs/am65x_evm.h     | 1 +
 2 files changed, 4 insertions(+)

diff --git a/configs/am65x_evm_a53_defconfig b/configs/am65x_evm_a53_defconfig
index d76c4b986f6d..312829be0d92 100644
--- a/configs/am65x_evm_a53_defconfig
+++ b/configs/am65x_evm_a53_defconfig
@@ -21,6 +21,7 @@ CONFIG_DISTRO_DEFAULTS=y
 CONFIG_SPL_LOAD_FIT=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_BOOTCOMMAND="run findfdt; run envboot; run init_${boot}; run boot_rprocs; run get_kern_${boot}; run get_fdt_${boot}; run get_overlay_${boot}; run run_kern"
+CONFIG_CONSOLE_MUX=y
 CONFIG_SPL_SYS_MALLOC_SIMPLE=y
 CONFIG_SPL_STACK_R=y
 CONFIG_SPL_SEPARATE_BSS=y
@@ -70,6 +71,7 @@ CONFIG_DM_PCA953X=y
 CONFIG_DM_I2C=y
 CONFIG_I2C_SET_DEFAULT_BUS_NUM=y
 CONFIG_SYS_I2C_OMAP24XX=y
+CONFIG_DM_KEYBOARD=y
 CONFIG_DM_MAILBOX=y
 CONFIG_K3_SEC_PROXY=y
 CONFIG_DM_MMC=y
@@ -110,6 +112,7 @@ CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_DWC3=y
 CONFIG_USB_DWC3_GADGET=y
 CONFIG_USB_DWC3_GENERIC=y
+CONFIG_USB_KEYBOARD=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_MANUFACTURER="Texas Instruments"
 CONFIG_USB_GADGET_VENDOR_NUM=0x0451
diff --git a/include/configs/am65x_evm.h b/include/configs/am65x_evm.h
index 9a120cad89e3..7d7f86a0598a 100644
--- a/include/configs/am65x_evm.h
+++ b/include/configs/am65x_evm.h
@@ -72,6 +72,7 @@
 	"overlayaddr=0x83000000\0"					\
 	"name_kern=Image\0"						\
 	"console=ttyS2,115200n8\0"					\
+	"stdin=serial,usbkbd\0"						\
 	"args_all=setenv optargs earlycon=ns16550a,mmio32,0x02800000\0" \
 	"run_kern=booti ${loadaddr} ${rd_spec} ${fdtaddr}\0"		\
 
-- 
2.24.0

  parent reply	other threads:[~2019-12-09  5:07 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-09  5:07 [PATCH v2 0/8] AM654: Add USB support Vignesh Raghavendra
2019-12-09  5:07 ` [PATCH v2 1/8] dwc3-generic: Add support for AM654 USB controller Vignesh Raghavendra
2019-12-09  5:07 ` [PATCH v2 2/8] phy: omap-usb2-phy: Fix warnings when built for ARM64 Vignesh Raghavendra
2019-12-09  5:07 ` [PATCH v2 3/8] phy: omap-usb2-phy: Add support for AM654 USB2 PHY Vignesh Raghavendra
2019-12-09  5:07 ` [PATCH v2 4/8] arm: dts: k3-am65-main: add USB support Vignesh Raghavendra
2019-12-09  5:07 ` [PATCH v2 5/8] arm: dts: k3-am654-base-board: enable USB1 Vignesh Raghavendra
2019-12-09  5:07 ` [PATCH v2 6/8] configs: am65x_evm: Add DFU related env variables Vignesh Raghavendra
2019-12-09  5:07 ` [PATCH v2 7/8] am65x_evm_a53_defconfig: Enable configs to support USB and DFU Vignesh Raghavendra
2019-12-09  5:07 ` Vignesh Raghavendra [this message]
2020-01-20  6:03 ` [PATCH v2 0/8] AM654: Add USB support Lokesh Vutla

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=20191209050736.12018-9-vigneshr@ti.com \
    --to=vigneshr@ti.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox