From patchwork Mon Jan 4 12:40:59 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: 356379 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp14936205jai; Mon, 4 Jan 2021 04:44:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJwSKgAPerb3jzZl9AjPQHSYAIUw3xJT/LZTHeINZ/prmxCpnNYMgqPcRgMdmPv+NyTP75sG X-Received: by 2002:a17:906:ceca:: with SMTP id si10mr65324734ejb.547.1609764245467; Mon, 04 Jan 2021 04:44:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609764245; cv=none; d=google.com; s=arc-20160816; b=eTzflt/aDxdy3J9znTF7kGo4QQ3H3e9bFxng2w7496UmWC0RrA105qfpq9legbJLpM MR0vj0GfJXmM2iVI42FIMRSrvdI6Gm5Dbsv4jWriWFd2TsSJeQ0rtxRJKQCUU/oHgUV/ Xs0rxDJXH3eCWW04hzp6+S8I8ybi+549UJDJdsIYzd+utmR2b7aY/giNkxnigqUAP4IA MxGeibvYti8+jCX3IMpQ3UHLOPcVw5VS+OrFygu+2Mz9+8ivK2YoBWWb229ub4w9V36J TLedDLyN6k549Nu/dyCf2xTR8UGDh+FhVKf85TzPuJxKV7nnGCjbpOoG8WOQZjWBMRnV qZug== 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=PDv3Jixr3M5clZhrNBfpbXuxNLrgt8dzQxEDS9DO98o=; b=s76hG6fmw5fSvzFURzWOTguu9JAjRDDrSVulIyyhf3beF0OXV0qEHweD0KqEBWiX9u jQZluCpD1nu5vStRDtpLm0IdD1YooJ3mbvVCaez3D92VdnRZYZjwvblbnKf3q09j+vk4 /O5etP/G59uT6SdnfPAEIj8Z+J7ZW9oDa3+ZuUIR5aB73jjoJL8vIpHODi22heY/x2fq 0yoea1Laa/c/xjbT4Kd6bd3XW0qZiKnGMwCiwOwW3pvCjk4AMIxvZ56RScbp0pxWXFpk 8ug//vWltBOnRh5WeZfndgVo5Htod0B7gqkDv8Z1fBiU4mSa4qgwzi1p3HNQ7foTAmN5 eHvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=tRRjTbwS; 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 u26si32993070edo.164.2021.01.04.04.44.05; Mon, 04 Jan 2021 04:44:05 -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=tRRjTbwS; 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 S1726465AbhADMnm (ORCPT + 6 others); Mon, 4 Jan 2021 07:43:42 -0500 Received: from fllv0015.ext.ti.com ([198.47.19.141]:35032 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726472AbhADMnl (ORCPT ); Mon, 4 Jan 2021 07:43:41 -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 104Cfw1r015297; Mon, 4 Jan 2021 06:41:58 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1609764118; bh=PDv3Jixr3M5clZhrNBfpbXuxNLrgt8dzQxEDS9DO98o=; h=From:To:CC:Subject:Date; b=tRRjTbwSyKK0+5oE7u7H9YfV5/HTw+rmvgwcZYTgx0Aq7SqrYHIQKSbw0qU/ozBZf qc16m6P7YryD3D+sOTS+XmGQmUxj7h0rZ70YQEmVA6HB8qCjijPWJFnwcKOJB4lc1q zMgA9OOkL9yzeXRBMMoEf+ZNHtorMuCDmSsGSKYE= Received: from DLEE105.ent.ti.com (dlee105.ent.ti.com [157.170.170.35]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 104CfwMs129208 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 4 Jan 2021 06:41:58 -0600 Received: from DLEE104.ent.ti.com (157.170.170.34) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Mon, 4 Jan 2021 06:41:08 -0600 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE104.ent.ti.com (157.170.170.34) 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, 4 Jan 2021 06:41:08 -0600 Received: from a0393678-ssd.ent.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 104Cf3bg034579; Mon, 4 Jan 2021 06:41:04 -0600 From: Kishon Vijay Abraham I To: Bjorn Helgaas , Rob Herring , Tom Joseph , Lorenzo Pieralisi , Kishon Vijay Abraham I , Nadeem Athani CC: , , , , Subject: [PATCH v2 0/4] AM64: Add PCIe bindings and driver support Date: Mon, 4 Jan 2021 18:10:59 +0530 Message-ID: <20210104124103.30930-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: devicetree@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] 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 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 | 10 ++++--- .../bindings/pci/ti,j721e-pci-host.yaml | 27 ++++++++++++++----- drivers/pci/controller/cadence/pci-j721e.c | 18 +++++++++++++ 3 files changed, 45 insertions(+), 10 deletions(-) -- 2.17.1