From patchwork Thu Jun 22 11:33:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrizio Castro X-Patchwork-Id: 11163 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp5000315vqr; Thu, 22 Jun 2023 04:42:04 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4+XAfpubWhbOlJJ7bIveczKSKW9ecxdRTL8wTET/MD9v3fjPZ1/1D8PnjCWWJV9/vD7Y4M X-Received: by 2002:a05:6a20:394c:b0:123:3f03:68f9 with SMTP id r12-20020a056a20394c00b001233f0368f9mr4647146pzg.61.1687434124588; Thu, 22 Jun 2023 04:42:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687434124; cv=none; d=google.com; s=arc-20160816; b=mXrA1gNjI/vLhDmWIjlsf4HKRWj6oy777sJL59C8fud5sTXiD3BTVdev7vzqqkpFjg BS41YXSbpHzJdTnO2XN6aSP7azxQH+KBYu7X2r1ZrbY/BWwNl8poLJzOUe1hCmh3P7Q6 W1inhkDTOpLwMLNhPh8JkkbWcs5iFZnGnG4NHhQmZxzLVPR/i+XE4NXqW+yteN51R7kE gNKzrR63BO3fBFyJF1lgbBQGhwhmk/C3ZuPQnZCczBlza2QtSDOuD68GTUgM/x5unsqP +fOXqnbWmZsB+9TyoEF5f3h0hBtSgjp6PnLAumZdZyBP+QEJpmSWFfEDBZAAwfLc5Bvw 08rQ== 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=ba0JVmszYYY8e0EKuP3An1pm84S/AoGmA7w5UoS+e6g=; b=eLuaoj5GiGyPreec4iX+h0vzwj8Mwp63hdCOCw4h0xSx3TcFpb04uOYe6tXS73mwoZ UIFZMbaEveQePNrdtMPhtnRfWKeZ9FbYam0lMewqvm7Uigy5+iqnLDTbzF/YD7plt8tH o+bCHSwSwhj8El7DeT+v6Xa2OqEAd2E6nQEut3Hj/GpJeK48On0iH9owhf5Khv/e5HKA oqQDLi5O51mRYK1fiwZrUJT/XnN/YORuB/oSSC9Zc+7SyXfigxRNTjzkuzOarMvJz1SQ ZLWafiWpnWOBlNcHgfZR0umDtTcp5DUOuubNDHA7xbhpPw30SshjOTDgqu1TZ83yWCBT ZiwA== 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 s23-20020a170902b19700b001b3cb03ccacsi5976848plr.210.2023.06.22.04.41.50; Thu, 22 Jun 2023 04:42:04 -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 S229915AbjFVLdz (ORCPT + 99 others); Thu, 22 Jun 2023 07:33:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229437AbjFVLdx (ORCPT ); Thu, 22 Jun 2023 07:33:53 -0400 Received: from relmlie6.idc.renesas.com (relmlor2.renesas.com [210.160.252.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 29CB51BE4; Thu, 22 Jun 2023 04:33:52 -0700 (PDT) X-IronPort-AV: E=Sophos;i="6.00,263,1681138800"; d="scan'208";a="168532768" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie6.idc.renesas.com with ESMTP; 22 Jun 2023 20:33:51 +0900 Received: from mulinux.example.org (unknown [10.226.93.117]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id DDA1141D4839; Thu, 22 Jun 2023 20:33:43 +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 v2 0/5] spi: Add CSI support for Renesas RZ/V2M Date: Thu, 22 Jun 2023 12:33:36 +0100 Message-Id: <20230622113341.657842-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?1769402924754261048?= X-GMAIL-MSGID: =?utf-8?q?1769402924754261048?= Dear All, This series is to add support for the Clocked Serial Interface (CSI) IP found in the Renesas RZ/V2M SoC. Thanks, Fab v2: edited list of include files in drivers/spi/spi-rzv2m-csi.c 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