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 94C69EB64D7 for ; Fri, 30 Jun 2023 07:29:47 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0B145866D5; Fri, 30 Jun 2023 09:29:33 +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="PugGxyau"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C4442863E7; Fri, 30 Jun 2023 09:29:26 +0200 (CEST) Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) (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 5D34A86653 for ; Fri, 30 Jun 2023 09:29:23 +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-lf1-x12b.google.com with SMTP id 2adb3069b0e04-4fb761efa7aso2432099e87.0 for ; Fri, 30 Jun 2023 00:29:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1688110162; x=1690702162; 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=PugGxyauxSfrCP7+q89MVe0KWmbVGq6H6XLi24zItQ/55YToYULSDMtBFhqFOvIX/e +ZO3K79HjKuQsLlhF1GkUMqcRGNWHi2T2bLDio5iNMqWe6z/Z+gkz5ThAfVjCa/UlkS+ hAQ4B9sDjfJy+Od0ALuJYikzatrZvcRC0jEsBC+B9Th5gfcyJm3NxETA0VDORGfM3SYT 6LAbTcplGJbV9ILRMhlHnmGuvW78Ai5uzqXtHKQXi9QjgWrr1CLFn7YXyFbmQ1C7sg5W RXYwoCiRKHjiYGCLmTl6sVc44Uitc7BPlAB7d64KIxtxlQP+/4QH51sExga7IzqQfo7+ CyVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688110162; x=1690702162; 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=D83ISzzUaQgrJKHTGExVVL5hVNF5bWR+Lb8nxLtlUGh3E6n1AhOV6Qbnk1Kkst/av2 Mvt2es3jjoNolPjVF8/AeC7VCNwPqCxJRqqyqU5pwMUC0+VKAl+TiJxo+iGo//QrXfv7 UGJ95c66r8P1sLf36WdOBohLR1662uCKjZs4JipYjDn5eV3eQENfLR0UesdIcWwct/Ut Nkfe6HrH3v4VqmqtO7HoAP0v/oQwZjepMX2isnlxoRaQlIVLuRZ3cr60fVuOZIG9JihY 8cuk8fMm2FL3PQXDQuhuMFJTB5e1+Ek63r5uw1O/qcZg+JIxPFkVBUCjCaQA2BW19/cD JiIA== X-Gm-Message-State: ABy/qLYYn7T0te8+SuOWIpJGil6DnPI8F7clNpAYZ+YilAVIuG9h8XOs zQcGVpjkmuIJ6rdNEl6QUic= X-Google-Smtp-Source: APBJJlEb41FWi+erPk/m+HdOkRY9aUnK1f9t3CVYlNtj0ZnJx8cG4oZbNcKYjxspYxh6m3kM/uJxmw== X-Received: by 2002:ac2:5b5c:0:b0:4f8:5d94:2e46 with SMTP id i28-20020ac25b5c000000b004f85d942e46mr1522666lfp.48.1688110162596; Fri, 30 Jun 2023 00:29:22 -0700 (PDT) Received: from xeon.. ([188.163.112.79]) by smtp.gmail.com with ESMTPSA id n30-20020ac2491e000000b004fb82d7532dsm1398954lfi.177.2023.06.30.00.29.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Jun 2023 00:29:22 -0700 (PDT) From: Svyatoslav Ryhel To: Thierry Reding , Tom Warren , Tom Rini , Simon Glass , Svyatoslav Ryhel , =?UTF-8?q?Jonas=20Schw=C3=B6bel?= Cc: u-boot@lists.denx.de Subject: [PATCH v8 1/7] configs: tegra-common-post: add GPIO keyboard as STDIN device Date: Fri, 30 Jun 2023 10:29:00 +0300 Message-Id: <20230630072906.22255-2-clamor95@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230630072906.22255-1-clamor95@gmail.com> References: <20230630072906.22255-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