Re: [U-Boot] [PATCH v6 1/4] dm: spi: Convert Freescale ESPI driver to driver model

2019-09-13 Thread Prabhakar Kushwaha

> -Original Message-
> From: Jagan Teki 
> Sent: Friday, September 13, 2019 7:58 AM
> To: Prabhakar Kushwaha 
> Cc: Xiaowei Bao ; Priyanka Jain
> ; w...@denx.de; Shengzhou Liu
> ; Ruchika Gupta ;
> s...@chromium.org; Chuanhua Han ; Jagdish
> Gediya ; bmeng...@gmail.com; u-
> b...@lists.denx.de; York Sun ; Jiafei Pan
> 
> Subject: Re: [PATCH v6 1/4] dm: spi: Convert Freescale ESPI driver to driver
> model
> 
> On Mon, Sep 9, 2019 at 1:13 PM Prabhakar Kushwaha
>  wrote:
> >
> >
> > > -Original Message-
> > > From: Jagan Teki 
> > > Sent: Monday, September 9, 2019 11:37 AM
> > > To: Xiaowei Bao 
> > > Cc: Prabhakar Kushwaha ;
> w...@denx.de;
> > > Shengzhou Liu ; Ruchika Gupta
> > > ; s...@chromium.org; Chuanhua Han
> > > ; Jagdish Gediya ;
> > > bmeng...@gmail.com; u-boot@lists.denx.de; York Sun
> > > ; Jiafei Pan 
> > > 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 
> wrote:
> > > >
> > > >
> > > >
> > > > > -Original Message-
> > > > > From: Prabhakar Kushwaha
> > > > > Sent: 2019年8月26日 23:12
> > > > > To: Xiaowei Bao ; w...@denx.de; Shengzhou
> Liu
> > > > > ; Ruchika Gupta
> ;
> > > > > ja...@amarulasolutions.com; s...@chromium.org; Chuanhua Han
> > > > > ; Jagdish Gediya
> ;
> > > > > bmeng...@gmail.com; u-boot@lists.denx.de
> > > > > Cc: York Sun ; Xiaowei Bao
> > > > > 
> > > > > Subject: RE: [PATCH v6 1/4] dm: spi: Convert Freescale ESPI
> > > > > driver to driver model
> > > > >
> > > > > Dear Jagan,
> > > > >
> > > > > > -Original Message-
> > > > > > From: Xiaowei Bao 
> > > > > > Sent: Monday, August 26, 2019 2:55 PM
> > > > > > To: w...@denx.de; Shengzhou Liu ;
> Ruchika
> > > > > > Gupta ; ja...@amarulasolutions.com;
> > > > > s...@chromium.org;
> > > > > > Prabhakar Kushwaha ;
> Chuanhua Han
> > > > > > ; Jagdish Gediya
> > > > > > ; bmeng...@gmail.com;
> > > > > > u-boot@lists.denx.de
> > > > > > Cc: York Sun ; Xiaowei Bao
> > > > > > 
> > > > > > Subject: [PATCH v6 1/4] dm: spi: Convert Freescale ESPI driver
> > > > > > to driver model
> > > > > >
> > > > > > From: Chuanhua Han 
> > > > > >
> > > > > > 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 
> > > > > > Signed-off-by: Xiaowei Bao 
> > > > > > ---
> > > > > > depends on:
> > > > > > https://patc
> > > > > > hwo
> > > > > >
> > > > >
> > >
> rk.ozlabs.org%2Fcover%2F1146494%2Fdata=02%7C01%7Cprabhaka
> r.k
> > > > > us
> > > > > >
> > > > >
> hwaha%40nxp.com%7Ccc2424972d4e4d6835f908d72a08b877%7C686ea1
> d3
> > > > > bc2
> > > > > >
> > > > >
> b4c6fa92cd99c5c301635%7C0%7C0%7C637024

Re: [U-Boot] [PATCH] MAINTAINERS: Change fsl-qoriq, mpc86xx, mpc85xx maintainers

2019-09-09 Thread Prabhakar Kushwaha

> -Original Message-
> From: U-Boot  On Behalf Of Prabhakar
> Kushwaha
> Sent: Monday, September 9, 2019 4:55 PM
> To: u-boot@lists.denx.de
> Cc: tr...@konsulko.com; York Sun ; Priyanka Jain
> 
> Subject: [U-Boot] [PATCH] MAINTAINERS: Change fsl-qoriq, mpc86xx, mpc85xx
> maintainers
> 
> From: Priyanka Jain 
> 
> Change maintainers to Priyanka Jain for fsl-qoriq, mpc85xx
> 
> Signed-off-by: Priyanka Jain 
> ---

Acked-by: Prabhakar Kushwaha 

--pk

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


[U-Boot] [PATCH] MAINTAINERS: Change fsl-qoriq, mpc86xx, mpc85xx maintainers

2019-09-09 Thread Prabhakar Kushwaha
From: Priyanka Jain 

Change maintainers to Priyanka Jain for fsl-qoriq, mpc85xx

Signed-off-by: Priyanka Jain 
---
 MAINTAINERS | 6 +++---
 board/freescale/mpc8536ds/MAINTAINERS   | 2 +-
 board/freescale/mpc8541cds/MAINTAINERS  | 2 +-
 board/freescale/mpc8544ds/MAINTAINERS   | 2 +-
 board/freescale/mpc8548cds/MAINTAINERS  | 2 +-
 board/freescale/mpc8555cds/MAINTAINERS  | 2 +-
 board/freescale/mpc8568mds/MAINTAINERS  | 2 +-
 board/freescale/mpc8569mds/MAINTAINERS  | 2 +-
 board/freescale/mpc8572ds/MAINTAINERS   | 2 +-
 board/freescale/mpc8610hpcd/MAINTAINERS | 2 +-
 board/freescale/mpc8641hpcn/MAINTAINERS | 2 +-
 doc/git-mailrc  | 8 
 12 files changed, 17 insertions(+), 17 deletions(-)

diff --git a/MAINTAINERS b/MAINTAINERS
index 08222fd569..e752e4b3de 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -565,7 +565,7 @@ S:  Maintained
 T: git https://gitlab.denx.de/u-boot/custodians/u-boot-freebsd.git
 
 FREESCALE QORIQ
-M: Prabhakar Kushwaha 
+M: Priyanka Jain 
 S: Maintained
 T: git https://gitlab.denx.de/u-boot/custodians/u-boot-fsl-qoriq.git
 F: drivers/watchdog/sp805_wdt.c
@@ -723,13 +723,13 @@ F:arch/powerpc/cpu/mpc83xx/
 F: arch/powerpc/include/asm/arch-mpc83xx/
 
 POWERPC MPC85XX
-M: Prabhakar Kushwaha 
+M: Priyanka Jain 
 S: Maintained
 T: git https://gitlab.denx.de/u-boot/custodians/u-boot-mpc85xx.git
 F: arch/powerpc/cpu/mpc85xx/
 
 POWERPC MPC86XX
-M: Prabhakar Kushwaha 
+M: Priyanka Jain 
 S: Maintained
 T: git https://gitlab.denx.de/u-boot/custodians/u-boot-mpc86xx.git
 F: arch/powerpc/cpu/mpc86xx/
diff --git a/board/freescale/mpc8536ds/MAINTAINERS 
b/board/freescale/mpc8536ds/MAINTAINERS
index d640f89845..5ce5164e49 100644
--- a/board/freescale/mpc8536ds/MAINTAINERS
+++ b/board/freescale/mpc8536ds/MAINTAINERS
@@ -1,5 +1,5 @@
 MPC8536DS BOARD
-M: Prabhakar Kushwaha 
+M: Priyanka Jain 
 S: Maintained
 F: board/freescale/mpc8536ds/
 F: include/configs/MPC8536DS.h
diff --git a/board/freescale/mpc8541cds/MAINTAINERS 
b/board/freescale/mpc8541cds/MAINTAINERS
index 100077608b..cf3b9cf5f7 100644
--- a/board/freescale/mpc8541cds/MAINTAINERS
+++ b/board/freescale/mpc8541cds/MAINTAINERS
@@ -1,5 +1,5 @@
 MPC8541CDS BOARD
-M: Prabhakar Kushwaha 
+M: Priyanka Jain 
 S: Maintained
 F: board/freescale/mpc8541cds/
 F: include/configs/MPC8541CDS.h
diff --git a/board/freescale/mpc8544ds/MAINTAINERS 
b/board/freescale/mpc8544ds/MAINTAINERS
index 78019fbfea..74e7249e47 100644
--- a/board/freescale/mpc8544ds/MAINTAINERS
+++ b/board/freescale/mpc8544ds/MAINTAINERS
@@ -1,5 +1,5 @@
 MPC8544DS BOARD
-M: Prabhakar Kushwaha 
+M: Priyanka Jain 
 S: Maintained
 F: board/freescale/mpc8544ds/
 F: include/configs/MPC8544DS.h
diff --git a/board/freescale/mpc8548cds/MAINTAINERS 
b/board/freescale/mpc8548cds/MAINTAINERS
index 385dc85576..fbbedb1d1d 100644
--- a/board/freescale/mpc8548cds/MAINTAINERS
+++ b/board/freescale/mpc8548cds/MAINTAINERS
@@ -1,5 +1,5 @@
 MPC8548CDS BOARD
-M: Prabhakar Kushwaha 
+M: Priyanka Jain 
 S: Maintained
 F: board/freescale/mpc8548cds/
 F: include/configs/MPC8548CDS.h
diff --git a/board/freescale/mpc8555cds/MAINTAINERS 
b/board/freescale/mpc8555cds/MAINTAINERS
index 815cffec1b..8f32febd91 100644
--- a/board/freescale/mpc8555cds/MAINTAINERS
+++ b/board/freescale/mpc8555cds/MAINTAINERS
@@ -1,5 +1,5 @@
 MPC8555CDS BOARD
-M: Prabhakar Kushwaha 
+M: Priyanka Jain 
 S: Maintained
 F: board/freescale/mpc8555cds/
 F: include/configs/MPC8555CDS.h
diff --git a/board/freescale/mpc8568mds/MAINTAINERS 
b/board/freescale/mpc8568mds/MAINTAINERS
index 79f04d1a90..f4747866d2 100644
--- a/board/freescale/mpc8568mds/MAINTAINERS
+++ b/board/freescale/mpc8568mds/MAINTAINERS
@@ -1,5 +1,5 @@
 MPC8568MDS BOARD
-M: Prabhakar Kushwaha 
+M: Priyanka Jain 
 S: Maintained
 F: board/freescale/mpc8568mds/
 F: include/configs/MPC8568MDS.h
diff --git a/board/freescale/mpc8569mds/MAINTAINERS 
b/board/freescale/mpc8569mds/MAINTAINERS
index b2e3bdfa11..9df3f3cca8 100644
--- a/board/freescale/mpc8569mds/MAINTAINERS
+++ b/board/freescale/mpc8569mds/MAINTAINERS
@@ -1,5 +1,5 @@
 MPC8569MDS BOARD
-M: Prabhakar Kushwaha 
+M: Priyanka Jain 
 S: Maintained
 F: board/freescale/mpc8569mds/
 F: include/configs/MPC8569MDS.h
diff --git a/board/freescale/mpc8572ds/MAINTAINERS 
b/board/freescale/mpc8572ds/MAINTAINERS
index 80a3096653..d7e9b1f41f 100644
--- a/board/freescale/mpc8572ds/MAINTAINERS
+++ b/board/freescale/mpc8572ds/MAINTAINERS
@@ -1,5 +1,5 @@
 MPC8572DS BOARD
-M: Prabhakar Kushwaha 
+M: Priyanka Jain 
 S: Maintained
 F: board/freescale/mpc8572ds/
 F: include/configs/MPC8572DS.h
diff --git a/board/freescale/mpc8610hpcd/MAINTAINERS 
b/board/freescale/mpc8610hpcd/MAINTAINERS
index 633c5ed192..9b1e0cd4e5 100644
--- a/board/freescale/mpc8610hpcd

Re: [U-Boot] [PATCH v6 1/4] dm: spi: Convert Freescale ESPI driver to driver model

2019-09-09 Thread Prabhakar Kushwaha

> -Original Message-
> From: Jagan Teki 
> Sent: Monday, September 9, 2019 11:37 AM
> To: Xiaowei Bao 
> Cc: Prabhakar Kushwaha ; w...@denx.de;
> Shengzhou Liu ; Ruchika Gupta
> ; s...@chromium.org; Chuanhua Han
> ; Jagdish Gediya ;
> bmeng...@gmail.com; u-boot@lists.denx.de; York Sun ;
> Jiafei Pan 
> 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  wrote:
> >
> >
> >
> > > -Original Message-
> > > From: Prabhakar Kushwaha
> > > Sent: 2019年8月26日 23:12
> > > To: Xiaowei Bao ; w...@denx.de; Shengzhou Liu
> > > ; Ruchika Gupta ;
> > > ja...@amarulasolutions.com; s...@chromium.org; Chuanhua Han
> > > ; Jagdish Gediya ;
> > > bmeng...@gmail.com; u-boot@lists.denx.de
> > > Cc: York Sun ; Xiaowei Bao 
> > > Subject: RE: [PATCH v6 1/4] dm: spi: Convert Freescale ESPI driver
> > > to driver model
> > >
> > > Dear Jagan,
> > >
> > > > -Original Message-
> > > > From: Xiaowei Bao 
> > > > Sent: Monday, August 26, 2019 2:55 PM
> > > > To: w...@denx.de; Shengzhou Liu ; Ruchika
> > > > Gupta ; ja...@amarulasolutions.com;
> > > s...@chromium.org;
> > > > Prabhakar Kushwaha ; Chuanhua Han
> > > > ; Jagdish Gediya ;
> > > > bmeng...@gmail.com; u-boot@lists.denx.de
> > > > Cc: York Sun ; Xiaowei Bao 
> > > > Subject: [PATCH v6 1/4] dm: spi: Convert Freescale ESPI driver to
> > > > driver model
> > > >
> > > > From: Chuanhua Han 
> > > >
> > > > 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 
> > > > Signed-off-by: Xiaowei Bao 
> > > > ---
> > > > depends on:
> > > > https://patc
> > > > hwo
> > > >
> > >
> rk.ozlabs.org%2Fcover%2F1146494%2Fdata=02%7C01%7Cprabhakar.k
> > > us
> > > >
> > > hwaha%40nxp.com%7Ccc2424972d4e4d6835f908d72a08b877%7C686ea1d3
> > > bc2
> > > >
> > > b4c6fa92cd99c5c301635%7C0%7C0%7C637024089250212151sdata=
> > > 3Ki9
> > > > mrnn9YXWMR0vjoDmeE2eKBIn1RKlgnRC81SZQbU%3Dreserved=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)

Thanks Jagan..

We will pull it via our tree

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


Re: [U-Boot] [PATCHv2 00/47] powerpc: Enable PCIe DM drvier for some platforms

2019-08-28 Thread Prabhakar Kushwaha

> -Original Message-
> From: Z.q. Hou
> Sent: Tuesday, August 27, 2019 4:33 PM
> To: u-boot@lists.denx.de; Prabhakar Kushwaha
> ; w...@denx.de; Priyanka Jain
> ; Shengzhou Liu ;
> bmeng...@gmail.com
> Cc: Z.q. Hou 
> Subject: [PATCHv2 00/47] powerpc: Enable PCIe DM drvier for some platforms
> 
> 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
> 

This patch series has been applied to u-boot-mpc85xx, awaiting upstream.

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


Re: [U-Boot] [PATCHv3 0/3] dm: pcie_fsl: Fix some issues

2019-08-28 Thread Prabhakar Kushwaha

> -Original Message-
> From: Z.q. Hou
> Sent: Tuesday, August 27, 2019 3:44 PM
> To: u-boot@lists.denx.de; Prabhakar Kushwaha
> ; bmeng...@gmail.com
> Cc: Z.q. Hou 
> Subject: [PATCHv3 0/3] dm: pcie_fsl: Fix some issues
> 
> From: Hou Zhiqiang 
> 
> The current driver is not working on some PowerPC T-series, P-series and
> MPC85xx platforms due to the difference in PCIe IP revisions and the various
> integration on different platforms. This patch set fixes these issues.
> 
> Hou Zhiqiang (3):
>   dm: pcie_fsl: Convert IS_ENABLED() run-time checking to #ifdef
>   dm: pcie_fsl: Fix the Class Code fixup function
>   dm: pcie_fsl: Fix the calculation of controller index
> 

This patch series has been applied to u-boot-mpc85xx, awaiting upstream.

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


[U-Boot] pull request: u-boot-mpc85xx/master

2019-08-28 Thread Prabhakar Kushwaha
Dear Tom,

Please find my pull request for u-boot-mpc85xx/master

Summary:
  Enable DM PCI for T2080RDB, T4240RDB, T1024RDB, T1042D4RDB, P1020RDB,
  P2020RDB, P2041RDB, P3041DS, P4080DS, and MPC8548CDS

Travis-CI:  https://travis-ci.org/prabhukush/u-boot/builds/577733313

--pk (prabhakar: prabhu_kush)

-
The following changes since commit e4b8dd9b34021241cd05d5cc9d24b4ae34657830:

  Merge https://gitlab.denx.de/u-boot/custodians/u-boot-mpc85xx (2019-08-27 
07:11:37 -0400)

are available in the git repository at:

  https://gitlab.denx.de/u-boot/custodians/u-boot-mpc85xx.git HEAD

for you to fetch changes up to 43e881e38b505835dd3d20ab35b5845bc20a1aae:

  configs: MPC8548CDS: Enable PCIe driver (2019-08-28 13:47:47 +0530)


Hou Zhiqiang (50):
  dm: pcie_fsl: Convert IS_ENABLED() run-time checking to #ifdef
  dm: pcie_fsl: Fix the Class Code fixup function
  dm: pcie_fsl: Fix the calculation of controller index
  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 +
 

Re: [U-Boot] [PATCH v1 6/7] mmc: fsl_esdhc: Add emmc hs200 support

2019-08-27 Thread Prabhakar Kushwaha
Hi Peng

> -Original Message-
> From: U-Boot  On Behalf Of Yinbo Zhu
> Sent: Tuesday, July 16, 2019 12:39 PM
> To: York Sun ; u-boot@lists.denx.de
> Cc: Jiafei Pan ; Yinbo Zhu ; Xiaobo
> Xie 
> Subject: [U-Boot] [PATCH v1 6/7] mmc: fsl_esdhc: Add emmc hs200 support
> 
> Add eMMC hs200 mode support for increasing ls1028/ls1012/lx2160 eMMC
> work performance, but without tuning procedure which will cause mmc doesn't
> work. and this should be TODO work.
> 
> Signed-off-by: Yinbo Zhu 
> ---
>  drivers/mmc/fsl_esdhc.c | 34 +++---
>  include/fsl_esdhc.h |  4 
>  2 files changed, 23 insertions(+), 15 deletions(-)
> 

Can you please review and ack this patch. 
I will review other patches and send pull  via my tree.

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


Re: [U-Boot] [PATCHv2 00/14] powerpc: Enable device tree support

2019-08-27 Thread Prabhakar Kushwaha

