From patchwork Mon Mar 8 06:35:46 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Kishon Vijay Abraham I X-Patchwork-Id: 395365 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp1464344jai; Sun, 7 Mar 2021 22:37:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJz+f7PaeTL5P/gqqKeUl5ot6dlKhV0zkbvCRChBNPObQfsrsbXVj4h11cya3rMtybG+fU3G X-Received: by 2002:a17:906:cd05:: with SMTP id oz5mr13852264ejb.345.1615185447839; Sun, 07 Mar 2021 22:37:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615185447; cv=none; d=google.com; s=arc-20160816; b=tx4WDMepEB3TluyFJSk8l39PU+GCpuPvVvQ1b0+EZ3ZN/S9zmBBaYZTGOeW+g91JN5 yXcZ/K/oWPTHz+0HbdULCNf746B1oTLFjve4p6qgi2aPXWJfehV7xxylAjYuOY6hodWL 0S25g6rW+o3Hnzbm9bCiFhXF5DyWpAq2GMSSjlfx0vju5IpK71NkinFihPd1q2A3Jk+w UbvNrkMIBi+6P3vkFwj/+krTw7zvmdWwlztMOAxa7SNnJU6KhgeQJVhCwcq92H8mqavA H7CrYibciK+kWOCvKwT2z5wT9oJfukHQsLcJDi4q7idpxw202g0lrvxLRPTbZkN+xy4f dsMQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=Oqgiy062oERwqX+R9eU5hIC/GSFaSqKW8euiNn4SusI=; b=Jjhvk4nsA/KJCcehzAe/JXVdUCWynwO9ulY+OmQSKf5UPavHpkeHTpn8ggDURWNMPY 3V5kxtAJ/CKIi2BdEdWUfiDJ4mF/3TplV4ELnbpV5drOTpwE56/g9oCfxWHZWYrIfIAB mKghFE8+CdJHRjjP4kFpYyrRDPDhGb6ckq71wrw7z+XUKB/xI2vjmiQVPfOlbPyACt5F ebuN5brnJv69S3UsxI3VlERxnFP7lQZPxerYb3dMsrTnxc0vOWnUBia6/fIbpaHzo9uI t7bts6g7fRB7BfHikQF/picBtQ8n1AGyBECVvjG2Z0baXpPwD77fBS4naeyhUj3D7cpO gwMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=xBySieFt; spf=pass (google.com: domain of linux-omap-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-omap-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 hc39si6722170ejc.125.2021.03.07.22.37.27; Sun, 07 Mar 2021 22:37:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-omap-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=xBySieFt; spf=pass (google.com: domain of linux-omap-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-omap-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 S234903AbhCHGgu (ORCPT + 3 others); Mon, 8 Mar 2021 01:36:50 -0500 Received: from fllv0015.ext.ti.com ([198.47.19.141]:55844 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233961AbhCHGgT (ORCPT ); Mon, 8 Mar 2021 01:36:19 -0500 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 1286a3SY110124; Mon, 8 Mar 2021 00:36:03 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1615185363; bh=Oqgiy062oERwqX+R9eU5hIC/GSFaSqKW8euiNn4SusI=; h=From:To:CC:Subject:Date; b=xBySieFtiwuutlFMCE90M5Ay3VODEH0SSqL8eAXcrB8DKCLZJKGiPxnS9Xi7oa17X pGZSi1Rw0woGZzLFeGYbvYHjvp4Oa9tY/Rn+jDRCRBOqy0rv8vbmOozTrU3YhZjhoE y5yVGGBjIMQiMunVOTEqNMVE6IbAmRrT0L/M7h74= Received: from DLEE100.ent.ti.com (dlee100.ent.ti.com [157.170.170.30]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 1286a2OQ016646 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 8 Mar 2021 00:36:02 -0600 Received: from DLEE112.ent.ti.com (157.170.170.23) 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; Mon, 8 Mar 2021 00:36:01 -0600 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE112.ent.ti.com (157.170.170.23) 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, 8 Mar 2021 00:36:01 -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 1286ZuTS117458; Mon, 8 Mar 2021 00:35:57 -0600 From: Kishon Vijay Abraham I To: Kishon Vijay Abraham I , Bjorn Helgaas , Rob Herring , Tom Joseph , Lorenzo Pieralisi , Nadeem Athani CC: , , , , , Lokesh Vutla Subject: [PATCH v4 0/4] AM64: Add PCIe bindings and driver support Date: Mon, 8 Mar 2021 12:05:46 +0530 Message-ID: <20210308063550.6227-1-kishon@ti.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: linux-omap@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] v3 of the patch series can be found @ [3] Changes from v3: *) Added Reviewed by from Rob *) Incorporated Krzysztof WilczyƄski comment on DT binding documentation *) Fixed "warn: missing error code 'ret'" 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 [3] -> https://lore.kernel.org/r/20210222114030.26445-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 | 20 ++++++++++++----- drivers/pci/controller/cadence/pci-j721e.c | 22 ++++++++++++++++++- 3 files changed, 40 insertions(+), 11 deletions(-) -- 2.17.1