Message ID | 20230202152258.512973-1-amit.kumar-mahapatra@amd.com |
---|---|
Headers | show
Return-Path: <linux-samsung-soc-owner@vger.kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2A721C636D4 for <linux-samsung-soc@archiver.kernel.org>; Thu, 2 Feb 2023 15:23:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232818AbjBBPXm (ORCPT <rfc822;linux-samsung-soc@archiver.kernel.org>); Thu, 2 Feb 2023 10:23:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232853AbjBBPXc (ORCPT <rfc822;linux-samsung-soc@vger.kernel.org>); Thu, 2 Feb 2023 10:23:32 -0500 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2061.outbound.protection.outlook.com [40.107.93.61]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6D0376F738; Thu, 2 Feb 2023 07:23:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nPjqR+CAbbBXEj4uP79s77U8NOjK1NYbQ7LQPNY4j3IDNtrqCPbiEcJKEcYb1Ogw+bcFrZ3zaRDUL9H6R+ZiCgG1oIDcYx/2eZNmLguAy1y16QwTq20sjhltt2P1+eJV9qJ+88ALHPUyJ3sMzEHxGePNUhX588kfeUCriO9cczsoFz509/dDqMGVnHnciOfGRON5c8qhWpdktx2gSmu6wjLTJhU78NFyWreRmM+sh9My473g3XrMzlsuNjdX7oohXeFcL6v8oqzGKDD0Jo3lAjk5erpbbVqMpl7zo7NUwinYKtHeu8L0j51bT/3ijo3uZD0MifkRcGKrmTyXqlrqWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=QAdrgk3KyVhnaGF18PzqgBxbw1BjQvL7UPZPp2UbjjY=; b=Uv1L5sZBXwrBPIGXY1J9fZAVPUfmEsgw5E5EpRagk4ywQzkAL6rzJjR3FtPlkaYctan/dPMTOt+gE+zZgEJXdnbPWutpccY43/RxqTr6PXiMlBoRjMnA9Yn9wtCt9+ykaZM6u7oN7b0v2D6YGMrm9uRpPK3LP7Picffp1Rfq7nLi+u2IvtIQXg5D9GEjvyONpx05fa9wAIP/esdfmES0xW4S9C8WJBZfAPRR10JyO/TcDeHaTnBrOfsGLoK7DPhVSguaIcNtndVvmxb2wxh1akWcYHIFfXkjkvqP590m0dMLsC2NbikTC4dZDzg0AuYu1PwikE5tGGujkcnJKvILWg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=kernel.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QAdrgk3KyVhnaGF18PzqgBxbw1BjQvL7UPZPp2UbjjY=; b=Ku2sGK+cTW6lGognkYR3NL9pqtjApXF7suy2t0glywjHAJX1BPAJyVuZHVdX6EnLnel8L2eQcc2C53w9Gg7VSW7ToqJi1xGX1lD/pdl41EEXygdaiLNrB6WUdYm5M3G+bOmW02LGMdO4Xq/6N/EKF/TOvoFyJx81c9/Syk6SbkE= Received: from MW3PR06CA0025.namprd06.prod.outlook.com (2603:10b6:303:2a::30) by CY5PR12MB6178.namprd12.prod.outlook.com (2603:10b6:930:25::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6064.24; Thu, 2 Feb 2023 15:23:27 +0000 Received: from CO1NAM11FT004.eop-nam11.prod.protection.outlook.com (2603:10b6:303:2a:cafe::c2) by MW3PR06CA0025.outlook.office365.com (2603:10b6:303:2a::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6064.23 via Frontend Transport; Thu, 2 Feb 2023 15:23:27 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB03.amd.com; pr=C Received: from SATLEXMB03.amd.com (165.204.84.17) by CO1NAM11FT004.mail.protection.outlook.com (10.13.175.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6064.28 via Frontend Transport; Thu, 2 Feb 2023 15:23:25 +0000 Received: from SATLEXMB05.amd.com (10.181.40.146) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Thu, 2 Feb 2023 09:23:24 -0600 Received: from SATLEXMB03.amd.com (10.181.40.144) by SATLEXMB05.amd.com (10.181.40.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Thu, 2 Feb 2023 09:23:23 -0600 Received: from xhdsgoud40.xilinx.com (10.180.168.240) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server id 15.1.2375.34 via Frontend Transport; Thu, 2 Feb 2023 09:23:00 -0600 From: Amit Kumar Mahapatra <amit.kumar-mahapatra@amd.com> To: <broonie@kernel.org>, <miquel.raynal@bootlin.com>, <richard@nod.at>, <vigneshr@ti.com>, <jic23@kernel.org>, <tudor.ambarus@microchip.com>, <pratyush@kernel.org>, <sanju.mehta@amd.com>, <chin-ting_kuo@aspeedtech.com>, <clg@kaod.org>, <kdasu.kdev@gmail.com>, <f.fainelli@gmail.com>, <rjui@broadcom.com>, <sbranden@broadcom.com>, <eajames@linux.ibm.com>, <olteanv@gmail.com>, <han.xu@nxp.com>, <john.garry@huawei.com>, <shawnguo@kernel.org>, <s.hauer@pengutronix.de>, <narmstrong@baylibre.com>, <khilman@baylibre.com>, <matthias.bgg@gmail.com>, <haibo.chen@nxp.com>, <linus.walleij@linaro.org>, <daniel@zonque.org>, <haojian.zhuang@gmail.com>, <robert.jarzmik@free.fr>, <agross@kernel.org>, <bjorn.andersson@linaro.org>, <heiko@sntech.de>, <krzysztof.kozlowski@linaro.org>, <andi@etezian.org>, <mcoquelin.stm32@gmail.com>, <alexandre.torgue@foss.st.com>, <wens@csie.org>, <jernej.skrabec@gmail.com>, <samuel@sholland.org>, <masahisa.kojima@linaro.org>, <jaswinder.singh@linaro.org>, <rostedt@goodmis.org>, <mingo@redhat.com>, <l.stelmach@samsung.com>, <davem@davemloft.net>, <edumazet@google.com>, <kuba@kernel.org>, <pabeni@redhat.com>, <alex.aring@gmail.com>, <stefan@datenfreihafen.org>, <kvalo@kernel.org> CC: <git@amd.com>, <linux-spi@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <joel@jms.id.au>, <andrew@aj.id.au>, <radu_nicolae.pirea@upb.ro>, <nicolas.ferre@microchip.com>, <alexandre.belloni@bootlin.com>, <claudiu.beznea@microchip.com>, <bcm-kernel-feedback-list@broadcom.com>, <fancer.lancer@gmail.com>, <kernel@pengutronix.de>, <festevam@gmail.com>, <linux-imx@nxp.com>, <jbrunet@baylibre.com>, <martin.blumenstingl@googlemail.com>, <avifishman70@gmail.com>, <tmaimon77@gmail.com>, <tali.perry1@gmail.com>, <venture@google.com>, <yuenn@google.com>, <benjaminfair@google.com>, <yogeshgaur.83@gmail.com>, <konrad.dybcio@somainline.org>, <alim.akhtar@samsung.com>, <ldewangan@nvidia.com>, <thierry.reding@gmail.com>, <jonathanh@nvidia.com>, <michal.simek@amd.com>, <linux-aspeed@lists.ozlabs.org>, <openbmc@lists.ozlabs.org>, <linux-arm-kernel@lists.infradead.org>, <linux-rpi-kernel@lists.infradead.org>, <linux-amlogic@lists.infradead.org>, <linux-mediatek@lists.infradead.org>, <linux-arm-msm@vger.kernel.org>, <linux-rockchip@lists.infradead.org>, <linux-samsung-soc@vger.kernel.org>, <linux-stm32@st-md-mailman.stormreply.com>, <linux-sunxi@lists.linux.dev>, <linux-tegra@vger.kernel.org>, <netdev@vger.kernel.org>, <linux-wpan@vger.kernel.org>, <libertas-dev@lists.infradead.org>, <linux-wireless@vger.kernel.org>, <linux-mtd@lists.infradead.org>, <lars@metafoo.de>, <Michael.Hennerich@analog.com>, <linux-iio@vger.kernel.org>, <michael@walle.cc>, <palmer@dabbelt.com>, <linux-riscv@lists.infradead.org>, <amitrkcian2002@gmail.com>, "Amit Kumar Mahapatra" <amit.kumar-mahapatra@amd.com> Subject: [PATCH v3 00/13] spi: Add support for stacked/parallel memories Date: Thu, 2 Feb 2023 20:52:45 +0530 Message-ID: <20230202152258.512973-1-amit.kumar-mahapatra@amd.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1NAM11FT004:EE_|CY5PR12MB6178:EE_ X-MS-Office365-Filtering-Correlation-Id: e03217f4-f0ab-401f-4c97-08db05316e04 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: HGoBFrVFE/2Yqra9zYUlLmwedm/NxSqf90KDCExavRhRcFtyXvi+PzZOULOs+pqTo2Xm+A1rm6YTp2qpUlYxPUyw4tKokRlyGA3tMxCX7nMbJW6BSJsUtSZXA8CGWjwFekn/sTnKsDwco6YQf9bcYSWMaP5ypDp/Vxe8XoF0DBl2JEe5zMAbtMBzjXyrNsNKrW2Vtp4xK917rI8KkAmqeCGgRFT8UxTMVoVuA33NOwZ1Q7ca1G8wodyNJTl8D1ttIRRsip+0LOL71krUcxaX07WeoIA5smfTlS0RmhQymkOs+ezpMjxu7NjL624HG40Ov9Gyd4P1Y9/mnhhqUyhnM5oaFSKP44vDohc8cKarQP1YtnMcavPKRiawbH0IF3FFyuC0eVXkrM13E4rbIRuSW/MdXRVp/N+LZ8Hz0mcPveiu4QYsozDiziiwa7Zz9urFjdW1/NHL2r9jEad9yqKlJbIYVeFeFHBfxV4HSHvL9yOKoqoiLFvldft/wk5Eb3JYtznQifBRRKGZYfDeWf3khdqdOl4SOQyC1et5kKaphdBhsG8OU2l9pcyAmkBe/DhOc5QC6Fvf5sqwj2wBlwU3B/1pf/AsRSIoxLVe1FfyJP2Q3ZZd0ENuflQTp66l1eyA6E7ZIsd86O+oD2aLSf4IURLm4itdwlPkw2WrhJs1XfwXdsnckphM6aDumKZ6o0xad/yjGaS/Gujk0MS1Q1GEo18S+IzT0wmTsj6z1EAksj3c31YtZnXMBc5UxCsmQ9FFBDwOzgDy90XC2++DwA7HaZY3HfzlCRIhyEnxE20G/B7ailcQ5/LAXTR+ofzJhsBCZ3lsdNnQkXAtdhfeNkmk+TU0iYuLnXutmJ/prWF33EgcMVYOyW88WSJKD8q1yh32wVw9II8/r26PBmfQEztTLA== X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB03.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230025)(4636009)(346002)(396003)(376002)(39860400002)(136003)(451199018)(46966006)(40470700004)(36840700001)(356005)(186003)(81166007)(26005)(70586007)(4326008)(921005)(70206006)(1076003)(82310400005)(41300700001)(2616005)(8936002)(6666004)(8676002)(966005)(7366002)(5660300002)(7336002)(7276002)(7416002)(478600001)(86362001)(47076005)(7406005)(316002)(336012)(83380400001)(36756003)(426003)(40460700003)(110136005)(82740400003)(2906002)(54906003)(40480700001)(36860700001)(2101003)(83996005)(36900700001)(41080700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Feb 2023 15:23:25.8494 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e03217f4-f0ab-401f-4c97-08db05316e04 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB03.amd.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT004.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY5PR12MB6178 Precedence: bulk List-ID: <linux-samsung-soc.vger.kernel.org> X-Mailing-List: linux-samsung-soc@vger.kernel.org |
Series |
spi: Add support for stacked/parallel memories
|
expand
|
On Thu, Feb 02, 2023 at 08:52:46PM +0530, Amit Kumar Mahapatra wrote: > Supporting multi-cs in spi drivers would require the chip_select & cs_gpiod > members of struct spi_device to be an array. But changing the type of these > members to array would break the spi driver functionality. To make the > transition smoother introduced four new APIs to get/set the This break an arm multi_v7_defconfig build: /build/stage/linux/drivers/spi/spi-pl022.c: In function ‘pl022_transfer_one_message’: /build/stage/linux/drivers/spi/spi-pl022.c:1592:31: error: ‘struct spi_message’ has no member named ‘spi_get_csgpiod’ 1592 | pl022->cur_gpiod = msg->spi_get_csgpiod(spi, 0); | ^~ /build/stage/linux/drivers/spi/spi-pl022.c:1592:49: error: ‘spi’ undeclared (first use in this function) 1592 | pl022->cur_gpiod = msg->spi_get_csgpiod(spi, 0); | ^~~ /build/stage/linux/drivers/spi/spi-pl022.c:1592:49: note: each undeclared identifier is reported only once for each function it appears in