Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp13791356pxu; Mon, 4 Jan 2021 04:45:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJw9lTTo+ZLLK2jdOLI6yCEhHJze04juh3blyEj+V609Ix5NecQc2X5x/3VaEaLet72gwQ7T X-Received: by 2002:a17:906:1db2:: with SMTP id u18mr26660347ejh.440.1609764321822; Mon, 04 Jan 2021 04:45:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609764321; cv=none; d=google.com; s=arc-20160816; b=bfVHKUT4OWhQ8N+CvnQ5SXWq2aZuFG8ma3UJLQveE8yIG00VwqdqrEEklBemkVkEBV mn/jQ2SUe/Li9aTLAobHCSNO3GZMUD8qnV9F+/aM78RubzLx+q33MSB3HE1+LL/InGAy aqQYPbwwdKDVTJ2jXmIfGCZ/qUxCLCjQ6khwcHUhMPzn8lmxHRfl8qtycVoRqrW+mydI k1Wzqzf7aR1cNvlynXdb4ASc0KsTQw5Z4Z8Idc5HBgYmktMpE6FLdfpgATFHUnehvkIA veUpfsFpUiK9y3HZu0fDybTNrKvZ1LwD046z3NJPfQH84rCmQZjkl15b3BxAJG398WWJ sIaQ== 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=LF+hLdHhp2VdRdjzzgXXK96PP/5qr7iHgpve/ph2RAxBfOWcDgG7RUO7Fl7oXEhvqe H88qj3btGo2SeHbc67tNr2nNP5RzvDmiPQz4d6FhoaDqjc/GmftFzQNmXgjErszqhPJF 7ykj00sY2mr5FqJI5EbNqZ8jZwl4J7hMheqTnbZS92r4riUesdsCd9sSECSaPp+OK37e LJVyYzAgam35ZUJeLIzzJ74DpigjzKzY2ysmicwqOVHUA4MC03OWFOFym/E/cvbawvDS jylClxYIg0F3RP8x9X7vrJ2Lr3KiIQBJB+m+Nb5QiYfu9njhdatw+SvELfy3Y+tBvYWG E5uw== 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 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 go40si28011731ejc.141.2021.01.04.04.44.58; Mon, 04 Jan 2021 04:45:21 -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=tRRjTbwS; 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 S1727024AbhADMnm (ORCPT + 99 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 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] 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