Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1743297pxb; Thu, 4 Mar 2021 21:05:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJwTeMoZC8+rtE1t3VLtwn6V4GLDya4h7xluL1O9AHLh7f82+GfRunRv7xhzQM0A7Ft1nriu X-Received: by 2002:a17:906:584e:: with SMTP id h14mr782215ejs.332.1614920751992; Thu, 04 Mar 2021 21:05:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614920751; cv=none; d=google.com; s=arc-20160816; b=Vf+YNjc2Q5v8gyYv8wb/UHKr+Lg1TfJZHmnAXSb/RZfMiYofpq9DhMGcBY2V3u84nK jBFnvTs5yJ/JlD9AjQZkAwOxmuVWFb1KEr2WKqLilqctFpbHPNzTyNYCz63W9U8oKAP9 oBoj2IZk6urmeniu7uTatFPkVa36iiqxWab4k92jC/e+xPSA0g8LbuCETmqs7863sR+k /jLavE0xFEBA+pBdbZJyZSU3jXH0IPAGuzVJBd/Fg4780KMZS6sm3OADLzozM2r+ap75 +okWGQxnzXZ0VhFisYHLAfXolhN45qANVx1sIIjLrNkEUGKwG7fK0rm1Up13U+YPer17 UJnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=w6tZP2V+r5iKOV+iy1/hmTi0eY5ezHND+e/HvmQjIrs=; b=aFJ9U44Dxl5jOldrdDXJnnNdcj/toiQ0e94qzd8JlaViorMF40+WgXxYFaJfgD4XZO eesM+5NWY2ZZcFHDq1gRRMnVIw+nT1F2sJCDUpsa3iit6HgQXXKabiKsEdlHKZk1KQ2s 2awvqJKFENa9nDMoo6x4zIAtVjF4nITAL2LgO0I9AqBD620Wck0y8dXui/BH5oQDvHge iBe6I0KvYw4XRPrPKbyYsSgE51tmIHmRyr5TpsIebK6JUAIfnTBL1naDYcF0knSFNsBL 99nZTi9qcJ8XPdKsGorss0s1hGtJbY9+ZvVKFgfFRcXPAbSit+LVLsf9hu9JYpRyPZpI iczA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=n4Clno3O; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d2si755144ejz.77.2021.03.04.21.05.28; Thu, 04 Mar 2021 21:05:51 -0800 (PST) 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; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=n4Clno3O; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229489AbhCEFFB (ORCPT + 99 others); Fri, 5 Mar 2021 00:05:01 -0500 Received: from fllv0015.ext.ti.com ([198.47.19.141]:41000 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229446AbhCEFFB (ORCPT ); Fri, 5 Mar 2021 00:05:01 -0500 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 12554UjW125217; Thu, 4 Mar 2021 23:04:30 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1614920670; bh=w6tZP2V+r5iKOV+iy1/hmTi0eY5ezHND+e/HvmQjIrs=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=n4Clno3OPsL3v4Lqfh6UVU0oDU4WnsbkFZ2wOBBoU52hXECNcUf25Fkc2W/e4FSPr 6DRHP1eHyseJvnAvF27dBZVJFIjDhLNlRHPWxFzvl4TEdzD9N4gZ0QHJdmFooxQgzD CPGEcrqvljAtbh8YuOIgDpDFrVXfUbptMy5lay4c= Received: from DLEE102.ent.ti.com (dlee102.ent.ti.com [157.170.170.32]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 12554UmM103373 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 4 Mar 2021 23:04:30 -0600 Received: from DLEE106.ent.ti.com (157.170.170.36) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Thu, 4 Mar 2021 23:04:29 -0600 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE106.ent.ti.com (157.170.170.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3 via Frontend Transport; Thu, 4 Mar 2021 23:04:29 -0600 Received: from a0393678-ssd.dhcp.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 12554D96116197; Thu, 4 Mar 2021 23:04:22 -0600 From: Kishon Vijay Abraham I To: Kishon Vijay Abraham I , Lorenzo Pieralisi , Bjorn Helgaas , Jonathan Corbet , Rob Herring , Arnd Bergmann , Tom Joseph , Jingoo Han , Gustavo Pimentel , Marek Vasut , Yoshihiro Shimoda , Shawn Lin , Heiko Stuebner , Nadeem Athani CC: Greg Kroah-Hartman , , , , , , , , Lokesh Vutla Subject: [PATCH v3 1/7] dt-bindings: PCI: pci-ep: Add binding to specify virtual function Date: Fri, 5 Mar 2021 10:34:04 +0530 Message-ID: <20210305050410.9201-2-kishon@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210305050410.9201-1-kishon@ti.com> References: <20210305050410.9201-1-kishon@ti.com> MIME-Version: 1.0 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 + max-link-speed: $ref: /schemas/types.yaml#/definitions/uint32 enum: [ 1, 2, 3, 4 ] -- 2.17.1