Received: by 2002:a05:6602:2086:0:0:0:0 with SMTP id a6csp4675405ioa; Wed, 27 Apr 2022 08:43:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJynpsvalcslyCcJCZnRHwuuWMD//gLNbl/+yHcZ2X21+ZVqlHOum3MJMnvWsLzzq96OZIGO X-Received: by 2002:a17:903:40cc:b0:15d:2105:dc2 with SMTP id t12-20020a17090340cc00b0015d21050dc2mr13123429pld.167.1651074182144; Wed, 27 Apr 2022 08:43:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651074182; cv=none; d=google.com; s=arc-20160816; b=CYn8oQ6yp5Qmu20cTXBcfDGGeiJzh0j5ODT00PpFDKJ64fIuZwP+ajg/mKaGZa6i1q xDV2zWiMdE3zaFZYc+P9iY7ji6WrVfDi3yLOa2fkjhNOnk+DFMMCs3fi9m2EiG2J1gQV WTiTRRVbzp8/yBOj/dpxUx/5nANVPrXpMJFQEIhVEfW2KkobySxHdq+qDMSOsYdwS+sJ xWZXM+RoV+DESz4skzc6yTCsWguXd/jQBmYLw+sPaHTZ0j+oziRHXOfu/RT8XDGbLjp/ PdF+Efd+3ynwmBWvkzNLpQCVv/AmziVIUIpArFvZ0fyQ8WqwpqA7erTAzap7zKG4Diqv PbMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=CSq7hloyaZtztMIc3JKLh15SfpDxkA3Ch9qSrwZMlKE=; b=wUcfO4Ei9zxfvqEgNxRdxA3rL0/giXkD02vcxl5lJBTY5+DLWeCpxv079vBY71+3ce 39gN99RUm3o3D8Zgp6sxELTzOdsjaxtNTwJ+gL17EYVIcrUzwD6I4cF42lh5AMOgUtug 38mW+JBaB6/vDXQjzSiWIhhZymhV2NC8MKw3N5Wtmru9OzuOzDmMk81ymo6Ad0PS3PvO rSVsf3vGsndypFHkT1nAN+cdJdCHuF4omm9pT/L2ENft33Ygi7ajGpI9/NLgvXXwmPRV wKu3wecc7GtbrVueEkBIdzC4nKe+LxgPhK95PcUh9IkSqUQZ6eJcCDAAB2EvG1Bk/OPB 9zew== 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:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id y6-20020a63e246000000b003c1457bae5asi1834156pgj.369.2022.04.27.08.43.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Apr 2022 08:43:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 09219583A8; Wed, 27 Apr 2022 08:16:20 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239549AbiD0PTX convert rfc822-to-8bit (ORCPT + 99 others); Wed, 27 Apr 2022 11:19:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45994 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239531AbiD0PSp (ORCPT ); Wed, 27 Apr 2022 11:18:45 -0400 Received: from mail-qv1-f50.google.com (mail-qv1-f50.google.com [209.85.219.50]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B30E5839E; Wed, 27 Apr 2022 08:15:29 -0700 (PDT) Received: by mail-qv1-f50.google.com with SMTP id kc16so352647qvb.7; Wed, 27 Apr 2022 08:15:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=7+G8Cf9crq/FmkHAa1hmIN8g6GY3mjT1aMgwO4UslU4=; b=b0OW7JAkegRE3wuNJmjgUNjmYa2T/JOjrT9Es9/UJaOFRkSjzVJVy3FIl8zNDWwTpm rUDcvQohwfebUgaj4QXQCZQS+ttDU5ppMLed/h+2mAj8bm03/daj4rgnvL99S5J2oumT vfmzhOP7Rr8L5LXJEgizeatZwQatn9qUwZ/fmKaQX86/7/LTuLoebJuYv9GdWQAETiC2 i3jaZxgsUQWxDgdOtAV5JaMqZAVsX8sjjL07nfg1gnt8ij/5vn+C/GDDzhiLnCZBcRAS U3evsAP+JHTM7+WVRAQaOurFcT4jf6QMSXChZ0Jbsw5JuLkWyJgh4gi2xilqvihnFvaB 7r7Q== X-Gm-Message-State: AOAM530CRuJzMO1K+YNbs0SuCV0sCb9NZarAfdk6TbdWZf0I0WehIyb3 H+x7iv94FR4vCQ9GCUWIRWbaA3cywhB9pQ== X-Received: by 2002:a05:6214:252b:b0:456:3c2b:c910 with SMTP id gg11-20020a056214252b00b004563c2bc910mr9361804qvb.85.1651072528222; Wed, 27 Apr 2022 08:15:28 -0700 (PDT) Received: from mail-yb1-f176.google.com (mail-yb1-f176.google.com. [209.85.219.176]) by smtp.gmail.com with ESMTPSA id m190-20020a378ac7000000b0069f8d810f16sm890605qkd.85.2022.04.27.08.15.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 27 Apr 2022 08:15:27 -0700 (PDT) Received: by mail-yb1-f176.google.com with SMTP id e12so3920309ybc.11; Wed, 27 Apr 2022 08:15:27 -0700 (PDT) X-Received: by 2002:a25:9e89:0:b0:63c:ad37:a5de with SMTP id p9-20020a259e89000000b0063cad37a5demr26199241ybq.342.1651072527257; Wed, 27 Apr 2022 08:15:27 -0700 (PDT) MIME-Version: 1.0 References: <20220422120850.769480-1-herve.codina@bootlin.com> <20220422120850.769480-3-herve.codina@bootlin.com> In-Reply-To: <20220422120850.769480-3-herve.codina@bootlin.com> From: Geert Uytterhoeven Date: Wed, 27 Apr 2022 17:15:15 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 2/8] dt-bindings: PCI: renesas,pci-rcar-gen2: Add device tree support for r9a06g032 To: Herve Codina Cc: Marek Vasut , Yoshihiro Shimoda , Bjorn Helgaas , Rob Herring , Krzysztof Kozlowski , Magnus Damm , Lorenzo Pieralisi , =?UTF-8?Q?Krzysztof_Wilczy=C5=84ski?= , Rob Herring , linux-pci , Linux-Renesas , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux Kernel Mailing List , Sergey Shtylyov , Thomas Petazzoni , Clement Leger , Miquel Raynal Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE autolearn=no 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 Hi Hervé, On Fri, Apr 22, 2022 at 2:09 PM Herve Codina wrote: > Add internal PCI bridge support for the r9a06g032 SOC. The Renesas > RZ/N1D (R9A06G032) internal PCI bridge is compatible with the one > present in the R-Car Gen2 family. > Compared to the R-Car Gen2 family, it needs three clocks instead of > one. > > Signed-off-by: Herve Codina Thanks for your patch! > --- a/Documentation/devicetree/bindings/pci/renesas,pci-rcar-gen2.yaml > +++ b/Documentation/devicetree/bindings/pci/renesas,pci-rcar-gen2.yaml > @@ -113,6 +113,37 @@ required: > - "#size-cells" > - "#interrupt-cells" > > +if: > + properties: > + compatible: > + contains: > + enum: > + - renesas,pci-rzn1 > + > +then: > + properties: > + clocks: > + items: > + - description: Internal bus clock (AHB) for HOST > + - description: Internal bus clock (AHB) Power Management > + - description: PCI clock for USB subsystem > + clock-names: > + items: > + - const: hclk_usbh > + - const: hclk_usbpm > + - const: clk_pci_usb These are the provider names. I think they should use the consumer names: usb_hclkh, usb_hclkpm, and usb_pciclk. The rest looks good to me. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds