Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp2636405rwj; Mon, 19 Dec 2022 07:07:01 -0800 (PST) X-Google-Smtp-Source: AA0mqf6pMDlbZx0/83AAH+5XWGP2ynfVANqnDaU6pl+h/o/T2SINhwlKAiY8zBoDb6MhuG0G+5ED X-Received: by 2002:aa7:da02:0:b0:46c:f631:c0dc with SMTP id r2-20020aa7da02000000b0046cf631c0dcmr36285523eds.12.1671462421536; Mon, 19 Dec 2022 07:07:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671462421; cv=none; d=google.com; s=arc-20160816; b=JxcyMD7LOOuLhVsEjpqCaw5p7huG/0Iv7FbnWBhA7Oolub2C9F+EpoY7+OkGeorYi+ LirQuNsiEsWwtkmq9aUAB5GYx9A8tE2/wOC6foA5KT62OA8lMx3SgbLUDW49LB8vLYPR rrW4dVasMMlFpSSUhAWI4lSPtDm+ZrAeKti+0WfLJ3AGc5TYE5UCzqKPMZh/3Rg2R71k RBZmiarPbgtReYyYaImGBeMFXcrLwmIdoBJXIm3wfwF2glndmPmgXRcGaGc1sAQ24zE8 k9n38h2hHSQaYeiwL8U6BO21hQYn4z9G5Q49/XzHW9USHv47lrKm3UWfj4/qeCAPf+kh +yUA== 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=JBiteCgpAS6oWGr9gYaWKAYcs1Cv01mxzPzcSuz3Aac=; b=uPQvF55m1bFFWV3ihY0gV4I0sdHvwf1V6lX0v890Rl63D73AXrFibT2TcNjblucqO8 WLo8mIEPftWPRIEGMCeIN6IHEmPSyihUHWQIiMBPI9CEI+dJDtwy92pSBm7EM0lm+uDv 9mPjpYuyVNRpCSK793dp2kfnSpWzZseYe4sNJ+R2W5J4ycYF9P0FYM3iJi1baeX3BEKs pnc8KFxVABP4uLg+itwPgx+/quA1GX4riD1uVK1A8ac48JRs2e3ccXSK1fh4r/832baQ Cr23rtjMa0GRmGqunFmPfsCddznrgi0PPTul2mQysUhssyuJ2HnXvUaOB+eRD11C3sAy bHzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0220 header.b=eP0WvFyT; 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 v9-20020aa7d9c9000000b0047531b0169asi3690067eds.301.2022.12.19.07.06.43; Mon, 19 Dec 2022 07:07:01 -0800 (PST) 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=eP0WvFyT; 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 S232394AbiLSOnf (ORCPT + 71 others); Mon, 19 Dec 2022 09:43:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45612 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232331AbiLSOnT (ORCPT ); Mon, 19 Dec 2022 09:43:19 -0500 Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 92F41625A; Mon, 19 Dec 2022 06:43:18 -0800 (PST) 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 2BJ9PqqA009699; Mon, 19 Dec 2022 06:43:11 -0800 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=JBiteCgpAS6oWGr9gYaWKAYcs1Cv01mxzPzcSuz3Aac=; b=eP0WvFyTLRGdOhKtbZ4+ydFy5jkFGrXJKF5tRUWNCaa6dbdnZWyymNN4jDyEkwKGjmQS F3pI5BVSl5S6f21gnZ7yjNRhyASjy1CQ0oGqsGRF8hV0/L0UPeq8gAnT4S9fvazQVuZG Y2MgK67S+pEVz1S1tvKR7M7MJmN6ydrUdI6VgpSaau892BMIUQJ55raX/MZ6nxvAVhZg G1m5rutZhU0FD5H21weC2gpdPqmgU8pmC3aa+YGLnb2+XUiUf3OWjF+lHt0O/PP+MFwk FKUjatv52VdILIVRa3q6nJcApB5R4AN4ok0cGH2s57UaalFbO1UUPIG4uD47vuQr4CIb 2Q== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3mjnans4hm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 19 Dec 2022 06:43:11 -0800 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Mon, 19 Dec 2022 06:43:09 -0800 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.42 via Frontend Transport; Mon, 19 Dec 2022 06:43:09 -0800 Received: from localhost.localdomain (unknown [10.110.150.170]) by maili.marvell.com (Postfix) with ESMTP id 72CED3F7041; Mon, 19 Dec 2022 06:43:09 -0800 (PST) From: Witold Sadowski To: CC: , , , , , , , , Subject: [PATCH 0/7] Support for Marvell modifications for Cadence XSPI Date: Mon, 19 Dec 2022 06:42:47 -0800 Message-ID: <20221219144254.20883-1-wsadowski@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: Uu2IyJR_vA2SzfbbWvO1MZkh-Nfoofzl X-Proofpoint-ORIG-GUID: Uu2IyJR_vA2SzfbbWvO1MZkh-Nfoofzl X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.923,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-12-19_01,2022-12-15_02,2022-06-22_01 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_NONE autolearn=ham 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 This patch series is fixing bugs, and adding support for Marvell changes for Cadence XSPI IP. It includes: - Polling mode support - Changes for modebyte handling - Busycycles calculations - Marvell specific IP changes Witold Sadowski (7): spi: cadence: Fix busy cycles calculation spi: cadence: Change dt-bindings documentation for Cadence XSPI controller spi: cadence: Add polling mode support spi: cadence: Change dt-bindings documentation for Cadence XSPI controller spi: cadence: Add read access size switch spi: cadence: Add Marvell IP modification changes spi: cadence: Force single modebyte .../devicetree/bindings/spi/cdns,xspi.yaml | 6 +- drivers/spi/Kconfig | 12 + drivers/spi/spi-cadence-xspi.c | 360 ++++++++++++++++-- 3 files changed, 354 insertions(+), 24 deletions(-) -- 2.17.1