From patchwork Tue Jul 21 15:24:42 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 11675901 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 0D7D213B1 for ; Tue, 21 Jul 2020 15:25:50 +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 D4A89206E3 for ; Tue, 21 Jul 2020 15:25:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="lKIYJo33"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="WKnHVVrg" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D4A89206E3 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=PQYNrjZE+gM69Pg2o6aq0brMBJba47eQeuASn8+LAQo=; b=lKIYJo33wBjExh076Q/CiKSFJ oUX1rr7W8QUkQuSRneDZO6sdBlxDrio+hMzmKKXe25BXQMb7LP2gfDfwv8rz742csWTgXyYrMc3pT ohzmtlI5zGD04sZ6JBP4O7W9N/XmHll4JBpuauunpftVEaUd++ZBcKa7gKVzSIHKXZWg/UNbX4F+V h2qnln7kDWaSyjdJMF1hJeZxHia/9h3/x+GzdE9k66CTrVOHd6Sl4WthvyaNZxwB9bIWL4taGe6ca 9DIf1rBXLabh8jSP/PyKsm8X1CKejDXpsMnQpQ3TSAXL0obHdRU2S+z8p9z3dBewdO8ERfO/bAXRe sa3JPrq5w==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxu9L-00046n-BQ; Tue, 21 Jul 2020 15:25:47 +0000 Received: from mail-pj1-x1041.google.com ([2607:f8b0:4864:20::1041]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxu96-0003y9-4b for linux-rockchip@lists.infradead.org; Tue, 21 Jul 2020 15:25:45 +0000 Received: by mail-pj1-x1041.google.com with SMTP id k1so1731868pjt.5 for ; Tue, 21 Jul 2020 08:25:31 -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=fY0EDuJJMJnieQ5B2JBjD++2/rUpU97pXNIXkIR52r8=; b=WKnHVVrgYCdUxNGWRqoK/dwSaszcg04C/LQy4TxjqHX9nHXIkBB1SeBdEG49sj2ocs fDP4OtaZ4/u2LnHt2E+9oo+Ll1/WMqmEJ1YD9+Z5q0r4H2Hr9F8kpan5BuPbtA0Xqukh IcOefBXCb43sWsQMh2Jd9TW4cmpdKHB2iCGIY= 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=fY0EDuJJMJnieQ5B2JBjD++2/rUpU97pXNIXkIR52r8=; b=J7uckRdbCToevtdBLdMszXkKj5jfEQACRyHCyA9e4xKZkqZNP/7xXSLbpkrOjUOdOh Cg4Di1Jo9V7SxYcWnfRm8LXfugQf4Xlqnm8mRNGz9bgZTk7MudAKYyHxPHY9NGLFqgvR Dlj/lQtmZ6s+/L6o+C0L5Oi2V76DTuezVAFV3AQVF9ZbMWe6XqNV52tnVnMKpK/FzRTF rU6i2K+WAizwtTS8uoz46g82qg59kCJRoiqpXNshcA8Yn6vq6E5HBCSQvA74NRZrA/q/ nBmBC4bRPg88JVFYZ2uoOz+s4rvCMpzQzX9C18OWkVP7qiaZza6D80/p3G2RNoUA0hSM zRCA== X-Gm-Message-State: AOAM533crxr5GLIjz2AjQE/ldm85bOjtPUSApLqGjtC2Uwb8xl0o6l+y rqsF5P7iNDU9Hgc2+a7P0Sks2g== X-Google-Smtp-Source: ABdhPJy8HYuR7B+snn3bHbIceALjxZgICjUGnWy0oRfFw+K3OjypImB7VhizV6l0OevN+h/WIcjaww== X-Received: by 2002:a17:902:6b8c:: with SMTP id p12mr23453859plk.192.1595345129672; Tue, 21 Jul 2020 08:25:29 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:3df7:ef76:b2b5:fa14]) by smtp.gmail.com with ESMTPSA id h131sm2876838pfe.138.2020.07.21.08.25.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Jul 2020 08:25:29 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Subject: [PATCH v2 08/12] rockchip: evb_rk3288: Add console settings Date: Tue, 21 Jul 2020 20:54:42 +0530 Message-Id: <20200721152443.37602-9-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200721152443.37602-1-jagan@amarulasolutions.com> References: <20200721152443.37602-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200721_112532_340026_CDBFC1E1 X-CRM114-Status: UNSURE ( 9.65 ) 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:1041 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 , Jagan Teki , 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 evb-rk3288 targets. This would certainly help to detect the attached video devices (like HDMI) and print the console messages on display. Signed-off-by: Suniel Mahesh Signed-off-by: Jagan Teki Reviewed-by: Kever Yang --- Changes for v2: - update commit messaage 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