From patchwork Thu Jun 18 14:12:57 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1404 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 32D6D3F0D3 for ; Thu, 18 Jun 2020 16:13:25 +0200 (CEST) Received: by mail-pf1-f197.google.com with SMTP id r12sf4394295pfr.16 for ; Thu, 18 Jun 2020 07:13:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1592489604; cv=pass; d=google.com; s=arc-20160816; b=aupzyx4FFlAaik0vljwrVbB1x33d3lbwQI9Cwlis+xFHaEAhEHeLq9pZ15GHEtkEP0 mVemW3IS3fTxyk+GSDw1u6ek1upyz2Tx24MMVrSj5YzPXy+gM2Pm9Zwc2OyeAn8ko5VB uAaezH4lIOnK8oT+d6T4nuWQjet1leBSatdlGjSFCRJiuCVxl9ui1hIf0TETEOxoRbMN jfhdXxY3Igi+9YSXVFHWQHY4TQaj+cHA0mlpLZ3aEaQAiMHqbKG972zvuM3Kwf5+P+BM WO46V10SjvMHaMuoa27zZDbxF6AVZMw40/ZmvP7Yg+HHVddFUk67Iku38c/I1X4RH7wl dUNA== 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=zv5VCciIlaCZf4ZHOntNBUJAmy83rygpd9ZHVJ81xJ8=; b=yKzOLqdx8JK51vMKcIAxAGQO6ukVwMjM+kRtHyxoTn5hcTfJh2a20DfjtlYmsOxJ+f O/m8EWcdmqKAlSLzuLp/GKbAOG8mZXV6HZMNya3gidbWfxarIqkfSAId3XKCrZXGZ4j1 9DYTayVbtKfAHKpKPTyfE43dLCql3a6NILfpIpZs2gqTYbG32hrcFhCvrmaHBOWeIedh Pjqimb/5WS0Z9kLCq2PSfgyhTrdbvuQ8o/pA/ys7vX8eNJpXldN892/+r+qe1e1VJP2+ lJBiA774fMYu77hKfardKZ226x9jnXWiaHsCh5uMhzEedGs/Zpgvl7o+WMofRP66aRu9 KGcw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=VOMyn24P; 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=zv5VCciIlaCZf4ZHOntNBUJAmy83rygpd9ZHVJ81xJ8=; b=QihpsvEB4JpS82Wqu4qYWqCypSTiHnh4ZpHg2FQm7EJy4X4Gqdo0QFIwhyPFwsPVTy eP8O8aG5IaV+g3fbJa8/gmXvuVyZvH6arFdVoG+azgrPiv/7hKasT2XlQQ5b9TiNzR/O HWCWWan2OS16A3IGko97QfKflDmL7kclUb1sY= 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=zv5VCciIlaCZf4ZHOntNBUJAmy83rygpd9ZHVJ81xJ8=; b=abaF8RogN1DfCWw7VH6RGzlmQOjyBHKCxTh7B0JmE7+NKOgGsddnWNEGnX7tE+zS3L djg0hmS0PfmVqM4nCSqrLZmY6QFUU2AqfFTbOfEWHQP8mqGjDC9IZhVjQeID7Wx1dCVR CXK0F/0kB88G1reLEWkFnjoBiCPWs1UrE0AQ0JnntAFdp9vW8W/vmiArnYGhYc3vyTw3 uAsOt8qMAPB/m7pM9UoXHCK3+YHVs9yXTd+/vkkRdEN1queytVRBj7GD7fnyfwK0ACIa +pzQBM6fzyxySKx4u018UjcCrPi6yKUjSCA20vwR+JwG1W8u/98Q+9ve0a5kVcq7etYo K5dA== X-Gm-Message-State: AOAM532CGLt03Zty+YySbq7ZvEny9VH6wzD2bjkHIVeEZmj2juY45L61 Mn+uGA/4aDIi1tDWbtQX2N3h8Qn1 X-Google-Smtp-Source: ABdhPJwwp+eBBHamj7IEHvdUJXNWJ+dtW3LPkZLHTw90Ku9e0OSssdVPK6H1LSwDB1i97U8wWt29Cw== X-Received: by 2002:a17:90a:1ad0:: with SMTP id p74mr4780567pjp.117.1592489604020; Thu, 18 Jun 2020 07:13:24 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:aa7:8f3a:: with SMTP id y26ls1919733pfr.3.gmail; Thu, 18 Jun 2020 07:13:23 -0700 (PDT) X-Received: by 2002:a63:481:: with SMTP id 123mr3295627pge.2.1592489603508; Thu, 18 Jun 2020 07:13:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592489603; cv=none; d=google.com; s=arc-20160816; b=xk2u6XPjtOYd97dBh5qKHAfahusgZagHcve1WRniCVDCABIJyRnhV7w/GGfSqPgs+K gK8uuBKLuO7Cy5ylzTx+a3N8OETi1OtPz2ZnFsjZQWboPuWrSRyqK8BXJlggD52mgHA/ 8Dqm3MYiVvECqPJfYBuYjvbC9Qb0rIlA4SxPzBbcSCmfSAYqpLY+BuV4x39d6YVZln8D 1UVwPL7FVaG7pU+7s5gkripkWoI9DvOzcx3wjogrCxBOsn9bOCrtt1JVgRiWje9ybGfS zmdrKThO37dHFyIh+K5mHEbsrKb+zCtvj0fkmsQY2hd9ih4IydieHqReX5tw28BvT1iV +hRA== 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=90vwOvCco40Gnk0eJo9AhM52bhiGkQhRL/rtXtdVFHU=; b=jduZV95CaSmTNA1I4MK2HKpNS4dz/EoXx3Aq2QJSRfU5XxprGA43N8+M6TYwpeiFrm ZO0Q2G7wXPr/ZeseV4A4L8pl4SJkrml82raP+RgRCjZXbgRyctZID6jWXUAJr8omRX1o XpEYRBZI9vrpybNhCsuGLV7UA4SItepOQEUIxu/ln7eXwmrLp1BTqwsmc25mlXfHpLdh c6pbOQefCzs21XaZR19IiS1RF6IwAZ1098fJczTOQsc0c4z/eRlNe5cMoFY4+FyE4sOp i1hqTd7v2N4LmwwyVHz3c5Z0fkoGP3ApNGY9ai7jDoK8Vqhjokfr8uzDhwDokJxgcsmm yzOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=VOMyn24P; 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 e7sor3779160pgj.35.2020.06.18.07.13.23 for (Google Transport Security); Thu, 18 Jun 2020 07:13:23 -0700 (PDT) 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:e455:: with SMTP id i21mr3545873pgk.23.1592489603145; Thu, 18 Jun 2020 07:13:23 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:b0c7:f192:869b:df87]) by smtp.gmail.com with ESMTPSA id p6sm3340540pfb.152.2020.06.18.07.13.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jun 2020 07:13:22 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Cc: Suniel Mahesh , U-Boot-Denx , linux-rockchip@lists.infradead.org, linux-amarula , Jagan Teki Subject: [PATCH v2 4/6] rock-pi-4: Enable HDMI output Date: Thu, 18 Jun 2020 19:42:57 +0530 Message-Id: <20200618141259.155581-4-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200618141259.155581-1-jagan@amarulasolutions.com> References: <20200618141259.155581-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=VOMyn24P; 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 config options to get HDMI output on RockPI-4 boards. Signed-off-by: Jagan Teki --- Changes for v2: - rebase on master configs/rock-pi-4-rk3399_defconfig | 6 ++++++ 1 file changed, 6 insertions(+) +CONFIG_USB_KEYBOARD=y CONFIG_USB_GADGET=y CONFIG_USB_HOST_ETHER=y CONFIG_USB_ETHER_ASIX=y @@ -65,5 +66,9 @@ CONFIG_USB_ETHER_ASIX88179=y CONFIG_USB_ETHER_MCS7830=y CONFIG_USB_ETHER_RTL8152=y CONFIG_USB_ETHER_SMSC95XX=y +CONFIG_DM_VIDEO=y +CONFIG_DISPLAY=y +CONFIG_VIDEO_ROCKCHIP=y +CONFIG_DISPLAY_ROCKCHIP_HDMI=y CONFIG_SPL_TINY_MEMSET=y CONFIG_ERRNO_STR=y diff --git a/configs/rock-pi-4-rk3399_defconfig b/configs/rock-pi-4-rk3399_defconfig index 0d86fdc895..2487872219 100644 --- a/configs/rock-pi-4-rk3399_defconfig +++ b/configs/rock-pi-4-rk3399_defconfig @@ -28,6 +28,7 @@ CONFIG_ENV_IS_IN_MMC=y CONFIG_SYS_RELOC_GD_ENV_ADDR=y CONFIG_ROCKCHIP_GPIO=y CONFIG_SYS_I2C_ROCKCHIP=y +CONFIG_MISC=y CONFIG_MMC_DW=y CONFIG_MMC_DW_ROCKCHIP=y CONFIG_MMC_SDHCI=y @@ -35,11 +36,14 @@ CONFIG_MMC_SDHCI_ROCKCHIP=y CONFIG_DM_ETH=y CONFIG_ETH_DESIGNWARE=y CONFIG_GMAC_ROCKCHIP=y +CONFIG_PHY_ROCKCHIP_INNO_USB2=y configs/rock-pi-4-rk3399_defconfig | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configs/rock-pi-4-rk3399_defconfig b/configs/rock-pi-4-rk3399_defconfig index a4b322074c..98f71a50a5 100644 --- a/configs/rock-pi-4-rk3399_defconfig +++ b/configs/rock-pi-4-rk3399_defconfig @@ -58,6 +58,7 @@ CONFIG_USB_EHCI_HCD=y CONFIG_USB_EHCI_GENERIC=y CONFIG_USB_DWC3=y CONFIG_USB_DWC3_GENERIC=y