From patchwork Tue Jul 7 13:50:45 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 11648633 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 84FD592A for ; Tue, 7 Jul 2020 13:51:10 +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 5B5C92073E for ; Tue, 7 Jul 2020 13:51:10 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="GbVmvyYC"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="g+f+97Pl" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5B5C92073E 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=XL9JRbuMKsRuIvOPPlByedTFUbal1UG6hr62OFbVTi8=; b=GbVmvyYCFRbQiIF9YH1phdaVT IeRndaHNuMxHopckXID6lSHXhrDumWALjaspd/udDE2TFLlUlrqNF9NY/ftXPttkzCBlJwjFpIN0T 3OzxG43CEsXhh4yeEkDR4TL8Srckm70Z7OTNT2eUSQ16DmxunGAxnzVigdW7283uZfuaHLnyiahsB SP2lglhZdu4yJDoArD7mji3BbXvb2nT3fEy3v2tTciRv1IKfIfRaXH1dQO3FXeMZ5L4fj82LWUlqe t0Oa4iZYYh6FDDeOWr5ZAlXCfl1AVenKCcVDdE8XG59NvWR7KnKtckyWZpz8kiCVffLcDtRSEnIDx MoQoWy6mQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jso04-0006Ua-Fv; Tue, 07 Jul 2020 13:51:08 +0000 Received: from mail-pl1-x642.google.com ([2607:f8b0:4864:20::642]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jso02-0006Tw-FZ for linux-rockchip@lists.infradead.org; Tue, 07 Jul 2020 13:51:07 +0000 Received: by mail-pl1-x642.google.com with SMTP id x11so16768533plo.7 for ; Tue, 07 Jul 2020 06:51:06 -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=51d4v7u6qUCsnLIzAlZ6gMPyxBe3jmcotgtEKWp8NQE=; b=g+f+97PlpVSApujs/6fajlblEfRXJLjF/zt33mXpyMxbE1bUoR3Q+7FvLktSgAVhDJ oyyzYVHyAjKnO/QR4rzPuKw2nTtitKyRDR4dqsHQGOas0R3Dl1Q9p6iI/R06JaQ6zXWe aWPuvjRLBUBDR4ZsmfSIw0uEJUlb1YfojmRsQ= 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=51d4v7u6qUCsnLIzAlZ6gMPyxBe3jmcotgtEKWp8NQE=; b=Vq/qfaRngsSLthPmruCYNXn/SCaPjFQ1KD4o1YnUqxn96YVZr6XRuXWfWO6mJiMJR0 sHqUzHFY4eNb6gLi9BlTIZfa9PQcwYK0sTRak04Q0ZLDD8clejJ6VWszgAUYsmjIeJvK E1GQPrmffDQhJg0eZyZpY6wlEmjOkRRzo3dVfthP8dQLqgMMeEHBEdq4JtdrOYTnAee5 hqlX5BUZvGLPhPCYlUdaDq5K0s21Y9jnCCuPlR2uwIxM4rUf2OyTBjqf8jI2Sa50F4yl CTnObcOqRRs9ph6kqVLQzj6/fkQCwmbHs3vBZZWeUJCc51pOwzut83+X9fZjh2/F9WMf tD+w== X-Gm-Message-State: AOAM530CZbCUeEIWv3n9cSrKlV9HAq3Lq6z/NQaDUKANAJ/3evrSHC9j fNUX1uKCEALaoHbLnnRwKq95AURFYuSZsw== X-Google-Smtp-Source: ABdhPJzGSZao4y46DdsM0zeK4WYxU9BKpeavG4p5atNK8fd6YsvShb9HbSRX9jPs5QfdUvaXECf0lA== X-Received: by 2002:a17:902:6a83:: with SMTP id n3mr46047568plk.42.1594129864420; Tue, 07 Jul 2020 06:51:04 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:11b1:83c1:7d95:bab3]) by smtp.gmail.com with ESMTPSA id 73sm22980495pfy.24.2020.07.07.06.51.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jul 2020 06:51:03 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Subject: [PATCH v3 2/6] rock-pi-4: Enable PCI/NVME Date: Tue, 7 Jul 2020 19:20:45 +0530 Message-Id: <20200707135049.9521-2-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200707135049.9521-1-jagan@amarulasolutions.com> References: <20200707135049.9521-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200707_095106_584507_E4DC7F27 X-CRM114-Status: UNSURE ( 8.44 ) 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:642 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an 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_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 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: linux-rockchip@lists.infradead.org, Tom Cubie , U-Boot-Denx , Jagan Teki , Suniel Mahesh , linux-amarula Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org 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 v3: - collect kever review tag 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 +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