Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 715B9C77B7A for ; Tue, 6 Jun 2023 07:19:14 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1B98385CB1; Tue, 6 Jun 2023 09:19:12 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="pxwOAHnw"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4403685CB1; Tue, 6 Jun 2023 09:19:10 +0200 (CEST) Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id DCBC7847C0 for ; Tue, 6 Jun 2023 09:19:07 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=clamor95@gmail.com Received: by mail-ej1-x62a.google.com with SMTP id a640c23a62f3a-9768fd99c0cso721409466b.0 for ; Tue, 06 Jun 2023 00:19:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686035947; x=1688627947; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=H6oxIDqirMMX6utzVp08VNOTXylmElq0gEjQlEX36bk=; b=pxwOAHnwE4IhvgygBvxzeDO1vqOFSy8aF9D90ZRdgzCkFCcdb6LtC4vd5MaYf/jZvl w0r2JfzmNz/akm19NnX6GgQYpDdyCOAXvFQkETqeRNe2yesDhExtJRd1q/NFMihkfwEm NawjL54suVYizFm1zFJOkT8o3TACfTlg1VaEcab7os0yXzrbrWi+UmNiSMGkqnEhIWhu ipFGwZ5WnSznkM71gCV0zdyoXL1KJeM8xcvtOqiWWr854TM6kqd1buYZh4gzYa+e8Z0d aQ/owmITwfnrdpSJx2NpBlOeviiIu1QuWm1c9Z4Hn0VqTIuNlxlS2ypzMoMTYIDENUTa p11g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686035947; x=1688627947; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=H6oxIDqirMMX6utzVp08VNOTXylmElq0gEjQlEX36bk=; b=LpVzYSHT3USzEa7m2PyXxdhe5mKJ1CY6u4wj3W8CFY3TttvORY3aaUequY4HsL725l F+QXzxUobWTKXeTvsn9963f8KqiSX62S7rvFnGnZf7pZJCGCo4OTLJHjOjDR0OOoRkCu wuAXNdHYTrI4uutiMT6i5dE871dIJqhmYayOLH9FXucbfJRhERdaUrgpAeytF4qcO8wx b9sAEiO/rhskR/rreDZ1xDRYWLEoDe2SLuKdr4oPUS/JdgSA+8igap1B9aT7h8w3l6lV EkOufk5L9cR+dLAbFT55vHuBBXAyijaHu6c/DYoj/1/FZ6X55ttwqUkRAEHlAXpKZl0L ttXQ== X-Gm-Message-State: AC+VfDzIM7ixeq2hCV1D9GsulB/opX3SmxskpR7U/UmHu6BThuSfLpMU FQGc9SoNZtkPeNssclBFJ3s= X-Google-Smtp-Source: ACHHUZ7oDCVIvZ3MAw+vL2R0lrNhHcVSjWeZQvtsNhdnKVAWSmV0CWwbMWJSJtx/+LhdlvsiO/RECg== X-Received: by 2002:a17:906:5d0a:b0:974:5bd2:1807 with SMTP id g10-20020a1709065d0a00b009745bd21807mr7886205ejt.24.1686035947125; Tue, 06 Jun 2023 00:19:07 -0700 (PDT) Received: from xeon.. ([188.163.112.79]) by smtp.gmail.com with ESMTPSA id f18-20020a170906825200b00965ac1510f8sm5206922ejx.185.2023.06.06.00.19.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Jun 2023 00:19:07 -0700 (PDT) From: Svyatoslav Ryhel To: Tom Warren , Simon Glass , Svyatoslav Ryhel , =?UTF-8?q?Jonas=20Schw=C3=B6bel?= Cc: u-boot@lists.denx.de Subject: [PATCH v5 1/7] configs: tegra-common-post: add GPIO keyboard as STDIN device Date: Tue, 6 Jun 2023 10:18:44 +0300 Message-Id: <20230606071850.270001-2-clamor95@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230606071850.270001-1-clamor95@gmail.com> References: <20230606071850.270001-1-clamor95@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean GPIO keyboard is used on many newly upstreamed devices. Tested-by: Andreas Westman Dorcsak # ASUS Grouper E1565 Tested-by: Svyatoslav Ryhel # LG P895 T30 Signed-off-by: Svyatoslav Ryhel --- 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.39.2