All of lore.kernel.org
 help / color / mirror / Atom feed
From: Xiaowei Bao <xiaowei.bao@nxp.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v6 1/4] dm: spi: Convert Freescale ESPI driver to driver model
Date: Mon, 9 Sep 2019 06:37:40 +0000	[thread overview]
Message-ID: <AM5PR04MB329976E9757EB20285DCCB34F5B70@AM5PR04MB3299.eurprd04.prod.outlook.com> (raw)
In-Reply-To: <CAMty3ZAZe9W=HM3djYTJhURZbUNmy74dF8PK5jp0SoKLuakdDg@mail.gmail.com>



> -----Original Message-----
> From: Jagan Teki <jagan@amarulasolutions.com>
> Sent: 2019年9月9日 14:07
> To: Xiaowei Bao <xiaowei.bao@nxp.com>
> Cc: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>; wd at denx.de;
> Shengzhou Liu <shengzhou.liu@nxp.com>; Ruchika Gupta
> <ruchika.gupta@nxp.com>; sjg at chromium.org; Chuanhua Han
> <chuanhua.han@nxp.com>; Jagdish Gediya <jagdish.gediya@nxp.com>;
> bmeng.cn at gmail.com; u-boot at lists.denx.de; York Sun <york.sun@nxp.com>;
> Jiafei Pan <jiafei.pan@nxp.com>
> Subject: Re: [PATCH v6 1/4] dm: spi: Convert Freescale ESPI driver to driver
> model
> 
> On Mon, Sep 9, 2019 at 9:27 AM Xiaowei Bao <xiaowei.bao@nxp.com>
> wrote:
> >
> >
> >
> > > -----Original Message-----
> > > From: Prabhakar Kushwaha
> > > Sent: 2019年8月26日 23:12
> > > To: Xiaowei Bao <xiaowei.bao@nxp.com>; wd at denx.de; Shengzhou Liu
> > > <shengzhou.liu@nxp.com>; Ruchika Gupta <ruchika.gupta@nxp.com>;
> > > jagan at amarulasolutions.com; sjg at chromium.org; Chuanhua Han
> > > <chuanhua.han@nxp.com>; Jagdish Gediya <jagdish.gediya@nxp.com>;
> > > bmeng.cn at gmail.com; u-boot at lists.denx.de
> > > Cc: York Sun <york.sun@nxp.com>; Xiaowei Bao <xiaowei.bao@nxp.com>
> > > Subject: RE: [PATCH v6 1/4] dm: spi: Convert Freescale ESPI driver
> > > to driver model
> > >
> > > Dear Jagan,
> > >
> > > > -----Original Message-----
> > > > From: Xiaowei Bao <xiaowei.bao@nxp.com>
> > > > Sent: Monday, August 26, 2019 2:55 PM
> > > > To: wd at denx.de; Shengzhou Liu <shengzhou.liu@nxp.com>; Ruchika
> > > > Gupta <ruchika.gupta@nxp.com>; jagan at amarulasolutions.com;
> > > sjg at chromium.org;
> > > > Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>; Chuanhua Han
> > > > <chuanhua.han@nxp.com>; Jagdish Gediya <jagdish.gediya@nxp.com>;
> > > > bmeng.cn at gmail.com; u-boot at lists.denx.de
> > > > Cc: York Sun <york.sun@nxp.com>; Xiaowei Bao
> <xiaowei.bao@nxp.com>
> > > > Subject: [PATCH v6 1/4] dm: spi: Convert Freescale ESPI driver to
> > > > driver model
> > > >
> > > > From: Chuanhua Han <chuanhua.han@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.han@nxp.com>
> > > > Signed-off-by: Xiaowei Bao <xiaowei.bao@nxp.com>
> > > > ---
> > > > depends on:
> > > > https://patc
> > > > hwo
> > > >
> > >
> rk.ozlabs.org%2Fcover%2F1146494%2F&amp;data=02%7C01%7Cprabhakar.k
> > > us
> > > >
> > >
> hwaha%40nxp.com%7Ccc2424972d4e4d6835f908d72a08b877%7C686ea1d3
> > > bc2
> > > >
> > >
> 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
> >
> > Hi Prabhakar and Jagan,
> >
> > What is the progress, if there are any comments, please let me know,
> > if no comments, please help to merge it, thanks a lot.
> 
> I marked my r-b tag, and Prabhakar would take this via his tree (as he
> mentioned)

Hi Jagan, thanks a lot. 

  reply	other threads:[~2019-09-09  6:37 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-26  9:25 [U-Boot] [PATCH v6 1/4] dm: spi: Convert Freescale ESPI driver to driver model Xiaowei Bao
2019-08-26  9:25 ` [U-Boot] [PATCH v6 2/4] powerpc: dts: t2080: add espi controller node support Xiaowei Bao
2019-08-26  9:25 ` [U-Boot] [PATCH v6 3/4] powerpc: dts: t2080qds: add espi slave nodes support Xiaowei Bao
2019-08-26  9:25 ` [U-Boot] [PATCH v6 4/4] configs: enable espi device module in T2080QDS Xiaowei Bao
2019-08-26 15:12 ` [U-Boot] [PATCH v6 1/4] dm: spi: Convert Freescale ESPI driver to driver model Prabhakar Kushwaha
2019-09-09  3:57   ` Xiaowei Bao
2019-09-09  6:07     ` Jagan Teki
2019-09-09  6:37       ` Xiaowei Bao [this message]
2019-09-09  7:43       ` Prabhakar Kushwaha
2019-09-13  2:28         ` Jagan Teki
2019-09-13  6:55           ` Prabhakar Kushwaha
2019-09-14  6:44             ` Xiaowei Bao
2020-05-12  9:07               ` Priyanka Jain

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AM5PR04MB329976E9757EB20285DCCB34F5B70@AM5PR04MB3299.eurprd04.prod.outlook.com \
    --to=xiaowei.bao@nxp.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.