Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1501899pxb; Mon, 22 Feb 2021 03:45:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJx4b0gbbeeWy6DUT/qsiSK7T492kZrxGcJKqcfCre/B2yDFe8Nx8ZulXOD5aQa7xvbVMQIY X-Received: by 2002:a17:906:5fc8:: with SMTP id k8mr3090639ejv.104.1613994348529; Mon, 22 Feb 2021 03:45:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613994348; cv=none; d=google.com; s=arc-20160816; b=nFtmsjurqRlWdy4pmTr2rq6p8HM97/7EgZP5Wgdg5GFL5Dy4Ku9pLhv8MSbcaFCMTN MvxyFsqBpT2y+RMmHIzoymAZgoLQJb6rRghvCitzE/I5klk7+ObhopYBJDzKz4GE5ELK 4Yp89l9DBjqiuIl01r5Dlrue1hx2r9p7Dd3SSiimOBTbp+QlNfio+6uFNCPjdqbSMFyN fe2QBhIMfSBOAXfbJWZNaRnOX5rhCKweS09GlBu8sRSVXfw8ety/XGOhBAwZ4dNLsKuy v6eubKlrPg6CJP2Bb6ToXLvlwGddhxexoRkLji8k6NIVS67LTGbBl51nhpwwOiKyCcUH fGJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=xRMR/gwIH0RJIoZU05qrkf2DdEF5SPVW6KGv8Mwwbew=; b=sXjcZDtPJUIPjAsBMoISBBDDuBTtWQVma5QxzRRKNOU2TXl9pG0S04BHk5XCMaZ0s3 ej44oAQpmCKo+T1mXQusSlW0ZOevPIUdZidHFq7CiWbw5OQNxX8GhRPPnd3bndfzUENI hMyi9obWFQk/PH/hecg79ndrWCvs7WsZZ6+ndnPjDqVlQMKne95gQ0jgkCcSvALk4C9N nSTgiZOTgl9dF8+sUdqBQpfDuSA36xDUmp6Z3fh9NPgc2OJ1+H7e9mEcAGYIVLUkG/NU 1MITNDzdja3KThT6ALjYB/G7ZZdMVUJ9OGPS4PpGQstS777b/QhirxGA3HGbpQoyUmLK t/yw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=wX+TmfxS; 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 l18si1514405edq.302.2021.02.22.03.45.25; Mon, 22 Feb 2021 03:45:48 -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=wX+TmfxS; 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 S230164AbhBVLm1 (ORCPT + 99 others); Mon, 22 Feb 2021 06:42:27 -0500 Received: from fllv0016.ext.ti.com ([198.47.19.142]:60558 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229780AbhBVLmT (ORCPT ); Mon, 22 Feb 2021 06:42:19 -0500 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 11MBeYp4012507; Mon, 22 Feb 2021 05:40:34 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1613994034; bh=xRMR/gwIH0RJIoZU05qrkf2DdEF5SPVW6KGv8Mwwbew=; h=From:To:CC:Subject:Date; b=wX+TmfxS9D884H3hQ+ekW028sFR4OFCo2ATZqH1e3OhC1JKN5oqoqigLCWA9ZBjI6 l63H/sls36p7gNCT55BxAFgBl3IdkYAkdBRRkK/8Us7Ewqz/1q2dgnOBx5tGnAN+TW xFqiWF8Qrlt+fdp1ahxZdIe4ia4s+I6CTMe9ZcIM= Received: from DLEE103.ent.ti.com (dlee103.ent.ti.com [157.170.170.33]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 11MBeYGg126007 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 22 Feb 2021 05:40:34 -0600 Received: from DLEE100.ent.ti.com (157.170.170.30) by DLEE103.ent.ti.com (157.170.170.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Mon, 22 Feb 2021 05:40:34 -0600 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE100.ent.ti.com (157.170.170.30) 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; Mon, 22 Feb 2021 05:40:34 -0600 Received: from a0393678-ssd.dhcp.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 11MBeVjm105473; Mon, 22 Feb 2021 05:40:31 -0600 From: Kishon Vijay Abraham I To: Kishon Vijay Abraham I , Bjorn Helgaas , Rob Herring , Tom Joseph , Lorenzo Pieralisi CC: , , , Subject: [PATCH v3 0/4] AM64: Add PCIe bindings and driver support Date: Mon, 22 Feb 2021 17:10:26 +0530 Message-ID: <20210222114030.26445-1-kishon@ti.com> X-Mailer: git-send-email 2.17.1 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 AM64 uses the same PCIe controller as in J7200, however AM642 EVM doesn't have a clock generator (unlike J7200 base board). Here the clock from the SERDES has to be routed to the PCIE connector. This series provides an option for the pci-j721e.c driver to drive reference clock output to the connector. v1 of the patch series can be found @ [1] v2 of the patch series can be found @ [2] Changes from v2: *) Fix DT binding documentation suggested by Rob Changes from v1: *) Fixed missing initialization of "ret" variable in the error path. [1] -> http://lore.kernel.org/r/20201224115658.2795-1-kishon@ti.com [2] -> https://lore.kernel.org/r/20210104124103.30930-1-kishon@ti.com Kishon Vijay Abraham I (4): dt-bindings: PCI: ti,j721e: Add binding to represent refclk to the connector dt-bindings: PCI: ti,j721e: Add host mode dt-bindings for TI's AM64 SoC dt-bindings: PCI: ti,j721e: Add endpoint mode dt-bindings for TI's AM64 SoC PCI: j721e: Add support to provide refclk to PCIe connector .../bindings/pci/ti,j721e-pci-ep.yaml | 9 ++++---- .../bindings/pci/ti,j721e-pci-host.yaml | 19 +++++++++++------ drivers/pci/controller/cadence/pci-j721e.c | 21 ++++++++++++++++++- 3 files changed, 38 insertions(+), 11 deletions(-) -- 2.17.1