From patchwork Wed Mar 27 19:29:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Shevchenko X-Patchwork-Id: 13607414 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 004F6C54E67 for ; Wed, 27 Mar 2024 20:33:38 +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=LRInY8QkOqJfmSz7rSCviNlIbATCxFyQCkZ+LS9yTBI=; b=q/i4Xrf0OTq47V IoTUkXe6cMfUxvvVlt21zc1NBem3wZyiVmuxeCURvdKdO3ctsn1xKnkXyjzRyoPWVrBHMvtFvJk1s FvIHBanlApJkJlG5iCGL6XnG//dUVnXr6qUcK5JTJWjFkLurzrEC3nJxREMoeByoU04WzvjZPDG2s f3ANOpO4twoHGRQEBUdo6hHZWfYYUmHpqJtCVwqfR75h3oNXYxz3a3wML2J7jKGbOXbQmQmBs6W7Y m3RE7HBaLZq44MXhAB+CZwp7IFXGHjOUakiuv9ExBKvyhu4aMZSSbNMvRPj0lUW5bAhn2ICtZga33 wGDKmQqCVGOJ3oIvEfOg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rpZxp-0000000B2AY-1k8W; Wed, 27 Mar 2024 20:33:37 +0000 Received: from mgamail.intel.com ([192.198.163.8]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rpZ04-0000000AnsF-1fKL for linux-arm-kernel@lists.infradead.org; Wed, 27 Mar 2024 19:31:54 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1711567911; x=1743103911; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Qbjf0DNC7olff9ITntNRPlYpx0Wby/w7Z09ZkKCcvww=; b=fHIxnEFkLrDQXhSdf2i16mNCN7CK7XYknsK9caI/pp9H4eKKmzHYLecN 93vPx8G1HCRSdq9I+Hjgn1nuwMIOXEmq7LF6fGNRg3jKMLHEl9FKI7IET C0yAwGd7m7XVGEHcRfwHBkyJ8O/HTw2uzLgeT+AK+0qUHoFwWiu7ELbKs jjzFQeVHblY6fC1Wcajukjl2yEyKt1rTMnpxOjR/oTnaAeH2XxrxAbG2f TZfO7QNUewYqc95mEjJBhip9F9bUTPdFtoBlaff+dh3esoGMAuOcncXML 1t4amcZHeCcXi9y1CKDPe8B5lRR8lMxPtmYGPnni0QIasNXAY576xDWmh g==; X-CSE-ConnectionGUID: ZUsOxBVZSfCoQYXhOSm0TA== X-CSE-MsgGUID: pqJzFtPQSoGZTtMILkVAog== X-IronPort-AV: E=McAfee;i="6600,9927,11026"; a="24187309" X-IronPort-AV: E=Sophos;i="6.07,159,1708416000"; d="scan'208";a="24187309" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmvoesa102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Mar 2024 12:31:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,11026"; a="937075023" X-IronPort-AV: E=Sophos;i="6.07,159,1708416000"; d="scan'208";a="937075023" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga001.fm.intel.com with ESMTP; 27 Mar 2024 12:31:43 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id 761F32CA; Wed, 27 Mar 2024 21:31:42 +0200 (EET) From: Andy Shevchenko To: Mark Brown , Andy Shevchenko , 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 v2 0/9] spi: pxa2xx: Drop linux/spi/pxa2xx_spi.h Date: Wed, 27 Mar 2024 21:29:19 +0200 Message-ID: <20240327193138.2385910-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-20240327_123152_721415_ECFD0D6D X-CRM114-Status: GOOD ( 13.35 ) 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. Changelog v2: - dropped applied patches - added patch to amend dependencies (Mark) - amended the second patch accordingly (Mark) - elaborated purpose of the patch 6 in the commit message (Mark) Cc: Arnd Bergmann Andy Shevchenko (9): spi: pxa2xx: Narrow the Kconfig option visibility spi: pxa2xx: Drop ACPI_PTR() and of_match_ptr() 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 | 5 +- drivers/spi/spi-pxa2xx-dma.c | 11 +- drivers/spi/spi-pxa2xx-pci.c | 10 +- drivers/spi/spi-pxa2xx.c | 99 ++++++++++------ drivers/spi/spi-pxa2xx.h | 39 ++++++- include/linux/spi/pxa2xx_spi.h | 48 -------- 8 files changed, 133 insertions(+), 312 deletions(-) delete mode 100644 Documentation/spi/pxa2xx.rst delete mode 100644 include/linux/spi/pxa2xx_spi.h