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 AA5E8C8300C for ; Fri, 9 Jun 2023 04:35:22 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id DA4E686130; Fri, 9 Jun 2023 06:35:19 +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="SHwn1jrk"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id EDB1086130; Fri, 9 Jun 2023 06:35:17 +0200 (CEST) Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) (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 7DBDB8611C for ; Fri, 9 Jun 2023 06:35:15 +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-ed1-x52c.google.com with SMTP id 4fb4d7f45d1cf-5147f4bbfdaso1954584a12.0 for ; Thu, 08 Jun 2023 21:35:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686285315; x=1688877315; 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=SHwn1jrk1FgHrV1Gs1d49f+twVrMg8KtoCpKB7CgKwzC4LfGPceBf8aZkDvLHP6oof fDkhlvIqyIZENsadTfZyMDD4pihf89LXHbwmVbV9noLD+tH3NqYl0uHXmwVqeQdyQAmR DKZwwM0mOKnjKyfpr5uGjgVhOOfJI5QvKMsr94j86UGdgAy9N+ajJwYmka6nuUdPsRwE 2IOqIZDUONealsdqtayMIBjowTKLxXyZ14bVdkCdeoGxWnrn202JoJdkxXfOM7GYIfYb 3FNHh/wkF27Cgdew6AAlUrWO/Ve51QaeIo1q1fN0PPLDVX9eMJMkzUIVZkEFZmrC6Z+g Pjbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686285315; x=1688877315; 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=YIJSEXqnYLaWYSkNad4YRbM+RgiKSCiwBV2m9e/91H4GV3RYh7DoBnlR0aSOWdN61K kHrQcEi++XUQ/3qZoLqaye5NS+kffDYoRLwB7eoRIynN2c98vB/jP/+/qmrst/o6feMV InrDaIKx0G+CSh733nGXh8avPUskFpHBmT6hxP83OB9BqdnPbf1/I1NFBXoEaJddcZPI iVD6Sr3ywYSEGb4dNx7I3FZvis06g5XdgeGZBmu69niNavInMLbuU6KDDa4jyvcNjxcr JdqRG9edzzcqBnKHKkofJs4M3Rg7qZvRpUL5puNo47zXqk4dXiR37b2QrGy4ngEuDYtB enyQ== X-Gm-Message-State: AC+VfDwI41Jsb2lPlIt9ZPZx0c5wd//Qf3zURLvxZN2txGVwfnHT0uEl ZpFgZD/9ytZh6fDSG1Dn2H8= X-Google-Smtp-Source: ACHHUZ61ziNiWKHWAGJlKFHMh8EGsCDlEvTjIjro8gtHnlzn9YQ7fKwEz+EHFt21Kr506olzquXEHw== X-Received: by 2002:aa7:d703:0:b0:514:9e2c:90c6 with SMTP id t3-20020aa7d703000000b005149e2c90c6mr303295edq.38.1686285314975; Thu, 08 Jun 2023 21:35:14 -0700 (PDT) Received: from xeon.. ([188.163.112.79]) by smtp.gmail.com with ESMTPSA id d15-20020a05640208cf00b005149e90115bsm1287418edz.83.2023.06.08.21.35.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Jun 2023 21:35:14 -0700 (PDT) From: Svyatoslav Ryhel To: Tom Warren , Tom Rini , Simon Glass , Svyatoslav Ryhel , =?UTF-8?q?Jonas=20Schw=C3=B6bel?= Cc: u-boot@lists.denx.de Subject: [PATCH v6 1/7] configs: tegra-common-post: add GPIO keyboard as STDIN device Date: Fri, 9 Jun 2023 07:34:42 +0300 Message-Id: <20230609043448.4285-2-clamor95@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230609043448.4285-1-clamor95@gmail.com> References: <20230609043448.4285-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