From patchwork Mon Nov 2 10:11:46 2020 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: 11873393 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C8C81C00A89 for ; Mon, 2 Nov 2020 10:14:08 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 562E9222E8 for ; Mon, 2 Nov 2020 10:14:08 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="yeHjK44i"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=ti.com header.i=@ti.com header.b="PHAfVHAb" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 562E9222E8 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=ti.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=p1WB9zWK3d+lthXyhwtbC40S4sUJjg0OA5uy7yvpebE=; b=yeHjK44iJuqkTpTGWRHy0yAQ// k1WgmqoYVk97euIAeEjklKM5JHxt+FOMVDHf8ikndfmAKRqPgbePQPREwWoQavLkRHqSRl5AGG0L0 /uR777ksXEBxW4abpNXe3iF6ZVisAI1BqgrYlcdb1sbw/0T+tG/yxETC1BbbP3WzmImcYbzSjN6Ru 3plPohlkXUpR8wOG4VT0EJJUC1M1eAIDzfMRY4hB3xsie9hxwmhAV9yGPh0Mr4g6PTEu376YVeVnl F5iylsmZpKM/oToWscRMG5Bt/byvbJFmwA8Q0jzmoRn/1ZzG8V9Ee6mGFOaay+X+m8UXPnlN8YK3u cO2gsULQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZWow-00079m-8Y; Mon, 02 Nov 2020 10:12:14 +0000 Received: from fllv0015.ext.ti.com ([198.47.19.141]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZWoq-00077E-Hg for linux-arm-kernel@lists.infradead.org; Mon, 02 Nov 2020 10:12:10 +0000 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 0A2AC1tB012395; Mon, 2 Nov 2020 04:12:01 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1604311921; bh=row4Qmm+Sy6AeCkksWsL63c1mPytd2Sut67vK2qDDK4=; h=From:To:CC:Subject:Date; b=PHAfVHAbEycyGnfV/JY1PPz/DUNJK8GuH1xVdG5pKAjIR1f3pcwEd2w+YlyW4Y2xz Lndew3W++22y7bls54WhBntosA0k/djp69LRxe9LFAfw1BfVYfmh/pmTFlMSd05l9q 9YlezcXiHN564Hybwx7GJeaenfvCde/QWhn14ceE= Received: from DFLE105.ent.ti.com (dfle105.ent.ti.com [10.64.6.26]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 0A2AC0UD044653 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 2 Nov 2020 04:12:00 -0600 Received: from DFLE115.ent.ti.com (10.64.6.36) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Mon, 2 Nov 2020 04:12:00 -0600 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE115.ent.ti.com (10.64.6.36) 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, 2 Nov 2020 04:12:00 -0600 Received: from a0393678-ssd.dal.design.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 0A2ABtuX059084; Mon, 2 Nov 2020 04:11:57 -0600 From: Kishon Vijay Abraham I To: Lee Jones , Rob Herring , Bjorn Helgaas , Tero Kristo , Nishanth Menon Subject: [PATCH 0/8] J7200: Add PCIe DT nodes to Enable PCIe Date: Mon, 2 Nov 2020 15:41:46 +0530 Message-ID: <20201102101154.13598-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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201102_051209_329559_D6A62BA8 X-CRM114-Status: GOOD ( 10.65 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Roger Quadros Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add DT binding documentation and device tree nodes to enable PCIe in J7200. Also included a fix in J721E that fixes the maximum number of outbound regions. (This can go in 5.11 as it doesn't impact any of the existing use-cases). Kishon Vijay Abraham I (8): dt-bindings: mfd: ti,j721e-system-controller.yaml: Document "pcie-ctrl" dt-bindings: PCI: Add host mode dt-bindings for TI's J7200 SoC dt-bindings: PCI: Add EP mode dt-bindings for TI's J7200 SoC arm64: dts: ti: k3-j7200-main: Add DT for WIZ and SERDES arm64: dts: ti: k3-j7200-main: Add PCIe device tree node arm64: dts: ti: k3-j7200-common-proc-board: Enable SERDES0 arm64: dts: ti: k3-j7200-common-proc-board: Enable PCIe arm64: dts: ti: k3-j721e-main: Fix PCIe maximum outbound regions .../mfd/ti,j721e-system-controller.yaml | 6 + .../bindings/pci/ti,j721e-pci-ep.yaml | 10 +- .../bindings/pci/ti,j721e-pci-host.yaml | 16 ++- .../dts/ti/k3-j7200-common-proc-board.dts | 38 ++++++ arch/arm64/boot/dts/ti/k3-j7200-main.dtsi | 119 ++++++++++++++++++ arch/arm64/boot/dts/ti/k3-j721e-main.dtsi | 8 +- 6 files changed, 188 insertions(+), 9 deletions(-)