Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp4930717pxb; Tue, 28 Sep 2021 07:10:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxzarmqJGeGf+JbdsUWeD39d8w3ObC9lsd78Fi7VuFlAe1WglMmfVIyNAmhGeOaGGEWN/fD X-Received: by 2002:a17:90a:3b46:: with SMTP id t6mr144554pjf.237.1632838229407; Tue, 28 Sep 2021 07:10:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632838229; cv=none; d=google.com; s=arc-20160816; b=AxNKqJEHdp2yTTfBIhpiypItOKni10owFlZuDmRPghMUBP29fHJwBhw/xYh4iPe9tX 2l26HArCXaqqFFeeEvIJ5Ke6xq5ST69zRm8ztJoEBUpt3bMjY3aOlA2S697msc8yB6B7 FMX5U3OaM7qI6LyKT0W1R/Y4Jl4g9zqDceZqakGNaRl+pg12m7GVhWjZI3O4IqGL8Uzg dNyfMDH6Q4p7HrxuJCOAqcauSls/42sPtwuZksjlswWIluwyKi5Srb4+DcyQRO149Wco LSbXpHoDC1wazk58OhNgsdoqSKW3CHeehd/XWkaV9D6/Rtk4Z7727MUXTpVVRARUNP9L 5JyA== 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=N3MPgarB6ML/wwbOEXVFvZHT4KhzCESbpLZrM2Bigqg=; b=cM1XXLXgk+4bYJIzIPf6URFTkh8uRH05Ft49nXyF0BYI6Ifzc0utriM6nc1Yuy0X1F iFn2RrO51iLe+IPywK2c9UqMfEHtnfzuvnnwSbgCFyxzBzdHmyaOBnRH4B+GrZAT1np5 MDEInoYQRYO9WeVsQOLG82sNgSt+9trd7P4x41v9+Z4SuAJoo2hGmfkKAbwQLqMM6xBF KYNTqky71K18nKqKQDF2ykKaRkJg9eZqf9tYgd2afty8eIlkW21aB/qFOj6w3VmGRRYX eJGBvAT21l2VtCvGAHR291K/JZWpoXyy0hUxRzG8L0e9gLzFfdbSxd2Bi11mrg1dwigl YhYw== 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 h128si15223073pfb.155.2021.09.28.07.10.11; Tue, 28 Sep 2021 07:10:29 -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 S241061AbhI1OJR (ORCPT + 99 others); Tue, 28 Sep 2021 10:09:17 -0400 Received: from relmlor1.renesas.com ([210.160.252.171]:28704 "EHLO relmlie5.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S241026AbhI1OJQ (ORCPT ); Tue, 28 Sep 2021 10:09:16 -0400 X-IronPort-AV: E=Sophos;i="5.85,329,1624287600"; d="scan'208";a="95295281" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie5.idc.renesas.com with ESMTP; 28 Sep 2021 23:07:36 +0900 Received: from localhost.localdomain (unknown [10.226.36.204]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 92C864007535; Tue, 28 Sep 2021 23:07:32 +0900 (JST) From: Lad Prabhakar To: Krzysztof Kozlowski , Rob Herring , Geert Uytterhoeven , Vignesh Raghavendra , Miquel Raynal , Richard Weinberger , Mark Brown , Philipp Zabel , Sergei Shtylyov , devicetree@vger.kernel.org, linux-mtd@lists.infradead.org, linux-spi@vger.kernel.org, Wolfram Sang Cc: linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Prabhakar , Biju Das , Lad Prabhakar Subject: [PATCH 1/6] dt-bindings: memory: renesas,rpc-if: Add support for the R9A07G044 Date: Tue, 28 Sep 2021 15:07:16 +0100 Message-Id: <20210928140721.8805-2-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210928140721.8805-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20210928140721.8805-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 --- .../memory-controllers/renesas,rpc-if.yaml | 51 ++++++++++++++----- 1 file changed, 37 insertions(+), 14 deletions(-) diff --git a/Documentation/devicetree/bindings/memory-controllers/renesas,rpc-if.yaml b/Documentation/devicetree/bindings/memory-controllers/renesas,rpc-if.yaml index d25072c414e4..105b5157989b 100644 --- a/Documentation/devicetree/bindings/memory-controllers/renesas,rpc-if.yaml +++ b/Documentation/devicetree/bindings/memory-controllers/renesas,rpc-if.yaml @@ -24,16 +24,22 @@ 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 - - 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 + - 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: @@ -47,8 +53,7 @@ properties: - const: dirmap - const: wbuf - clocks: - maxItems: 1 + clocks: true power-domains: maxItems: 1 @@ -66,8 +71,6 @@ patternProperties: - cfi-flash - jedec,spi-nor -unevaluatedProperties: false - required: - compatible - reg @@ -78,6 +81,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