From patchwork Tue Jul 21 15:28:07 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 11675909 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 AA3F413B1 for ; Tue, 21 Jul 2020 15:28:28 +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 83C5A206E9 for ; Tue, 21 Jul 2020 15:28:28 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="FycfgYgj"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="kVZmHnSO" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 83C5A206E9 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: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:In-Reply-To:References:List-Owner; bh=4As5wqx8Rrp6zPakJswNMTFSg3iVzaVF8KkSGqGt1K8=; b=FycfgYgjUq4Nb+U5d65xWVgoWq vWFOFI84avlcvw7I6tMGb1enLHSMDMQur+6M9xqCglfPe45B90zWiUYYri3VJS2t9t+boemdqMcgo 7UDXKY/NWSpxrSort1GCGYT8PT+2wtbxcf0nja1GhOg/GLrWXa1b0u0lstrnjU6iI8Gbrz9yDQJ5t kMAro+LLKhnooWpNQ04N/SJZAP0yKjtjYUUQWziA0Q7eSeTQag7Eg0ZHyhbiV/OAsIil0zzHZANmg r/5/Y/h+j7A7Va0ENOnE2uz7YjwANvQPOjO0lLX8QgOKeFXGufjoym1RiJ2BpCBpI2H6hrs+2Hjkg V2qqzFww==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxuBt-0004r4-LL; Tue, 21 Jul 2020 15:28:25 +0000 Received: from mail-pl1-x62c.google.com ([2607:f8b0:4864:20::62c]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxuBr-0004qj-Bc for linux-rockchip@lists.infradead.org; Tue, 21 Jul 2020 15:28:24 +0000 Received: by mail-pl1-x62c.google.com with SMTP id k4so10403002pld.12 for ; Tue, 21 Jul 2020 08:28:22 -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:mime-version :content-transfer-encoding; bh=5p+LpYjpWYoxJJ2Uq6mYtslV5U/FikmCC8Ynogxz4r4=; b=kVZmHnSOowlArlp2x6mKXica3pwF+c9DGeLZ+EYRohHoFfHpBVAENyPUmoix9BXD7d 10F0S+PQJWyGGRAKRVvgAcf/moefIST9Erw3pH0cXxXVcUWWUTUvsa9q4EBxspzTpDQT LucVNXPTem3refyQTyEE/4tr4tarXW1IH2XE8= 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 :content-transfer-encoding; bh=5p+LpYjpWYoxJJ2Uq6mYtslV5U/FikmCC8Ynogxz4r4=; b=mffXFzrxzX/QuwcBwivBLFWPC5bOkzNu2UNFuXukIy8+f4dbiayb4asHFQ8qmVbFO+ 4a/VIz9OBXcTsRmK6o31VVMbQ3ocA23L7tz/2orAssK/J9J7qjpDshqeSVGrZtkbJr83 dB9R4CjeIf8pwwgH8w/F8zBvC8Alth1DH3HbLw9wZJVJ3274LHxD+2B8nXAHaAY1IRex nX2Cza1hfDGo/XxxdordKA6SQHsY47sF/8CEQd3cKLV1TFydES+pyQlN8a6J7WYFX/Sp xcIUSMKCwCW2VWoh59DzgGE/2iN91QsKunC7On+8VvfJ2JQcT8239HCeVzqEWa3/Lyk2 qtng== X-Gm-Message-State: AOAM533fRk3uxm8cdv5n7q7fot/4Im7mBeBliFhKARn9q32wxmvXXLBp Z8vrdTBNUuozts7NSNcT+kt+SQ== X-Google-Smtp-Source: ABdhPJxiZcwVLws9Y8fkQMZNZcAajZ9rYQGyhfZ5ijJDoQJuDv97NliBPynRcVxiu7JUifBxQbaGfQ== X-Received: by 2002:a17:902:6bca:: with SMTP id m10mr22883684plt.210.1595345301137; Tue, 21 Jul 2020 08:28:21 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:3df7:ef76:b2b5:fa14]) by smtp.gmail.com with ESMTPSA id n63sm21059584pfd.209.2020.07.21.08.28.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Jul 2020 08:28:20 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Subject: [PATCH v2 10/12] rockchip: rock-pi-n10: Enable PCI/NVME Date: Tue, 21 Jul 2020 20:58:07 +0530 Message-Id: <20200721152809.37927-1-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200721_112823_395669_9B0998D5 X-CRM114-Status: UNSURE ( 7.54 ) 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:62c listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches 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_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 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: U-Boot-Denx , linux-rockchip@lists.infradead.org, linux-amarula , Jagan Teki , Suniel Mahesh 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: 4L1QCXB7 Prod: S35FNX0J623292 Type: Hard Disk Capacity: 122104.3 MB = 119.2 GB (250069680 x 512) Signed-off-by: Jagan Teki Reviewed-by: Kever Yang --- Changes for v2: - none configs/rock-pi-n10-rk3399pro_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/rock-pi-n10-rk3399pro_defconfig b/configs/rock-pi-n10-rk3399pro_defconfig index 895820fbe6..2aa2fafaa4 100644 --- a/configs/rock-pi-n10-rk3399pro_defconfig +++ b/configs/rock-pi-n10-rk3399pro_defconfig @@ -21,6 +21,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 @@ -39,6 +40,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