> -Original Message-
> From: Hou Zhiqiang 
> Sent: Tuesday, August 20, 2019 3:05 PM
> To: u-boot@lists.denx.de; Prabhakar Kushwaha
> ; w...@denx.de; Shengzhou Liu
> ; Priyanka Jain ;
> s...@chromium.org; marek.vasut+rene...@gmail.com; s...@denx.de; Jagdish
> Gediya ; bmeng...@gmail.com; York Sun
> ; Jiafei Pan ; Xiaowei Bao
> 
> Cc: Z.q. Hou 
> Subject: [PATCHv2 00/14] powerpc: Enable device tree support
> 
> This patch is to enable device tree support for the Freescale PowerPC 
> platforms
> below.
> 
> Hou Zhiqiang (14):
>   powerpc: mpc85xx: Add device tree support option for PBL boot image
>   powerpc: Enable device tree support for T2080RDB
>   powerpc: Enable device tree support for T4240RDB
>   powerpc: Enable device tree support for T1024RDB
>   powerpc: Enable device tree support for T1042D4RDB
>   powerpc: Enable device tree support for P1020RDB
>   powerpc: Enable device tree support for P2020RDB
>   powerpc: Enable device tree support for P2041RDB
>   powerpc: Enable device tree support for P3041DS
>   powerpc: Enable device tree support for P4080DS
>   powerpc: Enable device tree support for P5040DS
>   powerpc: dts: add default definition of CONFIG_RESET_VECTOR_ADDRESS
>   powerpc: mpc8548cds: extend the reserved length for monitor
>   powerpc: Enable device tree support for MPC8548CDS
> 

This patch has been applied to u-boot-mpc85xx, awaiting upstream.

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


Re: [U-Boot] [PATCH v2] ddr, fsl: add DM_I2C support

2019-08-27 Thread Prabhakar Kushwaha

> -Original Message-
> From: Heiko Schocher 
> Sent: Monday, August 26, 2019 8:59 PM
> To: u-boot@lists.denx.de
> Cc: Heiko Schocher ; Chuanhua Han ;
> Mario Six ; Prabhakar Kushwaha
> ; York Sun 
> Subject: [PATCH v2] ddr, fsl: add DM_I2C support
> 
> add DM_I2C support for this driver.
> 
> Signed-off-by: Heiko Schocher 
> 
> ---
> 

This patch has been applied to u-boot-mpc85xx, awaiting upstream.

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


[U-Boot] pull request: u-boot-mpc85xx/master

2019-08-27 Thread Prabhakar Kushwaha
Dear Tom,

Please find my pull request for u-boot-mpc85xx/master

Summary:
  Support of device tree model for T2080RDB, T4240RDB, T1024RDB, 
T1042D4RDB, 
  P1020RDB, P2020RDB, P2041RDB, P3041DS, P4080DS, P5040DS and 
MPC8548CDS. Also 
support of  i2c dm model.

Travis-CI:  https://travis-ci.org/prabhukush/u-boot/builds/576892818

--pk (prabhakar: prabhu_kush)

---

The following changes since commit 1ee774d20914fb89ad1b236aedb4178912f77c77:

  Convert CONFIG_SYS_SPI_U_BOOT_OFFS to Kconfig (2019-08-25 20:59:00 -0400)

are available in the git repository at:

  https://gitlab.denx.de/u-boot/custodians/u-boot-mpc85xx.git HEAD

for you to fetch changes up to f83c7788a71eb3a67571f80a7917f2404156df70:

  powerpc: Enable device tree support for MPC8548CDS (2019-08-26 21:33:46 +0530)


Heiko Schocher (1):
  ddr, fsl: add DM_I2C support

Hou Zhiqiang (14):
  powerpc: mpc85xx: Add device tree support option for PBL boot image
  powerpc: Enable device tree support for T2080RDB
  powerpc: Enable device tree support for T4240RDB
  powerpc: Enable device tree support for T1024RDB
  powerpc: Enable device tree support for T1042D4RDB
  powerpc: Enable device tree support for P1020RDB
  powerpc: Enable device tree support for P2020RDB
  powerpc: Enable device tree support for P2041RDB
  powerpc: Enable device tree support for P3041DS
  powerpc: Enable device tree support for P4080DS
  powerpc: Enable device tree support for P5040DS
  powerpc: dts: add default definition of CONFIG_RESET_VECTOR_ADDRESS
  powerpc: mpc8548cds: extend the reserved length for monitor
  powerpc: Enable device tree support for MPC8548CDS

 Makefile |   8 +-
 arch/powerpc/dts/Makefile|  12 +++
 arch/powerpc/dts/e500mc_power_isa.dtsi   |  33 
 arch/powerpc/dts/e500v2_power_isa.dtsi   |  26 ++
 arch/powerpc/dts/e5500_power_isa.dtsi|  34 
 arch/powerpc/dts/mpc8548-post.dtsi   |  27 ++
 arch/powerpc/dts/mpc8548.dtsi|  27 ++
 arch/powerpc/dts/mpc8548cds.dts  |  23 ++
 arch/powerpc/dts/mpc8548cds_36b.dts  |  23 ++
 arch/powerpc/dts/p1020-post.dtsi |  27 ++
 arch/powerpc/dts/p1020.dtsi  |  31 +++
 arch/powerpc/dts/p1020rdb-pc.dts |  23 ++
 arch/powerpc/dts/p1020rdb-pc_36b.dts |  23 ++
 arch/powerpc/dts/p1020rdb-pd.dts |  23 ++
 arch/powerpc/dts/p2020-post.dtsi |  27 ++
 arch/powerpc/dts/p2020.dtsi  |  31 +++
 arch/powerpc/dts/p2020rdb-pc.dts |  23 ++
 arch/powerpc/dts/p2020rdb-pc_36b.dts |  23 ++
 arch/powerpc/dts/p2041.dtsi  |  63 ++
 arch/powerpc/dts/p2041rdb.dts|  18 
 arch/powerpc/dts/p3041.dtsi  |  63 ++
 arch/powerpc/dts/p3041ds.dts |  18 
 arch/powerpc/dts/p4080.dtsi  |  83 +++
 arch/powerpc/dts/p4080ds.dts |  18 
 arch/powerpc/dts/p5040.dtsi  |  62 ++
 arch/powerpc/dts/p5040ds.dts |  18 
 arch/powerpc/dts/t1024rdb.dts|  17 
 arch/powerpc/dts/t102x.dtsi  |  52 
 arch/powerpc/dts/t1042d4rdb.dts  |  17 
 arch/powerpc/dts/t104x.dtsi  |  62 ++
 arch/powerpc/dts/t2080rdb.dts|  17 
 arch/powerpc/dts/t4240.dtsi  | 102 +++
 arch/powerpc/dts/t4240rdb.dts|  17 
 arch/powerpc/dts/u-boot.dtsi |   3 +
 board/freescale/p1_p2_rdb_pc/README  |  19 +
 board/freescale/p2041rdb/README  |  18 
 board/freescale/t102xrdb/README  |  19 +
 board/freescale/t104xrdb/README  |  19 +
 board/freescale/t208xrdb/README  |  19 +
 configs/MPC8548CDS_36BIT_defconfig   |   3 +
 configs/MPC8548CDS_defconfig |   3 +
 configs/MPC8548CDS_legacy_defconfig  |   3 +
 configs/P1020RDB-PC_36BIT_NAND_defconfig |   3 +-
 configs/P1020RDB-PC_36BIT_SDCARD_defconfig   |   3 +-
 configs/P1020RDB-PC_36BIT_SPIFLASH_defconfig |   3 +-
 configs/P1020RDB-PC_36BIT_defconfig  |   4 +-
 configs/P1020RDB-PC_NAND_defconfig   |   3 +-
 configs/P1020RDB-PC_SDCARD_defconfig |   3 +-
 configs/P1020RDB-PC_SPIFLASH_defconfig   |   3 +-
 configs/P1020RDB-PC_defconfig|   4 +-
 configs/P1020RDB-PD_NAND_defconfig   |   3 +-
 configs/P1020RDB-PD_SDCARD_defconfig |   3 +-
 

Re: [U-Boot] [PATCHv2 1/3] dm: pcie_fsl: Fix workaround of P4080 erratum A003

2019-08-27 Thread Prabhakar Kushwaha
Thanks Bin

Let me integrate his patch-set.

> -Original Message-
> From: Bin Meng 
> Sent: Tuesday, August 27, 2019 10:32 AM
> To: Prabhakar Kushwaha 
> Cc: Z.q. Hou ; u-boot@lists.denx.de
> Subject: Re: [PATCHv2 1/3] dm: pcie_fsl: Fix workaround of P4080 erratum A003
> 
> Hi Prabhakar,
> 
> On Mon, Aug 26, 2019 at 9:00 PM Bin Meng  wrote:
> >
> > Hi Prabhakar,
> >
> > On Mon, Aug 26, 2019 at 5:10 PM Prabhakar Kushwaha
> >  wrote:
> > >
> > > Dear Bin,
> > >
> > > > -Original Message-
> > > > From: Bin Meng 
> > > > Sent: Monday, August 26, 2019 2:21 PM
> > > > To: Z.q. Hou 
> > > > Cc: u-boot@lists.denx.de; Prabhakar Kushwaha
> > > > 
> > > > Subject: Re: [PATCHv2 1/3] dm: pcie_fsl: Fix workaround of P4080
> > > > erratum A003
> > > >
> > > > Hi Zhiqiang,
> > > >
> > > > On Mon, Aug 26, 2019 at 4:34 PM Z.q. Hou 
> wrote:
> > > > >
> > > > > Hi Bin,
> > > > >
> > > > > Thanks a lot for your comments!
> > > > >
> > > > > > -Original Message-
> > > > > > From: Bin Meng 
> > > > > > Sent: 2019年8月26日 13:59
> > > > > > To: Z.q. Hou 
> > > > > > Cc: u-boot@lists.denx.de; Prabhakar Kushwaha
> > > > > > 
> > > > > > Subject: Re: [PATCHv2 1/3] dm: pcie_fsl: Fix workaround of
> > > > > > P4080 erratum
> > > > > > A003
> > > > > >
> > > > > > Hi Zhiqiang,
> > > > > >
> > > > > > On Sun, Aug 25, 2019 at 11:42 PM Z.q. Hou 
> wrote:
> > > > > > >
> > > > > > > From: Hou Zhiqiang 
> > > > > > >
> > > > > > > In the workaround of P4080 erratum A003, it uses the macro
> > > > > > > CONFIG_SYS_FSL_CORENET_SERDES_ADDR to get the SerDes block
> > > > > > register
> > > > > > > address, the CONFIG_SYS_FSL_CORENET_SERDES_ADDR is defined
> > > > > > > as
> > > > > > > following:
> > > > > > >
> > > > > > > (CONFIG_SYS_IMMR +
> > > > > > CONFIG_SYS_FSL_CORENET_SERDES_OFFSET)
> > > > > > >
> > > > > > > The problem is the macro CONFIG_SYS_FSL_CORENET_SERDES_ADDR
> > > > > > > is
> > > > > > defined
> > > > > > > on both corenet and non-corenet platforms (though it should
> > > > > > > be defined only on corenet platforms), but the macro
> > > > > > > CONFIG_SYS_FSL_CORENET_SERDES_OFFSET is only defined on
> > > > > > > corenet platforms, so when enabled this driver on
> > > > > > > non-corenet platforms,
> > > > > >
> > > > > > so when enabling
> > > > >
> > > > > The following series will enable DM PCIe on some PowerPC
> > > > > platforms including MPC8548CDS, which isn't a CORENET platform.
> > > > > http://patch
> > > > >
> > > >
> work.ozlabs.org%2Fproject%2Fuboot%2Flist%2F%3Fseries%3D120966
> > > > dat
> > > > a
> > > > >
> > > >
> =02%7C01%7Cprabhakar.kushwaha%40nxp.com%7C927d704c60734c63fb7708
> > > > d72a02
> > > > >
> > > >
> 7cd0%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C63702406248371
> > > > 8776
> > > > >
> > > >
> mp;sdata=HLHA1%2FXmSxPPz%2FOF%2BWu30kQDD0xGsWOhxyHBEuMs8hw%
> > > > 3Drese
> > > > > rved=0
> > > >
> > > > Is this patch series merged? Or still in the review queue. I would
> > > > like to have a look.
> > > >
> > >
> > > This patch series has not been merged. I am in process of integrating it.
> > >
> > > powerpc: Enable PCIe DM drvier for some platforms:
> > > https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpat
> > >
> chwork.ozlabs.org%2Fproject%2Fuboot%2Flist%2F%3Fseries%3D120966
> > >
> data=02%7C01%7Cprabhakar.kushwaha%40nxp.com%7C13a11a268f744379648
> 508
> > >
> d72aabb175%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C63702478
> 9212
> > >
> 237371sdata=eC0rQReEX7PtVDTlHXmTl2TyHVh70gRYVy4dsBrl7fk%3D
> mp;
> > > reserved=0
> > >
> > > If you have feedback. Please do share.
> > >
> > > I can wait to send in in rc4 or rc5.
> >
> > Thanks for letting me know the patch status. I will take a look soon.
> >
> 
> Thanks to Zhiqiang's quick response to my review comments, now I have
> finished the review for patch series
> https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpatchwor
> k.ozlabs.org%2Fproject%2Fuboot%2Flist%2F%3Fseries%3D120966data=0
> 2%7C01%7Cprabhakar.kushwaha%40nxp.com%7C13a11a268f744379648508d7
> 2aabb175%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C6370247892
> 12237371sdata=eC0rQReEX7PtVDTlHXmTl2TyHVh70gRYVy4dsBrl7fk%3D
> reserved=0.
> 
> Regards,
> Bin
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PATCH v6 1/4] dm: spi: Convert Freescale ESPI driver to driver model

2019-08-26 Thread Prabhakar Kushwaha
Dear Jagan,

> -Original Message-
> From: Xiaowei Bao 
> Sent: Monday, August 26, 2019 2:55 PM
> To: w...@denx.de; Shengzhou Liu ; Ruchika Gupta
> ; ja...@amarulasolutions.com; s...@chromium.org;
> Prabhakar Kushwaha ; Chuanhua Han
> ; Jagdish Gediya ;
> bmeng...@gmail.com; u-boot@lists.denx.de
> Cc: York Sun ; Xiaowei Bao 
> Subject: [PATCH v6 1/4] dm: spi: Convert Freescale ESPI driver to driver model
> 
> From: Chuanhua Han 
> 
> 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 
> Signed-off-by: Xiaowei Bao 
> ---
> depends on:
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatchwo
> rk.ozlabs.org%2Fcover%2F1146494%2Fdata=02%7C01%7Cprabhakar.kus
> hwaha%40nxp.com%7Ccc2424972d4e4d6835f908d72a08b877%7C686ea1d3bc2
> b4c6fa92cd99c5c301635%7C0%7C0%7C637024089250212151sdata=3Ki9
> mrnn9YXWMR0vjoDmeE2eKBIn1RKlgnRC81SZQbU%3Dreserved=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


Re: [U-Boot] [PATCHv2 1/3] dm: pcie_fsl: Fix workaround of P4080 erratum A003

2019-08-26 Thread Prabhakar Kushwaha
Dear Bin,

> -Original Message-
> From: Bin Meng 
> Sent: Monday, August 26, 2019 2:21 PM
> To: Z.q. Hou 
> Cc: u-boot@lists.denx.de; Prabhakar Kushwaha
> 
> Subject: Re: [PATCHv2 1/3] dm: pcie_fsl: Fix workaround of P4080 erratum A003
> 
> Hi Zhiqiang,
> 
> On Mon, Aug 26, 2019 at 4:34 PM Z.q. Hou  wrote:
> >
> > Hi Bin,
> >
> > Thanks a lot for your comments!
> >
> > > -Original Message-
> > > From: Bin Meng 
> > > Sent: 2019年8月26日 13:59
> > > To: Z.q. Hou 
> > > Cc: u-boot@lists.denx.de; Prabhakar Kushwaha
> > > 
> > > Subject: Re: [PATCHv2 1/3] dm: pcie_fsl: Fix workaround of P4080
> > > erratum
> > > A003
> > >
> > > Hi Zhiqiang,
> > >
> > > On Sun, Aug 25, 2019 at 11:42 PM Z.q. Hou  wrote:
> > > >
> > > > From: Hou Zhiqiang 
> > > >
> > > > In the workaround of P4080 erratum A003, it uses the macro
> > > > CONFIG_SYS_FSL_CORENET_SERDES_ADDR to get the SerDes block
> > > register
> > > > address, the CONFIG_SYS_FSL_CORENET_SERDES_ADDR is defined as
> > > > following:
> > > >
> > > > (CONFIG_SYS_IMMR +
> > > CONFIG_SYS_FSL_CORENET_SERDES_OFFSET)
> > > >
> > > > The problem is the macro CONFIG_SYS_FSL_CORENET_SERDES_ADDR is
> > > defined
> > > > on both corenet and non-corenet platforms (though it should be
> > > > defined only on corenet platforms), but the macro
> > > > CONFIG_SYS_FSL_CORENET_SERDES_OFFSET is only defined on corenet
> > > > platforms, so when enabled this driver on non-corenet platforms,
> > >
> > > so when enabling
> >
> > The following series will enable DM PCIe on some PowerPC platforms
> > including MPC8548CDS, which isn't a CORENET platform.
> > https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpatch
> >
> work.ozlabs.org%2Fproject%2Fuboot%2Flist%2F%3Fseries%3D120966dat
> a
> >
> =02%7C01%7Cprabhakar.kushwaha%40nxp.com%7C927d704c60734c63fb7708
> d72a02
> >
> 7cd0%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C63702406248371
> 8776
> >
> mp;sdata=HLHA1%2FXmSxPPz%2FOF%2BWu30kQDD0xGsWOhxyHBEuMs8hw%
> 3Drese
> > rved=0
> 
> Is this patch series merged? Or still in the review queue. I would like to 
> have a
> look.
> 

This patch series has not been merged. I am in process of integrating it. 

powerpc: Enable PCIe DM drvier for some platforms: 
http://patchwork.ozlabs.org/project/uboot/list/?series=120966

If you have feedback. Please do share. 

I can wait to send in in rc4 or rc5. 

--pk



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


Re: [U-Boot] [PATCH v1] ddr, fsl: add DM_I2C support

2019-08-26 Thread Prabhakar Kushwaha
Dear Heiko,

