From patchwork Tue Mar 26 18:07:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Shevchenko X-Patchwork-Id: 13604824 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 93FC9CD11DF for ; Tue, 26 Mar 2024 18:11:14 +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=EGc140ipx3WPTCdnsMwcE0BVebbGb5wcsDeBF7NfOmg=; b=0OhRBJT4TuyYVb y16nAJwzUmabJJeVbnJVKgcEBc0mFJBqCh+0Z0ZkSb0SAh64OhTHWSYIPN+/jrzhYh/IXjhdTiHPB qH+hkuxeEo4AukniKALGPWUCF5qRpx76s1D/L+nIJeuZWcnG2BksLuXukFJQfdQHBG5xpg1KDOe3T MaX5Gj4szKec6KI41/qENjhgY+YUzHYxijeE6ud/KM71OVmtJOGpc5Yuct65haXNPcUmJI7INWqIP Z9IJIhDRklKEFA9+RLNF5mVdSFtIvoViRlJ5koaa2DXgcU3kQj23T4SoOua9NHCjGeuvhydc9Sgww RZ9GwGT/heKNJ9vmn9qw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rpBGB-00000005sXd-1RH4; Tue, 26 Mar 2024 18:10:55 +0000 Received: from mgamail.intel.com ([192.198.163.12]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rpBG0-00000005sPZ-0oUt for linux-arm-kernel@lists.infradead.org; Tue, 26 Mar 2024 18:10:45 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1711476644; x=1743012644; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=kZ6a9T0dNBuKKdOYe4rTeQVlWUgy3Put+CwhdI3cS/s=; b=Ak6RdeRpeXpj6mcUbzcPmbyM/JJsHwml3S5J7xVD03wYF5meNSI9kMdX QKCgeFkebBwvuwjdiFc0IXSrSoiKw7Un7FJJ5uN8Ar7CEuflWQQDbLKUX EfuKlhviuv42cMkmeEDAaJ7/XdrKAXOurEjDr0ga4io6NFBS6g2uEA1aL szpUiixwCIENemQqv6cyhENiNR9zk+qiVDK/TswA2+2reOX6WANiId3a5 eafc8ARng+7m2PLiLaNUn8gni7kk1ucZfCgh5L5SUNtdEvRyZZXrQlEwl 7Z3LyI7tH3wPBK/WD5nTuV9zeGpoOUWvgclWpWmKDAjEHYZCPiP55XX5X A==; X-CSE-ConnectionGUID: ETPeuAwGTnKi2TSobz+nEQ== X-CSE-MsgGUID: u25z14bgR+iBTpRCm5rsew== X-IronPort-AV: E=McAfee;i="6600,9927,11025"; a="10325689" X-IronPort-AV: E=Sophos;i="6.07,156,1708416000"; d="scan'208";a="10325689" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmvoesa106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Mar 2024 11:10:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,11025"; a="937072935" X-IronPort-AV: E=Sophos;i="6.07,156,1708416000"; d="scan'208";a="937072935" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga001.fm.intel.com with ESMTP; 26 Mar 2024 11:10:35 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id C251A284; Tue, 26 Mar 2024 20:10:34 +0200 (EET) From: Andy Shevchenko To: Andy Shevchenko , Mark Brown , linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Daniel Mack , Haojian Zhuang , Robert Jarzmik , Russell King , Arnd Bergmann Subject: [PATCH v1 00/10] spi: pxa2xx: Drop linux/spi/pxa2xx_spi.h Date: Tue, 26 Mar 2024 20:07:50 +0200 Message-ID: <20240326181027.1418989-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-20240326_111044_308676_4939304F X-CRM114-Status: GOOD ( 12.38 ) 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 As Arnd suggested we may drop linux/spi/pxa2xx_spi.h as most of its content is being used solely internally to SPI subsystem (PXA2xx drivers). Hence this refactoring series with the additional win of getting rid of legacy documentation. Cc: Arnd Bergmann Andy Shevchenko (10): spi: pxa2xx: Drop ACPI_PTR() and of_match_ptr() spi: pxa2xx: Keep PXA*_SSP types together spi: pxa2xx: Switch to use dev_err_probe() spi: pxa2xx: Extract pxa2xx_spi_init_ssp() helper spi: pxa2xx: Skip SSP initialization if it's done elsewhere spi: pxa2xx: Allow number of chip select pins to be read from property spi: pxa2xx: Provide num-cs for Sharp PDAs via device properties spi: pxa2xx: Move contents of linux/spi/pxa2xx_spi.h to a local one spi: pxa2xx: Remove outdated documentation spi: pxa2xx: Don't use "proxy" headers Documentation/spi/pxa2xx.rst | 208 --------------------------------- arch/arm/mach-pxa/spitz.c | 25 ++-- drivers/spi/Kconfig | 2 +- drivers/spi/spi-pxa2xx-dma.c | 11 +- drivers/spi/spi-pxa2xx-pci.c | 10 +- drivers/spi/spi-pxa2xx.c | 118 +++++++++++-------- drivers/spi/spi-pxa2xx.h | 39 ++++++- include/linux/pxa2xx_ssp.h | 2 +- include/linux/spi/pxa2xx_spi.h | 48 -------- 9 files changed, 140 insertions(+), 323 deletions(-) delete mode 100644 Documentation/spi/pxa2xx.rst delete mode 100644 include/linux/spi/pxa2xx_spi.h