From patchwork Thu Jun 18 14:12:55 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1402 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pj1-f70.google.com (mail-pj1-f70.google.com [209.85.216.70]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id CE7B93F0D3 for ; Thu, 18 Jun 2020 16:13:17 +0200 (CEST) Received: by mail-pj1-f70.google.com with SMTP id fa9sf4183958pjb.4 for ; Thu, 18 Jun 2020 07:13:17 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1592489596; cv=pass; d=google.com; s=arc-20160816; b=PROxOH2QiCne9hX3nckbLTJ+XLAl2OVyQOJgJCCVHPeP8AiYmbx07Htn1b+BaA2B1W rKniWxHsnpiEJ670wOJDyv+zjmJne3GtQzezRou6KEHRVVXRMVcUHbGiAtPQaKwVea3m Yxs8M5ryAXhNABWxFC8C6DbYIV2povlCbw/1fHQAKN/PwwvYObi4LhXllYyAfU6eiTZ8 NRSDCJ1cDMx89394bbNpe9FARP7/mfdPvmP7LBd7RcKppD/nEwrDJ3zIZ7u/O8PKT3Jg OUDbG7vI7KKT94Sd6spMykWsvNJ6j6KX7SXicG82jvtv7973bJYer2HIL8bUwUCzwGXf jNNQ== 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=Dc6v4H0y61Tn0I2JmiaYFS1T9jgGoPPxVyBQtZ69Ek8=; b=juVuqZ/g+wBG/sTKFvpBKGqkXvyYP5ouXZBcU6Spz6//+7hZOB9+J2HT4eGAqUmyVf PpbIH8b22INlfcQ8RHV6smgXW6reCzE36+zO7447tWfRw0WFfyK8+se2cNoKaL2Ryudx 4HPEQG27RCggQZM/H5FrFKKOqD16hvVlYDQsikuuPViPxvaVXu6iRxzBZrx/kcuiext9 XDGgNMURb8VdwE6jazvCa4V7XowWhSUL2WzRaX7qdCIFw9lliYIvKEobuVh/nKM8kM9w ZTzXyD5ji870EkiIt6C6ynGVjEFz1/fb2Di1H79+TZHM2rH9B3UNHSW3J/PqIeW082Sw lBKg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=DsF8S1lt; 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=Dc6v4H0y61Tn0I2JmiaYFS1T9jgGoPPxVyBQtZ69Ek8=; b=MsqrR6g3KOGF+g2HTVvr80YvoubQHe2YDw0vU0tuMPyYlRZzM+XmD5HWRFJRPMwuAT RVi/25brssnrjF41pzNF/JRG3fmogPHSzmWzEnGLVA2jPHvRwyPRN1umptbBQSsHoFqR dRM/4+bVxw7tA6nHmTnSkBT7wkFIGU2+Dvk78= 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=Dc6v4H0y61Tn0I2JmiaYFS1T9jgGoPPxVyBQtZ69Ek8=; b=MJfp9IlQZRiLFlsA3PNGAtkOHm8da3gpw6jHdHabgEo5IOqVxavv/vKOANDPhS00j1 UTX8WzSt57b/MjDR8O432iROWRyz9CeCOn2VT6Sj7XpHabCkoBl9wwsIoUt5zAy9qMkF JVd4YaH+RC7VUXsoZz+cirQnSi3gnkNI2+Lda45qhyryCm4PoI/CbuLRhuo5FkzuFfRU 1yi/nMMB3wkdCpczgdJS8wYT28QQycPBy4QQHTD3avk7mkZ+q6p5HqXRJBVaKTzDxgUS vBmIveoy0+1qd1DbUqrPZPl1y0JL1LtqPCTxc/GbOGwzgGnIB3OBZe+cEedEn3nAaKIq OyLA== X-Gm-Message-State: AOAM531T3SbTawcmToQeVb/VJBm1BdK/UQr7rW0dnKp5iXxTKuuFX8rb wsabJe5AvP/a+f/cA/0Ix2p3OXlC X-Google-Smtp-Source: ABdhPJxvrpnIwT2JQxP29YVOdKfzKQMwBQ/KiU75KuubVMx+3DTCwQpeqrPbdsyTh2IURSx2xn4K7Q== X-Received: by 2002:a62:1849:: with SMTP id 70mr3613345pfy.227.1592489596633; Thu, 18 Jun 2020 07:13:16 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a63:3c0d:: with SMTP id j13ls1593843pga.8.gmail; Thu, 18 Jun 2020 07:13:16 -0700 (PDT) X-Received: by 2002:a63:fd03:: with SMTP id d3mr188464pgh.76.1592489596180; Thu, 18 Jun 2020 07:13:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592489596; cv=none; d=google.com; s=arc-20160816; b=gBagM4fpRjq01cHOByhMcD7XlsdMfNIrWjPh5IBGn5MhsMDlAgjvLDD31YtlMPrrQe hDk7hMfCmNlaGfYaSAy9JM761AHF6hQo7WA0ROZLpvKOOmxQWAxJCE5bugLjZ1DPllbp cJ7E6Rzw2IH4VCpy5e+5VjLo8XuSjxBLs6btcmvc7Box9QfR8dAx696X2bULJRWloj2Y 2QdjjO+2ITMUKLcWNoI6LU90C6FFAhT3JIC3Q5kz6wYr0Wigc67fmpJ9kRnxdX0+xfyh x6K1aB3aLkH+OuwHq1WfUUlfLMcqvYZ+DMS6OsrKvYvTPrMboWXOWvs3cPsiNvWKT43A +I3Q== 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=rl0AmOyJqoqpPJL86fFQlXlDYQFCvZQU411hyTBmyG8=; b=mUfa9OWczbJsNmdu1qB+PfPG8ea97DKTSmKyJUPkdf+tIFIiU2w6AU1Nd4d2lUo/2p yz91viXYHIAeyDNSQIfk0bwqISon77MYNd4A2pkNjTQ03kPqf3oAYTwNGdkChOUxl0/Q DjEI5sj/JWy6uDHnqVUbaG2E/TKQjce0rM4+SnBYTxPT4OXr7zhaHXVioBas4kkwx9tH AQEyieV3B8zWzzddhv7TpO6yrqEdlWOLyw8yROkQIROwnmURMJdmY35i43R5hGVLPhMY CtSsdazh4RPLpWjqwhlm3ThK6qzlQqqTcbCJRU0ookDfTu901t8G1zL5Qy5CP4fhmyah U/Eg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=DsF8S1lt; 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 t24sor3612187pjw.31.2020.06.18.07.13.16 for (Google Transport Security); Thu, 18 Jun 2020 07:13:16 -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:a17:90a:21a2:: with SMTP id q31mr4532653pjc.230.1592489595901; Thu, 18 Jun 2020 07:13:15 -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.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jun 2020 07:13:15 -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 , Tom Cubie Subject: [PATCH v2 2/6] rock-pi-4: Enable PCI/NVME Date: Thu, 18 Jun 2020 19:42:55 +0530 Message-Id: <20200618141259.155581-2-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=DsF8S1lt; 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 PCI/NVME for M.2 Slot on RockPI-4 boards. => nvme info Device 0: Vendor: 0x144d Rev: 2B2QEXM7 Prod: S4EUNG0MC10012Y Type: Hard Disk Capacity: 238475.1 MB = 232.8 GB (488397168 x 512) Cc: Tom Cubie Signed-off-by: Jagan Teki Reviewed-by: Kever Yang --- Changes for v2: - rebase on master configs/rock-pi-4-rk3399_defconfig | 6 ++++++ 1 file changed, 6 insertions(+) +CONFIG_CMD_PCI=y CONFIG_CMD_USB=y # CONFIG_CMD_SETEXPR is not set CONFIG_CMD_TIME=y @@ -36,6 +37,8 @@ CONFIG_MMC_SDHCI_ROCKCHIP=y CONFIG_DM_ETH=y CONFIG_ETH_DESIGNWARE=y CONFIG_GMAC_ROCKCHIP=y +CONFIG_NVME=y +CONFIG_PCI=y CONFIG_PHY_ROCKCHIP_INNO_USB2=y CONFIG_PHY_ROCKCHIP_TYPEC=y CONFIG_PMIC_RK8XX=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 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/rock-pi-4-rk3399_defconfig b/configs/rock-pi-4-rk3399_defconfig index 2487872219..f3eeef0293 100644 --- a/configs/rock-pi-4-rk3399_defconfig +++ b/configs/rock-pi-4-rk3399_defconfig @@ -18,6 +18,7 @@ CONFIG_TPL=y CONFIG_CMD_BOOTZ=y CONFIG_CMD_GPT=y CONFIG_CMD_MMC=y