> -Original Message-
> From: Heiko Schocher 
> Sent: Monday, August 26, 2019 11:08 AM
> To: Prabhakar Kushwaha 
> Cc: u-boot@lists.denx.de; York Sun ; Chuanhua Han
> 
> Subject: Re: [U-Boot] [PATCH v1] ddr, fsl: add DM_I2C support
> 
> Hello Prabhakar,
> 
> Am 22.08.2019 um 13:33 schrieb Prabhakar Kushwaha:
> > Dear Heiko,
> >
> >
> >> -Original Message-
> >> From: U-Boot  On Behalf Of Heiko
> >> Schocher
> >> Sent: Tuesday, July 16, 2019 9:29 AM
> >> To: u-boot@lists.denx.de
> >> Cc: York Sun 
> >> Subject: [U-Boot] [PATCH v1] ddr, fsl: add DM_I2C support
> >>
> >> add DM_I2C support for this driver.
> >>
> >> Signed-off-by: Heiko Schocher 
> >>
> >> ---
> >>
> >> Did not fixed checkpatch warning:
> >>
> >> CHECK: Prefer kernel type 'u8' over 'uint8_t'
> >> +   uint8_t buf = 0;
> >>
> >> Travis build, see:
> >> https://travis
> >> -ci.org%2Fhsdenx%2Fu-boot-
> >>
> test%2Fbuilds%2F558858904data=02%7C01%7Cprabhakar.kushwaha%
> >>
> 40nxp.com%7C2c5f1ecc6ff9417a8ccb08d709a20297%7C686ea1d3bc2b4c6fa92
> >>
> cd99c5c301635%7C0%7C0%7C636988463754459178sdata=H%2FkQV%2
> >> Bavu2EfajG3El5M%2FsKyuSPO6Nn0QRMVpzsvsUY%3Dreserved=0
> >>
> >>   drivers/ddr/fsl/main.c | 88 --
> >> 
> >
> > How you tested both NXP's powerpc and ARM platforms as fsl i2c is yet to
> move to DM model?
> > Or my understanding is wrong.
> 
> I only tested on powerpc (preciser socrates_defconfig) platform ...
> 
> But I see that now in current mainline there is applied a change in
> drivers/ddr/fsl/main.c from commit:
> 
> commit 0eba65d2013e5517e70cc9b3d467ba8183b54cd9
> Author: Chuanhua Han 
> Date:   Wed Jul 10 21:00:20 2019 +0800
> 
> boards: lx2160a: Add support of I2C driver model
> 
>  DM_I2C_COMPAT is a compatibility layer that allows using the non-DM I2C
>  API when DM_I2C is used. When DM_I2C_COMPAT is not enabled for
>  compilation, a compilation error will be generated. This patch solves
>  the problem that the i2c-related api of the lx2160a platform does not
>  support dm.
> 
>  Signed-off-by: Chuanhua Han 
>  Reviewed-by: Prabhakar Kushwaha 
> 
> Which does some similiar change ... but I think this already applied patch
> introduces more ifdefs and code ...
> 
> 
> Hmm.. just tried to compile U-Boot for the socrates board (with DM
> changes) without my patch ... I get compilererror:
> 
> /home/hs/data/Entwicklung/abb/uboot-rework/u-boot/drivers/ddr/fsl/main.c:
> In function '__get_spd':
> /home/hs/data/Entwicklung/abb/uboot-rework/u-
> boot/drivers/ddr/fsl/main.c:144:52: error: 'dev'
> undeclared (first use in this function)
>ret = i2c_get_chip_for_busnum(0, i2c_address, 1, );
>  ^~~
> /home/hs/data/Entwicklung/abb/uboot-rework/u-
> boot/drivers/ddr/fsl/main.c:144:52: note: each undeclared identifier is 
> reported
> only once for each function it appears in
> make[2]: *** [/home/hs/data/Entwicklung/abb/uboot-rework/u-
> boot/scripts/Makefile.build:278:
> drivers/ddr/fsl/main.o] Fehler 1
> make[1]: *** [/home/hs/data/Entwicklung/abb/uboot-rework/u-
> boot/Makefile:1588: drivers/ddr/fsl] Fehler 2
> make[1]: *** Es wird auf noch nicht beendete Prozesse gewartet
>CC  drivers/i2c/fsl_i2c.o
>CC  cmd/elf.o
> 
> :-(
> 


My bad. I only tested build/run on NXP's ARM platforms.
As I am working on PowerPC pull request, I missed it.  




> Ok, fixed this fast and dirty with:
> 
> diff --git a/drivers/ddr/fsl/main.c b/drivers/ddr/fsl/main.c index
> ac0783b428..5f05a2c863 100644
> --- a/drivers/ddr/fsl/main.c
> +++ b/drivers/ddr/fsl/main.c
> @@ -91,6 +91,7 @@ static void __get_spd(generic_spd_eeprom_t *spd, u8
> i2c_address)
>   #ifdef CONFIG_SYS_FSL_DDR4
>  uint8_t dummy = 0;
>   #endif
> +   struct udevice *dev;
> 
>   #ifndef CONFIG_DM_I2C
>  i2c_set_bus_num(CONFIG_SYS_SPD_BUS_NUM);
> 
> and now code compiles and after flashing U-Boot I see:
> 
> U-Boot 2019.10-rc2-00151-ge4b57b4557-dirty (Aug 26 2019 - 07:17:47 +0200)
> 
> CPU:   8544, Version: 2.1, (0x80340121)
> Core:  e500, Version: 2.3, (0x80210023)
> Clock Configuration:
> CPU0:666.667 MHz,
> CCB:333.333 MHz,
> DDR:166.667 MHz (333.333 MT/s data rate), LBC:333.333 MHz
> L1:D-cache 32 KiB enabled
> I-cache 32 KiB enabled
> Model: abb,socrates
> Board: Socrates, serial# 1001321865
>

Re: [U-Boot] [PATCH v4 2/4] armv8: ls2088aqds: The ls2088aqds board supports the I2C driver model.

2019-08-23 Thread Prabhakar Kushwaha

++ Xiaowei Bao (he is taking over from Chuanhua)

> -Original Message-
> From: Wolfgang Denk 
> Sent: Friday, August 23, 2019 3:05 PM
> To: Chuanhua Han 
> Cc: albert.u.b...@aribaud.net; Prabhakar Kushwaha
> ; Priyanka Jain ;
> Rajesh Bhagat ; u-boot@lists.denx.de;
> lu...@denx.de; tr...@konsulko.com
> Subject: Re: [PATCH v4 2/4] armv8: ls2088aqds: The ls2088aqds board supports
> the I2C driver model.
> 
> Dear Chuanhua Han,
> 
> In message <20190726112403.32842-2-chuanhua@nxp.com> you wrote:
> > This patch is updating ls2088aqds board init code to support DM_I2C.
> ...
> > +struct reg_pair {
> > +   uint addr;
> > +   u8 *val;
> > +};
> > +
> >  static void sgmii_configure_repeater(int serdes_port)  {
> > struct mii_dev *bus;
> > uint8_t a = 0xf;
> > -   int i, j, ret;
> > +   int i, j, k, ret;
> > int dpmac_id = 0, dpmac, mii_bus = 0;
> > unsigned short value;
> > char dev[2][20] = {"LS2080A_QDS_MDIO0", "LS2080A_QDS_MDIO3"};
> @@
> > -104,10 +109,30 @@ static void sgmii_configure_repeater(int serdes_port)
> > uint8_t ch_b_eq[] = {0x1, 0x2, 0x3, 0x7};
> > uint8_t ch_b_ctl2[] = {0x81, 0x82, 0x83, 0x84};
> >
> > +   u8 reg_val[6] = {0x18, 0x38, 0x4, 0x14, 0xb5, 0x20};
> > +   struct reg_pair reg_pair[10] = {
> > +   {6, _val[0]}, {4, _val[1]},
> > +   {8, _val[2]}, {0xf, NULL},
> > +   {0x11, NULL}, {0x16, NULL},
> > +   {0x18, NULL}, {0x23, _val[3]},
> > +   {0x2d, _val[4]}, {4, _val[5]},
> > +   };
> 
> Argh... this is pretty much unreadable.  Why do you use a pointer for "val" in
> your struct reg_pair?
> 
> Would it not be much simpler to use something like this:
> 
> struct reg_pair {
>   uintaddr;
>   u8  val;
> }
> ...
>   struct reg_pair reg_pair[] = {
>   {0x06, 0x18},
>   {0x04, 0x38},
>   {0x08, 0x04},
>   {0x0F, 0},
>   {0x11, 0},
>   {0x16, 0},
>   {0x18, 0},
>   {0x23, 0x14},
>   {0x2D, 0xB5},
>   {0x04, 0x20},
>   }}
> ?
> 
> Also, you should add some comments what all these magic numbers mean. As is,
> nobody is able to understand what you are doing here.
> This must be explained!
> 
> Also, a comment should be added that (and why) some of the values get inserted
> dynamically later down in the code.
> 
> 

Dear Wolfgang, 

Unfortunately this patch has been merged in main-line. 

But I will ask (Xiaowei Bao) to send patch to fix it.  I will make sure to get 
fix in RC3 or RC4. 

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


Re: [U-Boot] [PATCH v4 1/4] rtc: ds3232/ds3231: Add support to generate 32KHz output for driver module

2019-08-23 Thread Prabhakar Kushwaha
++ Xiaowei Bao (he is taking over from Chuanhua)

> -Original Message-
> From: Wolfgang Denk 
> Sent: Friday, August 23, 2019 2:53 PM
> To: Chuanhua Han 
> Cc: albert.u.b...@aribaud.net; Prabhakar Kushwaha
> ; Priyanka Jain ;
> Rajesh Bhagat ; u-boot@lists.denx.de;
> lu...@denx.de; tr...@konsulko.com
> Subject: Re: [PATCH v4 1/4] rtc: ds3232/ds3231: Add support to generate 32KHz
> output for driver module
> 
> Dear Chuanhua Han,
> 
> In message <20190726112403.32842-1-chuanhua@nxp.com> you wrote:
> > This patch add an implementation of the rtc_enable_32khz_output() that
> > uses the driver model i2c APIs.
> ...
> > +   ret = i2c_get_chip_for_busnum(busnum, chip_addr, 1, );
> > +   if (!ret)
> > +   ret = dm_i2c_reg_write(dev, RTC_STAT_REG_ADDR,
> > +  RTC_STAT_BIT_BB32KHZ |
> > +  RTC_STAT_BIT_EN32KHZ);
> 
> Strictly speaking, this is a multi-line statement following the "if"
> so braces are required according to the coding style:
> 
>   if (!ret) {
>   ret = dm_i2c_reg_write(dev, RTC_STAT_REG_ADDR,
>  RTC_STAT_BIT_BB32KHZ |) 
>  RTC_STAT_BIT_EN32KHZ);
>   }
> 

Dear Wolfgang, 

Unfortunately this patch has been merged in main-line. 

But I will ask (Xiaowei Bao) to send patch to fix it.  I will make sure to get 
fix in RC3 or RC4. 

--pk





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


Re: [U-Boot] [PATCH v1] pci: add DM based mpc85xx driver

2019-08-22 Thread Prabhakar Kushwaha
Dear Zhiqiang 

> -Original Message-
> From: Heiko Schocher 
> Sent: Tuesday, July 16, 2019 9:06 AM
> To: u-boot@lists.denx.de
> Cc: Heiko Schocher ; Alexander Graf ;
> Andrew F. Davis ; Xiaowei Bao ; Bin
> Meng ; Eugen Hristev
> ; Heinrich Schuchardt
> ; Horatiu Vultur ;
> Z.q. Hou ; Krzysztof Kozlowski ;
> Liviu Dudau ; Marek Vasut
> ; Mario Six ; Michal Simek
> ; Neil Armstrong ;
> Prabhakar Kushwaha ; Ryder Lee
> ; Simon Glass ; Stefan
> Roese 
> Subject: [PATCH v1] pci: add DM based mpc85xx driver
> 
> add DM based PCI Configuration space access support for MPC85xx PCI
> Bridge
> 
> Signed-off-by: Heiko Schocher 
> 
> ---

Can you please review this patch 

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


Re: [U-Boot] [PATCH v1] ddr, fsl: add DM_I2C support

2019-08-22 Thread Prabhakar Kushwaha
Dear Heiko,


> -Original Message-
> From: U-Boot  On Behalf Of Heiko Schocher
> Sent: Tuesday, July 16, 2019 9:29 AM
> To: u-boot@lists.denx.de
> Cc: York Sun 
> Subject: [U-Boot] [PATCH v1] ddr, fsl: add DM_I2C support
> 
> add DM_I2C support for this driver.
> 
> Signed-off-by: Heiko Schocher 
> 
> ---
> 
> Did not fixed checkpatch warning:
> 
> CHECK: Prefer kernel type 'u8' over 'uint8_t'
> +   uint8_t buf = 0;
> 
> Travis build, see:
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftravis
> -ci.org%2Fhsdenx%2Fu-boot-
> test%2Fbuilds%2F558858904data=02%7C01%7Cprabhakar.kushwaha%
> 40nxp.com%7C2c5f1ecc6ff9417a8ccb08d709a20297%7C686ea1d3bc2b4c6fa92
> cd99c5c301635%7C0%7C0%7C636988463754459178sdata=H%2FkQV%2
> Bavu2EfajG3El5M%2FsKyuSPO6Nn0QRMVpzsvsUY%3Dreserved=0
> 
>  drivers/ddr/fsl/main.c | 88 --
> 

How you tested both NXP's powerpc and ARM platforms as fsl i2c is yet to move 
to DM model?
Or my understanding is wrong. 

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


Re: [U-Boot] [PATCH v4 1/4] armv8: ls1028a: The ls1028a platform supports the I2C driver model

2019-08-22 Thread Prabhakar Kushwaha

> -Original Message-
> From: Alex Marginean 
> Sent: Friday, July 12, 2019 5:17 PM
> To: Chuanhua Han ; albert.u.b...@aribaud.net;
> Sudhanshu Gupta ; Harninder Rai
> ; Rajesh Bhagat ; Andy
> Tang ; Prabhakar Kushwaha
> 
> Cc: u-boot@lists.denx.de
> Subject: Re: [U-Boot] [PATCH v4 1/4] armv8: ls1028a: The ls1028a platform
> supports the I2C driver model
> 
> On 7/10/2019 4:16 PM, Chuanhua Han wrote:
> > DM_I2C_COMPAT is a compatibility layer that allows using the non-DM
> > I2C API when DM_I2C is used.When DM_I2C_COMPAT is not enabled for
> > compilation, a compilation error will be generated. This patch solves
> > the problem that the i2c-related api of the ls1028a platform does not
> > support dm.
> 
> I wouldn't mention DM_I2C_COMPAT at all in the commit message, it's not
> currently enabled and after this patch set it's not needed either.
> You could just mention that the patch is updating ls1028a board init code to
> support DM_I2C.
> 
> >
> > Signed-off-by: Chuanhua Han 
> > ---
> > depends on:
> > -
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatch
> work.ozlabs.org%2Fproject%2Fuboot%2Flist%2F%3Fseries%3D113364
> data=02%7C01%7Cprabhakar.kushwaha%40nxp.com%7C6f4831088b7844837
> 72d08d706bea74c%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636
> 985288233302816sdata=Fca4rUVC9A%2BemvycTWnILNfGvlg42iOlwozk
> c0ngIwM%3Dreserved=0
> > -
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatch
> work.ozlabs.org%2Fproject%2Fuboot%2Flist%2F%3Fseries%3D110856
> data=02%7C01%7Cprabhakar.kushwaha%40nxp.com%7C6f4831088b7844837
> 72d08d706bea74c%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636
> 985288233302816sdata=9%2F1FmA0GZqnODbYvuX3SERC8TDcYF8eMX
> mLzILb3wH0%3Dreserved=0
> > -
> >
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatc
> >
> hwork.ozlabs.org%2Fproject%2Fuboot%2Flist%2F%3Fseries%3D109677
> ;dat
> >
> a=02%7C01%7Cprabhakar.kushwaha%40nxp.com%7C6f4831088b784483772d
> 08d706b
> >
> ea74c%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C6369852882333
> 02816&
> >
> amp;sdata=HYgFDC9knJz3HdY5BLAHwotg5OutAWWEbz6xmm%2FTXzs%3D&
> amp;reserve
> > d=0
> >
> > Changes in v4:
> > - No change.
> > Changes in v3:
> > - No change.
> > Changes in v2:
> > - No change.
> >
> >   arch/arm/cpu/armv8/fsl-layerscape/Kconfig |8 
> >   board/freescale/ls1028a/ls1028a.c |8 
> >   include/configs/ls1028a_common.h  |3 ---
> >   include/configs/ls1028ardb.h  |1 -
> >   4 files changed, 8 insertions(+), 12 deletions(-)
> >
> 
> code changes look OK to me.
> 
> Reviewed-by: Alex Marginean 

This patch has been applied to fsl-qoriq master, awaiting upstream.

--pk

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


Re: [U-Boot] [PATCH v4] drivers: net: mc: Report extra memory to Linux

2019-08-22 Thread Prabhakar Kushwaha

> -Original Message-
> From: Meenakshi Aggarwal 
> Sent: Thursday, May 23, 2019 3:14 PM
> To: u-boot@lists.denx.de; Prabhakar Kushwaha
> 
> Cc: Meenakshi Aggarwal 
> Subject: [PATCH v4] drivers: net: mc: Report extra memory to Linux
> 
> MC firmware need to be aligned to 512M, so minimum 512MB DDR is
> reserved.
> But MC support to work with 128MB or 256MB DDR memory also, in this case,
> rest of the memory is not usable.
> So reporting this extra memory to Linux through dtb memory fixup.
> 
> Signed-off-by: Meenakshi Aggarwal 
> ---
> changed for v1:
> - Incorporated review comments in one board, Missed for
> other boards
> changed for v2:
>   - Incorporated review comments in all boards changed for v3:
> - Include revision history in patch changed for v4:
>   - Remove macro TRUE/FALSE
> 
This patch has been applied to fsl-qoriq master, awaiting upstream.

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


Re: [U-Boot] [PATCH v4 3/7] drivers: i2c: mxc: Solve the compiler error when using i2c dm mode

2019-08-22 Thread Prabhakar Kushwaha

> -Original Message-
> From: Chuanhua Han 
> Sent: Wednesday, July 10, 2019 6:30 PM
> To: albert.u.b...@aribaud.net; Priyanka Jain ; Udit
> Agarwal ; h...@denx.de; Prabhakar Kushwaha
> 
> Cc: u-boot@lists.denx.de; Chuanhua Han 
> Subject: [PATCH v4 3/7] drivers: i2c: mxc: Solve the compiler error when
> using i2c dm mode
> 
> This patch solved the following compilation error:
> 
> 1.Remove the definition of CONFIG_SYS_I2C to solve the following
> compilation issue:
> In file included from include/config.h:8:0,
>  from include/common.h:20:
> include/config_fallbacks.h:51:4: error: #error "Cannot define
> CONFIG_SYS_I2C when CONFIG_DM_I2C is used"
>  #  error "Cannot define CONFIG_SYS_I2C when CONFIG_DM_I2C is used"
> ^
> In file included from include/config.h:8:0,
>  from include/common.h:20:
> include/config_fallbacks.h:51:4: error: #error "Cannot define
> CONFIG_SYS_I2C when CONFIG_DM_I2C is used"
>  #  error "Cannot define CONFIG_SYS_I2C when CONFIG_DM_I2C is used"
> ^
> 
> 2.Remove the definition of CONFIG_SYS_I2C_EARLY_INIT to solve the
> following compilation issue:
> board/freescale/lx2160a/lx2160a.c: In function 'board_early_init_f':
> board/freescale/lx2160a/lx2160a.c:108:2: warning: implicit declaration of
> function 'i2c_early_init_f'; did you mean 'arch_early_init_r'?
> [-Wimplicit-function-declaration]
>   i2c_early_init_f();
>   ^~~~
>   arch_early_init_r
> 
> 3.Move the enable_i2c_clk function definition to resolve the following
> compilation issues:
>   drivers/i2c/mxc_i2c.c: In function 'mxc_i2c_probe':
>   drivers/i2c/mxc_i2c.c:824:8: warning: implicit declaration of function
> 'enable_i2c_clk';
>   did you mean 'enable_irq_wake'? [-Wimplicit-function-declaration]
>   ret = enable_i2c_clk(1, bus->seq);
> ^~
> enable_irq_wake
> 
> Signed-off-by: Chuanhua Han 
> ---


This patch has been applied to fsl-qoriq master, awaiting upstream.

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


Re: [U-Boot] [PATCH v4 2/4] armv8: ls2088aqds: The ls2088aqds board supports the I2C driver model.

2019-08-22 Thread Prabhakar Kushwaha

> -Original Message-
> From: Chuanhua Han 
> Sent: Friday, July 26, 2019 4:54 PM
> To: albert.u.b...@aribaud.net; Prabhakar Kushwaha
> ; Priyanka Jain ;
> Rajesh Bhagat 
> Cc: u-boot@lists.denx.de; w...@denx.de; lu...@denx.de;
> tr...@konsulko.com; Chuanhua Han 
> Subject: [PATCH v4 2/4] armv8: ls2088aqds: The ls2088aqds board supports
> the I2C driver model.
> 
> This patch is updating ls2088aqds board init code to support DM_I2C.
> 
> Signed-off-by: Chuanhua Han 
> ---

This patch has been applied to fsl-qoriq master, awaiting upstream.

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


Re: [U-Boot] [PATCH 1/4] armv8: ls1028aqds: Remove the definition of CONFIG_SYS_I2C_EARLY_INIT

2019-08-22 Thread Prabhakar Kushwaha

> -Original Message-
> From: Alex Marginean 
> Sent: Monday, July 15, 2019 12:44 PM
> To: Chuanhua Han ; Prabhakar Kushwaha
> ; albert.u.b...@aribaud.net; Andy Tang
> ; Sudhanshu Gupta ;
> Harninder Rai ; Rajesh Bhagat
> 
> Cc: u-boot@lists.denx.de
> Subject: Re: [U-Boot] [PATCH 1/4] armv8: ls1028aqds: Remove the definition
> of CONFIG_SYS_I2C_EARLY_INIT
> 
> On 7/10/2019 10:48 AM, Chuanhua Han wrote:
> > Since i2c uses dm mode, i2 controller will be initialized when reading
> > and writing devices on i2c bus. So there is no need for the original
> > non-dm mode i2c early initialization function call, this patch removed
> > the definition of CONFIG_SYS_I2C_EARLY_INIT.
> >
> > Signed-off-by: Chuanhua Han 
> > ---
> > depends on:
> > -
> https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpatch
> work.ozlabs.org%2Fproject%2Fuboot%2Flist%2F%3Fseries%3D117203
> data=02%7C01%7Cprabhakar.kushwaha%40nxp.com%7C2f6fd48f3fc54dbcdb
> d408d708f3ff64%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C63698
> 7716369898821sdata=jn0c472wqv0sbsoHxhJHikiMFz6d3ZSNABVMkeq
> MMIc%3Dreserved=0
> > -
> https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpatch
> work.ozlabs.org%2Fproject%2Fuboot%2Flist%2F%3Fseries%3D117224
> data=02%7C01%7Cprabhakar.kushwaha%40nxp.com%7C2f6fd48f3fc54dbcdb
> d408d708f3ff64%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C63698
> 7716369898821sdata=s8moqO3dojCdcZYYcsxkhuCOYWchZzaCAfHa5cg
> Rfdw%3Dreserved=0
> > -
> >
> https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpatch
> >
> work.ozlabs.org%2Fproject%2Fuboot%2Flist%2F%3Fseries%3D118231
> data
> >
> =02%7C01%7Cprabhakar.kushwaha%40nxp.com%7C2f6fd48f3fc54dbcdbd408
> d708f3
> >
> ff64%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636987716369898
> 821
> >
> mp;sdata=QPovyeok0sNuDdx1eVCQq0s1JYvb9aMNZ519LxR19qM%3D
> reserved=0
> >
> >   include/configs/ls1028aqds.h | 1 -
> >   1 file changed, 1 deletion(-)
> >
> Reviewed-by: Alex Marginean "

This patch has been applied to fsl-qoriq master, awaiting upstream.

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


Re: [U-Boot] [PATCH v4 2/4] gpio: do not include on ARCH_LS1028A

2019-08-22 Thread Prabhakar Kushwaha

> -Original Message-
> From: Alex Marginean 
> Sent: Friday, July 12, 2019 5:18 PM
> To: Chuanhua Han ; albert.u.b...@aribaud.net;
> Sudhanshu Gupta ; Harninder Rai
> ; Rajesh Bhagat ; Andy
> Tang ; Prabhakar Kushwaha
> 
> Cc: u-boot@lists.denx.de
> Subject: Re: [U-Boot] [PATCH v4 2/4] gpio: do not include 
> on ARCH_LS1028A
> 
> On 7/10/2019 4:16 PM, Chuanhua Han wrote:
> > As no gpio.h is defined for this architecture, to avoid compilation
> > failure, do not include  for arch ls1028a.
> >
> > Signed-off-by: Chuanhua Han 
> > ---

This patch has been applied to fsl-qoriq master, awaiting upstream.

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


Re: [U-Boot] [PATCH v3 1/5] armv8: ls2088a: The ls2088a platform supports the I2C driver model.

2019-08-22 Thread Prabhakar Kushwaha

> -Original Message-
> From: Chuanhua Han 
> Sent: Monday, July 22, 2019 2:07 PM
> To: albert.u.b...@aribaud.net; Prabhakar Kushwaha
> ; Priyanka Jain ;
> Rajesh Bhagat 
> Cc: u-boot@lists.denx.de; Chuanhua Han 
> Subject: [PATCH v3 1/5] armv8: ls2088a: The ls2088a platform supports the
> I2C driver model.
> 
> DM_I2C_COMPAT is a compatibility layer that allows using the non-DM I2C
> API when DM_I2C is used.When DM_I2C_COMPAT is not enabled for
> compilation, a compilation error will be generated. This patch solves the
> problem that the i2c-related api of the ls2088a platform does not support
> dm.
> 
> Signed-off-by: Chuanhua Han 
> ---

This patch has been applied to fsl-qoriq master, awaiting upstream.

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


Re: [U-Boot] [PATCH v2] common: qixis: make the qixis compatible with new soc

2019-08-22 Thread Prabhakar Kushwaha

> -Original Message-
> From: Yuantian Tang 
> Sent: Wednesday, June 19, 2019 12:09 PM
> To: Prabhakar Kushwaha 
> Cc: u-boot@lists.denx.de; Andy Tang ; Ashish Kumar
> 
> Subject: [PATCH v2] common: qixis: make the qixis compatible with new soc
> 
> This driver needs modification to work with new soc, like ls1028, since bitmap
> of RCFG is changed to RESV[7:5] LIVE[4] WDEN[3] RESV[2:1] GO[0]
>000  1   000  0
> 
> Also the RCW location is moved to only dutcfg0.
> RESV[7:4] RCWSRC[3:0]
>   configurable
> 
> Following commands are functional now
> qixis_reset
> qixis_reset sd
> qixis_reset qspi
> qixis_reset emmc
> 
> Signed-off-by: Ashish Kumar 
> Signed-off-by: Yuantian Tang 
> ---

This patch has been applied to fsl-qoriq master, awaiting upstream.

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


Re: [U-Boot] [PATCH] armv8: ls1028aqds: define ARCH_MISC_INIT to handle mux

2019-08-22 Thread Prabhakar Kushwaha

> -Original Message-
> From: Pankaj Bansal
> Sent: Tuesday, July 23, 2019 12:52 PM
> To: Albert Aribaud ; Jiafei Pan
> ; Prabhakar Kushwaha
> 
> Cc: u-boot@lists.denx.de
> Subject: [PATCH] armv8: ls1028aqds: define ARCH_MISC_INIT to handle mux
> 
> define ARCH_MISC_INIT for LS1028AQDS platform to handle board related
> mux.
> 
> Signed-off-by: Pankaj Bansal 
> ---

This patch has been applied to fsl-qoriq master, awaiting upstream.

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


Re: [U-Boot] [PATCH v2] board/fsl/lx2160ardb: enable flexcan

2019-08-22 Thread Prabhakar Kushwaha

> -Original Message-
> From: Pankaj Bansal
> Sent: Wednesday, July 17, 2019 3:05 PM
> To: Prabhakar Kushwaha ; Meenakshi
> Aggarwal ; Bin Meng
> 
> Cc: Varun Sethi ; u-boot@lists.denx.de; Pankaj Bansal
> 
> Subject: [PATCH v2] board/fsl/lx2160ardb: enable flexcan
> 
> Flexcan in LX2160ARDB is controlled by FPGA register boardcfg4 bit 5. enable
> this bit so that flexcan is enabled in LX2160ARDB.
> 
> Signed-off-by: Pankaj Bansal 
> ---

This patch has been applied to fsl-qoriq master, awaiting upstream.

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


Re: [U-Boot] [PATCH v4 1/7] armv8: lx2160a: The lx2160a platform supports the I2C driver model.

2019-08-22 Thread Prabhakar Kushwaha

> -Original Message-
> From: Chuanhua Han 
> Sent: Wednesday, July 10, 2019 6:30 PM
> To: albert.u.b...@aribaud.net; Priyanka Jain ; Udit
> Agarwal ; h...@denx.de; Prabhakar Kushwaha
> 
> Cc: u-boot@lists.denx.de; Chuanhua Han 
> Subject: [PATCH v4 1/7] armv8: lx2160a: The lx2160a platform supports the
> I2C driver model.
> 
> DM_I2C_COMPAT is a compatibility layer that allows using the non-DM I2C
> API when DM_I2C is used.When DM_I2C_COMPAT is not enabled for
> compilation, a compilation error will be generated. This patch solves the
> problem that the i2c-related api of the lx2160a platform does not support
> dm.
> 
> Signed-off-by: Chuanhua Han 
> ---

This patch has been applied to fsl-qoriq master, awaiting upstream.

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


Re: [U-Boot] [PATCH 4/5] armv8: dts: fsl-ls1088a: add I2C node support

2019-08-22 Thread Prabhakar Kushwaha

> -Original Message-
> From: Chuanhua Han 
> Sent: Tuesday, June 11, 2019 9:55 AM
> To: albert.u.b...@aribaud.net; Prabhakar Kushwaha
> ; Ashish Kumar ;
> Rajesh Bhagat 
> Cc: u-boot@lists.denx.de; Chuanhua Han 
> Subject: [PATCH 4/5] armv8: dts: fsl-ls1088a: add I2C node support
> 
> One ls1088a, there is four I2C controllers.
> This patch is to add I2C node for ls1088a.
> 
> Signed-off-by: Chuanhua Han 
> ---
> depends on:

This patch has been applied to fsl-qoriq master, awaiting upstream.

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


Re: [U-Boot] [PATCH v4 4/4] armv8: dts: ls1028ardb: Add slave nodes under the i2c0 controller

2019-08-22 Thread Prabhakar Kushwaha

> -Original Message-
> From: Chuanhua Han 
> Sent: Wednesday, July 10, 2019 6:47 PM
> To: albert.u.b...@aribaud.net; Sudhanshu Gupta
> ; Harninder Rai ;
> Rajesh Bhagat ; Andy Tang
> ; Prabhakar Kushwaha
> 
> Cc: u-boot@lists.denx.de; Chuanhua Han 
> Subject: [PATCH v4 4/4] armv8: dts: ls1028ardb: Add slave nodes under the
> i2c0 controller
> 
> This patch adds some slave nodes to support the i2c dm on the device side
> under the i2c0 controller.
> 
> Signed-off-by: Chuanhua Han 
> ---

This patch has been applied to fsl-qoriq master, awaiting upstream.

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


Re: [U-Boot] [PATCH v2] armv8: ls1028a: select BOARD_LATE_INIT config

2019-08-22 Thread Prabhakar Kushwaha

> -Original Message-
> From: Yuantian Tang 
> Sent: Tuesday, July 2, 2019 1:46 PM
> To: Prabhakar Kushwaha ;
> albert.u.b...@aribaud.net
> Cc: u-boot@lists.denx.de; Andy Tang 
> Subject: [PATCH v2] armv8: ls1028a: select BOARD_LATE_INIT config
> 
> Select BOARD_LATE_INIT for ls1028ardb and ls1028aqds targets so that late
> init work can be done
> 
> Signed-off-by: Yuantian Tang 
> ---

This patch has been applied to fsl-qoriq master, awaiting upstream.

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


Re: [U-Boot] [PATCH v2 1/5] armv8: ls1088a: The ls1088a platform supports the I2C driver model.

2019-08-22 Thread Prabhakar Kushwaha

> -Original Message-
> From: Chuanhua Han 
> Sent: Tuesday, July 2, 2019 12:06 PM
> To: albert.u.b...@aribaud.net; Prabhakar Kushwaha
> ; Ashish Kumar ;
> Rajesh Bhagat 
> Cc: u-boot@lists.denx.de; Chuanhua Han 
> Subject: [PATCH v2 1/5] armv8: ls1088a: The ls1088a platform supports the
> I2C driver model.
> 
> DM_I2C_COMPAT is a compatibility layer that allows using the non-DM I2C
> API when DM_I2C is used.When DM_I2C_COMPAT is not enabled for
> compilation, a compilation error will be generated. This patch solves the
> problem that the i2c-related api of the ls1088a platform does not support
> dm.
> 
> Signed-off-by: Chuanhua Han 
> ---
> depends on:

This patch has been applied to fsl-qoriq master, awaiting upstream.

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


Re: [U-Boot] [PATCH v4 5/7] armv8: dts: fsl-lx2160a: add i2c controller and gpio DT nodes

2019-08-22 Thread Prabhakar Kushwaha

> -Original Message-
> From: Chuanhua Han 
> Sent: Wednesday, July 10, 2019 6:30 PM
> To: albert.u.b...@aribaud.net; Priyanka Jain ; Udit
> Agarwal ; h...@denx.de; Prabhakar Kushwaha
> 
> Cc: u-boot@lists.denx.de; Chuanhua Han 
> Subject: [PATCH v4 5/7] armv8: dts: fsl-lx2160a: add i2c controller and gpio 
> DT
> nodes
> 
> In lx2160a soc, there are eight i2c controllers, this patch adds i2c nodes for
> lx2160a, and the gpio2 nodes on which the i2c4 controller depends.
> 
> Signed-off-by: Chuanhua Han 
> ---

This patch has been applied to fsl-qoriq master, awaiting upstream.

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


Re: [U-Boot] [PATCH v4 6/7] armv8: lx2160ardb: Add pcf2127 node

2019-08-22 Thread Prabhakar Kushwaha

> -Original Message-
> From: Chuanhua Han 
> Sent: Wednesday, July 10, 2019 6:30 PM
> To: albert.u.b...@aribaud.net; Priyanka Jain ; Udit
> Agarwal ; h...@denx.de; Prabhakar Kushwaha
> 
> Cc: u-boot@lists.denx.de; Chuanhua Han 
> Subject: [PATCH v4 6/7] armv8: lx2160ardb: Add pcf2127 node
> 
> This patch adds the pcf2127-rtc node under the i2c4 node for lx2160ardb
> boards.
> 
> Signed-off-by: Chuanhua Han 
> ---
This patch has been applied to fsl-qoriq master, awaiting upstream.

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


Re: [U-Boot] [PATCH 3/5] configs: ls2088a: enable DM support for rtc

2019-08-22 Thread Prabhakar Kushwaha

> -Original Message-
> From: Chuanhua Han 
> Sent: Wednesday, June 12, 2019 7:57 AM
> To: albert.u.b...@aribaud.net; Prabhakar Kushwaha
> ; Priyanka Jain ;
> Rajesh Bhagat 
> Cc: u-boot@lists.denx.de; Chuanhua Han 
> Subject: [PATCH 3/5] configs: ls2088a: enable DM support for rtc
> 
> Enable related configs to support rtc DM feature for ls2088ardb board.
> 
> Signed-off-by: Chuanhua Han 
> ---
> depends on:

Squashed with qds patch

This patch has been applied to fsl-qoriq master, awaiting upstream.

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


Re: [U-Boot] [PATCH 3/4] armv8: dts: ls1028aqds: Add pca9547 node under the i2c0 controller

2019-08-22 Thread Prabhakar Kushwaha

> -Original Message-
> From: Alex Marginean 
> Sent: Monday, July 15, 2019 12:46 PM
> To: Chuanhua Han ; Prabhakar Kushwaha
> ; albert.u.b...@aribaud.net; Andy Tang
> ; Sudhanshu Gupta ;
> Harninder Rai ; Rajesh Bhagat
> 
> Cc: u-boot@lists.denx.de
> Subject: Re: [U-Boot] [PATCH 3/4] armv8: dts: ls1028aqds: Add pca9547 node
> under the i2c0 controller
> 
> On 7/10/2019 10:48 AM, Chuanhua Han wrote:
> > This patch adds pca9547 node to support i2c multiplexer under the i2c0
> > controller for ls1028aqds boards.
> >
> > Signed-off-by: Chuanhua Han 
> > ---
> > depends on:
> > -
> https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpatch
> work.ozlabs.org%2Fproject%2Fuboot%2Flist%2F%3Fseries%3D117203
> data=02%7C01%7Cprabhakar.kushwaha%40nxp.com%7Ced38d8a5ece149ee
> 097d08d708f455ea%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C63
> 6987717814075154sdata=xJFMjeWuinoMFb8sMB3lEVcmfsNo8hK9Krc
> OCS3i1hM%3Dreserved=0
> > -
> https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpatch
> work.ozlabs.org%2Fproject%2Fuboot%2Flist%2F%3Fseries%3D117224
> data=02%7C01%7Cprabhakar.kushwaha%40nxp.com%7Ced38d8a5ece149ee
> 097d08d708f455ea%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C63
> 6987717814075154sdata=13EaFR14G6vnSPPK%2BHRAmD45oNsKJ0tW
> Bj5j7yg9XCA%3Dreserved=0
> > -
> >
> https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpatch
> >
> work.ozlabs.org%2Fproject%2Fuboot%2Flist%2F%3Fseries%3D118231
> data
> >
> =02%7C01%7Cprabhakar.kushwaha%40nxp.com%7Ced38d8a5ece149ee097d
> 08d708f4
> >
> 55ea%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C63698771781407
> 5154
> >
> mp;sdata=VmG%2ByRw7oC3re4d22ZsdlaKjcmgk5aRq7SGxM%2BqFh8w%3D
> reserv
> > ed=0
> >
> >   arch/arm/dts/fsl-ls1028a-qds.dts | 8 
> >   1 file changed, 8 insertions(+)
> >
> 
> Reviewed-by: Alex Marginean 

This patch has been applied to fsl-qoriq master, awaiting upstream.

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


Re: [U-Boot] [PATCH 4/4] armv8: dts: ls1028aqds: Add pcf2127 node under i2c1

2019-08-22 Thread Prabhakar Kushwaha

> -Original Message-
> From: Alex Marginean 
> Sent: Monday, July 15, 2019 12:47 PM
> To: Chuanhua Han ; Prabhakar Kushwaha
> ; albert.u.b...@aribaud.net; Andy Tang
> ; Sudhanshu Gupta ;
> Harninder Rai ; Rajesh Bhagat
> 
> Cc: u-boot@lists.denx.de
> Subject: Re: [U-Boot] [PATCH 4/4] armv8: dts: ls1028aqds: Add pcf2127 node
> under i2c1
> 
> On 7/10/2019 10:48 AM, Chuanhua Han wrote:
> > This patch adds the pcf2127-rtc node under the i2c1 for ls1028aqds
> > boards.
> >
> > Signed-off-by: Chuanhua Han 
> > ---
> > depends on:
> > -
> https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpatch
> work.ozlabs.org%2Fproject%2Fuboot%2Flist%2F%3Fseries%3D117203
> data=02%7C01%7Cprabhakar.kushwaha%40nxp.com%7C3dc430761b3341e14
> 99408d708f46fc8%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C6369
> 87718248265296sdata=gKT%2BfCmFXjCdsBWzUQZup43KmLn%2BKXTS
> ABtUWpeHPm8%3Dreserved=0
> > -
> https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpatch
> work.ozlabs.org%2Fproject%2Fuboot%2Flist%2F%3Fseries%3D117224
> data=02%7C01%7Cprabhakar.kushwaha%40nxp.com%7C3dc430761b3341e14
> 99408d708f46fc8%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C6369
> 87718248265296sdata=TWqgQ8XOyXnzcR9Txo6XCMxBbrOS%2BqzbU9
> qkbaZ59do%3Dreserved=0
> > -
> >
> https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpatch
> >
> work.ozlabs.org%2Fproject%2Fuboot%2Flist%2F%3Fseries%3D118231
> data
> >
> =02%7C01%7Cprabhakar.kushwaha%40nxp.com%7C3dc430761b3341e149940
> 8d708f4
> >
> 6fc8%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636987718248265
> 296
> >
> mp;sdata=LV0tXQtxgHaRre%2F29FjL6q9Wxx3qbc9AfdtYwkbhF2g%3Dr
> eserved
> > =0
> >
> >   arch/arm/dts/fsl-ls1028a-qds.dts | 5 +
> >   1 file changed, 5 insertions(+)
> >
> 
> Reviewed-by: Alex Marginean 

This patch has been applied to fsl-qoriq master, awaiting upstream.

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


Re: [U-Boot] [PATCH v3 5/5] armv8: dts: ls2088ardb: Add slave nodes under the i2c0 controller

2019-08-22 Thread Prabhakar Kushwaha

> -Original Message-
> From: Chuanhua Han 
> Sent: Monday, July 22, 2019 2:07 PM
> To: albert.u.b...@aribaud.net; Prabhakar Kushwaha
> ; Priyanka Jain ;
> Rajesh Bhagat 
> Cc: u-boot@lists.denx.de; Chuanhua Han 
> Subject: [PATCH v3 5/5] armv8: dts: ls2088ardb: Add slave nodes under the
> i2c0 controller
> 
> This patch adds some slave nodes to support the i2c dm on the device side
> under the i2c0 controller.
> 
> Signed-off-by: Chuanhua Han 
> ---

This patch has been applied to fsl-qoriq master, awaiting upstream.

--pk

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


Re: [U-Boot] [PATCH] configs: ls1043aqds: Move CONFIG_FSL_QSPI to defconfig

2019-08-22 Thread Prabhakar Kushwaha

> -Original Message-
> From: Ashish Kumar 
> Sent: Tuesday, July 9, 2019 2:50 PM
> To: u-boot@lists.denx.de
> Cc: Prabhakar Kushwaha ; Ashish Kumar
> 
> Subject: [PATCH] configs: ls1043aqds: Move CONFIG_FSL_QSPI to defconfig
> 
> Move CONFIG_FSL_QSPI from header file to defconfigs, consequently unset
> imply config(CONFIG_SPI_FLASH_BAR) which is not valid LS series
> 
> Signed-off-by: Ashish Kumar 
> ---

This patch has been applied to fsl-qoriq master, awaiting upstream.

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


Re: [U-Boot] [PATCH v4 1/4] rtc: ds3232/ds3231: Add support to generate 32KHz output for driver module

2019-08-22 Thread Prabhakar Kushwaha

> -Original Message-
> From: Chuanhua Han 
> Sent: Friday, July 26, 2019 4:54 PM
> To: albert.u.b...@aribaud.net; Prabhakar Kushwaha
> ; Priyanka Jain ;
> Rajesh Bhagat 
> Cc: u-boot@lists.denx.de; w...@denx.de; lu...@denx.de;
> tr...@konsulko.com; Chuanhua Han 
> Subject: [PATCH v4 1/4] rtc: ds3232/ds3231: Add support to generate 32KHz
> output for driver module
> 
> This patch add an implementation of the rtc_enable_32khz_output() that
> uses the driver model i2c APIs.
> 
> Signed-off-by: Chuanhua Han 
> ---

This patch has been applied to fsl-qoriq master, awaiting upstream.

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


Re: [U-Boot] [PATCH v4 4/7] gpio: do not include on ARCH_LX2160A

2019-08-22 Thread Prabhakar Kushwaha

> -Original Message-
> From: Chuanhua Han 
> Sent: Wednesday, July 10, 2019 6:30 PM
> To: albert.u.b...@aribaud.net; Priyanka Jain ; Udit
> Agarwal ; h...@denx.de; Prabhakar Kushwaha
> 
> Cc: u-boot@lists.denx.de; Chuanhua Han 
> Subject: [PATCH v4 4/7] gpio: do not include  on
> ARCH_LX2160A
> 
> As no gpio.h is defined for this architecture, to avoid compilation failure, 
> do
> not include  for arch ls2160a.
> 
> Signed-off-by: Chuanhua Han 
> ---

This patch has been applied to fsl-qoriq master, awaiting upstream.

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


Re: [U-Boot] [PATCH v4 4/4] armv8: dts: ls1028ardb: Add slave nodes under the i2c0 controller

2019-08-22 Thread Prabhakar Kushwaha

> -Original Message-
> From: Alex Marginean 
> Sent: Friday, July 12, 2019 5:20 PM
> To: Chuanhua Han ; albert.u.b...@aribaud.net;
> Sudhanshu Gupta ; Harninder Rai
> ; Rajesh Bhagat ; Andy
> Tang ; Prabhakar Kushwaha
> 
> Cc: u-boot@lists.denx.de
> Subject: Re: [U-Boot] [PATCH v4 4/4] armv8: dts: ls1028ardb: Add slave nodes
> under the i2c0 controller
> 
> On 7/10/2019 4:16 PM, Chuanhua Han wrote:
> > This patch adds some slave nodes to support the i2c dm on the device
> > side under the i2c0 controller.
> >
> > Signed-off-by: Chuanhua Han 
> > ---
> > depends on:
> > -
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatch
> work.ozlabs.org%2Fproject%2Fuboot%2Flist%2F%3Fseries%3D113364
> data=02%7C01%7Cprabhakar.kushwaha%40nxp.com%7Ca2d0631084b247e95
> eb108d706bf1061%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636
> 985290003973466sdata=YY%2BM1Dn8uiiLbEg2UST0qZyNrJMy4PUPeU
> pBBOQvSxg%3Dreserved=0
> > -
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatch
> work.ozlabs.org%2Fproject%2Fuboot%2Flist%2F%3Fseries%3D110856
> data=02%7C01%7Cprabhakar.kushwaha%40nxp.com%7Ca2d0631084b247e95
> eb108d706bf1061%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636
> 985290003973466sdata=E3BJoHt8hAeeiGDb22wj7wTPQ9anaENhhoW8
> FjB9hGk%3Dreserved=0
> > -
> >
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatc
> >
> hwork.ozlabs.org%2Fproject%2Fuboot%2Flist%2F%3Fseries%3D109677
> ;dat
> >
> a=02%7C01%7Cprabhakar.kushwaha%40nxp.com%7Ca2d0631084b247e95eb
> 108d706b
> >
> f1061%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C6369852900039
> 73466&
> >
> amp;sdata=CjygPbOON9WEKCrsIyG1TCclJuiCsEbBZPrDvuz9c0o%3Dres
> erved=
> > 0
> >
> > Changes in v4:
> > - No change.
> > Changes in v3:
> > - Delete unnecessary i2c slave nodes.
> > Changes in v2:
> > - Delete unnecessary aliases about i2c.
> >
> >   arch/arm/dts/fsl-ls1028a-rdb.dts |   20 
> >   1 files changed, 20 insertions(+), 0 deletions(-)
> >
> Reviewed-by: Alex Marginean 
> 
> Thank you!
> Alex


This patch has been applied to fsl-qoriq master, awaiting upstream.

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


Re: [U-Boot] [PATCH v2 1/3] armv8: ls1088aqds: The ls1088aqds board supports the I2C driver model.

2019-08-22 Thread Prabhakar Kushwaha

> -Original Message-
> From: Chuanhua Han 
> Sent: Friday, July 26, 2019 5:56 PM
> To: albert.u.b...@aribaud.net; Prabhakar Kushwaha
> ; Ashish Kumar ;
> Rajesh Bhagat 
> Cc: u-boot@lists.denx.de; w...@denx.de; Chuanhua Han
> 
> Subject: [PATCH v2 1/3] armv8: ls1088aqds: The ls1088aqds board supports
> the I2C driver model.
> 
> This patch is updating ls1088aqds board init code to support DM_I2C.
> 
> Signed-off-by: Chuanhua Han 
> ---

This patch has been applied to fsl-qoriq master, awaiting upstream.

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


Re: [U-Boot] [PATCH 2/3] configs: ls1088aqds: Enable DM support for pcf2127 rtc

2019-08-22 Thread Prabhakar Kushwaha

> -Original Message-
> From: Chuanhua Han 
> Sent: Thursday, July 25, 2019 2:14 PM
> To: albert.u.b...@aribaud.net; Prabhakar Kushwaha
> ; Ashish Kumar ;
> Rajesh Bhagat 
> Cc: u-boot@lists.denx.de; Chuanhua Han 
> Subject: [PATCH 2/3] configs: ls1088aqds: Enable DM support for pcf2127 rtc
> 
> Enable related configs on all ls1088aqds boards to support pcf2127 rtc DM
> function.
> 
> Signed-off-by: Chuanhua Han 
> ---

Squashed with configs: ls1088a: enable DM support for pcf2127 rtc

This patch has been applied to fsl-qoriq master, awaiting upstream.

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


Re: [U-Boot] [PATCH v3 2/2] armv8: lx2160aqds : Add pcf2127 node

2019-08-22 Thread Prabhakar Kushwaha

> -Original Message-
> From: Chuanhua Han 
> Sent: Wednesday, July 10, 2019 6:35 PM
> To: Pankaj Bansal ; albert.u.b...@aribaud.net;
> Udit Agarwal ; Prabhakar Kushwaha
> 
> Cc: u-boot@lists.denx.de; Chuanhua Han 
> Subject: [PATCH v3 2/2] armv8: lx2160aqds : Add pcf2127 node
> 
> This patch adds the pcf2127-rtc node under the i2c0->i2c-mux@77->i2c@3
> for lx2160aqds boards.
> 
> Signed-off-by: Chuanhua Han 
> ---

This patch has been applied to fsl-qoriq master, awaiting upstream.

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


Re: [U-Boot] [PATCH 1/5] armv8: fsl-layerscape: add missing sec jr base address defines

2019-08-22 Thread Prabhakar Kushwaha

> -Original Message-
> From: Horia Geanta
> Sent: Wednesday, July 31, 2019 1:22 AM
> To: Laurentiu Tudor ; u-boot@lists.denx.de;
> Prabhakar Kushwaha 
> Subject: Re: [PATCH 1/5] armv8: fsl-layerscape: add missing sec jr base
> address defines
> 
> On 7/30/2019 5:30 PM, laurentiu.tu...@nxp.com wrote:
> > From: Laurentiu Tudor 
> >
> > Add defines for all the SEC job rings base addresses.
> >
> > Signed-off-by: Laurentiu Tudor 
> Reviewed-by: Horia Geantă 
> 

This patch has been applied to fsl-qoriq master, awaiting upstream.

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


Re: [U-Boot] [PATCH 2/5] gpio: do not include on ARCH_LS1088A

2019-08-22 Thread Prabhakar Kushwaha

> -Original Message-
> From: Chuanhua Han 
> Sent: Tuesday, June 11, 2019 9:55 AM
> To: albert.u.b...@aribaud.net; Prabhakar Kushwaha
> ; Ashish Kumar ;
> Rajesh Bhagat 
> Cc: u-boot@lists.denx.de; Chuanhua Han 
> Subject: [PATCH 2/5] gpio: do not include  on
> ARCH_LS1088A
> 
> As no gpio.h is defined for this architecture, to avoid compilation failure, 
> do
> not include  for arch ls1088a.
> 
> Signed-off-by: Chuanhua Han 
> ---
> depends on:

This patch has been applied to fsl-qoriq master, awaiting upstream.

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


Re: [U-Boot] [PATCH v4 4/4] configs: ls2088aqds: Enable DM support for ds3231 rtc

2019-08-22 Thread Prabhakar Kushwaha

> -Original Message-
> From: Chuanhua Han 
> Sent: Friday, July 26, 2019 4:54 PM
> To: albert.u.b...@aribaud.net; Prabhakar Kushwaha
> ; Priyanka Jain ;
> Rajesh Bhagat 
> Cc: u-boot@lists.denx.de; w...@denx.de; lu...@denx.de;
> tr...@konsulko.com; Chuanhua Han 
> Subject: [PATCH v4 4/4] configs: ls2088aqds: Enable DM support for ds3231
> rtc
> 
> Enable related configs on all ls2088aqds boards to support ds3231 rtc DM
> function.
> 
> Signed-off-by: Chuanhua Han 
> ---

This patch has been applied to fsl-qoriq master, awaiting upstream.

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


Re: [U-Boot] [PATCH v3 2/5] gpio: do not include on ARCH_LS2080A

2019-08-22 Thread Prabhakar Kushwaha

> -Original Message-
> From: Chuanhua Han 
> Sent: Monday, July 22, 2019 2:07 PM
> To: albert.u.b...@aribaud.net; Prabhakar Kushwaha
> ; Priyanka Jain ;
> Rajesh Bhagat 
> Cc: u-boot@lists.denx.de; Chuanhua Han 
> Subject: [PATCH v3 2/5] gpio: do not include  on
> ARCH_LS2080A
> 
> As no gpio.h is defined for this architecture, to avoid compilation failure, 
> do
> not include  for arch ls2080a.
> 
> Signed-off-by: Chuanhua Han 
> ---

This patch has been applied to fsl-qoriq master, awaiting upstream.

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


Re: [U-Boot] [PATCH] armv8: ls1046afrwy: Define CONFIG_ENV_ADDR for QSPI Boot

2019-08-22 Thread Prabhakar Kushwaha

> -Original Message-
> From: Alison Wang
> Sent: Monday, July 22, 2019 12:47 PM
> To: Prabhakar Kushwaha ; u-
> b...@lists.denx.de
> Cc: Alison Wang 
> Subject: [PATCH] armv8: ls1046afrwy: Define CONFIG_ENV_ADDR for QSPI
> Boot
> 
> This patch defines CONFIG_ENV_ADDR for QSPI Boot which specifies the
> start address of the flash sector containing the environment. It fixes the
> issue that bootcmd is always set as default at bootup.
> 
> Signed-off-by: Alison Wang 
> ---

This patch has been applied to fsl-qoriq master, awaiting upstream.

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


Re: [U-Boot] [PATCH v3 4/5] armv8: dts: fsl-ls2088a: add i2c node support

2019-08-22 Thread Prabhakar Kushwaha

> -Original Message-
> From: Chuanhua Han 
> Sent: Monday, July 22, 2019 2:07 PM
> To: albert.u.b...@aribaud.net; Prabhakar Kushwaha
> ; Priyanka Jain ;
> Rajesh Bhagat 
> Cc: u-boot@lists.denx.de; Chuanhua Han 
> Subject: [PATCH v3 4/5] armv8: dts: fsl-ls2088a: add i2c node support
> 
> From: chuanhua han 
> 
> One ls2088a, there is four I2C controllers.
> This patch is to add I2C node for ls2088a.
> 
> Signed-off-by: Chuanhua Han 
> ---
> depends on:

This patch has been applied to fsl-qoriq master, awaiting upstream.

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


Re: [U-Boot] [PATCH v2 2/3] armv8: ls1088aqds : Add pcf2127 node

2019-08-22 Thread Prabhakar Kushwaha

> -Original Message-
> From: Chuanhua Han 
> Sent: Friday, July 26, 2019 5:56 PM
> To: albert.u.b...@aribaud.net; Prabhakar Kushwaha
> ; Ashish Kumar ;
> Rajesh Bhagat 
> Cc: u-boot@lists.denx.de; w...@denx.de; Chuanhua Han
> 
> Subject: [PATCH v2 2/3] armv8: ls1088aqds : Add pcf2127 node
> 
> This patch adds the pcf2127-rtc node under the i2c0->i2c-mux@77->i2c@3
> for ls1088aqds boards.
> 
> Signed-off-by: Chuanhua Han 
> ---

This patch has been applied to fsl-qoriq master, awaiting upstream.

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


Re: [U-Boot] [PATCH] kconfig: Fix some platforms incorrect I2C clock divider

2019-08-22 Thread Prabhakar Kushwaha

> -Original Message-
> From: Chuanhua Han 
> Sent: Friday, August 2, 2019 2:24 PM
> To: albert.u.b...@aribaud.net; Prabhakar Kushwaha
> 
> Cc: u-boot@lists.denx.de; Chuanhua Han 
> Subject: [PATCH] kconfig: Fix some platforms incorrect I2C clock divider
> 
> By default, i2c input clock is platform clk / 2, but some of the platform of 
> i2c
> clock divider does not meet this kind of circumstance, so alone to set default
> values for these platforms.
> 
> Signed-off-by: Chuanhua Han 
> ---

This patch has been applied to fsl-qoriq master, awaiting upstream.

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


Re: [U-Boot] [PATCH v2 5/5] armv8: dts: ls1088ardb: Add slave nodes under the i2c0 controller

2019-08-22 Thread Prabhakar Kushwaha

> -Original Message-
> From: Chuanhua Han 
> Sent: Tuesday, July 2, 2019 12:06 PM
> To: albert.u.b...@aribaud.net; Prabhakar Kushwaha
> ; Ashish Kumar ;
> Rajesh Bhagat 
> Cc: u-boot@lists.denx.de; Chuanhua Han 
> Subject: [PATCH v2 5/5] armv8: dts: ls1088ardb: Add slave nodes under the
> i2c0 controller
> 
> This patch adds some slave nodes to support the i2c dm on the device side
> under the i2c0 controller.
> 
> Signed-off-by: Chuanhua Han 
> ---
> depends on:
> -


This patch has been applied to fsl-qoriq master, awaiting upstream.

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


Re: [U-Boot] [PATCH v4 3/4] armv8: ls2088aqds : Add ds3232 node

2019-08-22 Thread Prabhakar Kushwaha

> -Original Message-
> From: Chuanhua Han 
> Sent: Friday, July 26, 2019 4:54 PM
> To: albert.u.b...@aribaud.net; Prabhakar Kushwaha
> ; Priyanka Jain ;
> Rajesh Bhagat 
> Cc: u-boot@lists.denx.de; w...@denx.de; lu...@denx.de;
> tr...@konsulko.com; Chuanhua Han 
> Subject: [PATCH v4 3/4] armv8: ls2088aqds : Add ds3232 node
> 
> This patch adds the ds3232-rtc node under the i2c0->i2c-mux@77->i2c@0 for
> ls2088aqds boards.
> 
> Signed-off-by: Chuanhua Han 
> ---

This patch has been applied to fsl-qoriq master, awaiting upstream.

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


Re: [U-Boot] [PATCH 4/5] armv8: ls1088a: add icid setup for platform devices

2019-08-22 Thread Prabhakar Kushwaha

> -Original Message-
> From: Horia Geanta
> Sent: Wednesday, July 31, 2019 1:28 AM
> To: Laurentiu Tudor ; u-boot@lists.denx.de;
> Prabhakar Kushwaha 
> Subject: Re: [PATCH 4/5] armv8: ls1088a: add icid setup for platform devices
> 
> On 7/30/2019 5:30 PM, laurentiu.tu...@nxp.com wrote:
> > From: Laurentiu Tudor 
> >
> > Add ICID setup for the platform devices contained on this chip: usb,
> > sata, sdhc, sec. The ICID macros for SEC needed to be adapted because
> > the format of the registers is different.
> >
> > Signed-off-by: Laurentiu Tudor 
> Reviewed-by: Horia Geantă 
> 

This patch has been applied to fsl-qoriq master, awaiting upstream.

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


Re: [U-Boot] [PATCH] armv8: ls1088aqds: support DSPI mode by hwconfig

2019-08-22 Thread Prabhakar Kushwaha

> -Original Message-
> From: Chuanhua Han 
> Sent: Thursday, August 1, 2019 2:07 PM
> To: Prabhakar Kushwaha ; Ashish Kumar
> ; Rajesh Bhagat 
> Cc: u-boot@lists.denx.de; Chuanhua Han 
> Subject: [PATCH] armv8: ls1088aqds: support DSPI mode by hwconfig
> 
> BRDCFG4[USBOSC] and BRDCFG5[SPR] register field of Qixis device is used to
> control SPI and other IP signal routing.
> 
> USBOSC:
> 0= SPI_CLK used as external USB REFCLK input driven with 24.000 MHz.
> SPI devices are unusable in this mode.
> 1= SPI_CLK used as SPI clock.
> SPI devices are usable in this mode. USB block is clocked from internal
> sources
> 
> SPR[3:2]:
> SPI_CS / SDHC_DAT4:7 Routing (schematic net CFG_SPI_ROUTE[3:2]):
> 00= SDHC/eMMC 8-bit
> 01= SD Card Rev 2.0/3.0
> 10= SPI on-board memory
> 11= TDM Riser / SPI off-board connector.
> The default value is 00 if an SDCard/eMMC card is selected as the boot
> device.
> 
> SPR[1:0]:
> SPI_SIN/SOUT/SCK Routing (schematic net CFG_SPI_ROUTE[1:0]):
> 00= SDHC Sync loop
> 01= TDM Riser / SPI off-board connector.
> 10= SPI on-board memory.
> 11= SPI off-board connector.
> 
> By default, the SPI feature is not available, so we need to configure the
> above register fields to select the route to the SPI feature.
> 
> Signed-off-by: Chuanhua Han 
> ---

This patch has been applied to fsl-qoriq master, awaiting upstream.

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


Re: [U-Boot] [PATCH 3/5] armv8: fsl-layerscape: make icid setup endianness aware

2019-08-22 Thread Prabhakar Kushwaha

> -Original Message-
> From: Horia Geanta
> Sent: Wednesday, July 31, 2019 1:24 AM
> To: Laurentiu Tudor ; u-boot@lists.denx.de;
> Prabhakar Kushwaha 
> Subject: Re: [PATCH 3/5] armv8: fsl-layerscape: make icid setup endianness
> aware
> 
> On 7/30/2019 5:30 PM, laurentiu.tu...@nxp.com wrote:
> > From: Laurentiu Tudor 
> >
> > The current implementation assumes that the registers holding the
> > ICIDs are universally big endian. That's no longer the case on newer
> > platforms so update the code to take into account the endianness of
> > each register.
> >
> > Signed-off-by: Laurentiu Tudor 
> Reviewed-by: Horia Geantă 
> 


This patch has been applied to fsl-qoriq master, awaiting upstream.

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


Re: [U-Boot] [PATCH 2/5] armv8: fsl-layerscape: add base addresses for several devices

2019-08-22 Thread Prabhakar Kushwaha

> -Original Message-
> From: laurentiu.tu...@nxp.com 
> Sent: Tuesday, July 30, 2019 8:00 PM
> To: u-boot@lists.denx.de; Prabhakar Kushwaha
> 
> Cc: Horia Geanta ; Laurentiu Tudor
> 
> Subject: [PATCH 2/5] armv8: fsl-layerscape: add base addresses for several
> devices
> 
> From: Laurentiu Tudor 
> 
> Add CCSR base addresses for ESDHC2, EDMA QDMA, DISPLAY and GPU
> devices.
> 
> Signed-off-by: Laurentiu Tudor 

This patch has been applied to fsl-qoriq master, awaiting upstream.

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


Re: [U-Boot] [PATCH 5/5] armv8: ls1028a: add icid setup for platform devices

2019-08-22 Thread Prabhakar Kushwaha

> -Original Message-
> From: Horia Geanta
> Sent: Wednesday, July 31, 2019 1:31 AM
> To: Laurentiu Tudor ; u-boot@lists.denx.de;
> Prabhakar Kushwaha 
> Subject: Re: [PATCH 5/5] armv8: ls1028a: add icid setup for platform devices
> 
> On 7/30/2019 5:30 PM, laurentiu.tu...@nxp.com wrote:
> > From: Laurentiu Tudor 
> >
> > Add ICID setup for the platform devices contained on this chip: usb,
> > sata, sdhc, edma, qdma, gpu, display and sec.
> >
> > Signed-off-by: Laurentiu Tudor 
> Reviewed-by: Horia Geantă 
> 

This patch has been applied to fsl-qoriq master, awaiting upstream.

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


[U-Boot] pull request: u-boot-fsl-qoriq/master

2019-08-22 Thread Prabhakar Kushwaha
Dear Tom,

Please find my pull request for u-boot-fsl-qoriq/master

Summary i.e. Changes for v2019.10-rc3
- i2c dm model support of lx2160a, ls1088a, lx2088a, ls1028a
- icid setup for ls1028a, ls1088a
- other small fixes

Travis-CI:  https://travis-ci.org/prabhukush/u-boot/builds/575158792


--pk (prabhakar: prabhu_kush)



The following changes since commit 1e60ccd94318fb86610e1e28512b2aaac5f4b069:

  Merge branch '2019-08-20-master-imports' (2019-08-20 21:40:12 -0400)

are available in the git repository at:

  https://gitlab.denx.de/u-boot/custodians/u-boot-fsl-qoriq.git HEAD

for you to fetch changes up to b249fcba00e093149f8424492da155572f12d7bb:

  armv8: ls1028a: add icid setup for platform devices (2019-08-22 09:07:36 
+0530)


Alison Wang (1):
  armv8: ls1046afrwy: Define CONFIG_ENV_ADDR for QSPI Boot

Ashish Kumar (1):
  configs: ls1043aqds: Move CONFIG_FSL_QSPI to defconfig

Chuanhua Han (31):
  boards: lx2160a: Add support of I2C driver model
  drivers: i2c: mxc: Fix compiler error when using i2c dm mode
  gpio: do not include  on ARCH_LX2160A
  armv8: dts: fsl-lx2160a: add i2c controller and gpio DT nodes
  armv8: dts: Add pcf2127 node for lx2160ardb
  armv8: dts: lx2160ardb : Add the "u-boot, dm-pre-reloc" for i2c0
  armv8: dts: lx2160aqds : Add pcf2127 node
  configs: lx2160: enable DM support for pcf2127 rtc
  boards: ls1028a: Add support of I2C driver model
  gpio: do not include  on ARCH_LS1028A
  armv8: dts: ls1028ardb: Add slave nodes under the i2c0 controller
  armv8: ls1028aqds: Remove the definition of CONFIG_SYS_I2C_EARLY_INIT
  configs: ls1028a: Enable DM support for pcf2127 rtc
  armv8: dts: ls1028aqds: Add pca9547 node under the i2c0 controller
  armv8: dts: ls1028aqds: Add pcf2127 node under i2c1
  boards: ls2088a: Add support of I2C driver model.
  gpio: do not include  on ARCH_LS2080A
  armv8: dts: ls2088ardb: Add slave nodes under the i2c0
  rtc: ds3232/ds3231: Add support to generate 32KHz output for driver module
  boards: ls2088aqds: Add support of I2C driver model.
  armv8: dts: ls2088aqds : Add ds3232 node
  configs: ls2088a: Enable DM support for ds3231 rtc
  boards: ls1088a: Add support of I2C driver model
  gpio: do not include  on ARCH_LS1088A
  armv8: dts: ls1088a: add I2C node support
  armv8: dts: ls1088ardb: Add slave nodes under the i2c0 controller
  armv8: ls1088aqds: Add support of I2C driver model.
  armv8: dts: ls1088aqds : Add pcf2127 node
  configs: ls1088a: Enable DM support for pcf2127 rtc
  armv8: ls1088aqds: support DSPI mode by hwconfig
  armv8: kconfig: Fix some platforms incorrect I2C clock divider

Laurentiu Tudor (5):
  armv8: fsl-layerscape: add missing sec jr base address defines
  armv8: fsl-layerscape: add base addresses for several devices
  armv8: fsl-layerscape: make icid setup endianness aware
  armv8: ls1088a: add icid setup for platform devices
  armv8: ls1028a: add icid setup for platform devices

Meenakshi Aggarwal (1):
  drivers: net: mc: Report extra memory to Linux

Pankaj Bansal (2):
  boards: fsl: lx2160ardb: enable flexcan
  armv8: ls1028aqds: define ARCH_MISC_INIT to handle mux

Yuantian Tang (2):
  common: qixis: make the qixis compatible with new soc
  armv8: ls1028a: select BOARD_LATE_INIT config

chuanhua han (1):
  armv8: dts: fsl-ls2088a: add i2c node support

 arch/arm/Kconfig   |   3 +
 arch/arm/cpu/armv8/fsl-layerscape/Kconfig  |  36 ++--
 arch/arm/cpu/armv8/fsl-layerscape/Makefile |   2 +
 arch/arm/cpu/armv8/fsl-layerscape/icid.c   |   5 +-
 arch/arm/cpu/armv8/fsl-layerscape/ls1028_ids.c |  33 
 arch/arm/cpu/armv8/fsl-layerscape/ls1088_ids.c |  30 +++
 arch/arm/cpu/armv8/fsl-layerscape/soc.c|   4 +
 arch/arm/dts/fsl-ls1028a-qds.dts   |  13 ++
 arch/arm/dts/fsl-ls1028a-rdb.dts   |  20 ++
 arch/arm/dts/fsl-ls1088a-qds.dts   |  23 +++
 arch/arm/dts/fsl-ls1088a-rdb.dts   |  23 +++
 arch/arm/dts/fsl-ls1088a.dtsi  |  32 
 arch/arm/dts/fsl-ls2080a-qds.dts   |  19 ++
 arch/arm/dts/fsl-ls2080a.dtsi  |  36 
 arch/arm/dts/fsl-ls2088a-rdb-qspi.dts  |  22 +++
 arch/arm/dts/fsl-lx2160a-qds.dts   |  23 +++
 arch/arm/dts/fsl-lx2160a-rdb.dts   |  14 ++
 arch/arm/dts/fsl-lx2160a.dtsi  |  85 +
 arch/arm/include/asm/arch-fsl-layerscape/config.h  |   2 +
 .../arm/include/asm/arch-fsl-layerscape/fsl_icid.h | 106 ---
 

Re: [U-Boot] [PATCH v2] board: fsl: lx2160a: implement board_fix_fdt

2019-08-16 Thread Prabhakar Kushwaha
Dear Pankaj

> -Original Message-
> From: Pankaj Bansal
> Sent: Wednesday, July 17, 2019 3:54 PM
> To: Prabhakar Kushwaha ; Meenakshi
> Aggarwal 
> Cc: Varun Sethi ; u-boot@lists.denx.de
> Subject: [PATCH v2] board: fsl: lx2160a: implement board_fix_fdt
> 
> In lx2160a rev2 the pcie controller has been changed.
> Therefore, we need to change the device tree nodes of pcie controllers so that
> new controller can be probed.
> It involves changing the "compatible" field as well as registers names'.
> we are keeping same device tree for lx2160a rev1 and rev2, therefore we
> change the device tree nodes as part of fdt fixups.
> These changes would only be applied if the soc revision is not rev1.
> 
> Signed-off-by: Pankaj Bansal 
> ---
> 
> Notes:
> V2:
> - explained the patch requirements and patch changes.
> 
>  board/freescale/lx2160a/lx2160a.c | 67 +
> configs/lx2160aqds_tfa_defconfig  |  1 +  configs/lx2160ardb_tfa_defconfig  | 
>  1
> +

I am seeing compilation warning with your patch. 
Please fix it


--pk

board/freescale/lx2160a/lx2160a.c: In function 'board_fix_fdt':
board/freescale/lx2160a/lx2160a.c:143:13: warning: assignment discards 'const' 
qualifier from pointer target type [-Wdiscarded-qualifiers]
   reg_names = fdt_getprop(fdt, off, "reg-names", _len);





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


Re: [U-Boot] [v3] armv8: ls1028ardb: enable DisplayPort Power support

2019-08-14 Thread Prabhakar Kushwaha

> -Original Message-
> From: U-Boot  On Behalf Of Bin Meng
> Sent: Thursday, July 25, 2019 1:57 PM
> To: Wen He 
> Cc: U-Boot Mailing List 
> Subject: Re: [U-Boot] [v3] armv8: ls1028ardb: enable DisplayPort Power
> support
> 
> On Thu, Jul 25, 2019 at 3:18 PM Wen He  wrote:
> >
> > Enable DP_PWR signal to power the DP to HDMI converter cable.
> >
> > Signed-off-by: Wen He 
> > ---

Hi Wen,

Please work on review comments. 

Also. 
This patch is only valid when display driver is accepted in upstream
Is it accepted?

If display driver not accepted in upstream. Please hold this patch. 

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


Re: [U-Boot] [PATCH v3 0/9] NXP LS1021A-TSN Board

2019-08-14 Thread Prabhakar Kushwaha
Dear Joe,

> -Original Message-
> From: Joe Hershberger 
> Sent: Thursday, July 25, 2019 12:26 AM
> To: Vladimir Oltean 
> Cc: Joseph Hershberger ; Prabhakar
> Kushwaha ; u-boot  b...@lists.denx.de>; Joseph Hershberger 
> Subject: Re: [U-Boot] [PATCH v3 0/9] NXP LS1021A-TSN Board
> 
> On Wed, Jul 24, 2019 at 10:38 AM Vladimir Oltean 
> wrote:
> >
> > On Tue, 23 Jul 2019 at 10:38, Joe Hershberger 
> wrote:
> > >
> > > On Tue, Jul 23, 2019 at 1:08 AM Vladimir Oltean 
> wrote:
> > > >
> > > > Hi Joe,
> > > >
> > > > On Tue, 23 Jul 2019 at 03:15, Joe Hershberger
>  wrote:
> > > > >
> > > > > On Thu, Jul 18, 2019 at 4:33 PM Vladimir Oltean 
> wrote:
> > > > > >
> > > > > > This patchset adds initial support for the NXP LS1021A-TSN
> > > > > > board, an evaluation platform built in partnership with
> > > > > > VVDN/Argonboards for some IEEE 802.1 TSN features.
> > > > > >
> > > > > > It features a cleaned-up U-Boot board support taken from
> > > > > > OpenIL, as well as an eTSEC migration to DM_ETH.  I picked up
> > > > > > Bin Meng's patch that converts the LS1021A-TWR (different board,
> same SoC):
> > > > > > https://eur01.safelinks.protection.outlook.com/?url=https%3A%2
> > > > > > F%2Flists.denx.de%2Fpipermail%2Fu-boot%2F2018-
> May%2F330096.htm
> > > > > >
> ldata=02%7C01%7Cprabhakar.kushwaha%40nxp.com%7Cb56d806fd1
> > > > > >
> d34b1e9f6e08d710689b30%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%
> > > > > >
> 7C0%7C636995913790933089sdata=p3knnJglauV7ddeHwXZqFHJTTVk
> > > > > > vgIPINUzuVkH6e%2Fw%3Dreserved=0
> > > > > > verified it on the LS1021A-TSN board I am submitting, and made
> > > > > > a few adjustments where necessary.
> > > > > >
> > > > > > TODO items:
> > > > > > - Make the eTSEC driver support fixed-link interfaces (necessary
> > > > > >   for the enet2 <-> sja1105 internal port)
> > > > > > - Add driver for SJA1105 switch
> > > > > > - Potentially migrate the eTSEC MDIO bus driver to DM_MDIO and
> > > > > >   expose the TBI PHY to mdio commands (useful for debugging),
> > > > > >   once
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.d
> enx.de%2Fpipermail%2Fu-boot%2F2019-
> June%2F371563.htmldata=02%7C01%7Cprabhakar.kushwaha%40nxp.c
> om%7Cb56d806fd1d34b1e9f6e08d710689b30%7C686ea1d3bc2b4c6fa92cd99c
> 5c301635%7C0%7C0%7C636995913790933089sdata=dRUz6o%2FbaaRV
> Fy%2FTn4Qxx%2B%2Bbng2YmxMVWtUyknP2qHY%3Dreserved=0
> > > > > >   is merged.
> > > > >
> > > > > This series is merged at this point... are you wanting to do
> > > > > that migration now or do it sometime later?
> > > > >
> > > >
> > > > I think I would rather have these 9 patches merged first, now that
> > > > they got reviewed, instead of reworking them again.
> > >
> > > Sounds good.
> > > Thanks,
> > > -Joe
> > >
> >
> > What does this mean, that we are waiting for Prabhakar's OK? Is the
> > patchset going to get in through a single tree? Whose is it going to
> > be?
> 
> Since the vast majority of the series is the Ethernet changes, I was planning
> to take it.
> 

I hope you have taken this patch-set

--pk


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


Re: [U-Boot] [PATCH 2/2] drivers/spi: fsl_qspi: fix controller busy check

2019-08-14 Thread Prabhakar Kushwaha
Dear Thomas,


> -Original Message-
> From: U-Boot  On Behalf Of Thomas
> Schaefer
> Sent: Wednesday, June 26, 2019 2:15 PM
> To: ja...@amarulasolutions.com; feste...@gmail.com
> Cc: tr...@konsulko.com; Thomas Schäfer ;
> u-boot@lists.denx.de
> Subject: [U-Boot] [PATCH 2/2] drivers/spi: fsl_qspi: fix controller busy check
> 
> Use readl_poll_timeout instead of explicit calculation.
> 
> Signed-off-by: Thomas Schaefer 
> ---

Both of your patch has same subject. Please fix it.

Delegating Jagan for future review.

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


Re: [U-Boot] [PATCH v4 3/5] powerpc: dts: t2080: add espi controller node support

2019-08-13 Thread Prabhakar Kushwaha

> -Original Message-
> From: Chuanhua Han 
> Sent: Friday, June 21, 2019 7:52 AM
> To: w...@denx.de; Shengzhou Liu ; Ruchika Gupta
> ; ja...@openedev.com; s...@chromium.org;
> Prabhakar Kushwaha 
> Cc: u-boot@lists.denx.de; Chuanhua Han 
> Subject: [PATCH v4 3/5] powerpc: dts: t2080: add espi controller node
> support
> 
> Add espi controller node to support t2080.
> 
> Signed-off-by: Chuanhua Han 
> ---
> depends on:
> -
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatch
> work.ozlabs.org%2Fproject%2Fuboot%2Flist%2F%3Fseries%3D99439d
> ata=02%7C01%7Cprabhakar.kushwaha%40nxp.com%7Cc3450ace13cf4318200
> 508d6f5ef0763%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C63696
> 6804303104798sdata=D%2BWYX3LJDQ5DYUHgtCSVXGb3F9GblfDhGZw
> No8BEldI%3Dreserved=0
> 
> Changes in v4:
>   - No change.
> Changes in v3:
>   - Add a cover-letter for this patch set.
> Changes in v2:
>   - No change.
> 
>  arch/powerpc/dts/t2080.dtsi | 10 ++
>  1 file changed, 10 insertions(+)
> 

Acked-by: Prabhakar Kushwaha 

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


Re: [U-Boot] [PATCH v4 4/5] powerpc: dts: t2080qds: add espi slave nodes support

2019-08-13 Thread Prabhakar Kushwaha

> -Original Message-
> From: Chuanhua Han 
> Sent: Friday, June 21, 2019 7:52 AM
> To: w...@denx.de; Shengzhou Liu ; Ruchika Gupta
> ; ja...@openedev.com; s...@chromium.org;
> Prabhakar Kushwaha 
> Cc: u-boot@lists.denx.de; Chuanhua Han 
> Subject: [PATCH v4 4/5] powerpc: dts: t2080qds: add espi slave nodes
> support
> 
> Add espi slave nodes  to support t2080qds.
> 
> Signed-off-by: Chuanhua Han 
> ---
> depends on:
> -
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatch
> work.ozlabs.org%2Fproject%2Fuboot%2Flist%2F%3Fseries%3D99439d
> ata=02%7C01%7Cprabhakar.kushwaha%40nxp.com%7C60e8147b84eb47e543
> 2608d6f5ef09ac%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C63696
> 6804334431322sdata=l%2BXzp5DoxG0%2BPKbhOhgEeTmQvn%2FM1Z
> r0qNVVGyckBEc%3Dreserved=0
> 
> Changes in v4:
>   - Modify the spi-max-frequency attribute value of the flash@x node
> of the device tree.
> Changes in v3:
>   - Add a cover-letter for this patch set.
> Changes in v2:
>   - No change.
> 
>  arch/powerpc/dts/t2080qds.dts | 33
> +++++
>  1 file changed, 33 insertions(+)
> 

Acked-by: Prabhakar Kushwaha 
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PATCH v4 0/5] dm: spi: Convert Freescale ESPI driver to driver

2019-08-13 Thread Prabhakar Kushwaha
Dear Jagan,

> -Original Message-
> From: Chuanhua Han 
> Sent: Friday, June 21, 2019 7:52 AM
> To: w...@denx.de; Shengzhou Liu ; Ruchika Gupta
> ; ja...@openedev.com; s...@chromium.org;
> Prabhakar Kushwaha 
> Cc: u-boot@lists.denx.de; Chuanhua Han 
> Subject: [PATCH v4 0/5] dm: spi: Convert Freescale ESPI driver to driver
> 
> In order to convert the Freescale ESPI driver to the driver model, there are 5
> related patches in the current patch set:
> 
> 0001-spl-dm-disable-SPI-DM-flash-for-non-DM-SPL.patch
> 0002-dm-spi-Convert-Freescale-ESPI-driver-to-driver-model.patch
> 0003-powerpc-dts-t2080-add-espi-controller-node-support.patch
> 0004-powerpc-dts-t2080qds-add-espi-slave-nodes-support.patch
> 0005-configs-enable-espi-device-module-in-T2080QDS.patch
> 
> The first patch is to solve the problem that spl can't work when spiboot, and
> this is required for SPI boot.
> 
> The other four patches are supported by the driver model. This patchset
> already supports the full dm mode, and fsl_espi driver support both
> OF_CONTROL and PLATDATA.
> 
> Chuanhua Han (5):
>   spl: dm: disable SPI DM flash for non-DM SPL
>   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
> 

