From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.0 required=3.0 tests=BAYES_00,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0C49DC4332B for ; Mon, 8 Mar 2021 21:50:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D3F926527B for ; Mon, 8 Mar 2021 21:50:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230063AbhCHVuZ (ORCPT ); Mon, 8 Mar 2021 16:50:25 -0500 Received: from mail-io1-f44.google.com ([209.85.166.44]:36104 "EHLO mail-io1-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230169AbhCHVty (ORCPT ); Mon, 8 Mar 2021 16:49:54 -0500 Received: by mail-io1-f44.google.com with SMTP id n14so11687154iog.3; Mon, 08 Mar 2021 13:49:53 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=Aopk2xA4zD/bXMuGz7qZQmTI9QDAmCg2/YOh8hW5b/0=; b=UtwLhXfV2cse5r8/G6vm2VCOSGyUPJULNDJXbSg0vvd+yt0zwroAt7SSsiU66gD0QT IgdKoWuMlTTTHWwB01AfCZWRtyuDjFGGMV7SdAogDu8NViSsFheXiX4RNLd80I05uaPU 2od1XgmVAoZO/FvMEsvlo3R8OCeJcxhuGakaGN+kgyp0AW2vakAWQb7jliOa5A32uIZq 4M2Ur7lIvNyk0V0c3YF6wufGsfHuMSwKKLC1tEo4K3OGgYn6ZqIpFOaiFB0KZNqO/Uwg pxJg9Xs3FnQNOFoxnhn7B0r9vez6LrdaTHOEbthgpnYQ94iRlhykI8H0MRwBk0KCE5qp kgoQ== X-Gm-Message-State: AOAM532jdhWv80QwLGAjLfE9qtTdtn5mlGPKNQKhDETjBizyGT7RPJDP X/CvM9HU4EXOjJldvFUVGg== X-Google-Smtp-Source: ABdhPJz4X8nedqPUFZXhmT/nr+nyG6cyHJpqU/AUG5gmHwFE1jAgJvvym0gu44LweRh8c7GRY2E0Ig== X-Received: by 2002:a05:6602:2497:: with SMTP id g23mr20165160ioe.22.1615240193189; Mon, 08 Mar 2021 13:49:53 -0800 (PST) Received: from robh.at.kernel.org ([64.188.179.253]) by smtp.gmail.com with ESMTPSA id k8sm6514522ilu.4.2021.03.08.13.49.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Mar 2021 13:49:52 -0800 (PST) Received: (nullmailer pid 3014339 invoked by uid 1000); Mon, 08 Mar 2021 21:49:50 -0000 Date: Mon, 8 Mar 2021 14:49:50 -0700 From: Rob Herring To: Kishon Vijay Abraham I Cc: Lorenzo Pieralisi , Bjorn Helgaas , Jonathan Corbet , Arnd Bergmann , Tom Joseph , Jingoo Han , Gustavo Pimentel , Marek Vasut , Yoshihiro Shimoda , Shawn Lin , Heiko Stuebner , Nadeem Athani , Greg Kroah-Hartman , linux-pci@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-renesas-soc@vger.kernel.org, linux-rockchip@lists.infradead.org, Lokesh Vutla Subject: Re: [PATCH v3 1/7] dt-bindings: PCI: pci-ep: Add binding to specify virtual function Message-ID: <20210308214950.GA3010566@robh.at.kernel.org> References: <20210305050410.9201-1-kishon@ti.com> <20210305050410.9201-2-kishon@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210305050410.9201-2-kishon@ti.com> Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org On Fri, Mar 05, 2021 at 10:34:04AM +0530, Kishon Vijay Abraham I wrote: > Add binding to specify virtual function (associated with each physical > function) in endpoint mode. > > Signed-off-by: Kishon Vijay Abraham I > --- > Documentation/devicetree/bindings/pci/pci-ep.yaml | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/Documentation/devicetree/bindings/pci/pci-ep.yaml b/Documentation/devicetree/bindings/pci/pci-ep.yaml > index 7847bbcd4a03..b8d5406f94ce 100644 > --- a/Documentation/devicetree/bindings/pci/pci-ep.yaml > +++ b/Documentation/devicetree/bindings/pci/pci-ep.yaml > @@ -23,6 +23,15 @@ properties: > default: 1 > maximum: 255 > > + max-virtual-functions: > + description: Array representing the number of virtual functions corresponding to each physical > + function > + $ref: /schemas/types.yaml#/definitions/uint8-array > + minItems: 1 > + maxItems: 255 > + items: > + maximum: 255 No need for maximum, as that is already the case for uint8. With that dropped, Reviewed-by: Rob Herring