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 5F0DBEB64D7 for ; Fri, 23 Jun 2023 06:00:25 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id AB5E7863C2; Fri, 23 Jun 2023 07:59:55 +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="D4nth93a"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 80C0B8631B; Fri, 23 Jun 2023 07:59:50 +0200 (CEST) Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) (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 1CD4D8509D for ; Fri, 23 Jun 2023 07:59:48 +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-x22e.google.com with SMTP id 38308e7fff4ca-2b46f5d236dso4533131fa.2 for ; Thu, 22 Jun 2023 22:59:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687499987; x=1690091987; 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=D4nth93axFCL59WdyCvRPZ2Y8XaSO8kAeR2EAS8jdQC+AGcYxx+wRurUFXn3YB006y kjDGzCrPrOFpA4eI/cFM0WEs8GNHj5sv9zWpE6lfEY2THmnnpLCIFElmsTDd6VJPDYmL MIf/9wP52GimiHoD5oKseWB7RzAiG+4n9r2dtaUg+R+Jg86KYsCMQRc+MvJdfDyyULa1 5OY2oOU/xRlUtDPxGEg1X2e3no3njTz+tuAmdII/US4j1MbxZIrXiro/2N4pT/6pusNg kFe/oOj5frrLAEa/QHte+sAbLyzK+55lYqEYQYs6Sx/WyPDX4Z2w8QSUWyzpWiWllRGO zQEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687499987; x=1690091987; 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=JdAPDSs3qolLQJB+3MiPfIE4vHaKYYTro9MeMruyDdm4dJQ4vaciur3aVy/aDn2rZn 59j+6u9KVVbCh2Nqy2EwF0xwa/DV5WLuC3NxUl57AdCK2soqvZVIlZboSnWLHTpfrfNF Z7iLX0p19seb5ImbSRvE91YVG14gvx+VzWrFY5j3+1RsN/7Uzx3Qorr7eQKdzANosoy2 04xDUS8KaUSGW8j1Lf9pbcLLjw+45Zy2SiYdEpZtdT/6bCaZTedurkygkneOPRLmr7wj bXhNwF85SXNQun+OVe9KrgC463OEc7vOciMm/pSm9u61DoiMe3AssTXeANl2UV7ZfL9+ y1Uw== X-Gm-Message-State: AC+VfDyL0U3gWdQFGFrOG0tFEs/AL9cpfPdlJR1VIAHwKkcWbWrm0t7D qa5O8YVN2b/FBgKVfTFmcak= X-Google-Smtp-Source: ACHHUZ7HDLoZ19X47dAse0TZqxuYDQVPpaXGyyu/YwBLrCuULx2BncrdEVCzQSWR9LddzNVdnEtvvQ== X-Received: by 2002:a05:6512:15a7:b0:4f9:6256:2a7e with SMTP id bp39-20020a05651215a700b004f962562a7emr3679914lfb.31.1687499987082; Thu, 22 Jun 2023 22:59:47 -0700 (PDT) Received: from xeon.. ([188.163.112.79]) by smtp.gmail.com with ESMTPSA id q5-20020ac25105000000b004f76658694csm1335382lfb.238.2023.06.22.22.59.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Jun 2023 22:59:46 -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 v7 1/7] configs: tegra-common-post: add GPIO keyboard as STDIN device Date: Fri, 23 Jun 2023 08:55:54 +0300 Message-Id: <20230623055600.246416-2-clamor95@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230623055600.246416-1-clamor95@gmail.com> References: <20230623055600.246416-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