Received: by 2002:a05:6602:2086:0:0:0:0 with SMTP id a6csp3294979ioa; Tue, 26 Apr 2022 00:12:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz0J+/K2Ty8MZBCxenZwCaHVSZt2x6dV96vrihXaqyIO6YlOmT5MaqCrBCkKYF35GQaWPWW X-Received: by 2002:a17:907:72d5:b0:6ec:abf:dc87 with SMTP id du21-20020a17090772d500b006ec0abfdc87mr20230122ejc.120.1650957150372; Tue, 26 Apr 2022 00:12:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650957150; cv=none; d=google.com; s=arc-20160816; b=Cyt2avEm499Mbtk49bMU4rhkY+YSqXxsv8WgoWH5FGeyWp8/c6JpD5dwOCuIwC2q7U xuu/tQKSFh8izNsV3QVaKsAa5Cuq9poKCei6iffbla1ofj9aYmBrVfbQcBlFusMMfgae x81tyRzS81ca/o3Yths3lJa8nrEDRrqXNYsuMShtRzt0pKsfHQkP5+SM7J9KEeCUzn/W 1UC6C5tlOrQmEX7CP7b19s12rfcLUHxVyrp5Bt+f7C/AcElLIjvGAkR2scwhpnZC9wRw xUQKkuiOHHLITSTY1mRMlOVyJTxbJi29h3XfE9Ha/pHhcjEb13MDG6/TD7x81VI+jMzE pyBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=ZdW//RxraTw2qZfvKYaUYqocV5wbYanHsnSZVPgCJtY=; b=hj1GL1g1BU810tI1OHfYiTXbD1wal4cR1vVGHjcyxLCNLGHjQ2Lz3y7FJ2UlYjfkyC iViMHZA3tFLNN1Cy78bgI2VBWuCajmP+Uz/udXjBZsiPPVDxAXga0j8UQJJJoHextXYx rhTgDVNDAVJn72F6MUSc89RNFj/MoN20vGvrMWUtYX3M7b5kVevbmqWN0Wv/nK2qR6Zt 6WMUQtlobUER3N1vDJI+e+vWCsR1aUBSwxFI/E95r0DLEwRaKkRackUHQyMLYaJc3hqN usrmnlDbaxcbJ88aN55HVjIXmlIMJIru8/eE2hF6CW/GaklkPqf31JmcFXnCV6alDLsT skLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ff3YbpHM; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n1-20020a5099c1000000b00425fe4428f9si441898edb.610.2022.04.26.00.12.06; Tue, 26 Apr 2022 00:12:30 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ff3YbpHM; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240607AbiDZAub (ORCPT + 99 others); Mon, 25 Apr 2022 20:50:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40824 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240562AbiDZAua (ORCPT ); Mon, 25 Apr 2022 20:50:30 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E86A88233F; Mon, 25 Apr 2022 17:47:23 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id AB226B81BBD; Tue, 26 Apr 2022 00:47:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6C00CC385BC; Tue, 26 Apr 2022 00:47:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1650934041; bh=kLamuQx/TZ/sNoIRw/5TAxBjveCbRpEZboY1GBz+FsU=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=ff3YbpHMajkkkQd7iGBvfo0jDfSl0+Es3gn64y/jL/MpVBIfCrSI2ej1Bb1CX9Cyj C/wyYFVOu8n8PmRIrl/23O/Sqdm3lKb5PugMl0sQYHUsO9rSI15ZUG7GJaonc3kfpw 0lfX/waaN/3oLyl59rSWdx1VNwSYmRTsKnXYLStxl/SwhQMSIl/f5LLu/JUk//sAhw EL3RV3VwvrFpC85bQVAmoptp6PTvBCiNpoJvr+g7mEL9dVA6NyodDhPornLJEk2EYj 8AootvLdDgj55S7H5PnBAArXtXwPDGUN7F0Ll0htf4vBlMHmB4/m9n04J2DpOHwBX8 cYUyVp+VbqaRA== Received: by mail-pf1-f171.google.com with SMTP id y38so673365pfa.6; Mon, 25 Apr 2022 17:47:21 -0700 (PDT) X-Gm-Message-State: AOAM531Vmxo9QAMLDi691J+p+9N/T/L4YS1zyFweoVCs8drCdPfx81F9 3U2g+HVvZC/+X+g9PabnuwqQl2oi5jIOv25m4Q== X-Received: by 2002:a05:6a00:10d0:b0:4f7:5af4:47b6 with SMTP id d16-20020a056a0010d000b004f75af447b6mr21383086pfu.6.1650934040893; Mon, 25 Apr 2022 17:47:20 -0700 (PDT) MIME-Version: 1.0 References: <20220422120850.769480-1-herve.codina@bootlin.com> <20220422120850.769480-2-herve.codina@bootlin.com> In-Reply-To: From: Rob Herring Date: Mon, 25 Apr 2022 19:47:08 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 1/8] dt-bindings: PCI: pci-rcar-gen2: Convert bindings to json-schema To: Herve Codina Cc: Marek Vasut , Yoshihiro Shimoda , Bjorn Helgaas , Krzysztof Kozlowski , Geert Uytterhoeven , Magnus Damm , Lorenzo Pieralisi , =?UTF-8?Q?Krzysztof_Wilczy=C5=84ski?= , PCI , "open list:MEDIA DRIVERS FOR RENESAS - FCP" , devicetree@vger.kernel.org, "linux-kernel@vger.kernel.org" , Sergey Shtylyov , Thomas Petazzoni , Clement Leger , Miquel Raynal Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 On Mon, Apr 25, 2022 at 7:45 PM Rob Herring wrote: > > On Fri, Apr 22, 2022 at 02:08:43PM +0200, Herve Codina wrote: > > Convert Renesas PCI bridge bindings documentation to json-schema. > > > > Signed-off-by: Herve Codina > > --- > > .../devicetree/bindings/pci/pci-rcar-gen2.txt | 84 ---------- > > .../bindings/pci/renesas,pci-rcar-gen2.yaml | 156 ++++++++++++++++++ > > 2 files changed, 156 insertions(+), 84 deletions(-) > > delete mode 100644 Documentation/devicetree/bindings/pci/pci-rcar-gen2.txt > > create mode 100644 Documentation/devicetree/bindings/pci/renesas,pci-rcar-gen2.yaml > > > diff --git a/Documentation/devicetree/bindings/pci/renesas,pci-rcar-gen2.yaml b/Documentation/devicetree/bindings/pci/renesas,pci-rcar-gen2.yaml > > new file mode 100644 > > index 000000000000..494eb975c146 > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/pci/renesas,pci-rcar-gen2.yaml > > @@ -0,0 +1,156 @@ > > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > > +%YAML 1.2 > > +--- > > +$id: http://devicetree.org/schemas/pci/renesas,pci-rcar-gen2.yaml# > > +$schema: http://devicetree.org/meta-schemas/core.yaml# > > + > > +title: Renesas AHB to PCI bridge > > + > > +maintainers: > > + - Marek Vasut > > + - Yoshihiro Shimoda > > + > > +description: | > > + This is the bridge used internally to connect the USB controllers to the > > + AHB. There is one bridge instance per USB port connected to the internal > > + OHCI and EHCI controllers. > > + > > +allOf: > > + - $ref: /schemas/pci/pci-bus.yaml# > > + > > +properties: > > + compatible: > > + oneOf: > > + - items: > > Don't need oneOf with only 1 entry. Otherwise, Nevermind, I see you need it in the next patch. > > Reviewed-by: Rob Herring > > > + - enum: > > + - renesas,pci-r8a7742 # RZ/G1H > > + - renesas,pci-r8a7743 # RZ/G1M > > + - renesas,pci-r8a7744 # RZ/G1N > > + - renesas,pci-r8a7745 # RZ/G1E > > + - renesas,pci-r8a7790 # R-Car H2 > > + - renesas,pci-r8a7791 # R-Car M2-W > > + - renesas,pci-r8a7793 # R-Car M2-N > > + - renesas,pci-r8a7794 # R-Car E2 > > + - const: renesas,pci-rcar-gen2 # R-Car Gen2 and RZ/G1 > > +