From patchwork Wed Jun 21 14:09:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrizio Castro X-Patchwork-Id: 11105 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp4405920vqr; Wed, 21 Jun 2023 07:27:37 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7ZtbwpG0ULHU3GzIjhvn9YrOAI1JMBmgWP5rXvALx94ZyvMZC9JpvkZFjb9E9S/dlZOBnv X-Received: by 2002:a05:6a00:124a:b0:650:2660:1bcc with SMTP id u10-20020a056a00124a00b0065026601bccmr18982164pfi.8.1687357657204; Wed, 21 Jun 2023 07:27:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687357657; cv=none; d=google.com; s=arc-20160816; b=jbMjy0PZwT/PeXC42UxxkISVbk7yLQFVxhaem7N67HvMyFMgHkLwnlMeDfvBGwnXvs w1boX3ZIZwXH2I1VEeaIu7lZqoVK6LnXRf9C7BxuDXEXxnV57gGJT8KPP4eSRFXSpNV4 2befqVD+hOKFgpuQLsiUHAZtFdm6nzj0VmpPHeR3M3B8zym+hMItelWZFxJziLudUA5K hat07vatHMC76Tj0v7OqNeyelAAlNrZf5C7ENjHvyUnC9q5Hs38c/n9Qr6LFDJ/SonEX 3tXtYAjzGBNEv0SddCnjGMryV63V3g8Iv/+LItW6AF8FDRMXVqVP+5CKNnJ9SPpELAfV Rk8w== 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; bh=9EXRzc8OqpRGGZMdqaoYqmHgE6vpyvpatedLTBE+6zw=; b=Zs7DofDbxc3SI0UoY7oP0g7pw5FM3Oi3cSY/NW7Wv96/mIBd2mPlLOArA4F4UJ34u6 6tFrwaYC9+lY2u1+aBdTztw3WUdyUAbjDvHBApjVDx7VTuAZ3dxfT4zynd/JEbTQyOBO FdLjTQ4nZiSHktdR5OqHcUurot8bNWa4sLmCYiqoPmdWdUZVzBcy+7WtcYs7qIxp5OcW Qdbjdm0AMLScSabyhJ2C6YxcASESd/rlf1N1Dv88mYOH6TmvfRURY8+F1cLWwqpinWMF qqDwT/eOBihF3APSz1JInsFlFRa/Ln+aP4zP5N1BphdAB1RX+s9R03hn4XiPRk+56Yyz IG3g== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=renesas.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j9-20020a633c09000000b0054fb9698c4csi4233037pga.13.2023.06.21.07.27.23; Wed, 21 Jun 2023 07:27:37 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=renesas.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232733AbjFUOKa (ORCPT + 99 others); Wed, 21 Jun 2023 10:10:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56978 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232709AbjFUOKP (ORCPT ); Wed, 21 Jun 2023 10:10:15 -0400 Received: from relmlie5.idc.renesas.com (relmlor1.renesas.com [210.160.252.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 80BD218C; Wed, 21 Jun 2023 07:09:59 -0700 (PDT) X-IronPort-AV: E=Sophos;i="6.00,260,1681138800"; d="scan'208";a="164779177" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie5.idc.renesas.com with ESMTP; 21 Jun 2023 23:09:58 +0900 Received: from mulinux.example.org (unknown [10.226.93.96]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id 1B92D4220BE7; Wed, 21 Jun 2023 23:09:50 +0900 (JST) From: Fabrizio Castro To: Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Catalin Marinas , Will Deacon , Michael Turquette , Stephen Boyd , Philipp Zabel , Geert Uytterhoeven Cc: Fabrizio Castro , Magnus Damm , Bjorn Andersson , Arnd Bergmann , Konrad Dybcio , Neil Armstrong , =?utf-8?b?TsOtY29sYXMgRi4gUi4g?= =?utf-8?b?QS4gUHJhZG8=?= , =?utf-8?b?UmFmYcWCIE1p?= =?utf-8?b?xYJlY2tp?= , linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, Chris Paterson , Biju Das Subject: [PATCH 0/5] spi: Add CSI support for Renesas RZ/V2M Date: Wed, 21 Jun 2023 15:09:38 +0100 Message-Id: <20230621140944.257352-1-fabrizio.castro.jz@renesas.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=1.1 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: * 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769322742659087866?= X-GMAIL-MSGID: =?utf-8?q?1769322742659087866?= Dear All, This series is to add support for the Clocked Serial Interface (CSI) IP found in the Renesas RZ/V2M SoC. Thanks, Fab Fabrizio Castro (5): spi: dt-bindings: Add bindings for RZ/V2M CSI clk: renesas: r9a09g011: Add CSI related clocks spi: Add support for Renesas CSI arm64: dts: renesas: r9a09g011: Add CSI nodes arm64: defconfig: Enable Renesas RZ/V2M CSI driver .../bindings/spi/renesas,rzv2m-csi.yaml | 70 ++ arch/arm64/boot/dts/renesas/r9a09g011.dtsi | 28 + arch/arm64/configs/defconfig | 1 + drivers/clk/renesas/r9a09g011-cpg.c | 15 + drivers/spi/Kconfig | 6 + drivers/spi/Makefile | 1 + drivers/spi/spi-rzv2m-csi.c | 667 ++++++++++++++++++ 7 files changed, 788 insertions(+) create mode 100644 Documentation/devicetree/bindings/spi/renesas,rzv2m-csi.yaml create mode 100644 drivers/spi/spi-rzv2m-csi.c