If there is no review comments, can you please pick this series via your tree
I am delegating this patch-set to you. 

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


Re: [U-Boot] [PATCH v2] armv8: ls1028a: Add environment variables to facilitate the boot

2019-08-13 Thread Prabhakar Kushwaha
Dear Andy,


> -Original Message-
> From: Yuantian Tang 
> Sent: Wednesday, June 19, 2019 12:48 PM
> To: Prabhakar Kushwaha 
> Cc: u-boot@lists.denx.de; Andy Tang 
> Subject: [PATCH v2] armv8: ls1028a: Add environment variables to facilitate
> the boot
> 
> Add some environment variables to facilitate the auto boot.
> 
> Signed-off-by: Yuantian Tang 
> ---
> v2:
>   - merge with its dependent patch
>  include/configs/ls1028a_common.h | 28 +---
>  1 file changed, 25 insertions(+), 3 deletions(-)
> 
> diff --git a/include/configs/ls1028a_common.h
> b/include/configs/ls1028a_common.h
> index 0db86396e9..022981bfa3 100644
> --- a/include/configs/ls1028a_common.h
> +++ b/include/configs/ls1028a_common.h
> @@ -67,6 +67,7 @@
> 
>  #define BOOT_TARGET_DEVICES(func) \
>   func(MMC, mmc, 0) \
> + func(MMC, mmc, 1) \
>   func(USB, usb, 0)
>  #include 
> 
> @@ -127,25 +128,46 @@
>   "${scripthdraddr} ${prefix}${boot_script_hdr} " \
>   "&& esbc_validate ${scripthdraddr};"\
>   "source ${scriptaddr}\0"  \
> - "sd_bootcmd=echo Trying load from SD ..;"   \
> + "xspi_bootcmd=echo Trying load from FlexSPI flash ...;" \
> + "sf probe 0:0 && sf read $load_addr " \
> + "$kernel_start $kernel_size ; env exists secureboot &&" \
> + "sf read $kernelheader_addr_r $kernelheader_start " \
> + "$kernelheader_size && esbc_validate
> ${kernelheader_addr_r}; "\
> + " bootm $load_addr#$board\0" \
> + "xspi_hdploadcmd=echo Trying load HDP firmware from FlexSPI...;" \
> + "sf probe 0:0 && sf read $load_addr 0x94 0x3 " \
> + "&& hdp load $load_addr 0x2000\0"   \
> + "sd_bootcmd=echo Trying load from SD ...;" \
>   "mmcinfo; mmc read $load_addr " \
>   "$kernel_addr_sd $kernel_size_sd && "   \
>   "env exists secureboot && mmc read $kernelheader_addr_r
> " \
>   "$kernelhdr_addr_sd $kernelhdr_size_sd "\
>   " && esbc_validate ${kernelheader_addr_r};" \
>   "bootm $load_addr#$board\0" \
> + "sd_hdploadcmd=echo Trying load HDP firmware from SD..;"\
> + "mmcinfo;mmc read $load_addr 0x4a00 0x200 " \
> + "&& hdp load $load_addr 0x2000\0"   \
>   "emmc_bootcmd=echo Trying load from EMMC ..;"   \
>   "mmcinfo; mmc dev 1; mmc read $load_addr "  \
>   "$kernel_addr_sd $kernel_size_sd && "   \
>   "env exists secureboot && mmc read $kernelheader_addr_r
> " \
>   "$kernelhdr_addr_sd $kernelhdr_size_sd "\
>   " && esbc_validate ${kernelheader_addr_r};" \
> - "bootm $load_addr#$board\0"
> + "bootm $load_addr#$board\0" \
> + "emmc_hdploadcmd=echo Trying load HDP firmware from EMMC..;"
> \
> + "mmc dev 1;mmcinfo;mmc read $load_addr 0x4a00 0x200 "
>   \
> + "&& hdp load $load_addr 0x2000\0"
> 
>  #undef CONFIG_BOOTCOMMAND
> 
> +#define XSPI_NOR_BOOTCOMMAND \
> + "run xspi_hdploadcmd; run distro_bootcmd; run xspi_bootcmd; " \
> + "env exists secureboot && esbc_halt;;"
>  #define SD_BOOTCOMMAND   \
> - "run distro_bootcmd;run sd_bootcmd; " \
> + "run sd_hdploadcmd; run distro_bootcmd;run sd_bootcmd; " \
> + "env exists secureboot && esbc_halt;"
> +#define SD2_BOOTCOMMAND  \
> + "run emmc_hdploadcmd; run distro_bootcmd;run emmc_bootcmd;
> " \
>   "env exists secureboot && esbc_halt;"
> 
>  /* Monitor Command Prompt */
> --
> 2.17.1

As there is no flexspi and hdp driver.  I will suggest to avoid these words in 
patch

--pk



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


Re: [U-Boot] [PATCH v4 0/5] dm: spi: Convert Freescale ESPI driver to driver

2019-06-20 Thread Prabhakar Kushwaha
Hi Jagan,


> -Original Message-
> From: Chuanhua Han 
> Sent: Friday, June 21, 2019 7:52 AM
> To: w...@denx.de; Shengzhou Liu ; Ruchika Gupta
> ; ja...@openedev.com; s...@chromium.org;
> Prabhakar Kushwaha 
> Cc: u-boot@lists.denx.de; Chuanhua Han 
> Subject: [PATCH v4 0/5] dm: spi: Convert Freescale ESPI driver to driver
> 
> In order to convert the Freescale ESPI driver to the driver model, there are 5
> related patches in the current patch set:
> 
> 0001-spl-dm-disable-SPI-DM-flash-for-non-DM-SPL.patch
> 0002-dm-spi-Convert-Freescale-ESPI-driver-to-driver-model.patch
> 0003-powerpc-dts-t2080-add-espi-controller-node-support.patch
> 0004-powerpc-dts-t2080qds-add-espi-slave-nodes-support.patch
> 0005-configs-enable-espi-device-module-in-T2080QDS.patch
> 
> The first patch is to solve the problem that spl can't work when spiboot, and 
> this
> is required for SPI boot.
> 
> The other four patches are supported by the driver model. This patchset 
> already
> supports the full dm mode, and fsl_espi driver support both OF_CONTROL and
> PLATDATA.
> 
> Chuanhua Han (5):
>   spl: dm: disable SPI DM flash for non-DM SPL
>   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
> 

Is there slight possibility of accepting this patch-series for v2019.07-RC5. 

Once this patch accepted,   All pre-requirement of PowerPC DM migration will 
merge in v2019.07 u-boot. 
And we can target PowerPC DM migration for next u-boot release. 

--pk

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


Re: [U-Boot] Pull request : u-boot-fsl-qoriq/master

2019-06-20 Thread Prabhakar Kushwaha
Hi Tom,

> -Original Message-
> From: Tom Rini 
> Sent: Thursday, June 20, 2019 5:24 AM
> To: Prabhakar Kushwaha 
> Cc: u-boot@lists.denx.de
> Subject: Re: Pull request : u-boot-fsl-qoriq/master
> 
> On Wed, Jun 19, 2019 at 11:42:51AM +, Prabhakar Kushwaha wrote:
> 
> > Dear Tom,
> >
> > Please find my pull request for u-boot-fsl-qoriq/master
> >
> > Summary:
> >  - LS1046AFRWY support
> >  - USB errata fix and secure boot defconfig support for LS1028A
> >  - Enabled SDHC and SATA for LX2160
> >  - LS1046A serdes fixes
> >  - other minor fixes
> >
> > Travis-CI:  https://travis-ci.org/prabhukush/u-boot/builds/547580045
> >
> >
> > --pk (prabhakar: prabhu_kush)
> >
> 
> Applied to u-boot/master, thanks!
> 

Somehow https://git.denx.de/u-boot.git/ not showing this pull request merger

--pk

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


Re: [U-Boot] [PATCHv2 8/8] configs: T2080QDS: Enable PCIe driver

2019-06-20 Thread Prabhakar Kushwaha

> -Original Message-
> From: Z.q. Hou
> Sent: Thursday, May 23, 2019 5:53 PM
> To: u-boot@lists.denx.de; Prabhakar Kushwaha
> ; w...@denx.de; Shengzhou Liu
> ; bmeng...@gmail.com; Jagdish Gediya
> ; s...@chromium.org; ley.foon@intel.com;
> s...@denx.de
> Cc: M.h. Lian ; Xiaowei Bao
> ; Z.q. Hou 
> Subject: [PATCHv2 8/8] configs: T2080QDS: Enable PCIe driver
> 
> From: Hou Zhiqiang 
> 
> Enable the DM PCIe driver in T2080QDS defconfig.
> 
> Signed-off-by: Hou Zhiqiang 
> ---

Run savedefonfing and enabled for other 2 configs

This patch has been applied to u-boot-mpc85xx, awaiting upstream.

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


Re: [U-Boot] [PATCHv2 3/8] powerpc: mpc85xx: Update the condition to compile PCI routines

2019-06-20 Thread Prabhakar Kushwaha

> -Original Message-
> From: Z.q. Hou
> Sent: Thursday, May 23, 2019 5:52 PM
> To: u-boot@lists.denx.de; Prabhakar Kushwaha
> ; w...@denx.de; Shengzhou Liu
> ; bmeng...@gmail.com; Jagdish Gediya
> ; s...@chromium.org; ley.foon@intel.com;
> s...@denx.de
> Cc: M.h. Lian ; Xiaowei Bao
> ; Z.q. Hou 
> Subject: [PATCHv2 3/8] powerpc: mpc85xx: Update the condition to compile PCI
> routines
> 
> From: Hou Zhiqiang 
> 
> Compile the routines of mpc85xx/pci.c when both FSL_PCI_INIT and DM_PCI are
> not enabled.
> 
> Signed-off-by: Hou Zhiqiang 
> Reviewed-by: Simon Glass 
> ---
This patch has been applied to u-boot-mpc85xx, awaiting upstream.

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


Re: [U-Boot] [PATCHv2 7/8] powerpc: T208xQDS: Disable legacy PCIe driver

2019-06-20 Thread Prabhakar Kushwaha

> -Original Message-
> From: Z.q. Hou
> Sent: Thursday, May 23, 2019 5:52 PM
> To: u-boot@lists.denx.de; Prabhakar Kushwaha
> ; w...@denx.de; Shengzhou Liu
> ; bmeng...@gmail.com; Jagdish Gediya
> ; s...@chromium.org; ley.foon@intel.com;
> s...@denx.de
> Cc: M.h. Lian ; Xiaowei Bao
> ; Z.q. Hou 
> Subject: [PATCHv2 7/8] powerpc: T208xQDS: Disable legacy PCIe driver
> 
> From: Hou Zhiqiang 
> 
> Disable legacy PCIe driver and remove unused PCIe macros.
> 
> Signed-off-by: Hou Zhiqiang 
> Reviewed-by: Simon Glass 
> ---

Fixed for non PCIe DM build !!

This patch has been applied to u-boot-mpc85xx, awaiting upstream.

--pk

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


Re: [U-Boot] [PATCHv2 5/8] t2080: dts: Added PCIe DT nodes

2019-06-20 Thread Prabhakar Kushwaha

> -Original Message-
> From: Z.q. Hou
> Sent: Thursday, May 23, 2019 5:52 PM
> To: u-boot@lists.denx.de; Prabhakar Kushwaha
> ; w...@denx.de; Shengzhou Liu
> ; bmeng...@gmail.com; Jagdish Gediya
> ; s...@chromium.org; ley.foon@intel.com;
> s...@denx.de
> Cc: M.h. Lian ; Xiaowei Bao
> ; Z.q. Hou 
> Subject: [PATCHv2 5/8] t2080: dts: Added PCIe DT nodes
> 
> From: Hou Zhiqiang 
> 
> T2080 integrated 4 PCIe controllers, which is compatible with the PCI Express™
> Base Specification, Revision 3.0, and this patch is to add DT node for each 
> PCIe
> controller.
> 
> Signed-off-by: Hou Zhiqiang 
> Reviewed-by: Simon Glass 
> ---

This patch has been applied to u-boot-mpc85xx, awaiting upstream.

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


Re: [U-Boot] [PATCHv2 6/8] dm: pci: add Freescale PowerPC PCIe driver

2019-06-20 Thread Prabhakar Kushwaha

> -Original Message-
> From: Z.q. Hou
> Sent: Thursday, May 23, 2019 5:52 PM
> To: u-boot@lists.denx.de; Prabhakar Kushwaha
> ; w...@denx.de; Shengzhou Liu
> ; bmeng...@gmail.com; Jagdish Gediya
> ; s...@chromium.org; ley.foon@intel.com;
> s...@denx.de
> Cc: M.h. Lian ; Xiaowei Bao
> ; Z.q. Hou 
> Subject: [PATCHv2 6/8] dm: pci: add Freescale PowerPC PCIe driver
> 
> From: Hou Zhiqiang 
> 
> Add PCIe DM driver for Freescale PowerPC PCIe controllers.
> 
> Signed-off-by: Hou Zhiqiang 
> ---

Updated copyright!!

This patch has been applied to u-boot-mpc85xx, awaiting upstream.

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


Re: [U-Boot] [PATCHv2 2/8] powerpc: mpc85xx: Move CONFIG_FSL_PCIE_RESET to Kconfig

2019-06-20 Thread Prabhakar Kushwaha

> -Original Message-
> From: Z.q. Hou
> Sent: Thursday, May 23, 2019 5:52 PM
> To: u-boot@lists.denx.de; Prabhakar Kushwaha
> ; w...@denx.de; Shengzhou Liu
> ; bmeng...@gmail.com; Jagdish Gediya
> ; s...@chromium.org; ley.foon@intel.com;
> s...@denx.de
> Cc: M.h. Lian ; Xiaowei Bao
> ; Z.q. Hou 
> Subject: [PATCHv2 2/8] powerpc: mpc85xx: Move CONFIG_FSL_PCIE_RESET to
> Kconfig
> 
> From: Hou Zhiqiang 
> 
> Use the Kconfig option to select the PCIe reset errata.
> 
> Signed-off-by: Hou Zhiqiang 
> ---

This patch has been applied to u-boot-mpc85xx, awaiting upstream.

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


Re: [U-Boot] [PATCHv2 4/8] powerpc: T208xQDS: Compile the legacy PCIe routines conditionally

2019-06-20 Thread Prabhakar Kushwaha

> -Original Message-
> From: Z.q. Hou
> Sent: Thursday, May 23, 2019 5:52 PM
> To: u-boot@lists.denx.de; Prabhakar Kushwaha
> ; w...@denx.de; Shengzhou Liu
> ; bmeng...@gmail.com; Jagdish Gediya
> ; s...@chromium.org; ley.foon@intel.com;
> s...@denx.de
> Cc: M.h. Lian ; Xiaowei Bao
> ; Z.q. Hou 
> Subject: [PATCHv2 4/8] powerpc: T208xQDS: Compile the legacy PCIe routines
> conditionally
> 
> From: Hou Zhiqiang 
> 
> Compile the legacy PCIe initialization reoutines only when DM_PCI is not
> enabled.
> 
> Signed-off-by: Hou Zhiqiang 
> Reviewed-by: Simon Glass 
> ---

This patch has been applied to u-boot-mpc85xx, awaiting upstream.

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


Re: [U-Boot] [PATCHv2 1/8] powerpc: mpc85xx: Move CONFIG_FSL_PCIE_DISABLE_ASPM to Kconfig

2019-06-20 Thread Prabhakar Kushwaha

> -Original Message-
> From: Z.q. Hou
> Sent: Thursday, May 23, 2019 5:52 PM
> To: u-boot@lists.denx.de; Prabhakar Kushwaha
> ; w...@denx.de; Shengzhou Liu
> ; bmeng...@gmail.com; Jagdish Gediya
> ; s...@chromium.org; ley.foon@intel.com;
> s...@denx.de
> Cc: M.h. Lian ; Xiaowei Bao
> ; Z.q. Hou 
> Subject: [PATCHv2 1/8] powerpc: mpc85xx: Move
> CONFIG_FSL_PCIE_DISABLE_ASPM to Kconfig
> 
> From: Hou Zhiqiang 
> 
> Use the Kconfig option to select the PCIe ASPM errata.
> 
> Signed-off-by: Hou Zhiqiang 
> ---

This patch has been applied to u-boot-mpc85xx, awaiting upstream.

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


[U-Boot] pull request: u-boot-mpc85xx/master

2019-06-20 Thread Prabhakar Kushwaha
Dear Tom,

Please find my pull request for u-boot-mpc85xx/master

Summary:
- PCIe driver change to support DM model
- T2080QDS migrated to use PCIe DM model

Travis-CI:  https://travis-ci.org/prabhukush/u-boot/builds/548042921


--pk (prabhakar: prabhu_kush)


The following changes since commit 77f6e2dd0551d8a825bab391a1bd6b838874bcd4:

  Merge tag 'efi-2019-07-rc5-2' of git://git.denx.de/u-boot-efi (2019-06-15 
13:03:00 -0400)

are available in the git repository at:

  https://gitlab.denx.de/u-boot/custodians/u-boot-mpc85xx.git HEAD

for you to fetch changes up to 70833d530e3b9a776c5127487c7d3c1a1bb238cc:

  configs: T2080QDS: Enable PCIe driver (2019-06-20 10:55:22 +0530)


Hou Zhiqiang (8):
  powerpc: mpc85xx: Move CONFIG_FSL_PCIE_DISABLE_ASPM to Kconfig
  powerpc: mpc85xx: Move CONFIG_FSL_PCIE_RESET to Kconfig
  powerpc: mpc85xx: Update the condition to compile PCI routines
  powerpc: T208xQDS: Compile the legacy PCIe routines conditionally
  t2080: dts: Added PCIe DT nodes
  dm: pci: add Freescale PowerPC PCIe driver
  powerpc: T208xQDS: Disable legacy PCIe driver when DM_PCI is enabled
  configs: T2080QDS: Enable PCIe driver

 arch/powerpc/cpu/mpc85xx/Kconfig  |  29 ++
 arch/powerpc/cpu/mpc85xx/pci.c|   2 +-
 arch/powerpc/dts/t2080.dtsi   |  48 +++
 arch/powerpc/include/asm/config_mpc85xx.h |   5 -
 board/freescale/t208xqds/pci.c|   2 +
 configs/T2080QDS_NAND_defconfig   |   3 +
 configs/T2080QDS_SDCARD_defconfig |   3 +
 configs/T2080QDS_SECURE_BOOT_defconfig|   3 +
 configs/T2080QDS_SPIFLASH_defconfig   |   3 +
 configs/T2080QDS_SRIO_PCIE_BOOT_defconfig |   3 +
 configs/T2080QDS_defconfig|   3 +
 drivers/pci/Kconfig   |   8 +
 drivers/pci/Makefile  |   1 +
 drivers/pci/pcie_fsl.c| 610 ++
 drivers/pci/pcie_fsl.h|  56 +++
 drivers/pci/pcie_fsl_fixup.c  |  50 +++
 include/configs/BSC9132QDS.h  |   1 -
 include/configs/C29XPCIE.h|   1 -
 include/configs/MPC8536DS.h   |   1 -
 include/configs/MPC8544DS.h   |   1 -
 include/configs/MPC8548CDS.h  |   1 -
 include/configs/MPC8568MDS.h  |   1 -
 include/configs/MPC8569MDS.h  |   1 -
 include/configs/MPC8572DS.h   |   1 -
 include/configs/P1010RDB.h|   1 -
 include/configs/P1022DS.h |   1 -
 include/configs/P1023RDB.h|   1 -
 include/configs/T208xQDS.h|  37 +-
 include/configs/T208xRDB.h|   1 -
 include/configs/UCP1020.h |   1 -
 include/configs/controlcenterd.h  |   1 -
 include/configs/p1_p2_rdb_pc.h|   1 -
 include/configs/p1_twr.h  |   1 -
 include/configs/sbc8548.h |   1 -
 include/configs/xpedite537x.h |   1 -
 include/configs/xpedite550x.h |   1 -
 36 files changed, 842 insertions(+), 43 deletions(-)
 create mode 100644 drivers/pci/pcie_fsl.c
 create mode 100644 drivers/pci/pcie_fsl.h
 create mode 100644 drivers/pci/pcie_fsl_fixup.c
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PATCH] travis.yml: Add buildman support for NXP's LS1028 & LX2160

