From patchwork Thu Dec 9 15:37:44 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tudor Ambarus X-Patchwork-Id: 12695494 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 13267C433EF for ; Thu, 9 Dec 2021 15:39:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=8umOaSz0qeGeKSLYS0oTaisqiJZbBMBUg00JwBhbYfM=; b=JLk5V70suDjRAc AQZLRj67n6XJBb27vm8DPf9I4azszFwm1cufhVOygk8OHB6t0zTefAAgoQ2G9rudgazEGgFIu8Ske pnW0RBP/rxJImd23EfCYMIjwVGFkFkutfy35cH39III8CfEHIuz1RjFbrm21mUEZdptgoQ7nmRKAJ +PLSO+enJTwD9v7j+K8Ktgsu7VacbvbUG0MtqAu1l+OJ+X0GCzUrz6qp7AtbTnQuWfKdQkn7Ny3GP jXMaWliYbXQbc1BVeRal5z6GzYRGBF2LMLlL61sgiYRu4GOPmWr/2xYxMdd/DEVBugrXUV8qDuJ4I M+P8XRrdyAz+HEqSFc5A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mvLUk-00GZCh-0w; Thu, 09 Dec 2021 15:38:06 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mvLUW-00GZ86-CO for linux-arm-kernel@lists.infradead.org; Thu, 09 Dec 2021 15:37:53 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1639064273; x=1670600273; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=UpT28YC0KrF9kWVQLXAsbKKLKjYyf/we8UP/MINHjgA=; b=QZ+z9YPEIjJB9unUJnDi9iw6PYvD0K1PCo1l73v3kXRSOyFWZQx1N4yY HrD/o7+bvRf74e4/KqG+rnub9Lsc5Vg/sab5PE8YUBJovU5nL1T1I0tWT x60a2hGj+W47gu0UeEPW0HmScef76X6GUo1jao2F9jPvE0dpx1r3UJ76A puSooC1KB0Mvx5hKGwGdN0R/scMelze8sVUpMI2bakiCOfjyZFCc18fdM For1/XLY/DD5jGZdlAgOqlNiVgDd1YWbmOWcUdCce32ZfAC3fQ/jy6W3M wLLNinWQ/HI7R5c4BMdEFHbZ40g2G8AvERNlgOJAL7Vl0QWeOxXLKGua1 A==; IronPort-SDR: la1EJyslJEKmOiI12nKpcPdCLYqGttvS3Lh3X9Bx2cSYlJRqaEELeEejK2qU5Usz6pP6xMFWo4 KP7qBzFNkhm8v3KsJxDgIoxskYNATDteRVOwR2RSGMgEgoT9fMyamyw+yqYkxcJgVBRgWr5zk9 mRxB6JKXfVfVWSoiqU9/09yg6DeD7cxFctsuq7mcu78KexjsvzU+WVoSi/ITgZWFI8QUWZJUX0 kDO3/UzEH/cQaN+5FBBOC5RBqlgYV3qOiQge96V2Ex91+ew+E3G+n8QGDoN1/NkoDD1W2Neeow lHY0RYTNPumiR8WEhU/PLDLj X-IronPort-AV: E=Sophos;i="5.88,192,1635231600"; d="scan'208";a="146102046" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa5.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 09 Dec 2021 08:37:51 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Thu, 9 Dec 2021 08:37:50 -0700 Received: from ROB-ULT-M18064N.mchp-main.com (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2375.17 via Frontend Transport; Thu, 9 Dec 2021 08:37:47 -0700 From: Tudor Ambarus To: CC: , , , , , , "Tudor Ambarus" Subject: [PATCH] ARM: configs: at91: sama7: Enable SPI NOR and QSPI controller Date: Thu, 9 Dec 2021 17:37:44 +0200 Message-ID: <20211209153744.357465-2-tudor.ambarus@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211209153744.357465-1-tudor.ambarus@microchip.com> References: <20211209153744.357465-1-tudor.ambarus@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211209_073752_439921_4F593E0A X-CRM114-Status: UNSURE ( 9.33 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org sama7g5ek comes with a SPI NOR flash connected to the QSPI controller. Enable the SPI NOR subsystem and the QSPI controller. Signed-off-by: Tudor Ambarus --- arch/arm/configs/sama7_defconfig | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/configs/sama7_defconfig b/arch/arm/configs/sama7_defconfig index 938aae4bd80b..0368068e04d9 100644 --- a/arch/arm/configs/sama7_defconfig +++ b/arch/arm/configs/sama7_defconfig @@ -33,7 +33,6 @@ CONFIG_MODULES=y CONFIG_MODULE_FORCE_LOAD=y CONFIG_MODULE_UNLOAD=y CONFIG_MODULE_FORCE_UNLOAD=y -# CONFIG_BLK_DEV_BSG is not set CONFIG_PARTITION_ADVANCED=y # CONFIG_EFI_PARTITION is not set # CONFIG_COREDUMP is not set @@ -83,6 +82,7 @@ CONFIG_DEVTMPFS_MOUNT=y CONFIG_MTD=y CONFIG_MTD_TESTS=m CONFIG_MTD_CMDLINE_PARTS=y +CONFIG_MTD_SPI_NOR=y CONFIG_BLK_DEV_LOOP=y CONFIG_BLK_DEV_RAM=y CONFIG_BLK_DEV_RAM_COUNT=1 @@ -90,6 +90,7 @@ CONFIG_BLK_DEV_RAM_SIZE=8192 CONFIG_EEPROM_AT24=y CONFIG_SCSI=y CONFIG_BLK_DEV_SD=y +# CONFIG_BLK_DEV_BSG is not set CONFIG_NETDEVICES=y CONFIG_MACB=y CONFIG_MICREL_PHY=y @@ -104,8 +105,8 @@ CONFIG_I2C=y CONFIG_I2C_CHARDEV=y CONFIG_I2C_AT91=y CONFIG_SPI=y -CONFIG_SPI_MEM=y CONFIG_SPI_ATMEL=y +CONFIG_SPI_ATMEL_QUADSPI=y CONFIG_SPI_GPIO=y CONFIG_PINCTRL_AT91=y CONFIG_PINCTRL_AT91PIO4=y