Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp10757052rwd; Thu, 22 Jun 2023 04:34:51 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4Shx2bdSy1UrxJRI+9fFqh/PQ9XSA81JWUpvbC+7bk7V4k8XDb3a5VPtgmGPMfsGYPvGDa X-Received: by 2002:a05:6830:1559:b0:6b5:e151:baf5 with SMTP id l25-20020a056830155900b006b5e151baf5mr3024155otp.7.1687433691070; Thu, 22 Jun 2023 04:34:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687433691; cv=none; d=google.com; s=arc-20160816; b=hcd2s7WdVOdp2jTf64clssexNkzra8+kPSgHSjIKvbWOBZn+CKyK/ahHubQnQZ3ZpB 33gG+Iv9PePWt/p1PGXcm50KQq5IzgChfW3ILsC+G6Vqpy/LMQrzT6y9Nk6NwLYV7Zk5 6OoEL6LK0ZRLs1CLNWG0aBlfJrB73Gbei/Gzl9Moj6gfNTFU1btS8UTOwV9ixyHThLf0 x1+OoRn1rroSwUOnYJG3kTTRJ40/YRV76FmvAcOdIykqpbkmGjk/bk5GKfTTKQuOLxvk LDsTotMQSFSR+c5kZ7zWA5IAbHV2JNMv7PjUx/8i5HAdlWUeTUkUzuM9W/r/vr0n8l5u M3aQ== 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=jk/wxWBG6cc9Nyu9o3NUgP1anFMEMq2b7BNII8mv6v4=; b=DBgEfq53qjlQwDimfpb/5Ey2SSn0Pjq97ioiZlkNnMAgcigcuWS4vpfHRdkyvN142C kbptr7xVd+WoiKsKFi6XLzerelrsUBCH5C1/Fx++YSbe2LnJvGzEh+ifF4tgZ9OcYUKU PAVsRhQBMIovlkri56jLgpe6auZ5qTQ8x9ChBlGbyhC8BMQ7ng825c/JxY2lrIGpwEe+ zT1iL7fH1jLdvkqb5bJYMxrJHK90vDeb/0uR3gbim6nDztzQOs/JjBfDrMRcW7Xm8KZ7 EPlWtVWlTGDqfDdiBNgWkfP11qPwM4zy7p3nA1pzoxJU53drohgPB/Xs0R//nxI4HxiH izhA== 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 t7-20020a63b247000000b00553cb7e51e5si6129138pgo.818.2023.06.22.04.34.37; Thu, 22 Jun 2023 04:34:51 -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 S229437AbjFVLeA (ORCPT + 99 others); Thu, 22 Jun 2023 07:34:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229969AbjFVLd6 (ORCPT ); Thu, 22 Jun 2023 07:33:58 -0400 Received: from relmlie5.idc.renesas.com (relmlor1.renesas.com [210.160.252.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id F3B6419A9; Thu, 22 Jun 2023 04:33:56 -0700 (PDT) X-IronPort-AV: E=Sophos;i="6.00,263,1681138800"; d="scan'208";a="164938167" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie5.idc.renesas.com with ESMTP; 22 Jun 2023 20:33:56 +0900 Received: from mulinux.example.org (unknown [10.226.93.117]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id 0370D41E8FE8; Thu, 22 Jun 2023 20:33:51 +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 , Conor Dooley Subject: [PATCH v2 1/5] spi: dt-bindings: Add bindings for RZ/V2M CSI Date: Thu, 22 Jun 2023 12:33:37 +0100 Message-Id: <20230622113341.657842-2-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 Add dt-bindings for the CSI IP found inside the RZ/V2M SoC. Signed-off-by: Fabrizio Castro Reviewed-by: Conor Dooley --- v2: no changes .../bindings/spi/renesas,rzv2m-csi.yaml | 70 +++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 Documentation/devicetree/bindings/spi/renesas,rzv2m-csi.yaml diff --git a/Documentation/devicetree/bindings/spi/renesas,rzv2m-csi.yaml b/Documentation/devicetree/bindings/spi/renesas,rzv2m-csi.yaml new file mode 100644 index 000000000000..e59183e53690 --- /dev/null +++ b/Documentation/devicetree/bindings/spi/renesas,rzv2m-csi.yaml @@ -0,0 +1,70 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/spi/renesas,rzv2m-csi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Renesas RZ/V2M Clocked Serial Interface (CSI) + +maintainers: + - Fabrizio Castro + - Geert Uytterhoeven + +allOf: + - $ref: spi-controller.yaml# + +properties: + compatible: + const: renesas,rzv2m-csi + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + items: + - description: The clock used to generate the output clock (CSICLK) + - description: Internal clock to access the registers (PCLK) + + clock-names: + items: + - const: csiclk + - const: pclk + + resets: + maxItems: 1 + + power-domains: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + - resets + - power-domains + - '#address-cells' + - '#size-cells' + +unevaluatedProperties: false + +examples: + - | + #include + #include + csi4: spi@a4020200 { + compatible = "renesas,rzv2m-csi"; + reg = <0xa4020200 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>; + }; -- 2.34.1