From mboxrd@z Thu Jan 1 00:00:00 1970 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 4BD90C77B6E for ; Wed, 12 Apr 2023 19:50:35 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 87FCE85FB2; Wed, 12 Apr 2023 21:50:32 +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="TKrbAcb+"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 717E085F2B; Wed, 12 Apr 2023 21:50:30 +0200 (CEST) Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) (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 795F385FFE for ; Wed, 12 Apr 2023 21:50:16 +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-lj1-x234.google.com with SMTP id q15so9527045ljp.5 for ; Wed, 12 Apr 2023 12:50:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681329015; x=1683921015; 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=ST5qRdKktW3HR3GzmI5qrgSRR8zWS09YeqKKywDUdKM=; b=TKrbAcb+FoX64Z83rgwJW0WtZp7WvUv3PAVP6Sit2FK/SnI21CwNd1ltd4PLCUPkKU uk/vVtyu0E9qLUGfwVvayiDaz0CHC+5JOJITHxdTHaHyvPe/iBwpVyu+Xc0UJSPKTwmU JQSuuZ08lfbadd8esPFbQiBJHDp/ajcPxa5s+2kxz+vw5xOgriem8Xlg5BGej5fVOknt BFNyiqpseWru3xkN3xKGBEFgF47epV5avgcA9wkszLrknUQ6X2BLMMNLb8tCCA42wCJk ZNIzm0ybzjUtWquINYk5r0dCAQlHxdz+CswzZAKR2Cj8XogpGrffF5K/ZemupUm6fcRq vWzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681329015; x=1683921015; 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=ST5qRdKktW3HR3GzmI5qrgSRR8zWS09YeqKKywDUdKM=; b=CfdO1bTDFxdJlLmIMs47JkvKnYPcz2fex96hSTkehNX0W6Z/HK/8N2s3Y29BhGLpWN 07c5cH6YYMPu3oKpK3hogtMS4qW2BRQnPHvxJVfjfIBVAcdbm7vuv305Bhl0qEUVwnAP dOQ7EqDSpvwAyJB70fSMiaIzbtaOzGNQre/vl03VmStydXH+Ap9r0PnWjz2+diox6fp3 IriLHZ1GKLl1HuDZcNEGSAqVbkPjYP/n2xsr9cThpRtFs1z9JEL1WgorsHoMLkoeGbkf /FXP/4OZ4Tyr+vOv/G0qgXhhqL/vw6r9/5svBA0WmE/I6yMvUwwtuLmk9I5WYf2hxLnq yFsQ== X-Gm-Message-State: AAQBX9e0e5alSFW+uO/nJrdROVVCKVQs8OFWjvy0K1OC2EDuEgpoQZiD 4mb1rAqpPkKRDMIkYVdId/Y= X-Google-Smtp-Source: AKy350Z2TgLe1OPb0wGGvgVQL2YWW9x61Dyu+/fVl8jOIUy3oPa3CMtSKxhQZ2BNll5ICCSj+Otw7Q== X-Received: by 2002:a2e:90ca:0:b0:2a7:6807:2ced with SMTP id o10-20020a2e90ca000000b002a768072cedmr4274309ljg.42.1681329015443; Wed, 12 Apr 2023 12:50:15 -0700 (PDT) Received: from xeon.. ([188.163.112.59]) by smtp.gmail.com with ESMTPSA id r2-20020a19ac42000000b004eb42f5367bsm3173492lfc.19.2023.04.12.12.50.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Apr 2023 12:50:15 -0700 (PDT) From: Svyatoslav Ryhel To: Tom Warren , Svyatoslav Ryhel , Marek Vasut , Philippe Reynes , Marcel Ziswiler , Fabio Estevam , Simon Glass , =?UTF-8?q?Jonas=20Schw=C3=B6bel?= 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 Message-Id: <20230412194947.11578-2-clamor95@gmail.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230412194947.11578-1-clamor95@gmail.com> References: <20230412194947.11578-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.37.2