Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp568995pxb; Mon, 25 Oct 2021 13:59:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyEiIDHdeKPsQQCXfimZ9Nx4SZPmNxpMuIdItTApyJthoMla2vYqXBQf+b51Ro6yXF5DwlO X-Received: by 2002:a05:6a00:1946:b0:44d:8136:a4a4 with SMTP id s6-20020a056a00194600b0044d8136a4a4mr21137419pfk.46.1635195554417; Mon, 25 Oct 2021 13:59:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635195554; cv=none; d=google.com; s=arc-20160816; b=e5vx9cCkCq7D+0TiC+pARpN4Jbd7jmchNTGY7zOSnOI+soxeMwxSn922+vMtgS0/tT ciUEWpCARpdbqNy2NU6J2QkZWV8/c9Wl8WrjOwBAFg+jlEDYru7Qnzmq3nAZW45wtyDB iz7n6hig/nV4z0J7N9flJLVUMvc0XBAUClbwkthkhlwPmmbYQWfkmABcXfSM2AxNwpP3 hrk92ItJI/n33Gly8QhWSbzVAuf3zy+hOjUFbXCVJLB7iAGuYyZDcS3iOAf+5k0otoKP sgJ5e+TaIeEKz8OVexlTCHYg8B579zI5O+wIeq0Vn6MitPLjJM8X99ThkOYiilLopPvh IuSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=IfHqageOuZAzywhIt6RJp7RQCYNUhFY5D+2FKNz9MJM=; b=d4VML9dkCTMTFdYQ+6+LFvpv0CBoSFp8y74AQnTp/iVBd7QrK+DQYUQlfymUnEr3aS 6eW+F4C06RzPXs7h3pacDoNelrCFM7v+RkmAIBkqkTSgsycbQR2XOlAtc4draIjhwL4Y wVAnbw2i7UVO8MMPEckIFLtQXrUirk0j7/HwuDK0G6I2n8wCqH23UU8wAewaBAQ+7oRA eiuAj1YBewB76pIqxpmBY0vcNFiX6toyYyiuM23L/5+/lyqtZSyqjqEhkymwDdawsLBH Wfh8hzy/gpdIbZ1+hY2Q/qJEJaqmQ3Dj6Z6Xc7DOZWG5GfLixAFvEemESr3cNj1ujEY/ swlA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id rm12si20839950pjb.48.2021.10.25.13.59.02; Mon, 25 Oct 2021 13:59:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234552AbhJYU7H (ORCPT + 99 others); Mon, 25 Oct 2021 16:59:07 -0400 Received: from relmlor2.renesas.com ([210.160.252.172]:33583 "EHLO relmlie6.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S234494AbhJYU7G (ORCPT ); Mon, 25 Oct 2021 16:59:06 -0400 X-IronPort-AV: E=Sophos;i="5.87,181,1631545200"; d="scan'208";a="98385686" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie6.idc.renesas.com with ESMTP; 26 Oct 2021 05:56:42 +0900 Received: from localhost.localdomain (unknown [10.226.36.204]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id 5E61C41003BB; Tue, 26 Oct 2021 05:56:39 +0900 (JST) From: Lad Prabhakar To: Krzysztof Kozlowski , Rob Herring , Vignesh Raghavendra , Miquel Raynal , Richard Weinberger , Mark Brown , Philipp Zabel , Geert Uytterhoeven , Wolfram Sang , Sergei Shtylyov Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, linux-spi@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Prabhakar , Biju Das , Lad Prabhakar Subject: [PATCH v2 1/7] dt-bindings: memory: renesas,rpc-if: Add support for the R9A07G044 Date: Mon, 25 Oct 2021 21:56:25 +0100 Message-Id: <20211025205631.21151-2-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20211025205631.21151-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20211025205631.21151-1-prabhakar.mahadev-lad.rj@bp.renesas.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SPI Multi I/O Bus Controller on RZ/G2L SoC is almost identical to the RPC-IF interface found on R-Car Gen3 SoC's. This patch adds a new compatible string to identify the RZ/G2L family so that the timing values on RZ/G2L can be adjusted. Signed-off-by: Lad Prabhakar Reviewed-by: Biju Das Reviewed-by: Rob Herring Reviewed-by: Geert Uytterhoeven --- v1->v2: * Rebased patch on top of V3U bindings * Included RB tags --- .../memory-controllers/renesas,rpc-if.yaml | 53 +++++++++++++------ 1 file changed, 38 insertions(+), 15 deletions(-) diff --git a/Documentation/devicetree/bindings/memory-controllers/renesas,rpc-if.yaml b/Documentation/devicetree/bindings/memory-controllers/renesas,rpc-if.yaml index 9da80e8f2444..43391a2d5bc5 100644 --- a/Documentation/devicetree/bindings/memory-controllers/renesas,rpc-if.yaml +++ b/Documentation/devicetree/bindings/memory-controllers/renesas,rpc-if.yaml @@ -24,17 +24,23 @@ allOf: properties: compatible: - items: - - enum: - - renesas,r8a774a1-rpc-if # RZ/G2M - - renesas,r8a774b1-rpc-if # RZ/G2N - - renesas,r8a774c0-rpc-if # RZ/G2E - - renesas,r8a774e1-rpc-if # RZ/G2H - - renesas,r8a77970-rpc-if # R-Car V3M - - renesas,r8a77980-rpc-if # R-Car V3H - - renesas,r8a77995-rpc-if # R-Car D3 - - renesas,r8a779a0-rpc-if # R-Car V3U - - const: renesas,rcar-gen3-rpc-if # a generic R-Car gen3 or RZ/G2 device + oneOf: + - items: + - enum: + - renesas,r8a774a1-rpc-if # RZ/G2M + - renesas,r8a774b1-rpc-if # RZ/G2N + - renesas,r8a774c0-rpc-if # RZ/G2E + - renesas,r8a774e1-rpc-if # RZ/G2H + - renesas,r8a77970-rpc-if # R-Car V3M + - renesas,r8a77980-rpc-if # R-Car V3H + - renesas,r8a77995-rpc-if # R-Car D3 + - renesas,r8a779a0-rpc-if # R-Car V3U + - const: renesas,rcar-gen3-rpc-if # a generic R-Car gen3 or RZ/G2{E,H,M,N} device + + - items: + - enum: + - renesas,r9a07g044-rpc-if # RZ/G2{L,LC} + - const: renesas,rzg2l-rpc-if # RZ/G2L family reg: items: @@ -48,8 +54,7 @@ properties: - const: dirmap - const: wbuf - clocks: - maxItems: 1 + clocks: true power-domains: maxItems: 1 @@ -67,8 +72,6 @@ patternProperties: - cfi-flash - jedec,spi-nor -unevaluatedProperties: false - required: - compatible - reg @@ -79,6 +82,26 @@ required: - '#address-cells' - '#size-cells' +if: + properties: + compatible: + contains: + enum: + - renesas,rzg2l-rpc-if +then: + properties: + clocks: + items: + - description: SPI Multi IO Register access clock (SPI_CLK2) + - description: SPI Multi IO Main clock (SPI_CLK). + +else: + properties: + clocks: + maxItems: 1 + +unevaluatedProperties: false + examples: - | #include -- 2.17.1