From patchwork Fri Mar 5 05:04:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kishon Vijay Abraham I X-Patchwork-Id: 393462 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp119787jai; Thu, 4 Mar 2021 21:05:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJyFvpWQWEFkBSpBRRV7GeNPXbvA8oG0RI+5woAhb/+bT9wwbayptA53xBCJHHabLMAcAV3W X-Received: by 2002:a05:6e02:12c7:: with SMTP id i7mr7211987ilm.66.1614920702889; Thu, 04 Mar 2021 21:05:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614920702; cv=none; d=google.com; s=arc-20160816; b=KAIuJLK/P2dO1qehClChrscPfcurHdYyhxmYrfn3fUzFxbffu3wXZQPlatKMe/4vkS Qr7R53BhLxnVwKPFfBUfk0ZUOwWuB9DHOEVwjv2eNENllGAigs4fTXtI2aylGS7W5eE7 nm5ZtyEjMZZ0ilfYXDU4d5AjtG1TilbeZ0lY14gV6ytO81uVpildLsdtITA7Zhv0j690 uioqGgd4IqDeawMx0dJ72LRNZ6qdMoibxE/fWuyHAXytQzzXxV3l4euvagF4HsMCEX0n cDys2zyh1rYbZRbDwFWKrDzcpuk3Ijyvybr21UVF6SInuoTnl2HFCzAy1BrgAIislQSx anOw== 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=cFRRHVUthsVwfd3aMPqIPv6sa/7VvM5lUzamiamioSmfcU0H7Ji91Qn1MzaakZYkuT kYZM1BvY3RFePek4JXr8iMeFakxpjMPUYkPdm3QWKHZN2cVWhHD8yoWJdYjRQLXvrM9X 2qhIVI/iQAHgwVNwtzCE8YNwXInF5SDxoiT/qwCQ8dEcJQH5m7+DQE9h547rHT9hj1Fv o7a+FUVi4rJm6KnFo7tj6iyf6HrR1xiW05m6GHHLi+dDs9+gXzgSAzAitMa0QVj6IsXK 13kg+SZu0wgVHql1PdYsudqIKp0p02hPUzao9YgKoH02EqFgddwPilsaSqh5eidczpyE n5mA== 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 devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-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 i16si1431431ioi.40.2021.03.04.21.05.02; Thu, 04 Mar 2021 21:05:02 -0800 (PST) Received-SPF: pass (google.com: domain of devicetree-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 devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-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 S229463AbhCEFFB (ORCPT + 6 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 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: devicetree@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(+) -- 2.17.1 Reviewed-by: Rob Herring 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 ]