From patchwork Tue Aug 27 11:02:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Z.Q. Hou" X-Patchwork-Id: 1153752 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=nxp.com header.i=@nxp.com header.b="W8+hm3yB"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 46HmF01wShz9s00 for ; Tue, 27 Aug 2019 21:03:00 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id E05D1C22055; Tue, 27 Aug 2019 11:02:56 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=SPF_HELO_PASS, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 7D4D0C21F29; Tue, 27 Aug 2019 11:02:54 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 299A6C21E9F; Tue, 27 Aug 2019 11:02:53 +0000 (UTC) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60076.outbound.protection.outlook.com [40.107.6.76]) by lists.denx.de (Postfix) with ESMTPS id 99283C21EC8 for ; Tue, 27 Aug 2019 11:02:52 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Z9w4L7ZpbsVyAkM8JLt4orjdfkWi6priucLmgMAiRvvSroeYATgcGwcz+/DaihSAJOH2NwACp0XT3q/Pe/IqouYfU3tkF5qsAhhpSN4i0nzWjK+aCbWj3oejfxmv/a8MroI52QuU2D6n+0o3mbYsSEXqU3OqSmKjNh4rgwmpelp3R0CJsvT6rXU10FW0k3HvjEDbouY1GG32lgE2fYVnFTEvC9WaqWKiR6jnvSYbNO7PZTP50asdoEwmJH6BLaKIBptwFXl9q+AXotHQkm+phMMWUzswz6fiX5Hh+EQBvLUbACgpZI6xqYCHUFO5V5DvYQ/VKPR94nhtwJsOiGLTkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VtdTx/1Go0Y3yLBReNjHsrUZb6q0oVehETkDd6VgCiM=; b=XukNnlQX2jRiir2CIo3WGr6Khl6Dw85E+BjirupLoYje/ux3Bg8DHUxxj+LZx+B/9x4aY0jApMi0ilwJhk8tMRNSFr07TFkPBNieb+WWYsozL4gpri/SaCLD8581QP+rZXn7Z+r1AAiryGMPL1Lgh9NP/gPoIiSQL9ad1ROfpTXxMvHadooPSHyCi6HL8VSh2N2yqdRlNdqVmVWlutTL4a1yM1lNOhIiY7hbjq9GGTaPLbaA9u2xMgzFkMenO/5QzT9aBoMVIaT40lF0UVZ1B3wtEDRZwg9L1KuDpYSBsci4//EqglD9F1PnXPIw4utQnz+lt5fKnq5UzLhcGCQxOw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VtdTx/1Go0Y3yLBReNjHsrUZb6q0oVehETkDd6VgCiM=; b=W8+hm3yBs6cHxxWxs/5ooiBOEirqjyfHYPRPTe9NrIuNHtFxHx7CRILRq1+MxMOxyQsotqRuoEFUfu/vGrlYpCen7RmJ0um1sYDM1i9aVy3XwRklshBFxGpNfT4k7QcZaXCmFxw5YIMiYDGTHUrjqyBf8zpPSKSh9FKgKgyIQaY= Received: from DB8PR04MB6747.eurprd04.prod.outlook.com (20.179.250.159) by DB8PR04MB6874.eurprd04.prod.outlook.com (52.133.243.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2199.19; Tue, 27 Aug 2019 11:02:49 +0000 Received: from DB8PR04MB6747.eurprd04.prod.outlook.com ([fe80::7c8a:ab5d:dc27:be5f]) by DB8PR04MB6747.eurprd04.prod.outlook.com ([fe80::7c8a:ab5d:dc27:be5f%6]) with mapi id 15.20.2199.021; Tue, 27 Aug 2019 11:02:49 +0000 From: "Z.q. Hou" To: "u-boot@lists.denx.de" , Prabhakar Kushwaha , "wd@denx.de" , Priyanka Jain , Shengzhou Liu , "bmeng.cn@gmail.com" Thread-Topic: [PATCHv2 00/47] powerpc: Enable PCIe DM drvier for some platforms Thread-Index: AQHVXMb2GaRERUS620SfusL2RGowXQ== Date: Tue, 27 Aug 2019 11:02:49 +0000 Message-ID: <20190827110440.11523-1-Zhiqiang.Hou@nxp.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: HK0P153CA0039.APCP153.PROD.OUTLOOK.COM (2603:1096:203:17::27) To DB8PR04MB6747.eurprd04.prod.outlook.com (2603:10a6:10:10b::31) authentication-results: spf=none (sender IP is ) smtp.mailfrom=zhiqiang.hou@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.17.1 x-originating-ip: [119.31.174.73] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: e8898cce-0a52-4cb3-81b0-08d72ade1953 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600166)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020); SRVR:DB8PR04MB6874; x-ms-traffictypediagnostic: DB8PR04MB6874: x-ms-exchange-purlcount: 2 x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:901; x-forefront-prvs: 0142F22657 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(366004)(396003)(136003)(39860400002)(376002)(346002)(199004)(189003)(8676002)(5660300002)(66946007)(52116002)(66556008)(8936002)(19627235002)(966005)(64756008)(66446008)(66476007)(4326008)(1076003)(53936002)(6436002)(6486002)(25786009)(486006)(66066001)(86362001)(6116002)(71190400001)(476003)(110136005)(2616005)(71200400001)(478600001)(6512007)(6306002)(316002)(2906002)(14454004)(386003)(186003)(6506007)(99286004)(36756003)(26005)(305945005)(256004)(81156014)(2501003)(102836004)(81166006)(7736002)(3846002)(50226002); DIR:OUT; SFP:1101; SCL:1; SRVR:DB8PR04MB6874; H:DB8PR04MB6747.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:3; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: 4hnHkDdRVbi2bQjUIm4jPExbuYUzkw2eqgjGhSk+awcOPgWUVU8GRF1f40Bjp7/BBX3dJOLpfIDgrjigdtcAxFQCxsGuUxCA7ch8cqbabDAykEoQX37SCcULX8ef/zY+35SYiczzhfPz9HuvgQ9fUSWmRb1TIlD2c+noGSP7LXVs3Z69jmG6FqTPZDH6QUGdjZzx0jXy8Oos79xIaZSmU917Nz2sFcrYsWjVdGddbm8ocCzXwvlp/SH+UHrV0LxKIyYdE6ySfnDaXgKFexriglitVA3ergFdveNXvO35AVdlcvuwpbIXRvXo9sHp7w0IGNBiiGzbrjoQ1vT2TmubjrlRLNqL2yzaWPpHYnpsVt0TYBkxg56qYDbkAqay2ryo31/JFP4sBZ2pjm3fSUoNPw0dBJ/vfdRbbDRcgKvsOJU= Content-ID: <59B23579AC32E34891B4CF454C15F451@eurprd04.prod.outlook.com> MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: e8898cce-0a52-4cb3-81b0-08d72ade1953 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Aug 2019 11:02:49.4402 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: MXkBYjU1GPIwPBkGuz9WcJMcbH1A6BDpeciqKw2XdH5g8eSWa2ypbNGyP7VJ5r3BokLQ2kKETcvSVdM/5n7KWQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB6874 Cc: "Z.q. Hou" Subject: [U-Boot] [PATCHv2 00/47] powerpc: Enable PCIe DM drvier for some platforms X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" From: Hou Zhiqiang Enable PCIe DM driver for some PowerPC platforms which has supported device tree. Depends on the following 2 series: http://patchwork.ozlabs.org/project/uboot/list/?series=120960 http://patchwork.ozlabs.org/project/uboot/list/?series=115008 Hou Zhiqiang (47): powerpc: T208xRDB: Compile legacy PCIe routines conditionally powerpc: T208xRDB: Disable legacy PCIe driver when DM_PCI is enabled configs: T2080RDB: Enable PCIe driver powerpc: T4RDB: Compile legacy PCIe routines conditionally dm: pcie_fsl: Add T4240 PCIe support t4240: dts: Added PCIe DT nodes powerpc: T4240RDB: Disable legacy PCIe driver when DM_PCI is enabled configs: T4240RDB: Enable PCIe driver powerpc: T102xRDB: Compile legacy PCIe routines conditionally dm: pcie_fsl: Add T102x PCIe support t102x: dts: Added PCIe DT nodes powerpc: T102xRDB: Remove the useless macro CONFIG_ARCH_T1040 powerpc: T102xRDB: Disable legacy PCIe driver when DM_PCI is enabled configs: T1024RDB: Enable PCIe driver powerpc: T104xRDB: Compile legacy PCIe routines conditionally dm: pcie_fsl: Add T104x PCIe support t104x: dts: Added PCIe DT nodes powerpc: T104xRDB: Disable legacy PCIe driver when DM_PCI is enabled configs: T1042D4RDB: Enable PCIe driver powerpc: p1_p2_rdb: Compile legacy PCIe routines conditionally dm: pcie_fsl: Add PCIe support for P1 and P2 series SoCs P1020: dts: Added PCIe DT nodes powerpc: p1_p2_rdb: Disable legacy PCIe driver when DM_PCI is enabled configs: P1020RDB: Enable PCIe driver P2020: dts: Added PCIe DT nodes configs: P2020RDB: Enable PCIe driver powerpc: p_corenet: Compile legacy PCIe routines conditionally dm: pcie_fsl: Add P2041 PCIe support P2041: dts: Added PCIe DT nodes powerpc: P2041RDB: Disable legacy PCIe driver when DM_PCI is enabled configs: P2041RDB: Enable PCIe driver dm: pcie_fsl: Add P3041 PCIe support P3041: dts: Added PCIe DT nodes powerpc: corenet_ds: Disable legacy PCIe driver when DM_PCI is enabled configs: P3041DS: Enable PCIe driver dm: pcie_fsl: Add P4080 PCIe support P4080: dts: Added PCIe DT nodes configs: P4080DS: Enable PCIe driver dm: pcie_fsl: Add P5040 PCIe support P5040: dts: Added PCIe DT nodes configs: P5040DS: Enable PCIe driver powerpc: MPC8548CDS: Compile legacy PCIe routines conditionally powerpc: MPC85xxCDS: Disable legacy PCI fixup when DM_PCI is selected dm: pcie_fsl: Add MPC8548 PCIe support MPC8548: dts: Added PCIe DT node powerpc: MPC8548CDS: Disable legacy PCIe driver when DM_PCI is enabled configs: MPC8548CDS: Enable PCIe driver arch/powerpc/dts/mpc8548-post.dtsi | 9 +++ arch/powerpc/dts/mpc8548cds.dts | 6 ++ arch/powerpc/dts/mpc8548cds_36b.dts | 6 ++ arch/powerpc/dts/p1020-post.dtsi | 20 +++++ arch/powerpc/dts/p1020rdb-pc.dts | 12 +++ arch/powerpc/dts/p1020rdb-pc_36b.dts | 12 +++ arch/powerpc/dts/p1020rdb-pd.dts | 12 +++ arch/powerpc/dts/p2020-post.dtsi | 30 ++++++++ arch/powerpc/dts/p2020rdb-pc.dts | 17 +++++ arch/powerpc/dts/p2020rdb-pc_36b.dts | 17 +++++ arch/powerpc/dts/p2041.dtsi | 36 +++++++++ arch/powerpc/dts/p3041.dtsi | 48 ++++++++++++ arch/powerpc/dts/p4080.dtsi | 36 +++++++++ arch/powerpc/dts/p5040.dtsi | 36 +++++++++ arch/powerpc/dts/t102x.dtsi | 36 +++++++++ arch/powerpc/dts/t104x.dtsi | 48 ++++++++++++ arch/powerpc/dts/t4240.dtsi | 48 ++++++++++++ board/freescale/common/cds_pci_ft.c | 4 +- board/freescale/common/p_corenet/pci.c | 2 + board/freescale/mpc8548cds/mpc8548cds.c | 6 +- board/freescale/p1_p2_rdb_pc/p1_p2_rdb_pc.c | 4 +- board/freescale/t102xrdb/pci.c | 2 + board/freescale/t104xrdb/pci.c | 2 + board/freescale/t208xrdb/pci.c | 2 + board/freescale/t4rdb/pci.c | 2 + configs/MPC8548CDS_36BIT_defconfig | 4 + configs/MPC8548CDS_defconfig | 4 + configs/MPC8548CDS_legacy_defconfig | 4 + configs/P1020RDB-PC_36BIT_NAND_defconfig | 4 + configs/P1020RDB-PC_36BIT_SDCARD_defconfig | 4 + configs/P1020RDB-PC_36BIT_SPIFLASH_defconfig | 4 + configs/P1020RDB-PC_36BIT_defconfig | 4 + configs/P1020RDB-PC_NAND_defconfig | 4 + configs/P1020RDB-PC_SDCARD_defconfig | 4 + configs/P1020RDB-PC_SPIFLASH_defconfig | 4 + configs/P1020RDB-PC_defconfig | 4 + configs/P1020RDB-PD_NAND_defconfig | 4 + configs/P1020RDB-PD_SDCARD_defconfig | 4 + configs/P1020RDB-PD_SPIFLASH_defconfig | 4 + configs/P1020RDB-PD_defconfig | 4 + configs/P2020RDB-PC_36BIT_NAND_defconfig | 4 + configs/P2020RDB-PC_36BIT_SDCARD_defconfig | 4 + configs/P2020RDB-PC_36BIT_SPIFLASH_defconfig | 4 + configs/P2020RDB-PC_36BIT_defconfig | 4 + configs/P2020RDB-PC_NAND_defconfig | 4 + configs/P2020RDB-PC_SDCARD_defconfig | 4 + configs/P2020RDB-PC_SPIFLASH_defconfig | 4 + configs/P2020RDB-PC_defconfig | 4 + configs/P2041RDB_NAND_defconfig | 4 + configs/P2041RDB_SDCARD_defconfig | 4 + configs/P2041RDB_SPIFLASH_defconfig | 4 + configs/P2041RDB_defconfig | 4 + configs/P3041DS_NAND_defconfig | 4 + configs/P3041DS_SDCARD_defconfig | 4 + configs/P3041DS_SPIFLASH_defconfig | 4 + configs/P3041DS_defconfig | 4 + configs/P4080DS_SDCARD_defconfig | 4 + configs/P4080DS_SPIFLASH_defconfig | 4 + configs/P4080DS_defconfig | 4 + configs/P5040DS_NAND_defconfig | 4 + configs/P5040DS_SDCARD_defconfig | 4 + configs/P5040DS_SPIFLASH_defconfig | 4 + configs/P5040DS_defconfig | 4 + configs/T1024RDB_NAND_defconfig | 4 + configs/T1024RDB_SDCARD_defconfig | 4 + configs/T1024RDB_SPIFLASH_defconfig | 4 + configs/T1024RDB_defconfig | 4 + configs/T1042D4RDB_NAND_defconfig | 4 + configs/T1042D4RDB_SDCARD_defconfig | 4 + configs/T1042D4RDB_SPIFLASH_defconfig | 4 + configs/T1042D4RDB_defconfig | 4 + configs/T2080RDB_NAND_defconfig | 4 + configs/T2080RDB_SDCARD_defconfig | 4 + configs/T2080RDB_SPIFLASH_defconfig | 4 + configs/T2080RDB_defconfig | 4 + configs/T4240RDB_SDCARD_defconfig | 4 + configs/T4240RDB_defconfig | 4 + drivers/pci/pcie_fsl.c | 21 ++++++ include/configs/MPC8548CDS.h | 22 ++++-- include/configs/P2041RDB.h | 55 ++++---------- include/configs/T102xRDB.h | 78 ++++---------------- include/configs/T104xRDB.h | 38 +++++----- include/configs/T208xRDB.h | 36 ++++----- include/configs/T4240RDB.h | 35 +++++---- include/configs/corenet_ds.h | 63 +++++----------- include/configs/p1_p2_rdb_pc.h | 36 +++++---- 86 files changed, 822 insertions(+), 223 deletions(-)