From patchwork Tue Mar 12 07:03:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sumit Garg X-Patchwork-Id: 779674 Delivered-To: patch@linaro.org Received: by 2002:a5d:604e:0:b0:33e:7753:30bd with SMTP id j14csp1884643wrt; Tue, 12 Mar 2024 00:05:58 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVXrz76aMYdWxMvOmYilE6z1Oz7rNQlQyDO3Gggd3S+Ji+PVEz9wPzvRFTmRGIHUvG1ga8eIsYQ84Uc/8URY07P X-Google-Smtp-Source: AGHT+IFmvrtsLqFj5QAy6oTNNt6n8oceYVzxKhcCVW8J+iVhPbsHGWsFjo0C6YD/rAQ8E0R6b7ND X-Received: by 2002:a05:600c:1989:b0:413:25cb:3865 with SMTP id t9-20020a05600c198900b0041325cb3865mr5052106wmq.30.1710227157779; Tue, 12 Mar 2024 00:05:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1710227157; cv=none; d=google.com; s=arc-20160816; b=kBVm7s8hNgzfmvU+o9vvDXZ5vHR1QyjWR9HadAcTjZ+f4m2pdICbu//BFv5ZWeKuvI a7NhY3BeqMM+AFGXy8TUMVeY9iYgNr29bdOTMnKWH6vZ7J6GbUfNhCrTuyZfpfFU4+/5 8peRDFkMLMICpiXezi/HBdBWEHW4FzDs8A6bUjQe4lERODbkGjpoi+cTz41YUMje752v ExrawItsh+j5wuSawrDsPwEOCwvHw9rV6EVbH4O9qNS4LlOoBKkN1WuoGLcw5482D1pv 0jOqjz9iFysN6drLLf8QuLzi5Yde8WYUS2QYi3Jjvf2K/RB/aaXKsAeXf9zfbVYdrRqW FbAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=U6WtT0I6JDyowZ/GlxxV1QCKvD+alAjN3Li8P43gCTc=; fh=gtl5VZKr3JkQmuydanS1SRYXmozUKcCp5PEpqpuBauo=; b=IHea8zPW/fjk3xNq/jFgLtveykTszuXIKx3/SfiJegfS3PZJ5VLdJ/NU6LT4GfPHKv Xq5wJI0wLqzStSgv2sFP2R6v3E4UYuWx7KJovpBVeC9f0BcUOWgvp3Q1IMnp326s3B3H wQCDwUdwGieZXem/DX9f2l0HxV9EB+q2ir6nIoRjzT+YRG81PBk8lgd9N+pyn9iIbwxE z6s6rVE8ndZgvL5R5XZVm8XqsMgr1vKVUy6gJpaNqaj2BlGxCcbNyTzQgfNGvzXj8bAd BQfUlsvSAPEyZEdorbeJvANePXtGlyXCu2UTwPWLrJJZ7209OVtzfdp6uQ2F6hDUTj1R isyg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dZiIIDvY; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id t15-20020a7bc3cf000000b00412e10ee473si6240230wmj.81.2024.03.12.00.05.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Mar 2024 00:05:57 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dZiIIDvY; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 090F187F50; Tue, 12 Mar 2024 08:04:59 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="dZiIIDvY"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A06F087F4F; Tue, 12 Mar 2024 08:04:57 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: * X-Spam-Status: No, score=1.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_SBL_CSS,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,UPPERCASE_50_75 autolearn=no autolearn_force=no version=3.4.2 Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 741AA87F70 for ; Tue, 12 Mar 2024 08:04:54 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sumit.garg@linaro.org Received: by mail-pl1-x629.google.com with SMTP id d9443c01a7336-1dd6198c4e2so36368915ad.2 for ; Tue, 12 Mar 2024 00:04:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710227092; x=1710831892; darn=lists.denx.de; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=U6WtT0I6JDyowZ/GlxxV1QCKvD+alAjN3Li8P43gCTc=; b=dZiIIDvYzrWmRZKtiEGAGJAl/BkycPP3odvXUXSyitCZoSogahmIGi9Oqn1McIULZ4 wy+A6MsJPYHvtoPTp8HDMNI6HMPnPsiMWavQgdGa2+Vz+BJXbWmuwyXlTj5ITC2g/b+j dGd6hNg2TzfX08LKhK6hgo/bL53UilYA71qx9nHQ+WO/BbigozgQwb2m3BKtHquzN4Hs DbTza00zCl0kP2X1QvStoipvgfVe7X+PJIjWk5b7i2Hd1Fz5CkhVc6i01Ple+/1dLuWO dFtBN9STPT40amrEMwgxzKVn4tsnAWENHZjY3pIWUeLpLur8a/nZOWpnSXZcW4l8Eh7X FqBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710227092; x=1710831892; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=U6WtT0I6JDyowZ/GlxxV1QCKvD+alAjN3Li8P43gCTc=; b=aKvGDMiGGe44vxbSNhOL/+pFK/m4zmCQTpum3sqgvuSkmyb90KinpFjNJuHARQRrYM fekm3foff2ToeuqB9A+JDa63GKqoJXPBGGh3TqDu4YQPmkSREaGF+u0zPcCEkMbOxb4d o/tn4e7yA1ve2M3tIhkqWhm1rieKAdX9v1Y8ifoyRpPePM4A3BvsKFUyWZpz3N8Codfj ztYgIoEMwdYJEEXPLpUTKhuVP7ov7qhtqm5NIv+2r3CX2vtPPZ7nrvs7HuIUYiYHgZBf +OuaAGNuGBblnpdwVFKWkNdnZWxqFETV9MPonrumOt1DT6M8Qbibel2yX7fVSI1WWr2O C4rg== X-Gm-Message-State: AOJu0YzjYcjlZIZgTaEdli2O7eC+uXkX1jWFUJ/322TY2fv6Y0N6Bh7G HAlZnR3WEcyAit6XnqoKnzKNcZqor9zFFj8YzZpUt4Ro9uajeQJMnvjIhkmAW67Y+HLEjQZYkHg c X-Received: by 2002:a17:903:2342:b0:1db:fa72:25eb with SMTP id c2-20020a170903234200b001dbfa7225ebmr11012046plh.52.1710227092565; Tue, 12 Mar 2024 00:04:52 -0700 (PDT) Received: from sumit-X1.. ([223.178.211.249]) by smtp.gmail.com with ESMTPSA id e13-20020a170902784d00b001dd0d0d26a4sm6045401pln.147.2024.03.12.00.04.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Mar 2024 00:04:52 -0700 (PDT) From: Sumit Garg To: u-boot@lists.denx.de Cc: trini@konsulko.com, tharvey@gateworks.com, marcel.ziswiler@toradex.com, francesco@dolcini.it, lukma@denx.de, seanga2@gmail.com, jh80.chung@samsung.com, sjg@chromium.org, festevam@denx.de, andrejs.cainikovs@toradex.com, peng.fan@nxp.com, aford173@gmail.com, marex@denx.de, ilias.apalodimas@linaro.org, sahaj.sarup@linaro.org, fathi.boudra@linaro.org, remi.duraffort@linaro.org, daniel.thompson@linaro.org Subject: [PATCH v3 10/11] imx8mp_venice_defconfig: Enable PCIe/NVMe support Date: Tue, 12 Mar 2024 12:33:37 +0530 Message-Id: <20240312070338.86127-11-sumit.garg@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240312070338.86127-1-sumit.garg@linaro.org> References: <20240312070338.86127-1-sumit.garg@linaro.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean From: Tim Harvey Enable PCIe/NVMe support. Also, enable the reset, regmap and syscon drivers which are a prerequisite for PCIe support. Signed-off-by: Tim Harvey --- configs/imx8mp_venice_defconfig | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/configs/imx8mp_venice_defconfig b/configs/imx8mp_venice_defconfig index 11b356b7785..ff7ea9811ed 100644 --- a/configs/imx8mp_venice_defconfig +++ b/configs/imx8mp_venice_defconfig @@ -12,6 +12,7 @@ CONFIG_DEFAULT_DEVICE_TREE="imx8mp-venice" CONFIG_SPL_TEXT_BASE=0x920000 CONFIG_TARGET_IMX8MP_VENICE=y CONFIG_OF_LIBFDT_OVERLAY=y +CONFIG_DM_RESET=y CONFIG_SYS_MONITOR_LEN=524288 CONFIG_SPL_MMC=y CONFIG_SPL_SERIAL=y @@ -21,6 +22,7 @@ CONFIG_SPL=y CONFIG_ENV_OFFSET_REDUND=0x3f8000 CONFIG_SPL_IMX_ROMAPI_LOADADDR=0x48000000 CONFIG_SYS_LOAD_ADDR=0x40480000 +CONFIG_PCI=y CONFIG_SYS_MEMTEST_START=0x40000000 CONFIG_SYS_MEMTEST_END=0x80000000 CONFIG_LTO=y @@ -65,6 +67,7 @@ CONFIG_CMD_FUSE=y CONFIG_CMD_GPIO=y CONFIG_CMD_I2C=y CONFIG_CMD_MMC=y +CONFIG_CMD_PCI=y CONFIG_CMD_USB=y CONFIG_SYS_DISABLE_AUTOLOAD=y CONFIG_CMD_CACHE=y @@ -86,6 +89,8 @@ CONFIG_NET_RANDOM_ETHADDR=y CONFIG_IP_DEFRAG=y CONFIG_TFTP_BLOCKSIZE=4096 CONFIG_SPL_DM=y +CONFIG_REGMAP=y +CONFIG_SYSCON=y CONFIG_CLK_COMPOSITE_CCF=y CONFIG_CLK_IMX8MP=y CONFIG_GPIO_HOG=y @@ -114,7 +119,10 @@ CONFIG_FEC_MXC=y CONFIG_KSZ9477=y CONFIG_RGMII=y CONFIG_MII=y +CONFIG_NVME_PCI=y +CONFIG_PCIE_DW_IMX=y CONFIG_PHY_IMX8MQ_USB=y +CONFIG_PHY_IMX8M_PCIE=y CONFIG_PINCTRL=y CONFIG_SPL_PINCTRL=y CONFIG_PINCTRL_IMX8M=y