From patchwork Tue Jun 9 14:05:13 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1353 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pl1-f197.google.com (mail-pl1-f197.google.com [209.85.214.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id C96553F06D for ; Tue, 9 Jun 2020 16:05:40 +0200 (CEST) Received: by mail-pl1-f197.google.com with SMTP id bh7sf14565370plb.2 for ; Tue, 09 Jun 2020 07:05:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1591711539; cv=pass; d=google.com; s=arc-20160816; b=BkxEVsYLFkkiopgj/hVESA5LBTzb/06ah/z/vMsjncmJmZbblByykAYOGQDrzM5w8x 9P1pfJ2Azuj0hF4XJanzcnMAzbsQXER1bLL7+MUYm+AEhM+8GcYASVMW6M1865e8hmmr AzCryjd0wSGXk3lkZ3mHVViSIwIPWaVS/4yqYde5P4akhnjLldqv8WcVFUPLO+zHJWKH Vf8VNWDrtj6a6yPW5hM+4G7R1zOdaIvEbYp74JWaJ0MJ+p8TE0QJkYzAxAA5uzcYkfnj GWGX73x+WV0f050yCRnw1D4iEnMc+a5qVl091ts4h8588dHOMv2HKmdLibOAxACY0jDL 6A0Q== 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=vzmFAXQplVfYlNknOVIDOkP2c6gZxC8yqIY8dJYcH6Q=; b=lmjviqaNItlBnR+jipIITrzQWAer7DH/fNC3ACmyOOm//eNm3z1FA3m8V6/HWX92CD SlsdGuBuM+Buaej3IkcBUZ5L93t6wyf6GI0x7R7qF1b84+rIk4ODSVODWrcrVuk67s50 FVyrvK2JrYqodBCK880bEF6bojjbqqGu14jisRYQzibYuCYr+kl7ZWtxBxcjC40spsrK Qt5LQ2EXHWnNZ+iHYmmDLzjTRrU2gcV3Kf8uE6uGBpQG95Ox7Yb1pf2xTI8ngtjP6i2h RaqejU7Uhn4S9qWdvJFRq55NyrVrmogKLtOcO6qh4DZ1/TOVQk1nXo0ZBjq1g5WF5VCZ PQ2Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=GKcboC4L; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 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=vzmFAXQplVfYlNknOVIDOkP2c6gZxC8yqIY8dJYcH6Q=; b=LmGdoeLrsiz1cvwuICPbnWPjayxhIBIo6PRKm/JL6BuTRZxN9IjgzhAjpWL5ng3nVc z+U3fbwx9iVeToR4fEAj7owz5VjPQiE+P/O1OdfRkwbcHmKX0/NAwG4HzYl9Z8wJvXkS EoUsXfgyq6Osauvv45kNqdv2txY2lNlj7U1Hk= 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=vzmFAXQplVfYlNknOVIDOkP2c6gZxC8yqIY8dJYcH6Q=; b=hk4ui2gJLUbcqZ6BLFKDyzceLk18v+LQ+4pq89uoxCs7NPMHYRz4GnKjGv9ZDWsIwd 7flJENYKRYPErz5VED/p847Dw/Eh8LBiksnuY8z5hQMpAntV9gDCJQk2duLmf4MtHKuR DSfTD8xuV/kQ/VyVAgK4cIZ0rNwPX9UsrJc691GOXU3HKYivUPG/IlYGCOwqLMeYfsrI /2UE/dbh9f/OmdfVSlAiQucv9u5Q4q/tGUZ+vBpzX1nI0wp1YLnrEe/Zp3WpZ4IlFzPt Yj4OGcWSFUGd1gY1U7EBiGm26FAY89K+AxD4VtZ76rmWSQ28qr6Q09xN+EZimY2KjRNS Bn1A== X-Gm-Message-State: AOAM531jonch65dPgNTh0Nyz9TK+NWhWkT6C/qG4IlMGLXeRFybw0FK3 BrLN4lJLOSQmmnKo9mMjg4iZGKPE X-Google-Smtp-Source: ABdhPJwMaG8KR+hWkCM0GYOB+WZi2XzFawb60W4Onu7xFpuixpJLKAW0r3+js+L2xlIdR/NZemyKSw== X-Received: by 2002:a17:90a:d083:: with SMTP id k3mr5286423pju.8.1591711539308; Tue, 09 Jun 2020 07:05:39 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:b10a:: with SMTP id q10ls4138921plr.0.gmail; Tue, 09 Jun 2020 07:05:39 -0700 (PDT) X-Received: by 2002:a17:90a:46ce:: with SMTP id x14mr5049505pjg.121.1591711538789; Tue, 09 Jun 2020 07:05:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591711538; cv=none; d=google.com; s=arc-20160816; b=SJCQwAe1YKHX6rzkjgf6243Ccg+0a2+1SDuuLyO5uOzRn7mtil2yKYLEjn+aI/hKJk 4SLJtPaHaTPPGPlojS3xbHChPHMk7FC2VzTeiFqhbgTaH/gZGYsNfNj4lGD+uUXEv2g5 jfwzzRFkXz7yWH+r7jxwkiHXXm1d0vpIqKGDWz8Z1VM8lvWHMG+q0FcwsgQPO3YEZzub iOohGUa26890yorqzb+RWjDFBzBFtv+k/yr66nDw5p5477tEidTIF7eU5Xb3FRyAB4n9 lsQSJrxqYcWZgb49lnP+gUf/nG1oYwnFCYORJ1O+ErPCqs6RebkRNplnKj4Pm5mcnASL PnBw== 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=DeHnVKGp+S6n8ErjnNmprOR3Rq9PiFaV957cClQPU7s=; b=oWaadtBkYi1oV6THfaoi4Cjt9t6HKqOb3S+iHWKpLHAWZo9L/0uflRKmwE1yEQLY9W JW8hfbbV0iPqvxs9Uah8xqT/gL1hYGnmLDPSt4pxlPv4BCgR+eiac3RzpqO++DBCNDMA 2eOtcj1Y9cbE3jIQCK8nId5f2EqXig6KizboKDohuUH3no3Oqm3gEsDVq7mCGCvKvGar LIQedTrq/l1cMfMIMxTObme3BQ6qYaxl88dmomRsOH+CEObZP8pM7yY6DpN3Un5b/9Cq slt+VOr35Gj2SElrIIUx3Q1b128ezP4JchGbadcfA/EDbsEEoA9DQj586vGsqKsnmXau 4cbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=GKcboC4L; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id q10sor13583893pff.41.2020.06.09.07.05.38 for (Google Transport Security); Tue, 09 Jun 2020 07:05:38 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:aa7:9537:: with SMTP id c23mr25520613pfp.149.1591711538488; Tue, 09 Jun 2020 07:05:38 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:6575:fcd2:e4d4:715a]) by smtp.gmail.com with ESMTPSA id e12sm8961817pgi.40.2020.06.09.07.05.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jun 2020 07:05:37 -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 2/3] rock-pi-4: Enable PCI/NVME Date: Tue, 9 Jun 2020 19:35:13 +0530 Message-Id: <20200609140514.132579-2-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200609140514.132579-1-jagan@amarulasolutions.com> References: <20200609140514.132579-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=GKcboC4L; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 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 --- 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