From patchwork Thu Dec 9 15:37:43 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tudor Ambarus X-Patchwork-Id: 12695495 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 6FA8EC433EF for ; Thu, 9 Dec 2021 15:39:53 +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: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:In-Reply-To:References: List-Owner; bh=8umOaSz0qeGeKSLYS0oTaisqiJZbBMBUg00JwBhbYfM=; b=N4SfcVyfN0dg4X H/1UY6663XrJYuvm3XJGZG0vP4l1Mwtp8ZzYJdB5ByU50gOoGnfHdgZZXJ+umajtxIRnT0g9irnbU UnfFgDTgk28oVleX5n+5U9egEXijIXkpBrbn10/PyJsUs0SsFTMGnnPoX5elP9sinIBUe4SrfUwv2 el5p8LVtM035+U/AtAbFOo1qU8OdjFoM69lioAc1EgxzGH1Jt6sh3IuAyw+sQznR42CTbov55WmCz 3YGzXPj3bxPan8vuRVcROTD6cTc4v9aQvLM7URxjT1xzXm+7fWzxgyJ21oDVeq6gytlCNy8SXBRfL dOrhCKpMLSl67XoAslaQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mvLUX-00GZ8M-Qu; Thu, 09 Dec 2021 15:37:54 +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 1mvLUT-00GZ76-Gw for linux-arm-kernel@lists.infradead.org; Thu, 09 Dec 2021 15:37:51 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1639064269; x=1670600269; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=UpT28YC0KrF9kWVQLXAsbKKLKjYyf/we8UP/MINHjgA=; b=wkt0Lwd8OfZZi7PC0oVle+q/87wspI/NEEVjtFLLFhY+tsVdhGuC3A36 lKOH/hvCbw7TTNFV1cbU2iuhstje74rtHFE5IZGwzWGbGoZRarxNV/EU7 5X8H4wj12pcfQzX5/MzXookdFophChSHsok792o+9mrFQFNNCoQFf+uWA 2ymfQJ0pCu76qvejUF8DjjxLd2x1qu54c6HtvoPVoqXG59Nt8YbmM+eLR lvrk0ehbZ1aHsXT17EgBzU8u/bcZvM0UfT1JDLx7D9maeWt4sbMNOcXYe gIlOdcyjXsKdhgUT/oMKNqRTUkpx0Vtbspf6WG94TPwDe/IxvrxJcOI/2 Q==; IronPort-SDR: 6lnTbjpIXVQXb8V/zrp1D7usz7Csa0bWPfE9HbIa2LmaQBpbSrEYOMuDkSN+Th2aNdnnFDFrvs eJEu/9GPyZYpJkBkpk7U0/TI8ZAnqVw++yt+RCRZhP12GPpNzmwttJPrzoL3JNJKbq1MLNArZL V0SDeUWqjeZIMzlQQqhPuR2Uv5KEAt/P/g9chyAOiZK5AXiOd87UOi/2byqWUkwU6GHpeuSddy aMZoq8vdcw7RwB1pM227RpY/qThXWGE2KepJIzQxhBX0u5AY5gfl+Sg7HLXp+erLKfS3728ZGM gJKgTNfLpwlzlxx2VD7h9W7D X-IronPort-AV: E=Sophos;i="5.88,192,1635231600"; d="scan'208";a="154886806" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa1.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 09 Dec 2021 08:37:47 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex03.mchp-main.com (10.10.85.151) 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:47 -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:45 -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:43 +0200 Message-ID: <20211209153744.357465-1-tudor.ambarus@microchip.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-20211209_073749_595089_65250153 X-CRM114-Status: UNSURE ( 8.86 ) 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 Acked-by: Nicolas Ferre --- 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