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 0158AC77B61 for ; Thu, 13 Apr 2023 19:04:40 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9988985C96; Thu, 13 Apr 2023 21:04:35 +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="Ihuyt5++"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7938783981; Thu, 13 Apr 2023 21:04:28 +0200 (CEST) Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) (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 E5C9E85C86 for ; Thu, 13 Apr 2023 21:04:22 +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-x62e.google.com with SMTP id kt6so1746729ejb.0 for ; Thu, 13 Apr 2023 12:04:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681412662; x=1684004662; 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=Ihuyt5++EpivrtnKXb43lf3Xh1gGMjAAu1kU+GPHI5VZXKu2MdBd53IoK8N06Z2D2F eMw1aL3JnOiNxhLw1vjeQK82aihry65AochAbzh+wRX1dNw9mlA+F/TDHQ0jkeRxEsQs jgmCqoO4bCYoiSxdP5aAV4lG5ACdz528xr2D5czfzbZBttjp6M5a+VAnBN4K/hQMpflm 3lH95wLrYyqSd7yya6emiJdRGXntRh1mBRmwXVA9PIMV53vK17lXcCB5XUq9cczFXyRm E5+3fmPXAmAyxRyDnD6doTTWFjpoPTmvfw8bGkx2az9my5bax6dU53c0wcZWc6TMDSjv 4MCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681412662; x=1684004662; 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=gdkmT0JaU1A3Li+Gg/kqNhy/mA3WvIYZTCat+W3zXHW/tH02kU2fBXc1ZSNNJRYlnf nL392Htw/+30+vu2H9nJ11h8ye5og6p6+Eso2Is3gSAfML3qc3SMHbFU98pg21iuXoh6 yifjvPBEp1BmvTfvDAtmKmFxUlrlClP4r6vIAVWwkiVkOBLSoAcz/6LFYZ+cqxU2pijN D1hg0KPdzK15n1C6CQI85+Wg7ouaj0w0cAZGdijDqHLb/RXbx9IU7+/6ymvCylgD74Vn RXil+YwWHhsEKkB7srSD8+Bjv8H+uxMhOwk7Fe7V/OtCIM9JRIXHSDCwMpobONIpL52X ixZQ== X-Gm-Message-State: AAQBX9dWNx/aCmS4RVSCf8FGGsU3zLI72oSottLbUCYfeRJSmawriSUR bsTaigHoexCJ00ZltgkE/5A= X-Google-Smtp-Source: AKy350bNayC/XGFCP3VpUU5cUW3RLTII50HKLrZJhljNAPRoHVkX0WCdgNJekRSlf03rv4pIR0d0bw== X-Received: by 2002:a17:906:e0b:b0:94e:d43a:58d5 with SMTP id l11-20020a1709060e0b00b0094ed43a58d5mr506167eji.15.1681412662322; Thu, 13 Apr 2023 12:04:22 -0700 (PDT) Received: from xeon.. ([188.163.112.59]) by smtp.gmail.com with ESMTPSA id b16-20020a1709063f9000b0094a962da55dsm1325533ejj.195.2023.04.13.12.04.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Apr 2023 12:04:22 -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 v3 1/4] configs: tegra-common-post: add GPIO keyboard as STDIN device Date: Thu, 13 Apr 2023 22:03:59 +0300 Message-Id: <20230413190402.710451-2-clamor95@gmail.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230413190402.710451-1-clamor95@gmail.com> References: <20230413190402.710451-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