Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp3248864rwl; Mon, 27 Mar 2023 11:13:11 -0700 (PDT) X-Google-Smtp-Source: AKy350Zkjp6XH8iEDzEqiUnM4645sjKTlO5yrIgjZHL0J7lLU0cLdTEzLbwH38kW+kdNSNVvmFKg X-Received: by 2002:aa7:9a4b:0:b0:62a:9d6f:98dc with SMTP id x11-20020aa79a4b000000b0062a9d6f98dcmr11733887pfj.11.1679940791334; Mon, 27 Mar 2023 11:13:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679940791; cv=none; d=google.com; s=arc-20160816; b=SXuUzg3ZpwNuxTx//xB+rPi7VnvxYI6XDHWiXUM9ZiY0hej3p0N0OwQPtWzC6+zg4m QSzIKUWT/lRx+sUkjkrdTLwCa0qJ+tvf398uFp35pmfDdlx7ci+HuiA8O+Q/0sQZaatz S7PV7yWa/+tGGSd7LRiXRH3SABMpDvSOq4GQ/MZyHZOsUfAmi8aRZcUtOwqNa8yJBsjG 8BKoMOTEf9PSOADZIILzqqV45mqNRuMt2KBr1XEEug9CwTeqbExX4K6Z0e0MPWvjzMNv COKVVPoYjcAmo3RSsnhkhG/RSeBG+ACfq5wVaI2+M5fGAeFd3R5ivdLoF1LceA1EzqZ6 ZwXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=5/J+ExtaDQpQ8NP1wIMINsOViHcgzoeTRd//pn5Ikkg=; b=m9aAlzpSUTLh3muAJx/4YtZWcYK/KY+QUap24F0bBef4nzN4GRnRAnBJcL8OxNB8K/ gNZVGU8ygFLtG+Gmq46EVeRgMzqBOZUfewcLGyiKVnsm5qbkFfYq5l+g4XHpMOfRYk5C 7VGbLRPL+FQn9Aw7pD4VqvzyJmbdwLniT08tOd2E8Jy+c/E25W/moUgUOVF6GLafYG7Z iWMv0aHEKk9K1Jnm9nJPEFKakjj6zk53QRQMmzH+fXp63rfhoIq8AOGM33Od/vZdDnvS UW3yT0VxMP93nXbcN+0H/hqSr3IQz+IheJzcnme0nbuGeMuQAekFKt7HubemtWaXt914 w/jA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0220 header.b=KRixRFaB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=marvell.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h24-20020a635758000000b004fab4df6dfdsi27670923pgm.369.2023.03.27.11.12.59; Mon, 27 Mar 2023 11:13:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0220 header.b=KRixRFaB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=marvell.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229492AbjC0SIT (ORCPT + 99 others); Mon, 27 Mar 2023 14:08:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49458 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231737AbjC0SIO (ORCPT ); Mon, 27 Mar 2023 14:08:14 -0400 Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B058D2D69; Mon, 27 Mar 2023 11:08:02 -0700 (PDT) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 32RB12WI019001; Mon, 27 Mar 2023 11:08:00 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=5/J+ExtaDQpQ8NP1wIMINsOViHcgzoeTRd//pn5Ikkg=; b=KRixRFaBvdqmjDQzFpJ+38AyqCOUJGwYEgqWzhzCumpNJfIjAv5F+XHW9ut0fC7b2kBi SMn7dzjex8rnJY+3T6mI9rIIbDDltMoogqVcnxOjXNFFB5XOaMM5I2vonG32OtlVWlr0 c++RFdnKj60ULbNT+gAREHPXQLdVdVrM5bksyd9NGSicJror/JTBiWQPIhir4w47MREH 7cLKnX9JaMGJYa11BE3nHEbT5UDCk+s7B+QwsJgrB7xJlQ3GOa93kH3QOffnac3r/hho zObxNtU125d+LYiqb1G5FpvRrslvGh82DCUAsk7T/r11liqVvGLiDfv7yqylmZFAuZlr dA== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3phxas85t8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 27 Mar 2023 11:08:00 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Mon, 27 Mar 2023 11:07:58 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.48 via Frontend Transport; Mon, 27 Mar 2023 11:07:58 -0700 Received: from localhost.localdomain (unknown [10.110.150.250]) by maili.marvell.com (Postfix) with ESMTP id C14793F7088; Mon, 27 Mar 2023 11:07:58 -0700 (PDT) From: Piyush Malgujar To: , , CC: , , Piyush Malgujar Subject: [PATCH 0/2] spi: octeontx2: Add spi driver for OcteonTX2 SOC Date: Mon, 27 Mar 2023 11:07:51 -0700 Message-ID: <20230327180753.2279-1-pmalgujar@marvell.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: 7UMLWC3my9ApyPfHIM3LvA0wrjrEOxPM X-Proofpoint-ORIG-GUID: 7UMLWC3my9ApyPfHIM3LvA0wrjrEOxPM X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-24_11,2023-03-27_02,2023-02-09_01 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add driver for spi controller on Marvell OcteonTX2 SOC. This driver supports 1KB data buffer and 4-bit bus width. It also supports ACPI and reads tx(rx)-bus-width which is used to set the SPI mode - DUAL, QUAD, OCTAL. Piyush Malgujar (1): spi: octeontx2: Add ACPI support Suneel Garapati (1): spi: octeontx2: Add support for octeontx2 spi controller drivers/spi/Kconfig | 8 + drivers/spi/Makefile | 1 + drivers/spi/spi-octeontx2.c | 467 ++++++++++++++++++++++++++++++++++++ drivers/spi/spi-octeontx2.h | 152 ++++++++++++ 4 files changed, 628 insertions(+) create mode 100644 drivers/spi/spi-octeontx2.c create mode 100644 drivers/spi/spi-octeontx2.h -- 2.17.1