From patchwork Wed Sep 27 16:25:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrizio Castro X-Patchwork-Id: 13401356 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 D8DB7E82CAF for ; Wed, 27 Sep 2023 16:25:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230107AbjI0QZT (ORCPT ); Wed, 27 Sep 2023 12:25:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37288 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229880AbjI0QZS (ORCPT ); Wed, 27 Sep 2023 12:25:18 -0400 Received: from relmlie5.idc.renesas.com (relmlor1.renesas.com [210.160.252.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id DE227DE; Wed, 27 Sep 2023 09:25:15 -0700 (PDT) X-IronPort-AV: E=Sophos;i="6.03,181,1694703600"; d="scan'208";a="177447615" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie5.idc.renesas.com with ESMTP; 28 Sep 2023 01:25:15 +0900 Received: from mulinux.home (unknown [10.226.92.108]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id 05AB3401F564; Thu, 28 Sep 2023 01:25:10 +0900 (JST) From: Fabrizio Castro To: Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Geert Uytterhoeven Cc: Fabrizio Castro , Magnus Damm , linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Chris Paterson , Biju Das , Lad Prabhakar Subject: [PATCH v2 0/2] Add RZ/V2M CSI slave support Date: Wed, 27 Sep 2023 17:25:06 +0100 Message-Id: <20230927162508.328736-1-fabrizio.castro.jz@renesas.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org Dear All, the CSI IP found inside the Renesas RZ/V2M SoC supports both SPI host and target. This series extends the CSI dt-bindings and driver to add SPI target support. v1->v2: I have dropped properties renesas,csi-ss and renesas,csi-ss-high. I have added property renesas,csi-no-ss, and to configure SS as active high one now needs to use property spi-cs-high. I have also purged "master" and "slave" as naming schemes (besides for the title of the cover letter, to make it easier to follow this discussion), I am now using "host" and "target" and related APIs instead. Cheers, Fab Fabrizio Castro (2): spi: renesas,rzv2m-csi: Add CSI (SPI) target related properties spi: rzv2m-csi: Add target mode support .../bindings/spi/renesas,rzv2m-csi.yaml | 9 ++ drivers/spi/Kconfig | 3 +- drivers/spi/spi-rzv2m-csi.c | 127 ++++++++++++------ 3 files changed, 94 insertions(+), 45 deletions(-)