From patchwork Wed Sep 28 03:43:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tharun Kumar P X-Patchwork-Id: 12991571 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 7CF84C04A95 for ; Wed, 28 Sep 2022 03:43:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230321AbiI1Dng (ORCPT ); Tue, 27 Sep 2022 23:43:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34940 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230283AbiI1Dnf (ORCPT ); Tue, 27 Sep 2022 23:43:35 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0D9F7D4AB8; Tue, 27 Sep 2022 20:43:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1664336612; x=1695872612; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=/wW0radtxKENdxfN7sINSEiGvHtAEW4jbCxUgo9JoQ4=; b=B7kAqMwB/D2nHGEBxIxVWcDNB4PZO8kMvFRoacIWBMoRyb8mo04n2Xtd sfls1EXEGmqnXG/o41vZtyPYeAHf6Sd4Fx3oZC0qndiiP8xrsBSEixd2U m0zNvH5GuqABjPqgyxBbj58gZFb/U7FDAfwfj3qOl3GGWVsMUdpfgEzp6 iDEOJfvBpjLsCxkzNN5vVOd9ooFeaO5cwMZ9PsIndneiH5nLNTD5ybjlY OK2zaBlckVSi3cGb9lhBI9jX7rSpVcrcdhmTak0XvAVYGGJOksivdX6hJ igLpXU7lMTRhFcvAD7iWsPs5qhkuf/OnXr/5NwEMBWkLRYHzxWJCEYVjH A==; X-IronPort-AV: E=Sophos;i="5.93,351,1654585200"; d="scan'208";a="182259697" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa5.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 27 Sep 2022 20:43:32 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.12; Tue, 27 Sep 2022 20:43:31 -0700 Received: from CHE-LT-UNGSOFTWARE.microchip.com (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2507.12 via Frontend Transport; Tue, 27 Sep 2022 20:43:29 -0700 From: Tharun Kumar P To: CC: , , Subject: [PATCH RFC SPI for-next 0/2] spi: microchip: pci1xxxx: Load SPI driver for SPI endpoint of PCI1XXXX switch Date: Wed, 28 Sep 2022 09:13:34 +0530 Message-ID: <20220928034336.2939265-1-tharunkumar.pasumarthi@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org Microchip PCI1XXXX is an unmanaged PCIe3.1a switch for consumer, industrial, and automotive applications. This switch has multiple downstream ports. One of the switch's downstream ports is a multifunction endpoint; one of those functions supports SPI functionality. This series of patches provides the SPI controller driver for the SPI function of the multifunction PCIe endpoint of the switch. Tharun Kumar P (2): spi: microchip: pci1xxxx: Add driver for SPI controller of PCI1XXXX PCIe switch spi: microchip: pci1xxxx: Add suspend and resume support for PCI1XXXX SPI driver drivers/spi/Kconfig | 9 + drivers/spi/Makefile | 1 + drivers/spi/spi-pci1xxxx.c | 453 +++++++++++++++++++++++++++++++++++++ 3 files changed, 463 insertions(+) create mode 100644 drivers/spi/spi-pci1xxxx.c