From patchwork Thu Jan 23 14:12:19 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1038 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f197.google.com (mail-pf1-f197.google.com [209.85.210.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id E2A413F093 for ; Thu, 23 Jan 2020 15:12:41 +0100 (CET) Received: by mail-pf1-f197.google.com with SMTP id 145sf1703271pfx.19 for ; Thu, 23 Jan 2020 06:12:41 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1579788760; cv=pass; d=google.com; s=arc-20160816; b=ThRRkFuRSHd3VtKB+EuRHYsV5DxFus2Gt5Dv307G4zpTCmJnV5l6XJ1NB3wFFJ9ii5 hHlBEJoVkR78poAAFYk3XixJLXFggj1hVxq+UvHz4fPrQZS2h1bDHX53OZ2leI9coRGW 8oly9y2tPJPySMbeFwodAGYYPdtxMrdlFa78mEjb5YRyTTQO8Zg4mPLNLpkw/WVcBrKw iNmbP2yKCnKZqg6kXeFaczukmAoazhr6KK5WCkA9AhRgtAedpiuOEmLFQkOjF7+Iyc7X dJgqK24pYb8uGQFTvq779vx1sFIG1HS5NSzKQE0Jo3a/xof9ndo5ol5csVCIJIQEBxwm i1+w== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=i9k9uQC0EEUlnuvrJ+b0FiCHCjN5tK/VJloT1kLRhL0=; b=zs1YOd84VFp8FUXg8DwvrylrFgN0+EOmv/bWlg92cc2dkR14JAoI6LYAVldDGEcQRX DyGDAD+kYlF76jWJfJzAjoU1dX5U1V12nf/W9ebxvwMeWWCrbPDUZ6Bq3arkVMTD0xxy WMEChE5QNSwENRmDK3dKgp6ecnoNUWrffXAJhvZg8Bm1wi6ITth1pvIiYslHXGaQDknm GrsOuboSDkTclfuxV8GZRV8LsKbXW/WaUTxaEz4U2qoJo1DDBVl3J7vNFQ/trGITcKcb CBB784JXVBJyV4XxFH8/7dDPxhM+Lp+aRXX4LOQ4IBsalttRsRMqq38qCmLVryE3GepC yfsQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=a79gqNaw; 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:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=i9k9uQC0EEUlnuvrJ+b0FiCHCjN5tK/VJloT1kLRhL0=; b=JQ4M6gq5137bIWjqRi7kDLapO2SNbq2m5zfTwM84NI2G8Sve7E23XRoZaFqHlnnzEL xUfXcA9BuxRDaOrCpMhsDPPfmtT9SOkz0eK/g4G69mAt1szYicGGvaD9Da5qRdI9XcFH hnWpZRj97O1KISSN4jFOFTARYW6fzorzGHt8M= 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: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=i9k9uQC0EEUlnuvrJ+b0FiCHCjN5tK/VJloT1kLRhL0=; b=ZcBV0eJgPgT56DXvBnsHIwNBCO7wKK6MTOKeenQcckwdxdUrnSKxlYFT/lI29dJvTx IpMH5fNGkmVBKiaNmhnj9sfXpTL8r5LmA8fBCvbqNxUqYVu5d/Iwxt+H3UL5RzjBrcFx 5h12uG+1VdE8oRYl1O2z7X5Uugj9NAydSI13AuswDmwOKrrayDMr8Q5ZCVAbJieURbz0 ugB5b6uv7HwAgwwZ63WagzEgswst3o8vcr8L9h20msiCBV1yL811nTS3S3y9nKBWLw+0 13IOGK74kS2LrwpSn0oOvgVW/JN2fL26u6FzHB0oixX7M4LM5kgJl+fqIyXxDo+YKWCr UdJw== X-Gm-Message-State: APjAAAXN0Q8sN4nkn3BanmhziNwcdRTu3DMPr6KMZM90QpTK/814nuK0 E3Q2WD1Pum7yRtdWFrMvQ7vVQOBu X-Google-Smtp-Source: APXvYqzl2NEywWnTGpoWNmKRL8GSLevsOtR/bsmdoP7OrseZQXca6nFuN6Q26ecETCIFC4oRminidA== X-Received: by 2002:a17:902:12d:: with SMTP id 42mr16138390plb.246.1579788759872; Thu, 23 Jan 2020 06:12:39 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a65:6389:: with SMTP id h9ls13204636pgv.10.gmail; Thu, 23 Jan 2020 06:12:39 -0800 (PST) X-Received: by 2002:a63:3089:: with SMTP id w131mr4364837pgw.453.1579788759146; Thu, 23 Jan 2020 06:12:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579788759; cv=none; d=google.com; s=arc-20160816; b=eg2g879c5hrDH8K+m1Q8aPbQn7eLl3U2MYcIwfUNSCT52A68ovNUxDGaVXrYfamgWy uEYqu3BYw7bDv/FGPQ0TDk/dmHjFDXMe6+mRz4ymwAbBRPgLv03daFDRvlqOwD8bg5Dv b2qcLRtHp62NekyT7WIZlDHpJVSVWMSSdw7epReKa8v1cHWidaQK344I5GorV12HRGXs jIo25std5wQwacmVSMleMYKACDupOjx6gjSn3lg6yr1O21cXBSVyXPsyCn16wvYvCtW7 sQmp9uu6FuPtHMBrYqrx/njfRIEehrZ536NppQgq9rApEOmgbr9zMMe4F1fUwCkQFfvA HhQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=rDeb4IRpDr+jmE5DvZP+Erb2FHBE6aPgX/dlR6Q3DjE=; b=MY8ZMg7lH/LXSStqnxGJf8zPn9ao8V69E8oEuTGJpG0YhgFZt7mG7o91zzYxiSqRH/ H7vzEoWg1KLdCzy8NSB+EHn2Ygi6HXao/Cyu6FHmj26S+y8WerJNVZJnUpEWAaavDFik kCnu3jAAckYIbtjF3EFXmGBdCjBf1yF1NdF6hEV5R0ODnzbgyGkimWpbVhm+lujeq/MB PGLlQdNErO8iGXDp3U0QTPFXsq3nrRBVZ7HDDFbDoLjquQj1F5jcRDgy8nlgQhstKves eZv8j1DAkaACg4KbkGu4DNUSKHsbspYcnxdOEYTWY4sKZnpFHUNyKQlPjV3Ca21VLyaK s/fg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=a79gqNaw; 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 85sor2227487pge.61.2020.01.23.06.12.38 for (Google Transport Security); Thu, 23 Jan 2020 06:12:38 -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:a63:4b50:: with SMTP id k16mr4265766pgl.386.1579788758239; Thu, 23 Jan 2020 06:12:38 -0800 (PST) Received: from localhost.localdomain ([49.206.202.109]) by smtp.gmail.com with ESMTPSA id o6sm3136392pgg.37.2020.01.23.06.12.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Jan 2020 06:12:37 -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 1/4] rockchip: rk3288: Enable pre console buffer Date: Thu, 23 Jan 2020 19:42:19 +0530 Message-Id: <20200123141222.486-1-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 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=a79gqNaw; 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: , Enable pre console buffer for rk3288 platform. This would help to capture the console messages prior to the console being initialised. Enabling this would help to capture all the console messages on video output source like HDMI. So we can find the full console messages of U-Boot proper on HDMI display when enabled it for RK3288 platform boards. Buffer address used for pre console is 0x0f000000 which is ram base plus 240MiB. right now the Allwinner SoC is using similar computation. Signed-off-by: Jagan Teki --- arch/arm/mach-rockchip/Kconfig | 1 + common/Kconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/arm/mach-rockchip/Kconfig index 2f260a5c5f..ed7514ab75 100644 --- a/arch/arm/mach-rockchip/Kconfig +++ b/arch/arm/mach-rockchip/Kconfig @@ -102,6 +102,7 @@ config ROCKCHIP_RK3288 select SUPPORT_SPL select SPL select SUPPORT_TPL + imply PRE_CONSOLE_BUFFER imply ROCKCHIP_COMMON_BOARD imply SPL_ROCKCHIP_COMMON_BOARD imply TPL_CLK diff --git a/common/Kconfig b/common/Kconfig index a7c5ba278a..21d0244050 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -567,6 +567,7 @@ config PRE_CON_BUF_ADDR depends on PRE_CONSOLE_BUFFER default 0x2f000000 if ARCH_SUNXI && MACH_SUN9I default 0x4f000000 if ARCH_SUNXI && !MACH_SUN9I + default 0x0f000000 if ROCKCHIP_RK3288 help This sets the start address of the pre-console buffer. This must be in available memory and is accessed before relocation and From patchwork Thu Jan 23 14:12:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1039 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-io1-f69.google.com (mail-io1-f69.google.com [209.85.166.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 90F2B3F093 for ; Thu, 23 Jan 2020 15:12:44 +0100 (CET) Received: by mail-io1-f69.google.com with SMTP id e15sf2065753ioh.15 for ; Thu, 23 Jan 2020 06:12:44 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1579788763; cv=pass; d=google.com; s=arc-20160816; b=tsV+S+WuUr374mBrT+biqpzLeZsRUqP5Yl0zAUXik/1gARq3R3pUi0m9nyvmH1jXHX kidvJh+jvvLjgzv0bHcY5RUWlvp8HmevzhJR8Twom6qeMkCW/aMDxYhREjX2aDLtg4mI k/ugMVWwI9y6xbUr4X/mng3R2+y+hBLoIMXTfA5tM6LS09gQtTZzrW4qUhWpD+wlyql0 ey0BIAOCW2FQc/Lr3XiwA4cKvD/qbCY1KLgBBLaQklgslrUJThB+pYV1nS7brjtE8g4E 2kbs+ljRxa+TKee823mjKpLveT1O7xIrORpJ+M5Hh1uXcN7kjlpIkfy7smA82xcRKeR4 J8/w== 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=RX8Ct06Cn7Pz7dOyuJ4FBQ023Dl/NvFcDC2LgEzcjr4=; b=nkdC+gSyXkZbIVUBIbe1sGeoseZeqf8H53Tj4eZWxqvd3kNO3bpn00cQpi+dmxKuyp 1jo0i3PR42kP73wd8toGY95dW+2RO16SDnNda4NaHVCGYRnXxNswus5zU53THuA2F1ya VEVxi/tXReD2HtunAlbCgx+cVjNbkAzL9hxYGHk8TJAu/LIh+aTJqY95mR1WEdXKqEab KWoLTdQEKRhpxxfO/R3rZehu6+nw3NhKAFzA5xnpmnxOYVCKmcC/dz3YdC+wmc1o1y1O sYEZvX1kQq1q2ZY+TJcPSTHCIaW1hJfBekSJFKj3PudCCoCD3c/eBAsYI6QPaM2eGyEn F77A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=LCFbtLwR; 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=RX8Ct06Cn7Pz7dOyuJ4FBQ023Dl/NvFcDC2LgEzcjr4=; b=oYbDHkxTT3k3LdZ/JHKTgQClEhbIDyhm8WBYKgu6gkC+GiLb+JDNPyUYn/qrnTEt5T gf3HBPLZIV7g5Pn1i/O/aY45ujz/tHKrM6wLe2tyOb3PoLXxkA6bsxYz5w7xyh0UkDeT vXzm3U4cXhGgmKlhhNCD53VIBspthI7AP8R7A= 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=RX8Ct06Cn7Pz7dOyuJ4FBQ023Dl/NvFcDC2LgEzcjr4=; b=L5fe4jkZJubT0f2hQUorxV3k7x45kL1L4sAT2FNyh18VYu76oJ6mgz+9p14P9QE1DH WC2pkSkTq3si8c354r2xZboyviysWKAXgM+8xvCMqd47+IVVRbGURDA03MQeyCOYdFAd +Nzt/h88enPWi42mROGoKieMloGIHtPi3NJEoQV8wi00wTvJtWCeSyf7UuF65yw8aPs+ y4YSl5oezXFW2zhSWvNI0sX/p1Vm8NyZNCp878ffm8TTIUOUSas9p4T2JYuRauXDeNln stNeeIBBRW4OuP/qBjc7Ar7UosDqRiNbnQ6Q4zQWE5VmtYKdF3HZnkX0PFgA7Hin3HXo fAcQ== X-Gm-Message-State: APjAAAUXrVspFt8Iz+YtgYr9oIGcGTbIGi2D4yj11c7XWEj6IdFuQU0t nubsdjq6Tp/n7sbNOX7TnYuD0Ckt X-Google-Smtp-Source: APXvYqwmKUXhQ2f7nJ06uEpCL45O0BCe9fmYfqrajw8emzgdQufoadH/TqtPWQBYeCES8BsQsny+jw== X-Received: by 2002:a02:94e9:: with SMTP id x96mr10892624jah.68.1579788762710; Thu, 23 Jan 2020 06:12:42 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a92:cb49:: with SMTP id f9ls7756780ilq.7.gmail; Thu, 23 Jan 2020 06:12:42 -0800 (PST) X-Received: by 2002:a92:d705:: with SMTP id m5mr2206152iln.76.1579788762164; Thu, 23 Jan 2020 06:12:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579788762; cv=none; d=google.com; s=arc-20160816; b=W5Jlpt3gqTi5y0eNUNSENn2z95l06xkiaCcvdoIrA1ABEUOfmPYxDe4gyGfNSZA5cz k0TiNyeAF5swUQhRyUoMlrAuZKsl5QsbkxkXYA/2ckjf51VM8ZeuHbr6mIh+TnZER06F UBbld19BZ5GGcA0hT2km4TDxf0spvxEUMn+KHM2Ze9a/5rx2qjkbURZpdrVoYV2wztCS F3p1JEZ36YW+TmKc61AybbfQg+GPCrfHFmlA6sWr8xGRhR2oEycorffXt8sJ5wDqTLRh obpj/RYA0xSMa8btf+VhCmWe0QV+OmZV2n0xBwAtVDscyyAfnOvDRjBq3wNwZ89nMciw EywQ== 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=pX84TUtmw9tx4Os7n6FO68756VgiHD7gdbrKeWTJT2s=; b=rafM1D9zAePxo1QdQbDpd96VR4iG1h3gH2YjpHlIbYLZgsZ4S1dB9eGwb3t988/iQv 25gl9zhBP00eFEZextQSG3ikw1V+Fvgi82JvlWfO6bcETOMQXc2tUFEL7VVzeyCKXIK/ Hww+ptzd+8l1iJVep9LfhUggda0LWNNRocMNe0NeLbSHBicpny3CeGNwEIoHMjXDgZKP 6sJgjytVM00sbyJv/shj4m8A3cHJqeewee8CdMolu+5qBZ7+BxluRcCrVEIkUvoHOmUl eJ7OUAbYEjw5DigeHxKGSVPJha0/PUitpge6SKpmhV89V6QsT1QPfKs/HFycIE7aF5jR LqIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=LCFbtLwR; 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 20sor1758211iog.26.2020.01.23.06.12.42 for (Google Transport Security); Thu, 23 Jan 2020 06:12:42 -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:a63:c508:: with SMTP id f8mr4014927pgd.17.1579788761720; Thu, 23 Jan 2020 06:12:41 -0800 (PST) Received: from localhost.localdomain ([49.206.202.109]) by smtp.gmail.com with ESMTPSA id o6sm3136392pgg.37.2020.01.23.06.12.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Jan 2020 06:12:41 -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 2/4] ARM: dts: rockchip: Sync rk3288-vyasa dts from linux Date: Thu, 23 Jan 2020 19:42:20 +0530 Message-Id: <20200123141222.486-2-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=LCFbtLwR; 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: , Sync rk3288-vyasa dts file from Linux. This sync has changes required to work HDMI output on Vyasa RK3288 board. This sync excludes the io_domains node since it is not available in rk3288.dtsi. Changes like vcc50_hdmi, vdd10_lcd and ddc-i2c-bus are not merged to Linux yet but wil resync later if any further updates on this. Signed-off-by: Jagan Teki --- arch/arm/dts/rk3288-vyasa.dts | 79 ++++++++++++++--------------------- 1 file changed, 32 insertions(+), 47 deletions(-) diff --git a/arch/arm/dts/rk3288-vyasa.dts b/arch/arm/dts/rk3288-vyasa.dts index 850aa25818..4193f7208c 100644 --- a/arch/arm/dts/rk3288-vyasa.dts +++ b/arch/arm/dts/rk3288-vyasa.dts @@ -1,43 +1,6 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) /* * Copyright (C) 2017 Jagan Teki - * - * This file is dual-licensed: you can use it either under the terms - * of the GPL or the X11 license, at your option. Note that this dual - * licensing only applies to this file, and not this project as a - * whole. - * - * a) This file is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of the - * License, or (at your option) any later version. - * - * This file is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * Or, alternatively, - * - * b) Permission is hereby granted, free of charge, to any person - * obtaining a copy of this software and associated documentation - * files (the "Software"), to deal in the Software without - * restriction, including without limitation the rights to use, - * copy, modify, merge, publish, distribute, sublicense, and/or - * sell copies of the Software, and to permit persons to whom the - * Software is furnished to do so, subject to the following - * conditions: - * - * The above copyright notice and this permission notice shall be - * included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES - * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT - * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, - * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR - * OTHER DEALINGS IN THE SOFTWARE. */ /dts-v1/; @@ -115,6 +78,17 @@ vin-supply = <&vcc_io>; }; + vcc50_hdmi: vcc50-hdmi { + compatible = "regulator-fixed"; + regulator-name = "vcc50_hdmi"; + enable-active-high; + gpio = <&gpio7 RK_PB4 GPIO_ACTIVE_HIGH>; /* HDMI_EN */ + pinctrl-names = "default"; + pinctrl-0 = <&vcc50_hdmi_en>; + regulator-always-on; + regulator-boot-on; + vin-supply = <&vsus_5v>; + }; vusb1_5v: vusb1-5v { compatible = "regulator-fixed"; regulator-name = "vusb1_5v"; @@ -158,7 +132,6 @@ &emmc { bus-width = <8>; cap-mmc-highspeed; - disable-wp; non-removable; pinctrl-names = "default"; pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_pwr &emmc_bus8>; @@ -188,7 +161,7 @@ }; &hdmi { - ddc-i2c-bus = <&i2c2>; + ddc-i2c-bus = <&i2c5>; status = "okay"; }; @@ -324,15 +297,15 @@ }; }; - vcc10_lcd: LDO_REG6 { - regulator-name = "vcc10_lcd"; + vdd10_lcd: LDO_REG6 { + regulator-name = "vdd10_lcd"; regulator-min-microvolt = <1000000>; regulator-max-microvolt = <1000000>; regulator-always-on; regulator-boot-on; regulator-state-mem { regulator-on-in-suspend; - regulator-suspend-microvolt = <1800000>; + regulator-suspend-microvolt = <1000000>; }; }; @@ -385,7 +358,7 @@ }; }; -&i2c2 { +&i2c5 { status = "okay"; }; @@ -402,6 +375,12 @@ status = "okay"; }; +&tsadc { + rockchip,hw-tshut-mode = <1>; /* tshut mode 0:CRU 1:GPIO */ + rockchip,hw-tshut-polarity = <1>; /* tshut polarity 0:LOW 1:HIGH */ + status = "okay"; +}; + &uart2 { status = "okay"; }; @@ -463,15 +442,21 @@ }; }; + hdmi { + vcc50_hdmi_en: vcc50-hdmi-en { + rockchip,pins = <7 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; + pmic { pmic_int: pmic-int { - rockchip,pins = ; + rockchip,pins = <0 RK_PA4 RK_FUNC_GPIO &pcfg_pull_up>; }; }; usb_host { phy_pwr_en: phy-pwr-en { - rockchip,pins = ; + rockchip,pins = <2 RK_PB1 RK_FUNC_GPIO &pcfg_output_high>; }; usb2_pwr_en: usb2-pwr-en { @@ -481,7 +466,7 @@ usb_otg { otg_vbus_drv: otg-vbus-drv { - rockchip,pins = ; + rockchip,pins = <0 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>; }; }; From patchwork Thu Jan 23 14:12:21 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1040 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pl1-f200.google.com (mail-pl1-f200.google.com [209.85.214.200]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 317B83F093 for ; Thu, 23 Jan 2020 15:12:48 +0100 (CET) Received: by mail-pl1-f200.google.com with SMTP id t12sf1495551plo.4 for ; Thu, 23 Jan 2020 06:12:48 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1579788766; cv=pass; d=google.com; s=arc-20160816; b=WRR6af9X+uQISHvXcqt/eTUErP2MrfUWdfW29gTsW+1BmwXNPvFeBRJWDhbju9mvxt SipbWMheKuYX18L6S2Fv49HA1LjkcojYM6q9/mclZpI8GTzBmhbDuAC5rcKDa621jIRr e3XoAvbj7GB+f4AuSobwz7AMC3mqaHsU/CI9MWGGzWDm6P4vpwUvFCUkS7A6A9GDeDqn +dOvcOCV0xmApjUBM9+h0/vC55RrM23Y9fBcBGdKZ4sb9V16RSMmjT2mVPrR2Dnt65zf QRQAx3IHOK8HxXbUhYxRhHZVUdleR5w/mAd13ZA/+1aecQirJrDCviPKYekDTwjO64x7 jVWw== 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=kV6XNf+UPabjSOpMEzJODyZ86l7GVKxMUNuvejs9oGI=; b=tEY8UBPk6DqlFIKzCHq0gYHCCVC3s0iL4JY3Vok+VUTK29XY9wjsdv7DuIRS5KFRjH +T29gf9uwqn32FB2oWLsun7IGNu25fMOg+vpqEEw1nxkJRrxYDvjxY6bV2xTWCduPeWa 6X1rBpW3OD4mZg77jt8VoV8DGsrh0kc8EYRiVDRgRYf8XIcvYrJwFJ+CwU86OrZA8eAE zMMoQ/CPoluQqj3DW88i3iirtz4nuVWp/QnQh55EJO5cVBqXC6w48hNf+0tMigqPqeLa MHg/cr2gw9Me+P1z4fSJzqP7ECaIhuz9lOemsyY7BxtdxBEocC80XvGnojFTzzSE9Y45 uDYw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=O+z2EWfG; 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=kV6XNf+UPabjSOpMEzJODyZ86l7GVKxMUNuvejs9oGI=; b=ZDrp3ZHf4tv22z1Z3jY4JoIw1aDYc9qNGME82Sr5TMlQKe6AjGEVR6YkCF/ZUVCnCD sFn1JqVC/0+r4aw5qUaOG8ipDkiMyPRH4mMu8PydLAwnFbDhMMEpRgNi3gX96uuwQkPh lPQzrZlmOGQJyyUg0QQ4OTgUTL6dwkrFQo6eM= 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=kV6XNf+UPabjSOpMEzJODyZ86l7GVKxMUNuvejs9oGI=; b=ZEV5SWnd1CT/tZVuIZ3/ejrAYy8DKIgYW94VG7NoUO7ciSHst5jvKKKMG7SvzMHMoX mavtzgNMNyep5ar8uyPDI4YF/gR3Hm9I2LpnqinaX6HFmO/EbkdWaNS3y21+c4Rx6Ns6 n/xKVVbZji0Jz8hPBOTnAoB2vLxmnZiHhVbSGkaAERX6vPvUNgqy0TvTTCgXgL9qFPhk 8rIHnnCTRQ0urUYgfFgrxTyDr6q6c9zFuAZeWBPY68X1ZfRhpyVH6CdQ81EOgaimqlb9 Aqop9zyBh1lFtbRQs5PRQLG4YLFRzB7h65IfY/zTrPZGgXwK8wlbZMBGJFDIeAtfDO3M FsuQ== X-Gm-Message-State: APjAAAWOrERAvNdqFq8DsUGunhtTlJrZy8uSnopRj5VTcR2n5+4l5VpZ CiY1N5oKDKGBYg+LurmcoaDW5cOo X-Google-Smtp-Source: APXvYqzKJZgkFkZMxH59lH6XPlVt7XVgcTmceY2e2q5DD87aCzOaDgn4qujn33081dz8BQLSOB+twA== X-Received: by 2002:a62:ee11:: with SMTP id e17mr7710342pfi.48.1579788766650; Thu, 23 Jan 2020 06:12:46 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a63:2223:: with SMTP id i35ls13216799pgi.11.gmail; Thu, 23 Jan 2020 06:12:46 -0800 (PST) X-Received: by 2002:a63:590e:: with SMTP id n14mr4061321pgb.10.1579788766122; Thu, 23 Jan 2020 06:12:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579788766; cv=none; d=google.com; s=arc-20160816; b=dCxuZG36TWSOZ1Hs1CSUwtmoZkKrjVMfHSSbMFakqskwF+9Qv8h8NJKWmlxaRARd0X KVwVRDIeROAksHW+DqUKaiJd2qKprccvQWEDp1OoU08NyqHwOxcxrHOADFh/XCshp0pu e/IYwg41AqTO236EDvdqDr8zvpFJQ8fFmmhS9VT5q4jBXanA/TCFYYYfJlMO7p2cDoQ+ SyI3xtVh+1ans1xCOhQqHkBT1ByNJYI6Q7xwf7PsClPG9R863eHyy7aliQbBK4HTgNtQ TnzWKxqyGl/WkATOxkDVfXHJQYJYKgldFxvnjz6lFwtOgY33GFKKqeQFckWuPFJBUhCR efSQ== 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=zUWAnU1mR3ZKYR1jjZcWiKDm0bDXARn732TTOL/hENo=; b=wEFVTXHNTIToaJvVK6EVr0egti4SYAUgj2GqRrOSpo3fomp8o+wptgCMo0JYdIMeoX 8um+EyXdefLvwY2HQ56lu6SM+tWQYJXw0B83uJzDzZlnCuih2yPX5uA4f8ops/arSye5 E3UtRCinyM6I7xa+yoFNGQl4BSDWKk+5LfsZUWO9Ip/Ih3ubVsLkgLgEQ1x0bc8m+QIA tJfl8Aq1w379OqkWjoAS8+sMcAyGoJjNJHNGBUaYdCnOgb+1U5us2alfxfn3WbFWXbco FFi60u+BJedLUOHK3sK/9X2mrAEvtfRUr2YdS6DMARzYAV3uYTtWyn1VWcke99ct/9ak N+Gw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=O+z2EWfG; 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 j8sor2593158pjz.11.2020.01.23.06.12.45 for (Google Transport Security); Thu, 23 Jan 2020 06:12:45 -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:90b:258:: with SMTP id fz24mr4594238pjb.6.1579788765295; Thu, 23 Jan 2020 06:12:45 -0800 (PST) Received: from localhost.localdomain ([49.206.202.109]) by smtp.gmail.com with ESMTPSA id o6sm3136392pgg.37.2020.01.23.06.12.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Jan 2020 06:12:44 -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 3/4] rk3288: tinker: Enable HDMI output Date: Thu, 23 Jan 2020 19:42:21 +0530 Message-Id: <20200123141222.486-3-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=O+z2EWfG; 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: , Enable HDMI output for Tinker RK3288 board. Signed-off-by: Jagan Teki --- configs/tinker-rk3288_defconfig | 6 ++++++ include/configs/tinker_rk3288.h | 6 +++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/configs/tinker-rk3288_defconfig b/configs/tinker-rk3288_defconfig index 894e7d1e12..ecade47e7a 100644 --- a/configs/tinker-rk3288_defconfig +++ b/configs/tinker-rk3288_defconfig @@ -83,3 +83,9 @@ CONFIG_USB_ETHER_ASIX=y CONFIG_USB_ETHER_SMSC95XX=y CONFIG_CMD_DHRYSTONE=y CONFIG_ERRNO_STR=y +CONFIG_DM_VIDEO=y +CONFIG_VIDEO_BPP16=y +CONFIG_VIDEO_BPP32=y +CONFIG_DISPLAY=y +CONFIG_VIDEO_ROCKCHIP=y +CONFIG_DISPLAY_ROCKCHIP_HDMI=y diff --git a/include/configs/tinker_rk3288.h b/include/configs/tinker_rk3288.h index f8a55a2cec..f1095ccd0e 100644 --- a/include/configs/tinker_rk3288.h +++ b/include/configs/tinker_rk3288.h @@ -6,7 +6,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 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