From patchwork Thu Feb 23 17:20:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 13150611 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9DF47C636D6 for ; Thu, 23 Feb 2023 17:21:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229525AbjBWRVA (ORCPT ); Thu, 23 Feb 2023 12:21:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41700 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229461AbjBWRU7 (ORCPT ); Thu, 23 Feb 2023 12:20:59 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A8A905940F for ; Thu, 23 Feb 2023 09:20:43 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 4E00EB81AB0 for ; Thu, 23 Feb 2023 17:20:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 68334C433A1; Thu, 23 Feb 2023 17:20:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1677172840; bh=KpZrMcf7ixkUooTm4ZJyR62JzSP4YNfIBSe808okMR4=; h=From:Date:Subject:References:In-Reply-To:To:From; b=T6zlzhxNMqcQ6OpbwnkyG1unzp5im9uVORZz7fzloFWK6s3E6+PXfpEcVmi/ubUkP rUFv32yeCJnFt0kyFUDWMraP0UycnnkdUo9KL8y1u6atmrOuK4Wg1JOg38+fa/bzZk ZPqL45NIbpGWn5hVLYSVqnTkbCmvlcVvYfc14Z4Jz4p7DliQ9KjGJgIin8s+P1mbJO eR9fPz42QcAEj7JoA00stVazCbBLr9S5Kb3fVE4iE7/ExZIkERypEdTc458PAsB/6R Q9eK7FkA9NfRSQyJRLCAlMj63bh+qUclvKKSRFW9zCDVgyqFiKDji1n8Q/6EigPq9l VcEwQQivExFgg== From: Mark Brown Date: Thu, 23 Feb 2023 17:20:21 +0000 Subject: [PATCH 1/8] spi: s3c24xx: Fix dependencies when FIQ support is enabled MIME-Version: 1.0 Message-Id: <20230221-spi-arch-deps-v1-1-83d1566474cf@kernel.org> References: <20230221-spi-arch-deps-v1-0-83d1566474cf@kernel.org> In-Reply-To: <20230221-spi-arch-deps-v1-0-83d1566474cf@kernel.org> To: linux-spi@vger.kernel.org, Krzysztof Kozlowski , Andi Shyti , Alim Akhtar , Andy Gross , Bjorn Andersson , Konrad Dybcio , Eddie James , Han Xu , Haibo Chen , Yogesh Gaur , Heiko Stuebner , Mark Brown X-Mailer: b4 0.12.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=715; i=broonie@kernel.org; h=from:subject:message-id; bh=KpZrMcf7ixkUooTm4ZJyR62JzSP4YNfIBSe808okMR4=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBj96BcKttCoHtav+/JByjKeMwfRBh5mKLLMWAxRiSO DWadwzqJATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCY/egXAAKCRAk1otyXVSH0JAfB/ 4pIPpUC1cU073QEzoVrJR7jn8nvBe/TzQn5WGvZ2tvT+unjpeZO8I6VZGUdOEmvI05pJHSTJPBRWn/ LpW2PAJ8FJD9KZIodG0H6qOCBsmpAx5uSJKQAVJh9mFd4tg4UpZpi/VusHsmB7o2rouAbHdgtB82GO FJo02j0cwZM7C5CpofG7bimsthfQ+jKRxhELb+vMfoJYPBLmkalPsqadpxnuPvseigX3EWTU4Psd8y 6p8xYo8PCYa+VkSbwovxYmc2nRk/0dunx3kF95qWbb0acNheemEbWqcQtp23KxYuscRfpq/FTrIwkE HDGzcPKwPGN/X8tKhb170UuJZS8mqA X-Developer-Key: i=broonie@kernel.org; a=openpgp; fpr=3F2568AAC26998F9E813A1C5C3F436CA30F5D8EB Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org The FIQ APIs aren't exported symbols so can't be used from modules, meaning that the s3c24xx driver can only have FIQ support enabled when it's built in. Signed-off-by: Mark Brown --- drivers/spi/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 6fb17efb35f0..d1ee27d55a5f 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -862,7 +862,7 @@ config SPI_S3C24XX config SPI_S3C24XX_FIQ bool "S3C24XX driver with FIQ pseudo-DMA" - depends on SPI_S3C24XX + depends on SPI_S3C24XX=y select FIQ help Enable FIQ support for the S3C24XX SPI driver to provide pseudo From patchwork Thu Feb 23 17:20:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 13150612 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id ADF85C61DA4 for ; Thu, 23 Feb 2023 17:21:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229646AbjBWRVC (ORCPT ); Thu, 23 Feb 2023 12:21:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41748 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229461AbjBWRVC (ORCPT ); Thu, 23 Feb 2023 12:21:02 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D112B55C15 for ; Thu, 23 Feb 2023 09:20:44 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 36A2F6175F for ; Thu, 23 Feb 2023 17:20:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 56514C4339E; Thu, 23 Feb 2023 17:20:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1677172843; bh=3bbZc6GfrmW1NmWc6Pp71spy6au5cLDlsBo8niaEj6U=; h=From:Date:Subject:References:In-Reply-To:To:From; b=obsQdEPhbZu9DpMZidANyOoNNqV8v3A5PKHxkGkrWU4rloLruigFdmFOUaF62dulx oBPpteET2pibGRmnn3MrpbaQMzK1BP2dNvdBHjLUpn53nEU3Lj0xv/2HJ7mmsozL3h pdoJ621VRqHOeLD51QpP+9LBf8veeDu6DvuIALUJ7jmIbcXUfdO+EyKIoDupXrSnOy mMhqZEb2h4Ch6MieuZU+LFir9jYITzewhaoup3Ffy8AvYVkg6QXOwttvX41Y0ThU59 dfRPqclJAl8ABkYoXlwrCFOt1gUAjiRjxXq9eHYMX/KdVjv4yV/IUGUiPCNaGe6BQI 6Msc7pHzfXziA== From: Mark Brown Date: Thu, 23 Feb 2023 17:20:22 +0000 Subject: [PATCH 2/8] spi: rockchip: Add architecture dependency MIME-Version: 1.0 Message-Id: <20230221-spi-arch-deps-v1-2-83d1566474cf@kernel.org> References: <20230221-spi-arch-deps-v1-0-83d1566474cf@kernel.org> In-Reply-To: <20230221-spi-arch-deps-v1-0-83d1566474cf@kernel.org> To: linux-spi@vger.kernel.org, Krzysztof Kozlowski , Andi Shyti , Alim Akhtar , Andy Gross , Bjorn Andersson , Konrad Dybcio , Eddie James , Han Xu , Haibo Chen , Yogesh Gaur , Heiko Stuebner , Mark Brown X-Mailer: b4 0.12.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=698; i=broonie@kernel.org; h=from:subject:message-id; bh=3bbZc6GfrmW1NmWc6Pp71spy6au5cLDlsBo8niaEj6U=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBj96BdjSDy7nYkQ9eIgl9yjuydUzOSUa273q7xwy3z aIVO5sKJATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCY/egXQAKCRAk1otyXVSH0M4aB/ 4ylHBmsrsi6C85FZ7H0jYiF/kFw7SeyBy5PsYh394+HB43oTaQ9aKFZIb7e+kEi9qN3kIY/3ZMo+32 f3h9FtwTDeRs9rxqp1fUtW5A4vztSVaIkURROUhZN7xoIWd9IM6Xwavha9859zth5gv61mBbVzW5In Rg3lO+YZTHl2EBtaZc1AKck1joq9AvW1XbkmiA5JzD1iLWRuMXFQ7G+cd/avzYEawlQguTmbi4eXIm QC3hgvK/x2AMcZOJ4g3/xbdFrykbz5L5/nkYPZxh7kill7M7UiYr4Heo14IfRKfa2k3gWAXpiVx4Mc nOV7xpbO8VDaRXBXYRySOY/YsyMrLV X-Developer-Key: i=broonie@kernel.org; a=openpgp; fpr=3F2568AAC26998F9E813A1C5C3F436CA30F5D8EB Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org If base support for Rockchip SoCs has been disabled then the SPI driver won't be terribly useful, add a dependency on ARCH_ROCKCHIP || COMPILE_TEST to avoid it appearing when not needed. Signed-off-by: Mark Brown --- drivers/spi/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index d1ee27d55a5f..f765b4ce226d 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -783,6 +783,7 @@ config SPI_PXA2XX_PCI config SPI_ROCKCHIP tristate "Rockchip SPI controller driver" + depends on ARCH_ROCKCHIP || COMPILE_TEST help This selects a driver for Rockchip SPI controller. From patchwork Thu Feb 23 17:20:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 13150613 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 647C2C61DA4 for ; Thu, 23 Feb 2023 17:21:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229801AbjBWRVJ (ORCPT ); Thu, 23 Feb 2023 12:21:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41830 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229794AbjBWRVI (ORCPT ); Thu, 23 Feb 2023 12:21:08 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 58D2C52DE0 for ; Thu, 23 Feb 2023 09:20:49 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 0D834B8198C for ; Thu, 23 Feb 2023 17:20:48 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 508A8C433EF; Thu, 23 Feb 2023 17:20:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1677172846; bh=wcvqKNkspYwlagqVvOHfXZLMH0ae03tonNORwXGCGz4=; h=From:Date:Subject:References:In-Reply-To:To:From; b=HrKL0xTEbb6Doob/0BQQ1PRMU615k/3ZUn+lbxfxnS3f2TxrkQUQl+Mrwi3wsJmMI 7gnRmj4HguJVkjvwf7e2ULiWLs1G7TgmPrkRccVYDekLTO69/lZbntV/Ibs0Z5YGLI GQBolpUvg9S55veL45RJxTz0IYdyFbpyTv+8fQ/yrTw2krpWXLi52DqF0Z0wfTFqOI QNja981oI3rvmPCn43efg+KxIOfEM4p7cMHWMCYnydfKHeLNuLWg+x+TGrAWaNHmGU LYhJXglNNlwf1jzWyd9tADeoQfS686icSt/vIl+dNNwWB7NCekE2I++JftNJf0Tix/ w5ABizTyduvQQ== From: Mark Brown Date: Thu, 23 Feb 2023 17:20:23 +0000 Subject: [PATCH 3/8] spi: nxp-flexspi: Fix ARCH_LAYERSCAPE dependency MIME-Version: 1.0 Message-Id: <20230221-spi-arch-deps-v1-3-83d1566474cf@kernel.org> References: <20230221-spi-arch-deps-v1-0-83d1566474cf@kernel.org> In-Reply-To: <20230221-spi-arch-deps-v1-0-83d1566474cf@kernel.org> To: linux-spi@vger.kernel.org, Krzysztof Kozlowski , Andi Shyti , Alim Akhtar , Andy Gross , Bjorn Andersson , Konrad Dybcio , Eddie James , Han Xu , Haibo Chen , Yogesh Gaur , Heiko Stuebner , Mark Brown X-Mailer: b4 0.12.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=988; i=broonie@kernel.org; h=from:subject:message-id; bh=wcvqKNkspYwlagqVvOHfXZLMH0ae03tonNORwXGCGz4=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBj96BezfsmQpbUbZNKujj70AoM4kYPipuDDj3FO96H pBM1hvmJATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCY/egXgAKCRAk1otyXVSH0K88B/ 90piFFLbFr7KbAACARx4qDnhv7OMapUbVvctOsYYLPV7zBx/yGNemkJAoYoGMWDKvzKiaGIP69lBMs yCjB9/Uzvm1viEOTom/gTUzrvbUUwW/ZH0uWP1El1KVVKbmOT+TvvCbYx+Q5DHPIPUXbiktdK6rNdL /nDch/gAM+R8eqK+Gh2D45zFpgdL0DXMSLk8Jd4KedeAl9YZgsIiQ7B1hZS4x2LIUkIV29wSAE0nWB nk14KQ6dt2sNna+KTpDxWEAZ4Y6EBt2vlo43QDfKz4LLPta5YbjEKGFa5qdxf6rbLbWN8QafIWj9zz HpgTdJxBoDqD8PddCI5fMDxk7Etcj/ X-Developer-Key: i=broonie@kernel.org; a=openpgp; fpr=3F2568AAC26998F9E813A1C5C3F436CA30F5D8EB Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org Currently the NXP Flex SPI driver has a dependency on ARCH_LAYERSCAPE || HAS_IOMEM which means that the dependency is almost always true and the driver available. Really these should be two separate dependencies, with an || COMPILE_TEST dependency for the architecture to ensure build coverage is maintained. Signed-off-by: Mark Brown --- drivers/spi/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index f765b4ce226d..714c9089272a 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -406,7 +406,8 @@ config SPI_HISI_SFC_V3XX config SPI_NXP_FLEXSPI tristate "NXP Flex SPI controller" - depends on ARCH_LAYERSCAPE || HAS_IOMEM + depends on ARCH_LAYERSCAPE || COMPILE_TEST + depends on HAS_IOMEM help This enables support for the Flex SPI controller in master mode. Up to four slave devices can be connected on two buses with two From patchwork Thu Feb 23 17:20:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 13150614 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 32CEEC6379F for ; Thu, 23 Feb 2023 17:21:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229461AbjBWRVK (ORCPT ); Thu, 23 Feb 2023 12:21:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41860 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229783AbjBWRVJ (ORCPT ); Thu, 23 Feb 2023 12:21:09 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C74EB55C2A for ; Thu, 23 Feb 2023 09:20:50 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 200566170B for ; Thu, 23 Feb 2023 17:20:52 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 41257C433A0; Thu, 23 Feb 2023 17:20:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1677172849; bh=ziAuI48GFaqv/DZiLVrk2Vz0Yhhm5PgD8SQLslzjrIA=; h=From:Date:Subject:References:In-Reply-To:To:From; b=TWiX8cf2Pqdl0SXqNwQRH/C1IbpWcvK/CVtzr1hebkxzAHfvpdhXVA8BffuHiagyD Y0WUTfrEsI+0T7f8hBGwmV8SRhPRDDj5f5m6SoNeAv31dw6G+GhPosEiM3b9EZ7Hg7 DtvYpMFh1IaKZCHxX2P54pElQonJEhUKL4bGFHrFCjBfMMdPiyRaAILux3FRUw9rhs mNKWrB/oxCzxQAASe7zho6IeQebn5hsEngWu6GbbzTYop0vCFJAuLCqizlYwGs9bHM KRg1cQxEhtr6H+jSfdsbtk+jisaVoM1cIDZ9dpgV6i64eOXfnmKifcSnqn2htnHOdD WColAUrQkbqHQ== From: Mark Brown Date: Thu, 23 Feb 2023 17:20:24 +0000 Subject: [PATCH 4/8] spi: davinci: Make available for build test MIME-Version: 1.0 Message-Id: <20230221-spi-arch-deps-v1-4-83d1566474cf@kernel.org> References: <20230221-spi-arch-deps-v1-0-83d1566474cf@kernel.org> In-Reply-To: <20230221-spi-arch-deps-v1-0-83d1566474cf@kernel.org> To: linux-spi@vger.kernel.org, Krzysztof Kozlowski , Andi Shyti , Alim Akhtar , Andy Gross , Bjorn Andersson , Konrad Dybcio , Eddie James , Han Xu , Haibo Chen , Yogesh Gaur , Heiko Stuebner , Mark Brown X-Mailer: b4 0.12.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=810; i=broonie@kernel.org; h=from:subject:message-id; bh=ziAuI48GFaqv/DZiLVrk2Vz0Yhhm5PgD8SQLslzjrIA=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBj96BfRLwnMXEVx/RWiFxOI94ELwGeqbO7/+a9psP8 F44Y+pOJATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCY/egXwAKCRAk1otyXVSH0CXMB/ wNgUCD2o/IQwuFZKx3RQSx1jXT4rDHWnA9k0ya4yWLn75PwYEAes6iMnE+HfIJeCWJjbNboMWSYcmJ gbwEekAeC+ztVK1b3kNibbYj7CXCcbTlUpmvyfoDZV/NTPf2i4Kpp0WQ6F1fC3YIRZRn8zKSydYUGJ 3TiJpH63fF6HoFE8xDFg7nncYA5kqdYgsglRb7B949q6C/YHr3ISrZHDCr480gG9FC0RXErV6nuiZh mEaPSk7SJc3g+ur6ajuxYskXJtDfhdULJRSyNARRRdcRWRgGhtwLNbVPdqCcOjHWt04CXDf5mDX0gA Sgmij7Czx2zzUaglDVU1UsmPPNxvW/ X-Developer-Key: i=broonie@kernel.org; a=openpgp; fpr=3F2568AAC26998F9E813A1C5C3F436CA30F5D8EB Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org There is no build time dependency on the DaVicni or Keystone architecture support so add an || COMPILE_TEST so we've got better build coverage of the driver. Signed-off-by: Mark Brown --- drivers/spi/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 714c9089272a..00c6c41d2df7 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -276,7 +276,7 @@ config SPI_COLDFIRE_QSPI config SPI_DAVINCI tristate "Texas Instruments DaVinci/DA8x/OMAP-L/AM1x SoC SPI controller" - depends on ARCH_DAVINCI || ARCH_KEYSTONE + depends on ARCH_DAVINCI || ARCH_KEYSTONE || COMPILE_TEST select SPI_BITBANG help SPI master controller for DaVinci/DA8x/OMAP-L/AM1x SPI modules. From patchwork Thu Feb 23 17:20:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 13150615 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6EA1DC636D6 for ; Thu, 23 Feb 2023 17:21:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229783AbjBWRVK (ORCPT ); Thu, 23 Feb 2023 12:21:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41864 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229784AbjBWRVJ (ORCPT ); Thu, 23 Feb 2023 12:21:09 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B669A5652A for ; Thu, 23 Feb 2023 09:20:53 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 1893161764 for ; Thu, 23 Feb 2023 17:20:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 34AA7C4339E; Thu, 23 Feb 2023 17:20:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1677172852; bh=2Tzp+QAdnR/5so6m6ZGB37VwP0fckV01TwbH6+eDm2M=; h=From:Date:Subject:References:In-Reply-To:To:From; b=hRVdpQT/6ztXRk0OdGz3nkkjrgCXp7YzdPKPERLsOByyUn7ENvfeYsMaMX76aEmxk qnkc4Tiz4HdsH4r/zFBc84DnNtZQ5sL7r1n7qFflQzn/nuJw+EeyJPT9Hfn0SSR5D7 qTOvH2muc/PrByG0TK0D1ISWLL0DCIznWnRI5HvJghEiojq02RH1ozwE7hOgeXZJt2 NWVmLZFdUouhtEloiLTqRAAfdAFzpelIhHHKbp+LqH8lZN7Yn15R8gEH3/AJxWuyGq jTjx0c938LnzGfXh6pe0xs4raQsuZRU/dV/INQKGv7ZV2fXy9DoMQExiLaCd+b4GIy QZV8Eft06dXUQ== From: Mark Brown Date: Thu, 23 Feb 2023 17:20:25 +0000 Subject: [PATCH 5/8] spi: fsi: Make available for build test MIME-Version: 1.0 Message-Id: <20230221-spi-arch-deps-v1-5-83d1566474cf@kernel.org> References: <20230221-spi-arch-deps-v1-0-83d1566474cf@kernel.org> In-Reply-To: <20230221-spi-arch-deps-v1-0-83d1566474cf@kernel.org> To: linux-spi@vger.kernel.org, Krzysztof Kozlowski , Andi Shyti , Alim Akhtar , Andy Gross , Bjorn Andersson , Konrad Dybcio , Eddie James , Han Xu , Haibo Chen , Yogesh Gaur , Heiko Stuebner , Mark Brown X-Mailer: b4 0.12.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=668; i=broonie@kernel.org; h=from:subject:message-id; bh=2Tzp+QAdnR/5so6m6ZGB37VwP0fckV01TwbH6+eDm2M=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBj96BgnxM8Vz0D4q2Y9dgG5HnPYuzLrjzUJwy4mw0F +/SVBmeJATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCY/egYAAKCRAk1otyXVSH0NjWB/ 0ee1fzrbr+lqCZgTUhx27Y+1y6arxVFsVSqWqPPi8ECubT3FRUCIBZuYOGNS33XD3RF9uG4O43+7t5 FK6e7M/bUF0f8ztpx5t+qy9sHNgLz0+Q3VsWUgPw6oqE/KgSvC3x+sX4v0tZDse6If22U7qbDizTlE gtj9+DUpYDU9/s6FCEE254L0HJCnKkts9Wf1iP7VA5qJGEz2Bed/dyeHJTGfzrtGDt6N1ieIZ6FTOt RR8Ux1U1q6tmyUL6YCM0XlV+XXamLa6V4mZE05Vxmh8sfK88BqJNcrGNpVUlKY4+1/xev63MPhrjKp rrw2GqqAf3ev87f6rW4SGfLYXUL8DF X-Developer-Key: i=broonie@kernel.org; a=openpgp; fpr=3F2568AAC26998F9E813A1C5C3F436CA30F5D8EB Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org There is no build time dependency on the platform support so add an || COMPILE_TEST so we've got better build coverage of the driver. Signed-off-by: Mark Brown --- drivers/spi/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 00c6c41d2df7..753d006f8217 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -357,7 +357,7 @@ config SPI_FALCON config SPI_FSI tristate "FSI SPI driver" - depends on FSI + depends on FSI || COMPILE_TEST help This enables support for the driver for FSI bus attached SPI controllers. From patchwork Thu Feb 23 17:20:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 13150616 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 14F78C61DA4 for ; Thu, 23 Feb 2023 17:21:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229806AbjBWRVQ (ORCPT ); Thu, 23 Feb 2023 12:21:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41896 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229784AbjBWRVP (ORCPT ); Thu, 23 Feb 2023 12:21:15 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A1AF657082 for ; Thu, 23 Feb 2023 09:20:56 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 0482E61765 for ; Thu, 23 Feb 2023 17:20:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2A371C433A0; Thu, 23 Feb 2023 17:20:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1677172855; bh=/t1gEIzS6G+njPfiVhgZ/+WqI9Tp5RD9j8xJCtkfGY8=; h=From:Date:Subject:References:In-Reply-To:To:From; b=cFyJRrJQFV+F9bWKX4Iyd3Xv7FRxFa4rzz8U04RUSHG/p/lNPtpOcPfA1BZ0p5HRh ErHibNLpEzMP3N+Nln0Yb1nE+mfBwNTWyezmsTB9CkC80LzuusOmH/YB25r2/fHJir pUjrwt2HwAzGM0JzR5ZpNsNg/u3xJh4VA68OqlfAFy9XFLCOSDLgSiHx6CF+AnFcjt 2/ACPVUkEnS9GDO/404r9zroTGdk9AsGS33FjyFQDh9Fn4sJNGN9z0DW8XiGzHTOCh u5uONdtVQ7G/cW2C/2Zzx9xail1p95sMepLUtMFNvBH8mW+tbEZOipuV/lLnmwe8vi dS3SCVUIMKOeA== From: Mark Brown Date: Thu, 23 Feb 2023 17:20:26 +0000 Subject: [PATCH 6/8] spi: qcom-qspi: Make available for build test MIME-Version: 1.0 Message-Id: <20230221-spi-arch-deps-v1-6-83d1566474cf@kernel.org> References: <20230221-spi-arch-deps-v1-0-83d1566474cf@kernel.org> In-Reply-To: <20230221-spi-arch-deps-v1-0-83d1566474cf@kernel.org> To: linux-spi@vger.kernel.org, Krzysztof Kozlowski , Andi Shyti , Alim Akhtar , Andy Gross , Bjorn Andersson , Konrad Dybcio , Eddie James , Han Xu , Haibo Chen , Yogesh Gaur , Heiko Stuebner , Mark Brown X-Mailer: b4 0.12.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=674; i=broonie@kernel.org; h=from:subject:message-id; bh=/t1gEIzS6G+njPfiVhgZ/+WqI9Tp5RD9j8xJCtkfGY8=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBj96BgSbujV7cSVDsgcOzPlSgj2vpFdEmqNPKoqKKi gQJQ5ZSJATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCY/egYAAKCRAk1otyXVSH0Ho/B/ 9mKDC7cEpPoUWVjcoPkiC5U9NeSH578xtp9oV7ZCboWApiXaej9omb8jpFVVKNp4V/iB5nyTSN0/Em g7fQF+1H1O4aLnUTb28pZW/NMxiDi4GVXqFU3S1xq+YAJ6qjLuDJnex2zD0hglkkAkaO2s6FlxRYwE BvnWH9ScWqCFudWiHpHvqafUwgaJF3vvAJFUx8/84Cn57HNe3OYXF7wlO/XZZaK/CO/V7jdjSmvsMY 4SKUPHnDiM7IAsl1oqpgBZjJxkYe0/4A3WRpEdjnEtfO3LMxJfwIWt5XAO29ecy/hrEWLeNKIT/foB qaxZWxQJ8nTMgCl/V7Pfv1Bpcwyu8d X-Developer-Key: i=broonie@kernel.org; a=openpgp; fpr=3F2568AAC26998F9E813A1C5C3F436CA30F5D8EB Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org There is no build time dependency on the Qualcomm platform support so add an || COMPILE_TEST so we've got better build coverage of the driver. Signed-off-by: Mark Brown --- drivers/spi/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 753d006f8217..c7ae712ff954 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -826,7 +826,7 @@ config SPI_RSPI config SPI_QCOM_QSPI tristate "QTI QSPI controller" - depends on ARCH_QCOM + depends on ARCH_QCOM || COMPILE_TEST help QSPI(Quad SPI) driver for Qualcomm QSPI controller. From patchwork Thu Feb 23 17:20:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 13150617 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0CBFCC6379F for ; Thu, 23 Feb 2023 17:21:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229784AbjBWRVR (ORCPT ); Thu, 23 Feb 2023 12:21:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41908 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229803AbjBWRVQ (ORCPT ); Thu, 23 Feb 2023 12:21:16 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 954CB570A4 for ; Thu, 23 Feb 2023 09:20:59 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id ED1FF6176A for ; Thu, 23 Feb 2023 17:21:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1D3E3C4339E; Thu, 23 Feb 2023 17:20:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1677172858; bh=Y2GyiOCT/zyy58alkE7pqvNhZY84ln34N+1Q9gY+dVQ=; h=From:Date:Subject:References:In-Reply-To:To:From; b=UdsxFu3JfhOz0MAwzcAgcK+d9x1teN2qfd+1/pxIn88plyUCsjWJ61G/XMOW+EpAX 4LJSiOyp+5Y/JevJBM1mtarW3HOnKFwh8vMPBTipKTBi0PM9LWYu39JcpJzv2J27CJ RJq95fUxUijWCnYMiioO4U7oivwI1sxLvwFcPisQwBflWeXSp1I0ZIUJFMOEtr5nip hzpKwmU8m8ytT4rsFzDAPk8bseK2hEmMTWQNjx8jj6c+aez51csTENKZcnSJLSKSd1 TmSHShuRWojBZPQlzY1lXEaJoeGNnmiGZPHL7L3uLL3bt+LF3zG4Z/ghElgZy4pqIj fTw0vJk8XQMBA== From: Mark Brown Date: Thu, 23 Feb 2023 17:20:27 +0000 Subject: [PATCH 7/8] spi: s3c24xx: Only have compile time references to FIQ when building it MIME-Version: 1.0 Message-Id: <20230221-spi-arch-deps-v1-7-83d1566474cf@kernel.org> References: <20230221-spi-arch-deps-v1-0-83d1566474cf@kernel.org> In-Reply-To: <20230221-spi-arch-deps-v1-0-83d1566474cf@kernel.org> To: linux-spi@vger.kernel.org, Krzysztof Kozlowski , Andi Shyti , Alim Akhtar , Andy Gross , Bjorn Andersson , Konrad Dybcio , Eddie James , Han Xu , Haibo Chen , Yogesh Gaur , Heiko Stuebner , Mark Brown X-Mailer: b4 0.12.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1069; i=broonie@kernel.org; h=from:subject:message-id; bh=Y2GyiOCT/zyy58alkE7pqvNhZY84ln34N+1Q9gY+dVQ=; b=owGbwMvMwMWocq27KDak/QLjabUkhuTvCxJDlmssM9wVfrI4t/2duqPqJM7jEZFpq+dG7C2ydPtm mKvRyWjMwsDIxSArpsiy9lnGqvRwia3zH81/BTOIlQlkCgMXpwBM5FI2+z/ttYWneE7k/2f8NI3pys ycXeZ/fvu/9vDeIZP3QumoUZ247CK3+drZGo1hGfsSo1LSJ+asjYtz/VjZkyTUm/xO3zdhXVHKEWv7 vQraaUujl8+UvLbQbtOO+xyLvfK+GGmv4S0u+Ghl7GAqU5JtqykeXiZ6u6tkU88P9jJNZnv5P3d/eV bcYq/ub9/Qlfl1QzOXVHTS+TD2TYx7d/rbywuKKZZYOW06kxmkN0n4QIjFlGfe+cxbf+daMHn8vZqi 0VKUa9l95/4Tzi9fvuw6f1VaeXaat+jCf7EZesUWjXyGV8RY+9/f+CNpZWP+4fTxVfJ8y4NStyqIH5 y5ZOYD2zV9Hx+4sn1ImWHXsSIRAA== X-Developer-Key: i=broonie@kernel.org; a=openpgp; fpr=3F2568AAC26998F9E813A1C5C3F436CA30F5D8EB Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org There is a config option which allows the FIQ code in the s3c24xx driver to be disabled but it does not cover the inclusion of the API header or the variables added to the driver data. Add some ifdefs protecting these so that we can improve build coverage. Signed-off-by: Mark Brown --- drivers/spi/spi-s3c24xx.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/spi/spi-s3c24xx.c b/drivers/spi/spi-s3c24xx.c index ef25b5e93900..ad13c6004d40 100644 --- a/drivers/spi/spi-s3c24xx.c +++ b/drivers/spi/spi-s3c24xx.c @@ -21,7 +21,9 @@ #include #include +#ifdef CONFIG_SPI_S3C24XX_FIQ #include +#endif #include "spi-s3c24xx-regs.h" @@ -56,10 +58,12 @@ struct s3c24xx_spi { int len; int count; +#ifdef CONFIG_SPI_S3C24XX_FIQ struct fiq_handler fiq_handler; enum spi_fiq_mode fiq_mode; unsigned char fiq_inuse; unsigned char fiq_claimed; +#endif /* data buffers */ const unsigned char *tx; From patchwork Thu Feb 23 17:20:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 13150618 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9B53DC636D6 for ; Thu, 23 Feb 2023 17:21:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229802AbjBWRVS (ORCPT ); Thu, 23 Feb 2023 12:21:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41936 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229794AbjBWRVR (ORCPT ); Thu, 23 Feb 2023 12:21:17 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E2F157D2E for ; Thu, 23 Feb 2023 09:21:04 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id D1E0AB81AAC for ; Thu, 23 Feb 2023 17:21:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 12815C433A0; Thu, 23 Feb 2023 17:20:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1677172861; bh=pZHYiOKAlU3jp3ytGsA+zpepU7C4RLJZP++3Rf3sokY=; h=From:Date:Subject:References:In-Reply-To:To:From; b=X1tZhzWpY8w6Ndc953PQ/7JjnfII9iPfvMMaHOhT/CBix9OxjDVzgJWmzklsVS2SK q22YxQkeFnXvvHKXh58b50cmLHqm+AUE9pMGhlARTperUBEGLQan7Kog33vnLksy2o h5sJs9YNzGlPqLSVFiMNMsuq0lJUKZ7lQAexxtPUJb7Xokb8hMvEkiPQORVrC7G8Ez ALY8GQQq/EfQq4XZnJxFYVO/gPlI+xracaMg5OJCGTXDXkpSY4JolclVop0It5Lhgk 1kC87Ij+70Q1AcqzAwE+tVow8SJgODST9gcUalDRvqwl8O9FVeTwX2Z4O1NBgUYlri MpwJcvOc+GKPQ== From: Mark Brown Date: Thu, 23 Feb 2023 17:20:28 +0000 Subject: [PATCH 8/8] spi: s3c24xx: Allow build test coverage MIME-Version: 1.0 Message-Id: <20230221-spi-arch-deps-v1-8-83d1566474cf@kernel.org> References: <20230221-spi-arch-deps-v1-0-83d1566474cf@kernel.org> In-Reply-To: <20230221-spi-arch-deps-v1-0-83d1566474cf@kernel.org> To: linux-spi@vger.kernel.org, Krzysztof Kozlowski , Andi Shyti , Alim Akhtar , Andy Gross , Bjorn Andersson , Konrad Dybcio , Eddie James , Han Xu , Haibo Chen , Yogesh Gaur , Heiko Stuebner , Mark Brown X-Mailer: b4 0.12.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=958; i=broonie@kernel.org; h=from:subject:message-id; bh=pZHYiOKAlU3jp3ytGsA+zpepU7C4RLJZP++3Rf3sokY=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBj96BizagrvgMSr7j/zysHJ8MCQPb+naPBopUPn4t0 YAaOpTSJATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCY/egYgAKCRAk1otyXVSH0MvhB/ 9H09RVEGx2fcsRpePoh6UVhGw1LpdjIuB2GOiR9K6VR0i8rLv5o0IqH5qgo90X29Bg38JgJXL1K0jQ 9mo8TlhAs1Qp+FlloeiiDHTQO5XHflqTyiUdcuTmgPVZ0Hp5XVcdPIRcLJlaHIXESM5e+L7m3UAyhB H1Ca0yfQePVWUCq1RkB56neg3XSvzND0lOEc433EzwcJkhVZW4CvdgPZoemtUi/gbVUdbkkCk+CK5Y v90aGQIiZeOcx1HIJrZvqKPQ7kcVwfVKFvZnl1T/UJSLtRk1u+8fWo0iMHlsxPCMYOzkNgQTLwKyhQ FZFtAEZaAvLgdycs8HP0hb1z6empnf X-Developer-Key: i=broonie@kernel.org; a=openpgp; fpr=3F2568AAC26998F9E813A1C5C3F436CA30F5D8EB Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org Other than the FIQ code the driver has no platform dependencies so we can include it in compile test coverage, the FIQ code will only build on arm. Signed-off-by: Mark Brown --- drivers/spi/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index c7ae712ff954..8e910cb2d21c 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -857,7 +857,7 @@ config SPI_QCOM_GENI config SPI_S3C24XX tristate "Samsung S3C24XX series SPI" - depends on ARCH_S3C24XX + depends on ARCH_S3C24XX || COMPILE_TEST select SPI_BITBANG help SPI driver for Samsung S3C24XX series ARM SoCs @@ -865,6 +865,7 @@ config SPI_S3C24XX config SPI_S3C24XX_FIQ bool "S3C24XX driver with FIQ pseudo-DMA" depends on SPI_S3C24XX=y + depends on ARM select FIQ help Enable FIQ support for the S3C24XX SPI driver to provide pseudo