Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp6465520rwb; Wed, 18 Jan 2023 05:39:19 -0800 (PST) X-Google-Smtp-Source: AMrXdXszgTSEnuksV0sZ4MXA2d1Ue0bCGEAOl60dVBp+R40XFgy0P+IfMTzN3UR8jWzuJLf5omjF X-Received: by 2002:a17:907:6294:b0:86a:1afa:6dd8 with SMTP id nd20-20020a170907629400b0086a1afa6dd8mr29606848ejc.69.1674049159712; Wed, 18 Jan 2023 05:39:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674049159; cv=none; d=google.com; s=arc-20160816; b=jpmHkPigUAtaFGTyC+/wIcL4oPkpxjcrK8DeQh5MGQO9jBzrHi4drVSNbBv/poh9qV sAYIOQFPp7aorshJUrssdXLGvF2lPQmZQ9aOZ5eTG7JbF8oQvxY/CNB08byJSr1nfWGy 5iDfsJgCTivPgaKYraW/o7ukXSUYVyoHwhiAbkYQRntT0qel2kwthQANuGMUDps/eX8P ogXlOGjFaRVLcR41+GErXJK1AI2SRaPSA/rVLnAJSHKjfq9FQlc1lQkWyIeFoFmChdCG cDfyyUxbG4M3SnzcUZa+nflXkL9EOFGAOC1QvP9Ba3OJ7mVj9YIaYb+KjrMnKqTy/D14 KgMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=YAqElOXhzT46KPkEsmhZokUdEmoR/hwjHhCnO56UkJM=; b=HRFiQLtEiambNSftVvzKfY52DXSccKrNxdLRDx01232CGF4p6E6h6rJR/HcJihjjGP xaCYCZOOpSsYDJltF+Cx5pakmGmVQL1cAy1oR5LOP1gIZQ+LmmVbInXjlEay58Z/1gbT uGlBUqBQxPCDDkKBHlcBdovsZtoBn8rx0fu0UWDWPmmluQJE2yT/1naTcAvm1S7W9HKA Iw9asFF6GoKzxKa2OX6ipJNzys+vN/NupinNDs4EbjL+XQr/X7tVsxFnegJiazeDxFx7 VPA5WG+XT+ddn9e9RSaMWNTeqec6R2xQhKGKW7hpCJb6FBliB9Huc1KX3O4Xg/vmU7GX IwGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Dp7R+4jQ; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cs12-20020a170906dc8c00b0085ca2799671si8080572ejc.136.2023.01.18.05.39.08; Wed, 18 Jan 2023 05:39:19 -0800 (PST) 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; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Dp7R+4jQ; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230037AbjARNdq (ORCPT + 45 others); Wed, 18 Jan 2023 08:33:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34466 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229754AbjARNc7 (ORCPT ); Wed, 18 Jan 2023 08:32:59 -0500 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3362A86EF2; Wed, 18 Jan 2023 04:59:59 -0800 (PST) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 30ICxitP042744; Wed, 18 Jan 2023 06:59:44 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1674046784; bh=YAqElOXhzT46KPkEsmhZokUdEmoR/hwjHhCnO56UkJM=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=Dp7R+4jQIW9e6WWWftVyi4cM321cjRQrW4R7D6v10+MAnfABll4KDePvldlHDY5NA pqUw10Olr6+4JuMG61udvqw8dItSxqjePgwVgwJuhZgqkmU9GiQi5uM/CWyh1mx/Z5 Ofmg2/jItI3eTD+dFUEahFhWE6pCZo1OCyTwdZHg= Received: from DLEE107.ent.ti.com (dlee107.ent.ti.com [157.170.170.37]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 30ICxix2041234 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 18 Jan 2023 06:59:44 -0600 Received: from DLEE107.ent.ti.com (157.170.170.37) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Wed, 18 Jan 2023 06:59:43 -0600 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16 via Frontend Transport; Wed, 18 Jan 2023 06:59:43 -0600 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 30ICxhfZ003323; Wed, 18 Jan 2023 06:59:43 -0600 From: Achal Verma To: , , , , , , , , , , , CC: , , , Subject: [PATCH v8 4/5] dt-bindings: PCI: ti,j721e-pci-*: add j784s4-pci-* compatible strings Date: Wed, 18 Jan 2023 18:29:35 +0530 Message-ID: <20230118125936.3456716-5-a-verma1@ti.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230118125936.3456716-1-a-verma1@ti.com> References: <20230118125936.3456716-1-a-verma1@ti.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS autolearn=ham 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 From: Matt Ranostay Add definition for j784s4-pci-ep + j784s4-pci-host devices along with schema checks for num-lanes. Signed-off-by: Matt Ranostay Acked-by: Krzysztof Kozlowski Signed-off-by: Achal Verma --- .../devicetree/bindings/pci/ti,j721e-pci-ep.yaml | 12 ++++++++++++ .../devicetree/bindings/pci/ti,j721e-pci-host.yaml | 12 ++++++++++++ 2 files changed, 24 insertions(+) diff --git a/Documentation/devicetree/bindings/pci/ti,j721e-pci-ep.yaml b/Documentation/devicetree/bindings/pci/ti,j721e-pci-ep.yaml index 403cd3ef1177..0c93832e381b 100644 --- a/Documentation/devicetree/bindings/pci/ti,j721e-pci-ep.yaml +++ b/Documentation/devicetree/bindings/pci/ti,j721e-pci-ep.yaml @@ -14,6 +14,7 @@ properties: compatible: oneOf: - const: ti,j721e-pcie-ep + - const: ti,j784s4-pcie-ep - description: PCIe EP controller in AM64 items: - const: ti,am64-pcie-ep @@ -87,6 +88,17 @@ allOf: minimum: 1 maximum: 2 + - if: + properties: + compatible: + enum: + - ti,j784s4-pcie-ep + then: + properties: + num-lanes: + minimum: 1 + maximum: 4 + required: - compatible - reg diff --git a/Documentation/devicetree/bindings/pci/ti,j721e-pci-host.yaml b/Documentation/devicetree/bindings/pci/ti,j721e-pci-host.yaml index 7bd78cfca845..6b1521c6b607 100644 --- a/Documentation/devicetree/bindings/pci/ti,j721e-pci-host.yaml +++ b/Documentation/devicetree/bindings/pci/ti,j721e-pci-host.yaml @@ -14,6 +14,7 @@ properties: compatible: oneOf: - const: ti,j721e-pcie-host + - const: ti,j784s4-pcie-host - description: PCIe controller in AM64 items: - const: ti,am64-pcie-host @@ -120,6 +121,17 @@ allOf: minimum: 1 maximum: 2 + - if: + properties: + compatible: + enum: + - ti,j784s4-pcie-host + then: + properties: + num-lanes: + minimum: 1 + maximum: 4 + required: - compatible - reg -- 2.25.1