From patchwork Tue May 22 13:32:32 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alan Douglas X-Patchwork-Id: 10418679 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 4A44560224 for ; Tue, 22 May 2018 13:33:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3ADFD20182 for ; Tue, 22 May 2018 13:33:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2F455205FD; Tue, 22 May 2018 13:33:19 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8465C20182 for ; Tue, 22 May 2018 13:33:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751277AbeEVNdR (ORCPT ); Tue, 22 May 2018 09:33:17 -0400 Received: from mail-sn1nam01on0085.outbound.protection.outlook.com ([104.47.32.85]:59584 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751214AbeEVNdP (ORCPT ); Tue, 22 May 2018 09:33:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cadence.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FAUS47lphVeBcLGkjf54Gp0DIlOn4AyiSzvLXMEjvHY=; b=fJrz9mSrCp5O1HmyJt85m3bhzRU/yHP/xVCjAiToz2qz8ioWlHwXuXT5P0kry4EicVoI3w6omqPAtjC+gCAoXvUNT4Q1eod3wY4nLxsliwWQlJ55r+CEqJq5GeRkjlZU+6gnnI3unB0mqmGFf2o0bN4PlMmxNUQMLsdNRJCty58= Received: from DM5PR07CA0057.namprd07.prod.outlook.com (2603:10b6:4:ad::22) by SN4PR0701MB3677.namprd07.prod.outlook.com (2603:10b6:803:4d::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.776.16; Tue, 22 May 2018 13:33:13 +0000 Received: from BY2NAM05FT028.eop-nam05.prod.protection.outlook.com (2a01:111:f400:7e52::206) by DM5PR07CA0057.outlook.office365.com (2603:10b6:4:ad::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.776.16 via Frontend Transport; Tue, 22 May 2018 13:33:13 +0000 Authentication-Results: spf=softfail (sender IP is 158.140.1.28) smtp.mailfrom=cadence.com; arm.com; dkim=none (message not signed) header.d=none; arm.com; dmarc=fail action=none header.from=cadence.com; Received-SPF: SoftFail (protection.outlook.com: domain of transitioning cadence.com discourages use of 158.140.1.28 as permitted sender) Received: from sjmaillnx1.cadence.com (158.140.1.28) by BY2NAM05FT028.mail.protection.outlook.com (10.152.100.165) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.20.797.3 via Frontend Transport; Tue, 22 May 2018 13:33:12 +0000 Received: from maileu3.global.cadence.com (maileu3.cadence.com [10.160.88.99]) by sjmaillnx1.cadence.com (8.14.4/8.14.4) with ESMTP id w4MDXAoV020710 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Tue, 22 May 2018 06:33:12 -0700 X-CrossPremisesHeadersFilteredBySendConnector: maileu3.global.cadence.com Received: from maileu3.global.cadence.com (10.160.88.99) by maileu3.global.cadence.com (10.160.88.99) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Tue, 22 May 2018 15:33:19 +0200 Received: from lvloginb.cadence.com (10.165.177.11) by maileu3.global.cadence.com (10.160.88.99) with Microsoft SMTP Server id 15.0.1367.3 via Frontend Transport; Tue, 22 May 2018 15:33:19 +0200 Received: from lvloginb.cadence.com (localhost [127.0.0.1]) by lvloginb.cadence.com (8.14.4/8.14.4) with ESMTP id w4MDX9OZ023678; Tue, 22 May 2018 14:33:09 +0100 Received: (from adouglas@localhost) by lvloginb.cadence.com (8.14.4/8.14.4/Submit) id w4MDX9KO023660; Tue, 22 May 2018 14:33:09 +0100 From: Alan Douglas To: , , , , CC: , , "Alan Douglas" Subject: [RESEND PATCH 3/4] dt-bindings: PCI: cadence: Add DT bindings for optional PHYs Date: Tue, 22 May 2018 14:32:32 +0100 Message-ID: <1526995952-22031-1-git-send-email-adouglas@cadence.com> X-Mailer: git-send-email 2.2.2 MIME-Version: 1.0 X-OrganizationHeadersPreserved: maileu3.global.cadence.com X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:158.140.1.28; IPV:CAL; SCL:-1; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(39860400002)(39380400002)(346002)(376002)(396003)(2980300002)(3190300001)(36092001)(199004)(189003)(305945005)(336012)(478600001)(6666003)(87636003)(50466002)(426003)(4326008)(126002)(2616005)(476003)(246002)(8936002)(50226002)(48376002)(486006)(8676002)(7636002)(356003)(105596002)(26826003)(106466001)(186003)(42186006)(16586007)(2906002)(51416003)(36756003)(110136005)(59450400001)(47776003)(107886003)(2201001)(26005)(86362001)(316002)(575784001)(5660300001)(54906003)(2101003)(217873001); DIR:OUT; SFP:1101; SCL:1; SRVR:SN4PR0701MB3677; H:sjmaillnx1.cadence.com; FPR:; SPF:SoftFail; LANG:en; PTR:corp.cadence.com; A:1; MX:1; X-Microsoft-Exchange-Diagnostics: 1; BY2NAM05FT028; 1:yCDZumkzCI7e7h68e+MMokDgQKo3J1an3XLQEZDvRPdmz7l1aPDQvjUmoTOiyrg2n1Fhe1dd9a/g0/yEeCDIDtyfJnUSB3KMJ6Ih3tGXNI19tvt3UBlWtgz0Drva2RJs X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060); SRVR:SN4PR0701MB3677; X-Microsoft-Exchange-Diagnostics: 1; SN4PR0701MB3677; 3:LHgv6Ql8QehjxeXUd6WoyGd986FVETi6rsCspZB5ppKdEvep6/c7cZPdoRlv6VSjm0M/WYBWW+TrkTAaPy7KxTyP75NvIePb5Go9hPQ/1lUBt4OYXKFVJNeo0o/zToJGacdCbPdNjHYDQTo5ywdhng2nXiKhFvK825wFzoEEx8wfRL5zMbUnKA5pmi2mVxEl4NZZduD1IYHDXLgynv+ciR+82Jk/G51MWm9c28+P7ilodErQN1tp0sqLYDuuCXTrQdCZ4wL+o7yg0/kB15yg2PhEMn2EyJAemBteIQ2mfyl20XoxEMkNIDEVWVtbNz2GpC2yrS4p7ddF5E1tpxj005725WKLT8IvSYRlwGtgwtI=; 25:2OaY7RE6WdGxdPJKn0Jjv+PFV6rdzmxt/h0vXcICyT3wnqxLReGwHCAPFaQHj283z9PffUgfcr+wbTYeMBIA0QBd3Ow3J3jsChBJw53gsOf2zZ45PjkMBbF36di17mHwx9tuLM5vDtXQxIqcpArgd+9zTzrg2FK1r5u/5IHlC7PMqxuK3QJThfeONk6Zty62puttuf2FnoNve88xUfMfWsboczGCNNW9ox0pbjbw3fGmvF2tUjHC429/8kIxCoxNQRi9pVV4WAxRaAj7s3n52gtOxZITe3sYRLEoCUJxgMnVcJwGfTQ3BuBIoAWa83VvIkqQ+w5Tvdd/rmU7OyMKew== X-MS-TrafficTypeDiagnostic: SN4PR0701MB3677: X-Microsoft-Exchange-Diagnostics: 1; SN4PR0701MB3677; 31:SwLEj5ykp6doqn1uGA52P9rMKnzphxVFJXAR79t/EasXrfWMLlN3sp6S+98/TZVvmwgIZIZISC+BaFMNgbJUEoJukhpfeHa/+IIgkZp09siH3BJ3Ggnp3tTYnCo5bifsqzxa27xfaiV3106aB9tUZOB8R0BcFGllT00dvcGTai1Km5J1uQhQ3b5tcOiuRaiCEqqLWRfh1rV+rXB0GRnIDciXCdaLHY5RFZ76f6y79oA=; 20:EVyvE7JcnbW8ee4UUhlCHdAz40KxV8nNmw2gu7WP2/nIWTyQ8hUgIQj+R4Pvzk1AHFVcxsOhzOQ0LWMwPHaTUY8L4/SJq+DIDKst2jyRgyb4ky3Gv1v+npct9x/nuEySMS3sVGQELWYKthZzhLmXBy6rzfitUPclZj8tGiG9I04j1WQBq1j3lKYZI7pDPg1jLLTcpx7Gz5TrJb6AwjrZsfMX6U4BLLfFyM7YUDRJAGL1j1MMH9pJWhn8ggTgGuLjn7vjxdBYGuuReNtlD9QQbWOh5eGyOFgf+JQOWFS4X6Y2+OVH1lTjzGkFJb3eXzwCihdDj4fMJcPxr0CkQK9o0jFT4Rb/HzRWeoH8tFHHVqY/rd2L5GXGJGZTtm1DWBAdyJ2IeoQmKxas7zt3KOEvzDIf+uPFC6sAGszvx8/hhVR+7Bdy6NhYkoOfVFtLLUCyaGUmNrwN7ftD3F0IiScgLZ8B28Ahn6BxkVcTg6frBSiegzOlctxuRuf9n6sjGDAR X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(72806322054110); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3231254)(944501410)(52105095)(93006095)(93003095)(10201501046)(3002001)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(6072148)(201708071742011)(7699016); SRVR:SN4PR0701MB3677; BCL:0; PCL:0; RULEID:; SRVR:SN4PR0701MB3677; X-Microsoft-Exchange-Diagnostics: 1; SN4PR0701MB3677; 4:4wcy/HUuSdRY5WDo/VInHNlUcFGYh7sMkHNadewT30JX61xWnkIQjIQXHUL5UcRhBvcPEaTA3Czo2ncKtkwt0S1HAPuHFMlGfnEq+ZCsN3YOGNxiSwSwX+PDYVVTlga8Wwx0nNBUn1TP/Atzr6g9kIhcj3qCJq2nNH0Z/yLqG2dPS7GFc39aoJTKw6GwDEuIGL2eu2QrDShQGsKSfzB3jtYU5q3zabvdzOjxhtNDk74FTjsAOxA2M3YvzVPENS19+OlOX3rDlBi9aPj+QtKU5SZCiDJ3c2zJmwIhv9J39CUzTOSPREjLuAxajhXtyjUL X-Forefront-PRVS: 0680FADD48 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN4PR0701MB3677; 23:Dr+vTfZYRoCA2aeVmOBnwup8V1/mCfPXngd5zf1?= =?us-ascii?Q?yAy8plQ+9PLzsKI5nlbQhZhVxqUowNsSt6VAnQrHpnvoaZO+F+/LfQsOqXtn?= =?us-ascii?Q?8q0iEi00orFBDSq5ujnbTd/THkCE2pjgc8ATI8JcHVZ5cTyhaB9V4eZTLDYN?= =?us-ascii?Q?AamyVJJ0AtWKwneQj1ZiiVEHyf2gJS/YvDstWWqVSqFhhqzMhQJXg4gwyGlU?= =?us-ascii?Q?mlT3aEqUCvcMm6Sh7CrK3A5G24u3uuRVIsn39E7dKEEAoeG5zfjsPDiu2LFB?= =?us-ascii?Q?kAz6X5bJTjjy8FUoq17WZTTzVI2K4cpaU4qIVsUMEM+wZX7f8hBsDyS2D/F5?= =?us-ascii?Q?IXiyHh98sDNhR3SuaE+uxs90N/52CzpTLGZfrhEtY9vWVuCzY2wxRJiyjkug?= =?us-ascii?Q?KhfhmNyLKq3WXIGplGrU8Hj2uoiiFR8G6qp6MBZTYP8GJ3K1Yl2q449rRgf6?= =?us-ascii?Q?1N2KW9ayKEQxyGpviQvwgavnJukre/Y/rMifjCXYDO2CykWrIozikw9h62e0?= =?us-ascii?Q?yQfMabDlVc1ovNE0fmljmtKhbReuvqGm1MgMdJova6Ai1CKF95I5SAgJJrpB?= =?us-ascii?Q?O8ob7TIUZVrXWL0C3gJ0JieaIijxCP+BQAaF2bT0FViYoNO/WTEZEBM7+v1l?= =?us-ascii?Q?bv8m1Bh8Sb6sFNflLrfIvF+3vU8HDELKdsuRtyG0e1y+3uZU6WwhwjuzyYDR?= =?us-ascii?Q?/Wr/+jF83wn0ySj6wRQRni9P1c/95AGe+yYpBhFr72zGhyZPVcfa/Z1mIHPz?= =?us-ascii?Q?Zr8p9kEvIw4a9McA6LXMbxD1r7CtiDNLtIHNAK9mFJmOct+wVftzs6fEfsk5?= =?us-ascii?Q?TztuFLXSJqDLRChVFNppDpLG6C9I8tuLHc7aEv7ujgXAabnZn17c2mP++cKr?= =?us-ascii?Q?DTqiookmSdXR+IEdHu+m2LATBn7l2dbFOinyjkxGb58PjiOq27RtxIME9r64?= =?us-ascii?Q?Ruv1OopVt13vr/DONxIC6DMgfu8o//sSudJo+B6T2AGicIqGLsguIn3oB1ob?= =?us-ascii?Q?1xsTPCtiszJO+k4P8eBG6GuUgdBdIKPZP6j/9csYctSD+rNx1jbbiMEoiH96?= =?us-ascii?Q?NxjZfUM6y2v5GpHP2uWQr0ZXFw3JLj1665OZksv0W74YHB6Gzsfarf8esAzI?= =?us-ascii?Q?nLtUH+b613wjVZk2TaacFP8njn3qLGIkTXqBCs2eWVmXi6fmz7MQrWg=3D?= =?us-ascii?Q?=3D?= X-Microsoft-Antispam-Message-Info: EmdvDmldn/YnhDgfzBQlhrVRNBFQJFFbcX4+gldxgPuvm42Ne+Qq284AWkS2YDQ8XVh9j4VxioH7UhrV6k4HHvYFl4HUbfwFRPG6oB364rrQq8Nx9Pp+BcnzHBp2bpirVqQ7gsunCDSxiyFfGNow1feEJd8/+QKTaokMDEDK8jztqqRsJYVQCBYSKq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v7hFbCJqDJZOF4CwaqlX2wxkzNdm1bmuzGNpAY8IJZ3DphrXIH4vY+Sjx0BCYxbUZ7jUe8byBK3oQfpU+nuSv5lDYWt+VlIlTPVooOc36T9Lows781HMSA6r0aZrbkf/O5pbJnfN2QYIUdl5boW; 20:XFHqpgxSfryJ/KkKfsEuZoK6N0wQtD7Ta1jWr7r6/Bt/crhXdkAnUNckWjXfhJAS9JH8bLXr12RYuERHKequf6EZyxNLFmhWqlrhoV2fvMp+hsAanCUe7rdDQW9+2XPFsHSNfNpbiZYcQzPvuwTkUSBP2csXV4GXWNrXnFAZpvLNV9h/oTIJEQ8GVLAUhYbjMpWeSWOWTr0QXftWpFHe2CYsE2+5Lve8QbRp77n1ol/GwoqdTvWjpsDLMLJMSezi X-MS-Office365-Filtering-Correlation-Id: 43174d75-2a53-44df-e9d9-08d5bfe89139 X-OriginatorOrg: cadence.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 May 2018 13:33:12.7915 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 43174d75-2a53-44df-e9d9-08d5bfe89139 X-MS-Exchange-CrossTenant-Id: d36035c5-6ce6-4662-a3dc-e762e61ae4c9 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=d36035c5-6ce6-4662-a3dc-e762e61ae4c9; Ip=[158.140.1.28]; Helo=[sjmaillnx1.cadence.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN4PR0701MB3677 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Update DT documentation to include optional PHYs for cadence PCIe host and endpoint controllers. Signed-off-by: Alan Douglas --- Documentation/devicetree/bindings/pci/cdns,cdns-pcie-ep.txt | 4 ++++ Documentation/devicetree/bindings/pci/cdns,cdns-pcie-host.txt | 2 ++ 2 files changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-ep.txt b/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-ep.txt index 9a305237..e40c635 100644 --- a/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-ep.txt +++ b/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-ep.txt @@ -9,6 +9,8 @@ Required properties: Optional properties: - max-functions: Maximum number of functions that can be configured (default 1). +- phys: From PHY bindings: List of Generic PHY phandles. +- phy-names: List of names to identify the PHY. Example: @@ -19,4 +21,6 @@ pcie@fc000000 { reg-names = "reg", "mem"; cdns,max-outbound-regions = <16>; max-functions = /bits/ 8 <8>; + phys = <&ep_phy0 &ep_phy1>; + phy-names = "pcie-lane0","pcie-lane1"; }; diff --git a/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-host.txt b/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-host.txt index 20a33f3..c0ca4c1 100644 --- a/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-host.txt +++ b/Documentation/devicetree/bindings/pci/cdns,cdns-pcie-host.txt @@ -24,6 +24,8 @@ Optional properties: translations (default 32) - vendor-id: The PCI vendor ID (16 bits, default is design dependent) - device-id: The PCI device ID (16 bits, default is design dependent) +- phys: From PHY bindings: List of Generic PHY phandles. +- phy-names: List of names to identify the PHY. Example: