Message ID | 20231004111238.3968984-4-n-yadav@ti.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:254a:b0:403:3b70:6f57 with SMTP id hf10csp51715vqb; Wed, 4 Oct 2023 04:13:13 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGAUUmBY+BVWCkxGs6MQRi1yd8eBeZX5vwArLp0Po9YXGQFCqJh1RXQLjJxItrf5BSrDjqg X-Received: by 2002:a05:6808:1919:b0:3ae:5442:ed1b with SMTP id bf25-20020a056808191900b003ae5442ed1bmr2963067oib.43.1696417993212; Wed, 04 Oct 2023 04:13:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696417993; cv=none; d=google.com; s=arc-20160816; b=ClqoshHeY0w765xB6/EeOmXh9jEYTvA9BpEhY971vAHlUwbQjsSqa5YnNTya4Jqu+0 rFuxCqGtCrKlNy4xb22IsNjXX0307rYCkPG55hliCNBJJdx4QcMcPt/HsAsTthfsDB2t FWVxC47gVlbtyRyw569mpYLsmm0/0e46nENoVmd0zacRqjPiGqAWb2MLzrhGjj8dRYRj B+tFB7IkV11crRMl4sFxEmmp9sz6n8cZRfzw6f1nsYIlbJiWLuOqEJrKwvBHY38+mvc1 1pkzNf2Yni609IKaLaLocDchS1MvFwmxVHToAtgPT1eYHUz6LSeWPbsF7y987MGwTZkg LtJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=AWm94OcSYQMiV0cbA4Ey3lwR6RIUb40JJctj6csgig0=; fh=ItDZ1AlsJaw3kyqViSseSXbyzpBD3hg/21y0OsGPN20=; b=cc3ILDe/tuYI7Zgk0Qb22WCwZKwJymsag0K4AwABc/j/omQqvTkpJHncYNBL2WzZ9w I4rfoeEk95EqjRxSNWXXPUHI8NJH5zNCeoEfigr8tgkht0tZj6zrqA8ukqrigq7c7PaP Lxr1GbkVFQVFVP6TTzLd9bMBn8gyvfSlbiqfgaJaZvChd2+sRdwlyKdI7R3/ix40kfPo wpOpKxdtZ5L5PLqcvNK+kRXVbgz3bKb9ep/K/zvND9hGifn0otxhuithjQlvl61RMA0F EmcqR9bQnQoriPpAwF6rsJAHdTvgMVMmjfEkYwdFa9r3j8BsH+dRHdfMhSFxQ30or//a tiNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Nx5VTWx7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id r20-20020a6560d4000000b00573ff1f360bsi3395917pgv.479.2023.10.04.04.13.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Oct 2023 04:13:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Nx5VTWx7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 859EB8212AA8; Wed, 4 Oct 2023 04:13:12 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242218AbjJDLNI (ORCPT <rfc822;pusanteemu@gmail.com> + 18 others); Wed, 4 Oct 2023 07:13:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40564 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242232AbjJDLNF (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 4 Oct 2023 07:13:05 -0400 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C010BF; Wed, 4 Oct 2023 04:12:59 -0700 (PDT) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 394BCjxI021513; Wed, 4 Oct 2023 06:12:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1696417965; bh=AWm94OcSYQMiV0cbA4Ey3lwR6RIUb40JJctj6csgig0=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=Nx5VTWx7mEt2k1p0K5QV+0w4Lm42hQkR7WlCZtb1Rht/cQopqC+ckUWlHm+IsRFLD zRrtrMeju4rVqrZPX9I1AjAYFXZlRZLsRPIOihvaUnafVbpO85KDWXFACH7YKm+ZJm Y/dWvIT6Yn7WesgHpPRp13ggjTcp6eHZRiVbhUUY= Received: from DLEE105.ent.ti.com (dlee105.ent.ti.com [157.170.170.35]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 394BCjux039939 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 4 Oct 2023 06:12:45 -0500 Received: from DLEE103.ent.ti.com (157.170.170.33) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 4 Oct 2023 06:12:44 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE103.ent.ti.com (157.170.170.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Wed, 4 Oct 2023 06:12:44 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 394BCiI9022785; Wed, 4 Oct 2023 06:12:44 -0500 From: Nitin Yadav <n-yadav@ti.com> To: <nm@ti.com>, <vigneshr@ti.com>, <rogerq@ti.com> CC: <kristo@kernel.org>, <robh+dt@kernel.org>, <conor+dt@kernel.org>, <krzysztof.kozlowski+dt@linaro.org>, <catalin.marinas@arm.com>, <will@kernel.org>, <linux-arm-kernel@lists.infradead.org>, <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org> Subject: [PATCH v2 3/3] arm64: defconfig: Enable GPMC NAND support Date: Wed, 4 Oct 2023 16:42:38 +0530 Message-ID: <20231004111238.3968984-4-n-yadav@ti.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231004111238.3968984-1-n-yadav@ti.com> References: <20231004111238.3968984-1-n-yadav@ti.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS, UPPERCASE_50_75,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 04 Oct 2023 04:13:12 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778823193511392811 X-GMAIL-MSGID: 1778823193511392811 |
Series |
Add support for GPMC NAND
|
|
Commit Message
Nitin Yadav
Oct. 4, 2023, 11:12 a.m. UTC
Enable config required to support GPMC NAND on
AM62x LP SK and AM64x SKEVM.
Signed-off-by: Nitin Yadav <n-yadav@ti.com>
---
arch/arm64/configs/defconfig | 3 +++
1 file changed, 3 insertions(+)
Comments
On 4.10.2023 14.12, Nitin Yadav wrote: > Enable config required to support GPMC NAND on > AM62x LP SK and AM64x SKEVM. > > Signed-off-by: Nitin Yadav <n-yadav@ti.com> > --- > arch/arm64/configs/defconfig | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig > index 66bfbef73324..a2758ac73f87 100644 > --- a/arch/arm64/configs/defconfig > +++ b/arch/arm64/configs/defconfig > @@ -270,6 +270,8 @@ CONFIG_MTD_DATAFLASH=y > CONFIG_MTD_SST25L=y > CONFIG_MTD_RAW_NAND=y > CONFIG_MTD_NAND_DENALI_DT=y > +CONFIG_MTD_NAND_OMAP2=m If rootfs is required on NAND, it is better to be built-in. > +CONFIG_MTD_NAND_OMAP_BCH=y > CONFIG_MTD_NAND_MARVELL=y > CONFIG_MTD_NAND_BRCMNAND=m > CONFIG_MTD_NAND_FSL_IFC=y > @@ -1357,6 +1359,7 @@ CONFIG_ARM_MEDIATEK_CCI_DEVFREQ=m > CONFIG_EXTCON_PTN5150=m > CONFIG_EXTCON_USB_GPIO=y > CONFIG_EXTCON_USBC_CROS_EC=y > +CONFIG_OMAP_GPMC=m This is a memory controller so better to be built-in. > CONFIG_RENESAS_RPCIF=m > CONFIG_IIO=y > CONFIG_EXYNOS_ADC=y
On 14:26-20231004, Roger Quadros wrote: > > > On 4.10.2023 14.12, Nitin Yadav wrote: > > Enable config required to support GPMC NAND on > > AM62x LP SK and AM64x SKEVM. > > > > Signed-off-by: Nitin Yadav <n-yadav@ti.com> > > --- > > arch/arm64/configs/defconfig | 3 +++ > > 1 file changed, 3 insertions(+) > > > > diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig > > index 66bfbef73324..a2758ac73f87 100644 > > --- a/arch/arm64/configs/defconfig > > +++ b/arch/arm64/configs/defconfig > > @@ -270,6 +270,8 @@ CONFIG_MTD_DATAFLASH=y > > CONFIG_MTD_SST25L=y > > CONFIG_MTD_RAW_NAND=y > > CONFIG_MTD_NAND_DENALI_DT=y > > +CONFIG_MTD_NAND_OMAP2=m > > If rootfs is required on NAND, it is better to be built-in. > > > +CONFIG_MTD_NAND_OMAP_BCH=y > > CONFIG_MTD_NAND_MARVELL=y > > CONFIG_MTD_NAND_BRCMNAND=m > > CONFIG_MTD_NAND_FSL_IFC=y > > @@ -1357,6 +1359,7 @@ CONFIG_ARM_MEDIATEK_CCI_DEVFREQ=m > > CONFIG_EXTCON_PTN5150=m > > CONFIG_EXTCON_USB_GPIO=y > > CONFIG_EXTCON_USBC_CROS_EC=y > > +CONFIG_OMAP_GPMC=m > > This is a memory controller so better to be built-in. > > > CONFIG_RENESAS_RPCIF=m > > CONFIG_IIO=y > > CONFIG_EXYNOS_ADC=y For the boards mentioned, NAND is optional and not a primary rootfs storage media - I'd rather leave it as "m" and not impact the size of generic Image file.
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 66bfbef73324..a2758ac73f87 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -270,6 +270,8 @@ CONFIG_MTD_DATAFLASH=y CONFIG_MTD_SST25L=y CONFIG_MTD_RAW_NAND=y CONFIG_MTD_NAND_DENALI_DT=y +CONFIG_MTD_NAND_OMAP2=m +CONFIG_MTD_NAND_OMAP_BCH=y CONFIG_MTD_NAND_MARVELL=y CONFIG_MTD_NAND_BRCMNAND=m CONFIG_MTD_NAND_FSL_IFC=y @@ -1357,6 +1359,7 @@ CONFIG_ARM_MEDIATEK_CCI_DEVFREQ=m CONFIG_EXTCON_PTN5150=m CONFIG_EXTCON_USB_GPIO=y CONFIG_EXTCON_USBC_CROS_EC=y +CONFIG_OMAP_GPMC=m CONFIG_RENESAS_RPCIF=m CONFIG_IIO=y CONFIG_EXYNOS_ADC=y