From patchwork Thu Mar 7 19:47:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Shevchenko X-Patchwork-Id: 13586195 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 68CBEC54E5C for ; Thu, 7 Mar 2024 19:51:25 +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=7T5qhWjXVAFtIabty0tdqWPmXQ3d4UjJPteEQjJbufY=; b=0GphcPZpwE3j9I vbVWyuh0Z9zr8mJ+wqou1n539bjjxLWyxF2i3jP9AIspbKvXK3eseh4lsOsA6fD8z+hqvgjrRUFAI 3wi96i4bXO6fcjSEDUzdhFQNtLMfgUz0hwlkMEK5Nzm5MhmPpguL7VFE9Pm9+lJ3dHwSQewNXrQNt fKD1IOFykbAMpnw1mPa3zQ3qgZ2fFYnFmgU0hbQZf+REovryDHGPx3muGm08GnxOy1JLv3Tkm3AAT eF4UtbLh/YGdavKNdDjRPZQ6U9lqkK+b5MRy29M0Q6K1U7M+3RIHTuon0T1Qf9f79w1Tqgw5xW0KL GMCd50W/SSAIME/pvrNg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1riJls-000000068lN-2uMn; Thu, 07 Mar 2024 19:51:16 +0000 Received: from mgamail.intel.com ([198.175.65.21]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1riJll-000000068f6-10Oc for linux-arm-kernel@lists.infradead.org; Thu, 07 Mar 2024 19:51:10 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1709841069; x=1741377069; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=4cdULCcytkLeYBiX0rgShPW1BjHtNu+TjxHj/QfFLg4=; b=iwLAJNKTAYabEPDPdajXZafRxTbyygpSU5RQ8loGRgq7HJ9JitDBV0Rx C3Bh7V6j/NMxPvbDio4t8EQCf2QmwI0FFfu4HUyBTgILx2oGKZNcS4I6q Qbup53OH79gYlphxHD3H/sfOzDg0I1fJbQaPAp+jlmhJckDntfkPQaIS8 rB7bndO2KPo9uMPRF08B7RViFyRWTp//zorFnRd6akA2fcOVqMbcs3GCc 4l+OOJV/hZh73JwDHC2+YpGmTqSBCURiADaQsAqGid8+Gd83LzBqIlY54 5X7DZw2xv64kX6Q/aP/GiUCGj1ehc+vV7HzIxiW5FGZT8Q1PybVNRxrng g==; X-IronPort-AV: E=McAfee;i="6600,9927,11006"; a="4457069" X-IronPort-AV: E=Sophos;i="6.07,107,1708416000"; d="scan'208";a="4457069" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Mar 2024 11:51:02 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,11006"; a="937046515" X-IronPort-AV: E=Sophos;i="6.07,107,1708416000"; d="scan'208";a="937046515" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga001.fm.intel.com with ESMTP; 07 Mar 2024 11:50:59 -0800 Received: by black.fi.intel.com (Postfix, from userid 1003) id EF780128; Thu, 7 Mar 2024 21:50:57 +0200 (EET) From: Andy Shevchenko To: Andy Shevchenko , Arnd Bergmann , linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Mark Brown , Daniel Mack , Haojian Zhuang , Robert Jarzmik , Russell King Subject: [PATCH v3 0/3] spi: pxa2xx: Clean up linux/spi/pxa2xx_spi.h Date: Thu, 7 Mar 2024 21:47:44 +0200 Message-ID: <20240307195056.4059864-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.43.0.rc1.1.gbec44491f096 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240307_115109_433367_ABA70FFF X-CRM114-Status: GOOD ( 12.42 ) 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 A couple of cleanups against linux/spi/pxa2xx_spi.h. I'm sending this as v3 to land in the SPI subsystem. Meanwhile I'm preparing an update to make linux/spi/pxa2xx_spi.h private to the subsystem (PXA2xx driver). But the second part will be presented later on (likely after v6.9-rc1). That said, this can be routed either via SoC tree or SPI, up to respective maintainers. In v3: - fixed compilation error - updated documentation file as well In v2: - preserved a comment (Arnd) - added tag (Arnd) - added new patch to avoid using unneeded header in soc/pxa/ssp.c Andy Shevchenko (3): spi: pxa2xx: Kill pxa2xx_set_spi_info() spi: pxa2xx: Make num_chipselect 8-bit in the struct pxa2xx_spi_controller spi: pxa2xx: Use proper SSP header in soc/pxa/ssp.c Documentation/spi/pxa2xx.rst | 2 +- arch/arm/mach-pxa/devices.c | 18 ------------------ arch/arm/mach-pxa/spitz.c | 14 +++++++++++++- drivers/soc/pxa/ssp.c | 2 +- include/linux/spi/pxa2xx_spi.h | 10 +--------- 5 files changed, 16 insertions(+), 30 deletions(-)