Message ID | 20200604151705.7582-1-Zhiqiang.Hou@nxp.com |
---|---|
Headers | show |
Series | spi: fsl-espi: Convert eSPI driver to DM | expand |
On Thu, Jun 4, 2020 at 8:52 PM Zhiqiang Hou <Zhiqiang.Hou at nxp.com> wrote: > > From: Hou Zhiqiang <Zhiqiang.Hou at nxp.com> > > Merged the following 2 series and added P1010RDB boards into the > support list. > https://patchwork.ozlabs.org/project/uboot/list/?series=126119&archive=both&state=%2a > https://patchwork.ozlabs.org/project/uboot/list/?series=138873 > > Depends on: > https://patchwork.ozlabs.org/project/uboot/list/?series=181329 > > Chuanhua Han (4): > dm: spi: Convert Freescale ESPI driver to driver model > powerpc: dts: t2080: add espi controller node support > powerpc: dts: t2080qds: add espi slave nodes support > configs: enable espi device module in T2080QDS > > Hou Zhiqiang (3): > dts: P1010: Add eSPI controller DT node > dts: P1010RDB: Add eSPI slave DT nodes > configs: P1010RDB: Enable eSPI controller and SPI flash DM driver > > Xiaowei Bao (29): > dts: P1020: Add ESPI DT nodes > dts: P1020RDB: Add ESPI slave device node > configs: P1020RDB: Enable ESPI driver > dts: P2020: Add ESPI DT nodes > dts: P2020RDB: Add ESPI slave device node > configs: P2020RDB: Enable ESPI driver > dts: P2041: Add ESPI DT nodes > dts: P2041RDB: Add ESPI slave device node > configs: P2041RDB: Enable ESPI driver > dts: P3041: Add ESPI DT nodes > dts: P3041DS: Add ESPI slave device node > configs: P3041DS: Enable ESPI driver > dts: P4080: Add ESPI DT nodes > dts: P4080DS: Add ESPI slave device node > configs: P4080DS: Enable ESPI driver > dts: P5040: Add ESPI DT nodes > dts: P5040DS: Add ESPI slave device node > configs: P5040DS: Enable ESPI driver > dts: T102x: Add ESPI DT nodes > dts: T1024RDB: Add ESPI slave device node > configs: T1024RDB: Enable ESPI driver > dts: T104x: Add ESPI DT nodes > dts: T1042D4RDB: Add ESPI slave device node > configs: T1042D4RDB: Enable ESPI driver > dts: T2080RDB: Add ESPI slave device node > configs: T2080RDB: Enable ESPI driver > dts: T4240: Add ESPI DT nodes > dts: T4240RDB: Add ESPI slave device node > configs: T4240RDB: Enable ESPI driver Reviewed-by: Jagan Teki <jagan at amarulasolutions.com>
From: Hou Zhiqiang <Zhiqiang.Hou at nxp.com> Merged the following 2 series and added P1010RDB boards into the support list. https://patchwork.ozlabs.org/project/uboot/list/?series=126119&archive=both&state=%2a https://patchwork.ozlabs.org/project/uboot/list/?series=138873 Depends on: https://patchwork.ozlabs.org/project/uboot/list/?series=181329 Chuanhua Han (4): dm: spi: Convert Freescale ESPI driver to driver model powerpc: dts: t2080: add espi controller node support powerpc: dts: t2080qds: add espi slave nodes support configs: enable espi device module in T2080QDS Hou Zhiqiang (3): dts: P1010: Add eSPI controller DT node dts: P1010RDB: Add eSPI slave DT nodes configs: P1010RDB: Enable eSPI controller and SPI flash DM driver Xiaowei Bao (29): dts: P1020: Add ESPI DT nodes dts: P1020RDB: Add ESPI slave device node configs: P1020RDB: Enable ESPI driver dts: P2020: Add ESPI DT nodes dts: P2020RDB: Add ESPI slave device node configs: P2020RDB: Enable ESPI driver dts: P2041: Add ESPI DT nodes dts: P2041RDB: Add ESPI slave device node configs: P2041RDB: Enable ESPI driver dts: P3041: Add ESPI DT nodes dts: P3041DS: Add ESPI slave device node configs: P3041DS: Enable ESPI driver dts: P4080: Add ESPI DT nodes dts: P4080DS: Add ESPI slave device node configs: P4080DS: Enable ESPI driver dts: P5040: Add ESPI DT nodes dts: P5040DS: Add ESPI slave device node configs: P5040DS: Enable ESPI driver dts: T102x: Add ESPI DT nodes dts: T1024RDB: Add ESPI slave device node configs: T1024RDB: Enable ESPI driver dts: T104x: Add ESPI DT nodes dts: T1042D4RDB: Add ESPI slave device node configs: T1042D4RDB: Enable ESPI driver dts: T2080RDB: Add ESPI slave device node configs: T2080RDB: Enable ESPI driver dts: T4240: Add ESPI DT nodes dts: T4240RDB: Add ESPI slave device node configs: T4240RDB: Enable ESPI driver arch/powerpc/dts/p1010rdb-pa.dts | 1 + arch/powerpc/dts/p1010rdb-pa_36b.dts | 1 + arch/powerpc/dts/p1010rdb.dtsi | 17 + arch/powerpc/dts/p1010si-post.dtsi | 10 + arch/powerpc/dts/p1020-post.dtsi | 9 + arch/powerpc/dts/p1020rdb-pc.dts | 15 + arch/powerpc/dts/p1020rdb-pc_36b.dts | 15 + arch/powerpc/dts/p1020rdb-pd.dts | 15 + arch/powerpc/dts/p2020-post.dtsi | 9 + arch/powerpc/dts/p2020rdb-pc.dts | 15 + arch/powerpc/dts/p2020rdb-pc_36b.dts | 15 + arch/powerpc/dts/p2041.dtsi | 9 + arch/powerpc/dts/p2041rdb.dts | 14 + arch/powerpc/dts/p3041.dtsi | 9 + arch/powerpc/dts/p3041ds.dts | 14 + arch/powerpc/dts/p4080.dtsi | 9 + arch/powerpc/dts/p4080ds.dts | 14 + arch/powerpc/dts/p5040.dtsi | 9 + arch/powerpc/dts/p5040ds.dts | 14 + arch/powerpc/dts/t1024rdb.dts | 15 + arch/powerpc/dts/t102x.dtsi | 9 + arch/powerpc/dts/t1042d4rdb.dts | 15 + arch/powerpc/dts/t104x.dtsi | 9 + arch/powerpc/dts/t2080.dtsi | 10 + arch/powerpc/dts/t2080qds.dts | 33 ++ arch/powerpc/dts/t2080rdb.dts | 15 + arch/powerpc/dts/t4240.dtsi | 9 + arch/powerpc/dts/t4240rdb.dts | 15 + configs/P1010RDB-PA_36BIT_NAND_defconfig | 2 + configs/P1010RDB-PA_36BIT_NOR_defconfig | 2 + configs/P1010RDB-PA_36BIT_SDCARD_defconfig | 2 + configs/P1010RDB-PA_36BIT_SPIFLASH_defconfig | 2 + configs/P1010RDB-PA_NAND_defconfig | 2 + configs/P1010RDB-PA_NOR_defconfig | 2 + configs/P1010RDB-PA_SDCARD_defconfig | 2 + configs/P1010RDB-PA_SPIFLASH_defconfig | 2 + configs/P1010RDB-PB_36BIT_NAND_defconfig | 2 + configs/P1010RDB-PB_36BIT_NOR_defconfig | 2 + configs/P1010RDB-PB_36BIT_SDCARD_defconfig | 2 + configs/P1010RDB-PB_36BIT_SPIFLASH_defconfig | 2 + configs/P1010RDB-PB_NAND_defconfig | 2 + configs/P1010RDB-PB_NOR_defconfig | 2 + configs/P1010RDB-PB_SDCARD_defconfig | 2 + configs/P1010RDB-PB_SPIFLASH_defconfig | 2 + configs/P1020RDB-PC_36BIT_NAND_defconfig | 2 + configs/P1020RDB-PC_36BIT_SDCARD_defconfig | 2 + configs/P1020RDB-PC_36BIT_SPIFLASH_defconfig | 2 + configs/P1020RDB-PC_36BIT_defconfig | 2 + configs/P1020RDB-PC_NAND_defconfig | 2 + configs/P1020RDB-PC_SDCARD_defconfig | 2 + configs/P1020RDB-PC_SPIFLASH_defconfig | 2 + configs/P1020RDB-PC_defconfig | 2 + configs/P1020RDB-PD_NAND_defconfig | 2 + configs/P1020RDB-PD_SDCARD_defconfig | 2 + configs/P1020RDB-PD_SPIFLASH_defconfig | 2 + configs/P1020RDB-PD_defconfig | 2 + configs/P2020RDB-PC_36BIT_NAND_defconfig | 2 + configs/P2020RDB-PC_36BIT_SDCARD_defconfig | 2 + configs/P2020RDB-PC_36BIT_SPIFLASH_defconfig | 2 + configs/P2020RDB-PC_36BIT_defconfig | 2 + configs/P2020RDB-PC_NAND_defconfig | 2 + configs/P2020RDB-PC_SDCARD_defconfig | 2 + configs/P2020RDB-PC_SPIFLASH_defconfig | 2 + configs/P2020RDB-PC_defconfig | 2 + configs/P2041RDB_NAND_defconfig | 2 + configs/P2041RDB_SDCARD_defconfig | 2 + configs/P2041RDB_SPIFLASH_defconfig | 2 + configs/P2041RDB_defconfig | 2 + configs/P3041DS_NAND_defconfig | 2 + configs/P3041DS_SDCARD_defconfig | 2 + configs/P3041DS_SPIFLASH_defconfig | 2 + configs/P3041DS_defconfig | 2 + configs/P4080DS_SDCARD_defconfig | 2 + configs/P4080DS_SPIFLASH_defconfig | 2 + configs/P4080DS_defconfig | 2 + configs/P5040DS_NAND_defconfig | 2 + configs/P5040DS_SDCARD_defconfig | 2 + configs/P5040DS_SPIFLASH_defconfig | 2 + configs/P5040DS_defconfig | 2 + configs/T1024RDB_NAND_defconfig | 2 + configs/T1024RDB_SDCARD_defconfig | 2 + configs/T1024RDB_SPIFLASH_defconfig | 2 + configs/T1024RDB_defconfig | 2 + configs/T1042D4RDB_NAND_defconfig | 2 + configs/T1042D4RDB_SDCARD_defconfig | 2 + configs/T1042D4RDB_SPIFLASH_defconfig | 2 + configs/T1042D4RDB_defconfig | 2 + configs/T2080QDS_NAND_defconfig | 2 + configs/T2080QDS_SDCARD_defconfig | 2 + configs/T2080QDS_SECURE_BOOT_defconfig | 2 + configs/T2080QDS_SPIFLASH_defconfig | 2 + configs/T2080QDS_SRIO_PCIE_BOOT_defconfig | 2 + configs/T2080QDS_defconfig | 2 + configs/T2080RDB_NAND_defconfig | 2 + configs/T2080RDB_SDCARD_defconfig | 2 + configs/T2080RDB_SPIFLASH_defconfig | 2 + configs/T2080RDB_defconfig | 2 + configs/T4240RDB_SDCARD_defconfig | 2 + configs/T4240RDB_defconfig | 2 + drivers/spi/fsl_espi.c | 444 ++++++++++++++----- include/dm/platform_data/fsl_espi.h | 16 + 101 files changed, 823 insertions(+), 123 deletions(-) create mode 100644 include/dm/platform_data/fsl_espi.h