2019-06-19 Thread Prabhakar Kushwaha

> -Original Message-
> From: Tom Rini 
> Sent: Wednesday, June 19, 2019 5:49 PM
> To: Prabhakar Kushwaha 
> Cc: u-boot@lists.denx.de
> Subject: Re: [PATCH] travis.yml: Add buildman support for NXP's LS1028 &
> LX2160
> 
> On Wed, Jun 19, 2019 at 05:47:12PM +0530, Prabhakar Kushwaha wrote:
> 
> > NXP's LS1028 and LX2160 platform build support added via buildman in
> > travis.yml.
> >
> > Signed-off-by: Prabhakar Kushwaha 
> > ---
> >  .travis.yml | 6 ++
> >  1 file changed, 6 insertions(+)
> >
> > diff --git a/.travis.yml b/.travis.yml index 8bd49ef1a5..e4e7e653f6
> > 100644
> > --- a/.travis.yml
> > +++ b/.travis.yml
> > @@ -183,6 +183,9 @@ matrix:
> >  - name: "buildman NXP AArch64 LS101x"
> >env:
> >  - BUILDMAN="freescale"
> > +- name: "buildman NXP AArch64 LS102x"
> > +  env:
> > +- BUILDMAN="freescale"
> >  - name: "buildman NXP AArch64 LS104x"
> >env:
> >  - BUILDMAN="freescale"
> > @@ -192,6 +195,9 @@ matrix:
> >  - name: "buildman NXP AArch64 LS20xx"
> >env:
> >  - BUILDMAN="freescale&"
> > +- name: "buildman NXP AArch64 LX216x"
> > +  env:
> > +- BUILDMAN="freescale"
> >  - name: "buildman i.MX6 (non-NXP)"
> >env:
> >  - BUILDMAN="mx6 -x freescale,toradex,boundary,engicam"
> 
> Are you sure the current jobs don't catch these?  I thought I checked for
> everything when I split it up.
> 

LX2 and LS1028A are new SoC added recently. But they are not getting build as 
part of default .travis.yml.
This patch fix it. .

> And on a related note, I look forward to switching to gitlab CI where we 
> control
> the job timeout and can stop splitting things up so much.

Is there any timeline about this transition.

--pk


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


[U-Boot] [PATCH] travis.yml: Add buildman support for NXP's LS1028 & LX2160

2019-06-19 Thread Prabhakar Kushwaha
NXP's LS1028 and LX2160 platform build support added via buildman
in travis.yml.

Signed-off-by: Prabhakar Kushwaha 
---
 .travis.yml | 6 ++
 1 file changed, 6 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index 8bd49ef1a5..e4e7e653f6 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -183,6 +183,9 @@ matrix:
 - name: "buildman NXP AArch64 LS101x"
   env:
 - BUILDMAN="freescale"
+- name: "buildman NXP AArch64 LS102x"
+  env:
+- BUILDMAN="freescale"
 - name: "buildman NXP AArch64 LS104x"
   env:
 - BUILDMAN="freescale"
@@ -192,6 +195,9 @@ matrix:
 - name: "buildman NXP AArch64 LS20xx"
   env:
 - BUILDMAN="freescale&"
+- name: "buildman NXP AArch64 LX216x"
+  env:
+- BUILDMAN="freescale"
 - name: "buildman i.MX6 (non-NXP)"
   env:
 - BUILDMAN="mx6 -x freescale,toradex,boundary,engicam"
-- 
2.14.1

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


Re: [U-Boot] [PATCH 1/2] board: lx2160a: fix fsl-mc status in fdt with bootefi

2019-06-19 Thread Prabhakar Kushwaha

> -Original Message-
> From: Mian Yousaf Kaukab 
> Sent: Thursday, May 23, 2019 2:28 PM
> To: u-boot@lists.denx.de; Prabhakar Kushwaha
> 
> Cc: Mian Yousaf Kaukab 
> Subject: [PATCH 1/2] board: lx2160a: fix fsl-mc status in fdt with bootefi
> 
> fsl-mc lazyapply command applies dpl from efi_exit_boot_services().
> Status of fsl-mc node in working fdt is updated at this stage.
> However, an efi application like grub may already have copied the fdt.
> So the updates to fdt done at efi_exit_boot_services() may not be visible to 
> the
> OS. Fix it by updating fdt earlier if fsl-mc lazyapply command is used.
> 
> Signed-off-by: Mian Yousaf Kaukab 
> ---

This patch has been applied to fsl-qoriq master, awaiting upstream.

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


Re: [U-Boot] [PATCH] configs/ls1046ardb_*: disable CONFIG_SPI_FLASH_USE_4K_SECTORS

2019-06-19 Thread Prabhakar Kushwaha

> -Original Message-
> From: Maciej Pijanowski 
> Sent: Saturday, June 1, 2019 2:01 AM
> To: u-boot@lists.denx.de
> Cc: piotr.k...@3mdeb.com; Maciej Pijanowski
> ; Prabhakar Kushwaha
> 
> Subject: [PATCH] configs/ls1046ardb_*: disable
> CONFIG_SPI_FLASH_USE_4K_SECTORS
> 
> With this setting enabled, the on-board QSPI cannot be properly flashed. There
> are no error messages, but the simple write / read / compare tests fail.
> 
> This is already disabled in the qspi and tfa defconfigs for the LS1046ARDB
> platform.
> 
> Signed-off-by: Maciej Pijanowski 
> 
> Cc: prabhakar.kushw...@nxp.com
> Cc: piotr.k...@3mdeb.com
> ---

This patch has been applied to fsl-qoriq master, awaiting upstream.

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


Re: [U-Boot] [PATCH v3] armv8/fsl-layerscape: Add loop to check L3 dcache status

2019-06-19 Thread Prabhakar Kushwaha

> -Original Message-
> From: Meenakshi Aggarwal 
> Sent: Tuesday, May 28, 2019 9:38 PM
> To: u-boot@lists.denx.de; Prabhakar Kushwaha
> 
> Cc: Meenakshi Aggarwal ; Udit Kumar
> 
> Subject: [PATCH v3] armv8/fsl-layerscape: Add loop to check L3 dcache status
> 
> Flushing L3 cache may need variable time depending upon cache line allocation.
> 
> Coming up with a proper timeout value would be best handled by simulations
> under multiple scenarios in your actual system.
> From the purely HN-F point of view, the flush would take ~15 cycles for a 
> clean
> line, and ~22 cycles for a dirty line.  For the dirty line case, there are 
> many
> variables outside the HN-F that will increase the duration per line.  For 
> example,
> a *DBIDResp from the SN-F/SBSX, memory controller latency, SN-F/SBSX
> RetryAck responses, CCN ring congestion, CCN ring hops, etc, etc.  The worst-
> case timeout would have to factor in all of these variables plus the HN-F 
> cycles
> for every line in the L3, and assuming all lines are dirty
> 
> In case if L3 is not flushed properly, system behaviour will be erratic, so 
> remove
> timeout and add loop to check status of L3 cache.
> 
> System will stuck in while loop if there is some issue in L3 cache flushing.
> 
> Signed-off-by: Udit Kumar 
> Signed-off-by: Meenakshi Aggarwal 
> 
> ---
> changed for v2:
>   - An increase in timeout doesn't ensure completion of
> L3 cache flushing operation. So checking the L3 cache
> status till it succedd.
> 
> changed for v3:
>   - Updated Copyright
>   - add loop to poll for l3 dcache status in hnf_pstate_poll
> function
>   - removed timeout related code as it is not needed
> ---

This patch has been applied to fsl-qoriq master, awaiting upstream.

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


Re: [U-Boot] [PATCH] fsl-layerscape/ls1046a_serdes.c: fix 0x3363 serdes1 setting

2019-06-19 Thread Prabhakar Kushwaha

> -Original Message-
> From: Maciej Pijanowski 
> Sent: Friday, May 31, 2019 7:30 PM
> To: u-boot@lists.denx.de
> Cc: Prabhakar Kushwaha ;
> maciej.pijanow...@3mdeb.com
> Subject: [PATCH] fsl-layerscape/ls1046a_serdes.c: fix 0x3363 serdes1 setting
> 
> According to the table 31-1 in the QorIQ LS1046A Reference Manual, Rev. 2,
> 11/2018, the D lane of SerDes1 uses following settings:
> - SGMII.9, not SGMII.5 for D lane,
> - SGMII.10, not SGMII.6 for C lane.
> 
> Signed-off-by: Maciej Pijanowski 
> 
> Cc: prabhakar.kushw...@nxp.com

Updated description 

This patch has been applied to fsl-qoriq master, awaiting upstream.

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


Re: [U-Boot] [PATCH 2/2] board: lx2160a: use default scan_dev_for_boot

2019-06-19 Thread Prabhakar Kushwaha

> -Original Message-
> From: Mian Yousaf Kaukab 
> Sent: Thursday, May 23, 2019 2:28 PM
> To: u-boot@lists.denx.de; Prabhakar Kushwaha
> 
> Cc: Mian Yousaf Kaukab 
> Subject: [PATCH 2/2] board: lx2160a: use default scan_dev_for_boot
> 
> Default environment variable is more complete. Also scans for efi binaries for
> example.
> 
> Signed-off-by: Mian Yousaf Kaukab 
> ---

This patch has been applied to fsl-qoriq master, awaiting upstream.

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


Re: [U-Boot] [PATCH v3 2/2] armv8: ls1028a: enable workaround for USB errarum A-009007

2019-06-19 Thread Prabhakar Kushwaha

> -Original Message-
> From: Ran Wang 
> Sent: Tuesday, May 14, 2019 3:05 PM
> To: Albert Aribaud ; Prabhakar Kushwaha
> 
> Cc: Yinbo Zhu ; u-boot@lists.denx.de; Ran Wang
> 
> Subject: [PATCH v3 2/2] armv8: ls1028a: enable workaround for USB errarum A-
> 009007
> 
> From: Yinbo Zhu 
> 
> Rx Compliance tests may fail intermittently at high jitter frequencies using
> default register values.
> 
> Program register USB_PHY_RX_OVRD_IN_HI in certain sequence to make the Rx
> compliance test pass.
> 
> Signed-off-by: Yinbo Zhu 
> Signed-off-by: Ran Wang 
> ---
> Change in v3:
>   - Update commit subject to remove redundant message
> 
> Change in v2:
>   - Update commit subject to make it clearer
> 

This patch has been applied to fsl-qoriq master, awaiting upstream.

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


Re: [U-Boot] [PATCH v2 2/3] armv8: ls2088aqds: Fix MC firmware loading during SD boot

2019-06-19 Thread Prabhakar Kushwaha

> -Original Message-
> From: Wasim Khan
> Sent: Monday, June 10, 2019 3:47 PM
> To: u-boot@lists.denx.de; Prabhakar Kushwaha
> ; Priyanka Jain 
> Cc: Wasim Khan 
> Subject: [PATCH v2 2/3] armv8: ls2088aqds: Fix MC firmware loading during SD
> boot
> 
> During SD boot, MC firmware and DPC are copied from SD card to DDR.
> Size reserved between MC and DPC firmware on DDR is 1MB.
> If the size of MC firmware(load address 0x8000) is more than 1 MB then
> part of MC firmware will be overwritten by DPC firmware (load address
> 0x8010).
> 
> Fix: Update the MC/DPL/DPC firmware's DDR address as per their respective
> addresses in SD card.
> 

This patch has been applied to fsl-qoriq master, awaiting upstream.

--pk

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


Re: [U-Boot] [PATCH 2/2] armv8: fsl-layerscape: Change bootcmd update logic

2019-06-19 Thread Prabhakar Kushwaha

> -Original Message-
> From: Pankit Garg
> Sent: Thursday, May 30, 2019 5:34 PM
> To: u-boot@lists.denx.de
> Cc: Prabhakar Kushwaha ; Jagdish Gediya
> 
> Subject: [PATCH 2/2] armv8: fsl-layerscape: Change bootcmd update logic
> 
> Change bootcmd update logic when CONFIG_ENV_ADDR is not defined
> 
> Signed-off-by: Pankit Garg 
> ---
This patch has been applied to fsl-qoriq master, awaiting upstream.

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


Re: [U-Boot] [PATCH] armv8: ls1028a: Add ecc address node for sata.

2019-06-19 Thread Prabhakar Kushwaha

> -Original Message-
> From: Peng Ma 
> Sent: Thursday, May 23, 2019 9:37 AM
> To: Prabhakar Kushwaha ;
> albert.u.b...@aribaud.net
> Cc: Sudhanshu Gupta ; Rajesh Bhagat
> ; Qiang Zhao ; Andy Tang
> ; u-boot@lists.denx.de; Peng Ma 
> Subject: [PATCH] armv8: ls1028a: Add ecc address node for sata.
> 
> Move the ecc addr from driver to dts
> 
> Signed-off-by: Peng Ma 
> ---
>  arch/arm/dts/fsl-ls1028a.dtsi |5 +++--
>  1 files changed, 3 insertions(+), 2 deletions(-)
> 

This patch has been applied to fsl-qoriq master, awaiting upstream.

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


Re: [U-Boot] [PATCH v1] armv8: lx2160aqds: Enable eSDHC controllers

2019-06-19 Thread Prabhakar Kushwaha

> -Original Message-
> From: Yinbo Zhu 
> Sent: Monday, May 27, 2019 9:47 AM
> To: York Sun ; u-boot@lists.denx.de; Prabhakar Kushwaha
> ; Vabhav Sharma 
> Cc: Yinbo Zhu ; Xiaobo Xie ; Jiafei
> Pan ; Y.b. Lu ; Jagdish Gediya
> 
> Subject: [PATCH v1] armv8: lx2160aqds: Enable eSDHC controllers
> 
> This patch is to enable esdhc controllers for lx2160aqds
> 
> Signed-off-by: Yinbo Zhu 
> ---

This patch has been applied to fsl-qoriq master, awaiting upstream.

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


Re: [U-Boot] [PATCH v3] armv8: fsl-lsch2: add clock support for the second eSDHC

2019-06-19 Thread Prabhakar Kushwaha

> -Original Message-
> From: Yinbo Zhu 
> Sent: Monday, June 3, 2019 4:54 PM
> To: York Sun ; u-boot@lists.denx.de; Prabhakar Kushwaha
> ; Vabhav Sharma ;
> Ashish Kumar 
> Cc: Yinbo Zhu ; Xiaobo Xie ; Jiafei
> Pan ; Y.b. Lu ; Jagdish Gediya
> 
> Subject: [PATCH v3] armv8: fsl-lsch2: add clock support for the second eSDHC
> 
> Layerscape began to use two eSDHC controllers, for example, LS1012A. They
> are same IP block with same reference clock.
> This patch is to add clock support for the second eSDHC.
> 
> Signed-off-by: Yinbo Zhu 
> ---
> Change in v2:
>   Update the Copyright information
> 
> Change in v3:
>   Add "* Copyright 2019 NXP."
> 
>  arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch2_speed.c | 2 ++
>  1 file changed, 2 insertions(+)
> 

This patch has been applied to fsl-qoriq master, awaiting upstream.

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


Re: [U-Boot] [PATCH v2] armv8: fsl-layerscape: Update qspi clk cfg

2019-06-19 Thread Prabhakar Kushwaha

> -Original Message-
> From: Pankit Garg
> Sent: Wednesday, May 29, 2019 5:43 PM
> To: u-boot@lists.denx.de
> Cc: Prabhakar Kushwaha ; Jagdish Gediya
> 
> Subject: [PATCH v2] armv8: fsl-layerscape: Update qspi clk cfg
> 
> Update qspi clock configuration in TFABOOT in case of all boot sources except
> qspi boot source.
> 
> Signed-off-by: Pankit Garg 
> ---

This patch has been applied to fsl-qoriq master, awaiting upstream.

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


Re: [U-Boot] [PATCH v2 1/3] armv8: ls2088aqds: Add bootcmd for TFA boot

2019-06-19 Thread Prabhakar Kushwaha

> -Original Message-
> From: Wasim Khan
> Sent: Monday, June 10, 2019 3:47 PM
> To: u-boot@lists.denx.de; Prabhakar Kushwaha
> ; Priyanka Jain 
> Cc: Wasim Khan 
> Subject: [PATCH v2 1/3] armv8: ls2088aqds: Add bootcmd for TFA boot
> 
> Add bootcmd for IFC NOR boot and SD boot.
> 
> Signed-off-by: Wasim Khan 
> ---

This patch has been applied to fsl-qoriq master, awaiting upstream.

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


Re: [U-Boot] [PATCH] configs: Unset CONFIG_SPI_FLASH_BAR, move CONFIG_FSL_QSPI to defconfig

2019-06-19 Thread Prabhakar Kushwaha

> -Original Message-
> From: Ashish Kumar 
> Sent: Friday, May 31, 2019 4:03 PM
> To: u-boot@lists.denx.de
> Cc: Prabhakar Kushwaha ; Ashish Kumar
> 
> Subject: [PATCH] configs: Unset CONFIG_SPI_FLASH_BAR, move
> CONFIG_FSL_QSPI to defconfig
> 
> From: Ashish Kumar 
> 
> Signed-off-by: Ashish Kumar 
> ---

This patch has been applied to fsl-qoriq master, awaiting upstream.

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


Re: [U-Boot] [PATCH] armv8: lx2160aqds: Enable sata

2019-06-19 Thread Prabhakar Kushwaha

> -Original Message-
> From: U-Boot  On Behalf Of Peng Ma
> Sent: Wednesday, May 22, 2019 8:13 AM
> To: Pankaj Bansal 
> Cc: Peng Ma ; u-boot@lists.denx.de
> Subject: [U-Boot] [PATCH] armv8: lx2160aqds: Enable sata
> 
> Change sata node status to enable sata.
> 
> Signed-off-by: Peng Ma 
> ---

This patch has been applied to fsl-qoriq master, awaiting upstream.

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


Re: [U-Boot] [PATCH] armv8: ls1028a: Add other serdes protocal support

2019-06-19 Thread Prabhakar Kushwaha

> -Original Message-
> From: U-Boot  On Behalf Of Xiaowei Bao
> Sent: Tuesday, May 21, 2019 3:59 PM
> To: Bhaskar Upadhaya ; Ashish Kumar
> ; Harninder Rai ; Rajesh
> Bhagat ; Amit Jain (aj) ;
> Sudhanshu Gupta ; albert.u.b...@aribaud.net;
> Andy Tang ; u-boot@lists.denx.de; York Sun
> 
> Cc: Jiafei Pan ; Xiaowei Bao 
> Subject: [U-Boot] [PATCH] armv8: ls1028a: Add other serdes protocal support
> 
> Add other serdes protocal support.
> 
> Signed-off-by: Xiaowei Bao 
> ---

This patch has been applied to fsl-qoriq master, awaiting upstream.

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


  1   2   3   4   5   6   7   8   9   10   >