Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp1473576pxb; Thu, 14 Apr 2022 07:03:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw0zqant0hZ8ZJczd7WOVvJ2/qQjzYwSajsaS9bfClOILYsD2LkIfllZrxZO4pJUvuqyIAp X-Received: by 2002:a17:907:7f08:b0:6e8:b005:5f4e with SMTP id qf8-20020a1709077f0800b006e8b0055f4emr2518062ejc.177.1649944997904; Thu, 14 Apr 2022 07:03:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649944997; cv=none; d=google.com; s=arc-20160816; b=ylH4ZT62/w917qha23aLlS3RhLjTvo35OhZp9WdFJ8u7iGNQ5KGZjBG5WpumNDKUjH M7/RAaW1FTEbmbI4k7e25AqlEpqlb7zQPp69IQuXQtw9ZKG//hvpzO8fbiN8z3dqUg5I 1qckjLupTeBGMi3krcpl6vFpbzM+A7CsULbma9rjj5dF7qKxMZLYNqEgqJNDz1iy+dLZ 3tygAFEA6ixPtGSW7+wSIvBnoP8tzI1+Cg1/sd9zjT4xayKYwbGKA7/3TYY7Df9NAI4i UH+PgtRhFf0LqGwbGjiwkgJf/hx+VeWQzkkVwXDi4L/Nzx89y2Bmjx+A+BYKp13OJaLG pIDA== 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=kHra5WY9snHr3OHHSmiY/DJ5ni4qGEOZhjliluSyCLM=; b=zRx7sfKvPOa1U+ysu+Zl/XS+XXkQYWwmqIneWSvHM5Iq7UwIV/O4pOp2+3hBxiHPbd 3a0fGwQafgdrFJ2CH8Z8BDzZjcgnJWRW3dMBeez9i3i0WGhZX653kD7ykhe/U6L9YpAj 9dmL9kPcsTvDRM/HWQQq3w7CjxFNTeqM16C8A8RHQXJXDa2ZXNQ0gAGbyi/qLYn0YJiH 75l4I5pri/pRKxP4eE9fETAOAj/2/MWkRPWFtTOPS7zW42ioC2kIJI5P4lwPTAzcIGhW 4sGpfr5oGLOw57rWXoGT2Fl6Ahbo2tDesRvhAjWjJwM8RqF6fH4A5I6O970DoDI0/Psz 6rpQ== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s6-20020a508d06000000b0041d59377dc2si3907263eds.324.2022.04.14.07.02.50; Thu, 14 Apr 2022 07:03:17 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237184AbiDNIhz convert rfc822-to-8bit (ORCPT + 99 others); Thu, 14 Apr 2022 04:37:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43126 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241040AbiDNIho (ORCPT ); Thu, 14 Apr 2022 04:37:44 -0400 Received: from mail-qv1-f51.google.com (mail-qv1-f51.google.com [209.85.219.51]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE4ED1D0D8; Thu, 14 Apr 2022 01:35:20 -0700 (PDT) Received: by mail-qv1-f51.google.com with SMTP id b17so3513160qvp.6; Thu, 14 Apr 2022 01:35:20 -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=p4JDMOvhMVC+O6GBKDBlCsUXasEj3WV+5nDchlig3M8=; b=2kfGsVicDD05YiP7NBTKcddSbwF0SgSV6JukDMd+jDQlhaQ8KQ0vr3c1kefvzoo6v8 sFhn64MfXMr1HMIi5HlaqpM2njwf1dBuuGp0EKlNxRt9Jql2fp7A3e6T2tlZDena02hJ 5tnhra3Gl9PA2RhaWNPQidA60V2cAQxG3intWqLTcXRBzGhLcsttNaIE29fcRv2lCYh1 K245zzRZovfnbC/SijjszuslUOam6hIHg/ZFouyFRoMqAQejQk4DzxHW6ag49u1tewG5 SPbj+CzxBljIbHaOD5PeLvqsjTi7DcJB1tpJHYnqpLliiVPVNc9uBzGnCON28OWC4Zls SnLg== X-Gm-Message-State: AOAM5301qWL2iD+da5J5CMnf2EsNHjqsmL9QUb+tzh8SfLHvy5Sd2X0N SkCaLnSfCQmgodl4aIBkByEGf9JpMUJY4Q== X-Received: by 2002:a0c:9064:0:b0:444:45a3:4b1d with SMTP id o91-20020a0c9064000000b0044445a34b1dmr2263970qvo.88.1649925319649; Thu, 14 Apr 2022 01:35:19 -0700 (PDT) Received: from mail-yb1-f170.google.com (mail-yb1-f170.google.com. [209.85.219.170]) by smtp.gmail.com with ESMTPSA id t7-20020a05622a01c700b002e1b3555c2fsm832484qtw.26.2022.04.14.01.35.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 14 Apr 2022 01:35:19 -0700 (PDT) Received: by mail-yb1-f170.google.com with SMTP id i20so8138816ybj.7; Thu, 14 Apr 2022 01:35:18 -0700 (PDT) X-Received: by 2002:a05:6902:72b:b0:641:c2d1:d01a with SMTP id l11-20020a056902072b00b00641c2d1d01amr1080702ybt.6.1649925318481; Thu, 14 Apr 2022 01:35:18 -0700 (PDT) MIME-Version: 1.0 References: <20220414074011.500533-1-herve.codina@bootlin.com> <20220414074011.500533-4-herve.codina@bootlin.com> In-Reply-To: <20220414074011.500533-4-herve.codina@bootlin.com> From: Geert Uytterhoeven Date: Thu, 14 Apr 2022 10:35:07 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 3/8] dt-bindings: PCI: renesas-pci-usb: Allow multiple clocks To: Herve Codina Cc: Marek Vasut , Yoshihiro Shimoda , Bjorn Helgaas , Rob Herring , Krzysztof Kozlowski , Geert Uytterhoeven , 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.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 Thu, Apr 14, 2022 at 9:40 AM Herve Codina wrote: > Define that multiple clocks can be present at clocks property. > > Signed-off-by: Herve Codina Thanks for your patch! > --- a/Documentation/devicetree/bindings/pci/renesas,pci-usb.yaml > +++ b/Documentation/devicetree/bindings/pci/renesas,pci-usb.yaml > @@ -54,7 +54,8 @@ properties: > Standard property that helps to define the interrupt mapping. > > clocks: > - description: The reference to the device clock. > + description: > + The references to the device clocks (several clocks can be referenced). Please describe the clocks, and add the missing "clock-names" property. > > bus-range: > description: | I think it would be better to combine this with [PATCH v2 4/8], as the additional clocks are only present on RZ/N1. Then you can easily add json-schema logic to enforce the correct number of clocks, depending on the compatible value. 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