Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp10768257rwd; Thu, 22 Jun 2023 04:45:15 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ45KOy3KQs91u3uxaa7e+dGKXjYn+3YmHi/2ib6a8Qh4Qte/yGzMM5+OkU6eVXIMXptN1gL X-Received: by 2002:a05:6808:1210:b0:3a0:5cd6:8773 with SMTP id a16-20020a056808121000b003a05cd68773mr1497340oil.54.1687434314974; Thu, 22 Jun 2023 04:45:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687434314; cv=none; d=google.com; s=arc-20160816; b=YfnQYu8WLZMUDiBTSAVcJOHdFe2mxZ9lrRCNU2pyNCASPUWlaQT+SOBLqfmOsifEIc OfS20nuTO+GuuA4qS9rqYfJZ2sA4y1EjUbSuEVUpt4zERh1LudzILpJV+7mRIpsx9xCl +eOgwCcKmic0s4z06SSZQnXN6jxImJbfghxa+FVn+hEjVzqJ8G6U5ddJQiMfWpP8hG0W /RpnGp6k/xfNJEuRntQj7AEPO6hMeIjsd/hG205FCzlZ9CmIcKZsNNXXLBvBzX6HQ6zb bmrTN1oKXrmFBa1aeKbxX1hl5cZBxxtf46/id3vHiPCcmmj9GbaFQJMr93EYOF+WfyoL tRiw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=sTcU27TF5aOWZI7wPr2/z9QHd9oRGdCTBHefUqDsnG8=; b=LDXLOYAYwYfy3DzEt5AfHm/N+C7KcPBG+cnpsxyOeelhfxS1Zb1T6Kd1szbI/gKXs0 O5Zu/goAxXcdKldtFgdQqhwT3wcIsJyasEpv8TGZWDFRjwBhmDpQGe7I/dcsC+Ckak3h 43uIo+BuyEGgBNlBmf74ilHipw+sertaNrDABpwNhR4xOci+hLmZo28gjbuDSVQE64nf BdSqZ3253Rw7QfZMRAuOR7lohBUNscnN06HPW18kb5wfcnpogcq5CFusonpCx18TiUIQ U0PsQzvwP13S/kyR/g1UDCXNX2JCQUYyE/ei83z2Myw2ipO5HuissxeF9h4NyrnhaUv+ dC3w== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 21-20020a17090a001500b0025ec34c3688si12711235pja.34.2023.06.22.04.45.02; Thu, 22 Jun 2023 04:45:14 -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 S229995AbjFVLe3 (ORCPT + 99 others); Thu, 22 Jun 2023 07:34:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35888 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229839AbjFVLeQ (ORCPT ); Thu, 22 Jun 2023 07:34:16 -0400 Received: from relmlie6.idc.renesas.com (relmlor2.renesas.com [210.160.252.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C0AB71FF2; Thu, 22 Jun 2023 04:34:07 -0700 (PDT) X-IronPort-AV: E=Sophos;i="6.00,263,1681138800"; d="scan'208";a="168532799" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie6.idc.renesas.com with ESMTP; 22 Jun 2023 20:34:07 +0900 Received: from mulinux.example.org (unknown [10.226.93.117]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id B96C740CCB9C; Thu, 22 Jun 2023 20:34:03 +0900 (JST) From: Fabrizio Castro To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Geert Uytterhoeven Cc: Fabrizio Castro , Magnus Damm , linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Chris Paterson , Biju Das Subject: [PATCH v2 4/5] arm64: dts: renesas: r9a09g011: Add CSI nodes Date: Thu, 22 Jun 2023 12:33:40 +0100 Message-Id: <20230622113341.657842-5-fabrizio.castro.jz@renesas.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230622113341.657842-1-fabrizio.castro.jz@renesas.com> References: <20230622113341.657842-1-fabrizio.castro.jz@renesas.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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 The Renesas RZ/V2M comes with 6 Clocked Serial Interface (CSI) IPs (CSI0, CSI1, CSI2, CSI3, CSI4, CSI5), but Linux is only allowed access to CSI0 and CSI4. This commit adds SoC specific device tree support for CSI0 and CSI4. Signed-off-by: Fabrizio Castro --- v2: no changes arch/arm64/boot/dts/renesas/r9a09g011.dtsi | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r9a09g011.dtsi b/arch/arm64/boot/dts/renesas/r9a09g011.dtsi index 46d67b200a66..33f2ecf42441 100644 --- a/arch/arm64/boot/dts/renesas/r9a09g011.dtsi +++ b/arch/arm64/boot/dts/renesas/r9a09g011.dtsi @@ -236,6 +236,34 @@ sys: system-controller@a3f03000 { reg = <0 0xa3f03000 0 0x400>; }; + csi0: spi@a4020000 { + compatible = "renesas,rzv2m-csi"; + reg = <0 0xa4020000 0 0x80>; + interrupts = ; + clocks = <&cpg CPG_MOD R9A09G011_CSI0_CLK>, + <&cpg CPG_MOD R9A09G011_CPERI_GRPG_PCLK>; + clock-names = "csiclk", "pclk"; + resets = <&cpg R9A09G011_CSI_GPG_PRESETN>; + power-domains = <&cpg>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + csi4: spi@a4020200 { + compatible = "renesas,rzv2m-csi"; + reg = <0 0xa4020200 0 0x80>; + interrupts = ; + clocks = <&cpg CPG_MOD R9A09G011_CSI4_CLK>, + <&cpg CPG_MOD R9A09G011_CPERI_GRPH_PCLK>; + clock-names = "csiclk", "pclk"; + resets = <&cpg R9A09G011_CSI_GPH_PRESETN>; + power-domains = <&cpg>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + i2c0: i2c@a4030000 { #address-cells = <1>; #size-cells = <0>; -- 2.34.1