Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp61074lqh; Wed, 27 Mar 2024 14:57:19 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV0XwzjWu9I2d4pu60FP9Z8+0zFzpAmyuE3uLv/uAXOJrTcifogE8VFDuJ2GGiEn/R2Gd5U5mlm1OlodB8Q7BpqvZ+lWe3ZYXtu1c63JQ== X-Google-Smtp-Source: AGHT+IElhKcJT7zg7SV9gdn2Fv0n7s7xykEa2982gd0hqdhwdNbZIu/0H/x3sdgvr0tvf+nXYMZu X-Received: by 2002:a05:6a00:2d92:b0:6e5:faca:3683 with SMTP id fb18-20020a056a002d9200b006e5faca3683mr1375019pfb.26.1711576639619; Wed, 27 Mar 2024 14:57:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711576639; cv=pass; d=google.com; s=arc-20160816; b=H5OyRZNc3dxEEjo6U8igylQooskY1wUxuutrH8Jb3bh/96du/rXhI8b0RVfgBgM9Dm bb8gmfEErMKY7HqlMIqOL/rPwMzk6iLx2fj7lgtfF0nXibZN4PGQNu2XZ2rL5DykvOB0 PzUMvxvOhpTKKSBjPicbgGsbihh1LcsCjAn/0tl7Y+bpR3fK4/oSjVS4y5oF+tea3enp qVuB9r+jluUSjUDHwI3fy3a6Sh4dQVt6qonDjv9cylykkt5AcmPMjTHE0dxkdTXLxyfX UBw8Zo4z5cYtAj5yrQ+WHoTsiVuwpXhKoIQb8TEPf+/B8e2QuV6OsxljiL7H9NIaJqxu jCSQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=vLrL+EN7MqKaoy5XFRon7TjgGc5rj1bpt5d7MZ+2xG0=; fh=WnFlKTtF3FgfrEYt1Mgt/+gd3RzpksVPvT91ea2GJz4=; b=c7QR4gA/3CtXJpwlTgcpzFmQ1adO8aF7/oZ2i8MyCTkPGFokwxnR/39QJ7ZTV9Q/4l a05EOytsqZ/4fk0yDQQCgRT7vpOqGlIrzQ5fiCqwwrHijzM+mxAfgRqJ6T9ymujUp2i4 IoufiJgJPEi1Yo9s7zuOuhgYgkoFSrWV4PBK2FE8IETXiFN9VGel8VSEThGuDCeUljBM sihr4k8giqY2l42BRWWl/vaPiiuSITizIUVNcATWQZNQksR+mdp7kN2MPzgJy53o3C4A NIb+66/DS5kGyJoQXiPqUraak+0VLMIBBYnE4VOhqnAFR9IPmZiLTgSestAsyzxzqmi1 05jA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=fYfd1Mzi; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-121904-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-121904-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id lm7-20020a056a003c8700b006eaab856030si70238pfb.86.2024.03.27.14.57.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Mar 2024 14:57:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-121904-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=fYfd1Mzi; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-121904-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-121904-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 03610B23E88 for ; Wed, 27 Mar 2024 19:32:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8E2FD152E02; Wed, 27 Mar 2024 19:31:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="fYfd1Mzi" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.8]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 41FA3152181; Wed, 27 Mar 2024 19:31:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.8 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711567911; cv=none; b=hOEvzhYpO0OUkisITRq4U38CdphwQiiJGB9SYAm9SAaoJtr98Ytnc4iGkujpyz7o2PqIvxw6t2vM17ZY+m6U8msMf01H5hJFN9gflNSXf+cia8BoidGYqbpIzCqqq9NyMdPUzgLd2Hic8H1KQEF8eXUJM94/CneqgXiPUgxWn+c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711567911; c=relaxed/simple; bh=Qbjf0DNC7olff9ITntNRPlYpx0Wby/w7Z09ZkKCcvww=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=XuWwK8zeyBhoMWUZuBhuRqHhmJJD9HRl77CMnwgZRwC6rMsq38s4N0g1ZpB2JnPDvBATrbQkXAsAgKN6yJsR5DVMn8Zp8ukh8hf3gljtUQyFM123LUKGI4CNjWNNATEt6FWr5P00dm1HQTS5cjARrZvw+cFPFQ6f3P/ECSVZWf4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=fYfd1Mzi; arc=none smtp.client-ip=192.198.163.8 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1711567909; x=1743103909; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Qbjf0DNC7olff9ITntNRPlYpx0Wby/w7Z09ZkKCcvww=; b=fYfd1MzilQ8Uey/zmIFpGj5MQsmSCw4QxAPgq2hSgkTbD/zeX74fXych buT95lb4aujKUgZrB3VteHz9dpNkXRyR2faa2n0nMaMEU/Znr7nTEmNVG Yw68PAHZMubasUOBSc51klsWLU/m05lKx5lnpcgoYJyH5jIZgHI5l6c+Y +BMyKTUx+eZB15lA/GT/yw4h85Jb4SnMvtjRNCF1FfBcEuEYMs2CGuvPF Rp5NzKr+J1peC+5IJquxYNMoVaNEAWe1gwh/a7KAGd2GC5D8yWnEcM0Qy 1HcEe92J+CANJFjLpfcy43yt3JxNmR5Yzfhxbje1aBGT15VhMAoVluIkq A==; X-CSE-ConnectionGUID: 62b7d4BRQgax9mUaoQpErA== X-CSE-MsgGUID: 09BGy2SNQEOYLyBuS6cA8A== X-IronPort-AV: E=McAfee;i="6600,9927,11026"; a="24187311" X-IronPort-AV: E=Sophos;i="6.07,159,1708416000"; d="scan'208";a="24187311" 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 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 -- 2.43.0.rc1.1.gbec44491f096