From patchwork Thu Jan 23 14:12:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1041 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-il1-f199.google.com (mail-il1-f199.google.com [209.85.166.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id DB3FD3F093 for ; Thu, 23 Jan 2020 15:12:50 +0100 (CET) Received: by mail-il1-f199.google.com with SMTP id n9sf2430160ilm.19 for ; Thu, 23 Jan 2020 06:12:50 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1579788770; cv=pass; d=google.com; s=arc-20160816; b=pnhUzmInrBSnPK5lDsvzieLP6O5txS4s/DjIFtV8q81bXaRv2Cd2wZon8ZqU2N3R7G 2aTbbMFWQKbNjzxM9hEdXbdfPgVjeNsBMQo2ssFpzhRCojHZJuyX+p71SZPTD4b6uQEF Dq0CKevaHV8yUqEc2MHtRqHdrLjOAE2HbaJE4AYefmYmik2ssOrES3wSutiiRr6qkyOU P8LDhPQJuLiPr/pJ/cUu9+KJR5bPY8ShoeojRGGF9YLjYiUGWbtDxXFSI/L6ZIjwl1+a IgFytHZeD55uhRuQ0pRA+e0at7P+YIKO5dNxPXDeYR6wkTX0RzQU4KXCpy+e7Kz7HNfi tzHw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=o2LqjUdQKhAt57V/g0giHv2DJZeFJhR/BhC/wl6dEjQ=; b=TK0JoKfeUs01zHSMX6gKN6gzUabGb9j8T+qAp6oezYUdEHJqssLumKcI7NIhOB9Cbw LSPCc0nPtTYnJn/zwR7qigXBDk5IDzhw82yJZLNCewQhx0SScUmJlZV8ngJyLtaElm3S pMmvYan2jaXKDhb4jqN/lKK3hJzMjGqgjL0MFt4BY2gs8ug692uIqZywCb9iyFW2/utu njo9zPXyqo/Ho8zDujUCaMpBVCr1YTxPK5tO4BiPPgWJazPFgvyk72zu8fNNo/gxoumy tj2I3h4w82/4gE918zTVTZdOtcSC6nUWQjaUpd+xyQb+aX0FQAya7/Xivd3sQ2ntZDW1 DjCw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="Ch6/5a81"; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com 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:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=o2LqjUdQKhAt57V/g0giHv2DJZeFJhR/BhC/wl6dEjQ=; b=I/xKvryuu40DGUfsbUjsGxw02lHrUnNcskcGd5wVQOw5zvoajzJpZ/WuJG132+5EUK Mmz8i3s0KIluK+3sWOkszeV86hfKnagn+g9iAumew3uS4m0w76pevGbnrxjJLtCkYM0F ScSCZwq/Mn2HDg92NwaEsxNKJSe/GaKUF5Xyo= 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:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=o2LqjUdQKhAt57V/g0giHv2DJZeFJhR/BhC/wl6dEjQ=; b=tEtCk4f9seTAmgRGt79CEVFeduqkURtzoCYjw72Hst1NcWujnNSICudAZRUmKQDn0a PsSiSUCycYquhsJSXOujkDiJeePjNVmwqxH1yUeUMIokKq7RUdMkOc9WEQsrUo/KrIiJ lGK8ns/dAlaBnBuxajQuKIB2yadqyKqSUa4Cpn/qPMLXHm28b9xSmcqTlCbv27Atz11L gg45XQ3zo/1WSVDIjkXg4L2/PRt7f0KL0G7iUDkJ+RK34igAusZiGCDZi9PMrJerDvVS g20BJsZOD7nW5B01a1iI/JVSlkQYIrEFn72BZgcYI8LqqbQ1xcWxcQsSnt87iJas0uLW gxFg== X-Gm-Message-State: APjAAAXSSSx9J8dpQAMxEdEYCezjmhbCO83FOUkoF5No9+22THlmcZBn 8Y97f3liQm/4/jzwWj6cC+kePLkr X-Google-Smtp-Source: APXvYqxrOpwbvOPG7WQqOwpVHFmxHUimrvEar52ECcUzgH905ORa6TlMIGYURSqMBLCVm4MX1jl/Vg== X-Received: by 2002:a6b:3f54:: with SMTP id m81mr10473546ioa.190.1579788769862; Thu, 23 Jan 2020 06:12:49 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a02:5e84:: with SMTP id h126ls3613388jab.5.gmail; Thu, 23 Jan 2020 06:12:49 -0800 (PST) X-Received: by 2002:a02:a694:: with SMTP id j20mr11695464jam.69.1579788769088; Thu, 23 Jan 2020 06:12:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579788769; cv=none; d=google.com; s=arc-20160816; b=N2geHAcoyqq4zrItqHktbYus7Sgz8+N+Lt+RWJ4U+XsQxp6nSWrzUDr82+r+stDOuk 5NomlYHC0G2SlViFmGE+2UiONleAlEdqqP7SL71u5gxvpAgdlIcmZxpK0rtPe24Bssgw gyUXBEUV9VjI6f2u0mFMK0rAr0lVYgJK5x/G6c7q4B1gD7k+mjoLAd0+epapM5ufjgel K8a9icGRVNecXmLa3oB+D28MNWVfMNYPj+6Fcg1VyQmQMyTDAbfsnwWu0dO13jQxvyqG S+P468G8BOFLBBY2/QpfmJKP7hzCKlYnAj3uttQqUydWBj+ksBO+748Ea00R3CCqi0yz DJTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=0t9Yc8oCapK/pmXczwfOQfE1sOlvTfclcIrreLGQ2uU=; b=DcHi+FzMupMdFYjZcG7OGTh6EJLpseKmLVZr5Fz5An1ga6A8x7d9koY9Y0e9TH0t4I xZFRfhpnm07klQMompnxXYjv5rAJXEwHO4Sg3Su5QLE87Xa2tIxcK3DLFUzgMNehBOoG 2fB7IUs8IK7JySBwyP2fq4yD74vHQXqatuk+ZKFMFFD0TVMF24JmcossxOyI/F8pM7Ij a4hA1/5NzpZZEGj4b5i+9p8ZTcc25c+YJ2PJ1aNqyJvT861I9rFUrJ+QL2iFunaSdOiX 7EyeVYVYnb191TC2qeruxBrq19b7LBZPccsbHmP0wpsB6oAV0/oa5Pu7KpDa6IpfeFFE 0Dvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="Ch6/5a81"; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id g130sor1732159iof.22.2020.01.23.06.12.49 for (Google Transport Security); Thu, 23 Jan 2020 06:12:49 -0800 (PST) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a17:902:708c:: with SMTP id z12mr15907896plk.15.1579788768767; Thu, 23 Jan 2020 06:12:48 -0800 (PST) Received: from localhost.localdomain ([49.206.202.109]) by smtp.gmail.com with ESMTPSA id o6sm3136392pgg.37.2020.01.23.06.12.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Jan 2020 06:12:48 -0800 (PST) From: Jagan Teki To: Kever Yang , Simon Glass , Philipp Tomsich Cc: Michael Trimarchi , u-boot@lists.denx.de, linux-rockchip@lists.infradead.org, linux-amarula@amarulasolutions.com, Jagan Teki Subject: [PATCH 4/4] rk3288: vyasa: Add console settings Date: Thu, 23 Jan 2020 19:42:22 +0530 Message-Id: <20200123141222.486-4-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20200123141222.486-1-jagan@amarulasolutions.com> References: <20200123141222.486-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="Ch6/5a81"; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Add console settings like stdin, stdout and stderr as cros-ec-keyb and vidconsole respectively for Vyasa Rk3288 board. This would certainly help to detect the attached video devices (like HDMI) and print the console message on display. Signed-off-by: Jagan Teki --- include/configs/vyasa-rk3288.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/configs/vyasa-rk3288.h b/include/configs/vyasa-rk3288.h index 3574a3b5a5..e31dc77720 100644 --- a/include/configs/vyasa-rk3288.h +++ b/include/configs/vyasa-rk3288.h @@ -8,7 +8,11 @@ #ifndef __CONFIG_H #define __CONFIG_H -#define ROCKCHIP_DEVICE_SETTINGS +#define ROCKCHIP_DEVICE_SETTINGS \ + "stdin=serial,cros-ec-keyb\0" \ + "stdout=serial,vidconsole\0" \ + "stderr=serial,vidconsole\0" + #include #undef BOOT_TARGET_DEVICES