From patchwork Mon Jul 20 18:51:16 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 11674491 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9EBD713B4 for ; Mon, 20 Jul 2020 18:53:44 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 79B9822482 for ; Mon, 20 Jul 2020 18:53:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="JZ5gQIjy"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="oQtvlDf6" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 79B9822482 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=RDXx8Vvd+8GluGRTcsg2Sn2Uv21C9Y3xiUvmH0xXbG8=; b=JZ5gQIjyycyCGupETYukZXtsT dHJpvbbYl5G9xTbKqI+SXS5EhAtFiKIByAIBa+SpqiOeOiCebL+AgATqsdERwGJdDW0bRUSXXsHiP X31bLtDEhGn2Eb/N4Dqt4WoIqYd7zCB7SRCLeTAnSR6sLWJZi/t3jItii1a7eYsSj+SD357To5Aqd IWyfopIxe5Oc8kN4rViDax8penfP/q05q3VOYRroiCyVbqkQLCqGAMswthNL0vbCYS9M0IIm5ktmc zHafu9UQFrof/fsLDc2MePbbpfa/PVwN4TLBg0MaQMr5bR0i4dnZTtWe3ZXMu7rKDrimf3HUIFDnI GB9EtCQbg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxauy-0003DC-Tu; Mon, 20 Jul 2020 18:53:40 +0000 Received: from mail-pf1-x444.google.com ([2607:f8b0:4864:20::444]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxauw-0003CL-Lk for linux-rockchip@lists.infradead.org; Mon, 20 Jul 2020 18:53:39 +0000 Received: by mail-pf1-x444.google.com with SMTP id a23so7885624pfk.13 for ; Mon, 20 Jul 2020 11:53:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=3VBSFKUOY9MXfcZYLxIjWlt+g5ws/WOsWjwfRnfToQM=; b=oQtvlDf6Mzsz9unYp6gnsmQ60RxENzCNacytQkDhqHSU00cJn/cMRoEzQ2HZMIsaA3 3Zrqt7Tq4eEUbUP2TrNXUUOfRVidc+UzQiqBCImgHgWl4ZGls30e0q0QN2MUUVrbTMmc 1PqrOC3zY7v64BIWBQy381H//5W17iVBFc7o0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=3VBSFKUOY9MXfcZYLxIjWlt+g5ws/WOsWjwfRnfToQM=; b=lKvEpV269pjYrAnAMGSwyBCY4uNWHuX/J9XpnKwPvIZvOsqKN48xGAc+NFT0BYJ+si T796C4Uon4wwfutFC7u4SRjGPnigwu63H49iTpZstuFoC1f/pzoOHXN3fLUtYF/9Dbiw UoLIkiScHeJiRBXZ5ZVzxsg4GvSXiWv/wcLEos7aOE0071UIaXgP1jOPO2Rvu4aSogrW bQ3KKdhuTcOSotsxbjM3epE7l5JEv3Q5Vfnxx8zxZqvBTxk0JMvkJ+FIokZeGevHw4hz mqqB5JMeUNeg4GS8HGD5+CyQiGrHb694Ytyj4zJO3swtpEK45YliDD1yaFWrxlBRvrmZ TBdw== X-Gm-Message-State: AOAM533Vc0MURe49A/WQIYt4QrUHi6v2JQ/iFfIeCPWnSzjr9FKgseNo Jc5D0BZRvPkWmhOQso3yfBADTg== X-Google-Smtp-Source: ABdhPJxn5+tESdzyp14tCiwZHRchx4TCftiTwaAv+iQTgh4vpKH1dn9TZwyO72PKb4RODhWqgaOeIQ== X-Received: by 2002:a63:5013:: with SMTP id e19mr19811136pgb.68.1595271216889; Mon, 20 Jul 2020 11:53:36 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:8c21:db7b:4558:fba3]) by smtp.gmail.com with ESMTPSA id m9sm306649pjs.18.2020.07.20.11.53.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jul 2020 11:53:36 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Subject: [PATCH 12/16] rk3288: rock-pi-n8: Add console settings Date: Tue, 21 Jul 2020 00:21:16 +0530 Message-Id: <20200720185120.671064-13-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200720185120.671064-1-jagan@amarulasolutions.com> References: <20200720185120.671064-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200720_145338_756627_B3247755 X-CRM114-Status: UNSURE ( 9.40 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:444 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: U-Boot-Denx , linux-rockchip@lists.infradead.org, linux-amarula , Suniel Mahesh Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org From: Suniel Mahesh Add console settings like stdin, stdout and stderr as usbkbd and vidconsole respectively for rock-pi-n8 target. This would certainly help to detect the attached video devices (like HDMI) and print the console messages on display. Signed-off-by: Suniel Mahesh --- include/configs/evb_rk3288.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/configs/evb_rk3288.h b/include/configs/evb_rk3288.h index ddd7012c8f..e19fa90212 100644 --- a/include/configs/evb_rk3288.h +++ b/include/configs/evb_rk3288.h @@ -6,7 +6,11 @@ #ifndef __CONFIG_H #define __CONFIG_H -#define ROCKCHIP_DEVICE_SETTINGS +#define ROCKCHIP_DEVICE_SETTINGS \ + "stdin=serial,usbkbd\0" \ + "stdout=serial,vidconsole\0" \ + "stderr=serial,vidconsole\0" + #include #define CONFIG_SYS_MMC_ENV_DEV 0