Dear Jagan,

> -----Original Message-----
> From: Xiaowei Bao <xiaowei....@nxp.com>
> Sent: Monday, August 26, 2019 2:55 PM
> To: w...@denx.de; Shengzhou Liu <shengzhou....@nxp.com>; Ruchika Gupta
> <ruchika.gu...@nxp.com>; ja...@amarulasolutions.com; s...@chromium.org;
> Prabhakar Kushwaha <prabhakar.kushw...@nxp.com>; Chuanhua Han
> <chuanhua....@nxp.com>; Jagdish Gediya <jagdish.ged...@nxp.com>;
> bmeng...@gmail.com; u-boot@lists.denx.de
> Cc: York Sun <york....@nxp.com>; Xiaowei Bao <xiaowei....@nxp.com>
> Subject: [PATCH v6 1/4] dm: spi: Convert Freescale ESPI driver to driver model
> 
> From: Chuanhua Han <chuanhua....@nxp.com>
> 
> Modify the Freescale ESPI driver to support the driver model.
> Also resolved the following problems:
> 
> ===================== WARNING ====================== This board
> does not use CONFIG_DM_SPI. Please update the board before v2019.04 for no
> dm conversion and v2019.07 for partially dm converted drivers.
> Failure to update can lead to driver/board removal See doc/driver-
> model/MIGRATION.txt for more info.
> ====================================================
> ===================== WARNING ====================== This board
> does not use CONFIG_DM_SPI_FLASH. Please update the board to use
> CONFIG_SPI_FLASH before the v2019.07 release.
> Failure to update by the deadline may result in board removal.
> See doc/driver-model/MIGRATION.txt for more info.
> ====================================================
> 
> Signed-off-by: Chuanhua Han <chuanhua....@nxp.com>
> Signed-off-by: Xiaowei Bao <xiaowei....@nxp.com>
> ---
> depends on:
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatchwo
> rk.ozlabs.org%2Fcover%2F1146494%2F&amp;data=02%7C01%7Cprabhakar.kus
> hwaha%40nxp.com%7Ccc2424972d4e4d6835f908d72a08b877%7C686ea1d3bc2
> b4c6fa92cd99c5c301635%7C0%7C0%7C637024089250212151&amp;sdata=3Ki9
> mrnn9YXWMR0vjoDmeE2eKBIn1RKlgnRC81SZQbU%3D&amp;reserved=0
> Changes in v6:
>       - Change #ifndef CONFIG_DM_SPI to #if
> !CONFIG_IS_ENABLED(DM_SPI).
> Changes in v5:
>       - Modify the function spi_cs_activate to fsl_spi_cs_activate.
>       - Move cs to the parameter of the fsl_spi_cs_activate function.
> Changes in v4:
>       - Update copyright information.
>       - Move the fsl_espi_platdata data structure to the
> include/dm/platform_data/.
>       - Merge the contents of the fsl_espi_priv structure into the 
> fsl_spi_slave
> structure.
>       - Implement the fsl_espi_set_speed function.
>       - Implement the fsl_espi_set_mode function.
>       - Implement the espi_release_bus function.
>       - Remove unwanted fsl_espi_bind functions.
>       - Implement the fsl_espi_child_pre_probe function as needed.
>       - Use #if CONFIG_IS_ENABLED(OF_CONTROL) &&
> !CONFIG_IS_ENABLED(OF_PLATDATA).
> Changes in v3:
>       - Add a cover-letter for this patch set.
> Changes in v2:
>       - The fsl_espi driver support both OF_CONTROL and PLATDATA.
> 
>  drivers/spi/fsl_espi.c              | 445 
> ++++++++++++++++++++++++++----------
>  drivers/spi/fsl_espi.c              | 445 
> ++++++++++++++++++++++++++----------
>  include/dm/platform_data/fsl_espi.h |  16 ++
>  2 files changed, 337 insertions(+), 124 deletions(-)  create mode 100644

Please review this patch-set and provide your comments.

Once reviewed, I will send pull request via mpc85xx tree

--pk

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to