[U-Boot] [PATCH] armv8: lx2160a: Modify dspi1 controller intrrupts property

2018-11-23 Thread Chuanhua Han
This patch is to modify the dspi1 controller interrupt number for lx2160a, the original 240 interrupt is problematic and cannot be registered, so first change it to share an interrupt with dspi0. Signed-off-by: Chuanhua Han --- depend on: - https://patchwork.ozlabs.org/patch/990093

[U-Boot] [PATCH] armv8: lx2160a: Modify dspi1 controller intrrupts property

2018-11-23 Thread Chuanhua Han
This patch is to modify the dspi1 controller interrupt number for lx2160a, the original 240 interrupt is problematic and cannot be registered, so first change it to share an interrupt with dspi0. Signed-off-by: Chuanhua Han --- depend on: - https://patchwork.ozlabs.org/patch/990093

[U-Boot] [PATCH] armv8: lx2160a: Modify dspi1 controller intrrupts property

2018-11-23 Thread Chuanhua Han
This patch is to modify the dspi1 controller interrupt number for lx2160a, the original 240 interrupt is problematic and cannot be registered, so first change it to share an interrupt with dspi0. Signed-off-by: Chuanhua Han --- depend on: - https://patchwork.ozlabs.org/patch/990093

Re: [U-Boot] [EXT] Re: [PATCH 2/5] dm: spi: Convert Freescale ESPI driver to driver model

2019-06-03 Thread Chuanhua Han
> -Original Message- > From: Jagan Teki > Sent: 2019年5月23日 12:56 > To: Prabhakar Kushwaha > Cc: Chuanhua Han ; U-Boot-Denx > ; Jiafei Pan ; Jagan Teki > ; Yinbo Zhu ; Ruchika Gupta > > Subject: Re: [U-Boot] [EXT] Re: [PATCH 2/5] dm: spi: Convert Freescale ES

Re: [U-Boot] [EXT] Re: [PATCH v2 1/5] spl: dm: disable SPI DM flash for non-DM SPL

2019-06-03 Thread Chuanhua Han
> -Original Message- > From: Tom Rini > Sent: 2019年5月31日 3:43 > To: Chuanhua Han > Cc: ja...@openedev.com; w...@denx.de; Shengzhou Liu > ; Ruchika Gupta ; Pan > Jiafei ; u-boot@lists.denx.de; Jiafei Pan > ; Yinbo Zhu > Subject: Re: [EXT] Re: [U-Boot] [PAT

Re: [U-Boot] [EXT] Re: [PATCH 1/2] dm: i2c: Add a flag that not call i2c_setup_offset

2019-06-04 Thread Chuanhua Han
> -Original Message- > From: Lukasz Majewski > Sent: 2019年6月4日 6:08 > To: Chuanhua Han > Cc: h...@denx.de; u-boot@lists.denx.de; Biwen Li > Subject: [EXT] Re: [U-Boot] [PATCH 1/2] dm: i2c: Add a flag that not call > i2c_setup_offset > > On Thu, 30 May 201

Re: [U-Boot] [EXT] Re: [PATCH 1/2] dm: i2c: Add a flag that not call i2c_setup_offset

2019-06-04 Thread Chuanhua Han
> -Original Message- > From: Lukasz Majewski > Sent: 2019年6月4日 14:46 > To: Chuanhua Han > Cc: h...@denx.de; u-boot@lists.denx.de; Biwen Li > Subject: Re: [EXT] Re: [U-Boot] [PATCH 1/2] dm: i2c: Add a flag that not call > i2c_setup_offset > > On Tue

Re: [U-Boot] [EXT] Re: [PATCH 1/2] dm: i2c: Add a flag that not call i2c_setup_offset

2019-06-04 Thread Chuanhua Han
> -Original Message- > From: Lukasz Majewski > Sent: 2019年6月4日 15:56 > To: Chuanhua Han > Cc: h...@denx.de; u-boot@lists.denx.de; Biwen Li > Subject: Re: [EXT] Re: [U-Boot] [PATCH 1/2] dm: i2c: Add a flag that not call > i2c_setup_offset > > On Tue

Re: [U-Boot] [EXT] Re: [PATCH 1/2] dm: i2c: Add a flag that not call i2c_setup_offset

2019-06-04 Thread Chuanhua Han
> -Original Message- > From: Lukasz Majewski > Sent: 2019年6月4日 16:19 > To: Chuanhua Han > Cc: h...@denx.de; u-boot@lists.denx.de; Biwen Li > Subject: Re: [EXT] Re: [U-Boot] [PATCH 1/2] dm: i2c: Add a flag that not call > i2c_setup_offset > > On Tue

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

2019-06-11 Thread Chuanhua Han
-by: Chuanhua Han --- depends on: - http://patchwork.ozlabs.org/project/uboot/list/?series=110856 - http://patchwork.ozlabs.org/project/uboot/list/?series=109459 arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 4 - board/freescale/ls1088a/ls1088a.c | 148

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

2019-06-11 Thread Chuanhua Han
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: - http://patchwork.ozlabs.org/project/uboot/list/?series=110856 - http://patchwork.ozlabs.org/project/uboot/list/?series

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

2019-06-11 Thread Chuanhua Han
Enable related configs to support pcf2127 rtc DM feature for ls1088ardb board. Signed-off-by: Chuanhua Han --- depends on: - http://patchwork.ozlabs.org/project/uboot/list/?series=110856 - http://patchwork.ozlabs.org/project/uboot/list/?series=109459 configs

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

2019-06-11 Thread Chuanhua Han
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: - http://patchwork.ozlabs.org/project/uboot/list/?series=110856 - http://patchwork.ozlabs.org/project/uboot/list/?series=109459 arch

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

2019-06-11 Thread Chuanhua Han
One ls1088a, there is four I2C controllers. This patch is to add I2C node for ls1088a. Signed-off-by: Chuanhua Han --- depends on: - http://patchwork.ozlabs.org/project/uboot/list/?series=110856 - http://patchwork.ozlabs.org/project/uboot/list/?series=109459 arch/arm/dts/fsl

[U-Boot] [PATCH] rtc: Add DM support to ds3231

2019-06-11 Thread Chuanhua Han
Add an implementation of the ds3231 driver that uses the driver model i2c APIs. Signed-off-by: Chuanhua Han --- drivers/rtc/ds3231.c | 105 +++ 1 file changed, 105 insertions(+) diff --git a/drivers/rtc/ds3231.c b/drivers/rtc/ds3231.c index 9352ff87a2

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

2019-06-11 Thread Chuanhua Han
-by: Chuanhua Han --- depends on: - http://patchwork.ozlabs.org/project/uboot/list/?series=109459 - http://patchwork.ozlabs.org/project/uboot/list/?series=113103 arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 4 board/freescale/ls2080ardb/ls2080ardb.c | 9 + include

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

2019-06-11 Thread Chuanhua Han
Enable related configs to support rtc DM feature for ls2088ardb board. Signed-off-by: Chuanhua Han --- depends on: - http://patchwork.ozlabs.org/project/uboot/list/?series=109459 - http://patchwork.ozlabs.org/project/uboot/list/?series=113103 configs

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

2019-06-11 Thread Chuanhua Han
As no gpio.h is defined for this architecture, to avoid compilation failure, do not include for arch ls2080a. Signed-off-by: Chuanhua Han --- depends on: - http://patchwork.ozlabs.org/project/uboot/list/?series=109459 - http://patchwork.ozlabs.org/project/uboot/list/?series

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

2019-06-11 Thread 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: - http://patchwork.ozlabs.org/project/uboot/list/?series=109459 - http://patchwork.ozlabs.org/project/uboot/list/?series=113103 arch/arm/dts/fsl

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

2019-06-11 Thread Chuanhua Han
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: - http://patchwork.ozlabs.org/project/uboot/list/?series=109459 - http://patchwork.ozlabs.org/project/uboot/list/?series=113103 arch

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

2019-06-12 Thread Chuanhua Han
-by: Chuanhua Han --- Changes in v2: - No change. arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 8 --- board/freescale/common/emc2305.c | 21 ++ board/freescale/common/qixis.c| 17 + board/freescale/common/sys_eeprom.c | 84 +-- board

[U-Boot] [PATCH v2 2/7] configs: lx2160a: enable DM support for pcf2127 rtc

2019-06-12 Thread Chuanhua Han
Enable related configs to support pcf2127 rtc DM feature. Signed-off-by: Chuanhua Han Signed-off-by: Biwen Li --- Changes in v2: - No change. configs/lx2160ardb_tfa_SECURE_BOOT_defconfig | 5 + configs/lx2160ardb_tfa_defconfig | 5 + 2 files changed, 10 insertions

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

2019-06-12 Thread Chuanhua Han
This patch adds the pcf2127-rtc node under the i2c4 node. Signed-off-by: Chuanhua Han --- Changes in v2: - Delete unnecessary aliases about i2c. arch/arm/dts/fsl-lx2160a-rdb.dts | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/dts/fsl-lx2160a-rdb.dts b/arch/arm

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

2019-06-12 Thread Chuanhua Han
As no gpio.h is defined for this architecture, to avoid compilation failure, do not include for arch ls2160a. Signed-off-by: Chuanhua Han --- Changes in v2: - No change. arch/arm/include/asm/gpio.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/include

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

2019-06-12 Thread Chuanhua Han
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 = enab

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

2019-06-12 Thread Chuanhua Han
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 --- Changes in v2: - Delete unnecessary clockgen related attributes in the i2c controller node arch/arm/dts

[U-Boot] [PATCH v2 7/7] armv8: lx2160ardb : Add slave nodes under the i2c0 controller

2019-06-12 Thread Chuanhua Han
This patch adds some slave nodes to support the i2c dm on the device side under the i2c0 controller. Signed-off-by: Chuanhua Han --- Changes in v2: - Add "u-boot,dm-pre-reloc" attribute to i2c0 node. arch/arm/dts/fsl-lx2160a-rdb.dts | 50 ++

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

2019-06-13 Thread Chuanhua Han
-by: Chuanhua Han --- depends on: - https://patchwork.ozlabs.org/project/uboot/list/?series=113364 - https://patchwork.ozlabs.org/project/uboot/list/?series=110856 - https://patchwork.ozlabs.org/project/uboot/list/?series=109677 Changes in v2: - No change

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

2019-06-13 Thread Chuanhua Han
As no gpio.h is defined for this architecture, to avoid compilation failure, do not include for arch ls1028a. Signed-off-by: Chuanhua Han --- depends on: - https://patchwork.ozlabs.org/project/uboot/list/?series=113364 - https://patchwork.ozlabs.org/project/uboot/list/?series

[U-Boot] [PATCH v2 3/4] configs: ls1028a: enable DM support for pcf2127 rtc

2019-06-13 Thread Chuanhua Han
Enable related configs to support pcf2127 rtc DM feature for ls1028ardb board. Signed-off-by: Chuanhua Han --- depends on: - https://patchwork.ozlabs.org/project/uboot/list/?series=113364 - https://patchwork.ozlabs.org/project/uboot/list/?series=110856 - https

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

2019-06-13 Thread Chuanhua Han
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://patchwork.ozlabs.org/project/uboot/list/?series=113364 - https://patchwork.ozlabs.org/project/uboot/list/?series=110856

Re: [U-Boot] [EXT] Re: [PATCH 1/2] dm: i2c: Add a flag that not call i2c_setup_offset

2019-06-16 Thread Chuanhua Han
> -Original Message- > From: Lukasz Majewski > Sent: 2019年6月4日 16:19 > To: Chuanhua Han > Cc: h...@denx.de; u-boot@lists.denx.de; Biwen Li > Subject: Re: [EXT] Re: [U-Boot] [PATCH 1/2] dm: i2c: Add a flag that not call > i2c_setup_offset > > On Tue

[U-Boot] [PATCH 1/2] dm: i2c: Add a flag that need generate stop bit

2019-06-17 Thread Chuanhua Han
flag for specific i2c chips, so if the i2c slave requires a stop signal, chips driver can set this flag, then call the dm_i2c_write to set the register address (a stop signal is generated after this API call), then call dm_i2c_read to read the register data. Signed-off-by: Chuanhua Han --- Changes in

[U-Boot] [PATCH 2/2] rtc: pcf2127: Fixed bug with rtc settings and getting error time

2019-06-17 Thread Chuanhua Han
register data. This patch sets the DM_I2C_CHIP_ADDR_STOP flag in order to generate a stop signal and fixes the bug of the original read and write time. Signed-off-by: Biwen Li Signed-off-by: Chuanhua Han --- Changes in v4: - Replace DM_I2C_CHIP_RD_NO_I2C_SETUP_OFFSET with DM_I2C_CHIP_ADDR_STOP

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

2019-06-20 Thread Chuanhua Han
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

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

2019-06-20 Thread Chuanhua Han
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 --- Changes in v4: - Update copyright information

[U-Boot] [PATCH v4 1/5] spl: dm: disable SPI DM flash for non-DM SPL

2019-06-20 Thread Chuanhua Han
This patch solves the problem that spiboot cannot be performed in non-DM SPL. Signed-off-by: Pan Jiafei Signed-off-by: Chuanhua Han --- Changes in v4: - No change. Changes in v3: - Add a cover-letter for this patch set. Changes in v2: - No change. include

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

2019-06-20 Thread Chuanhua Han
Add espi slave nodes to support t2080qds. Signed-off-by: Chuanhua Han --- depends on: - https://patchwork.ozlabs.org/project/uboot/list/?series=99439 Changes in v4: - Modify the spi-max-frequency attribute value of the flash@x node of the device tree. Changes in v3

[U-Boot] [PATCH v4 5/5] configs: enable espi device module in T2080QDS

2019-06-20 Thread Chuanhua Han
This patch is to enable espi DM for T2080QDS in uboot Signed-off-by: Chuanhua Han --- depends on: - https://patchwork.ozlabs.org/project/uboot/list/?series=99439 Changes in v4: - No change. Changes in v3: - Add a cover-letter for this patch set. Changes in v2

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

2019-06-20 Thread Chuanhua Han
Add espi controller node to support t2080. Signed-off-by: Chuanhua Han --- depends on: - https://patchwork.ozlabs.org/project/uboot/list/?series=99439 Changes in v4: - No change. Changes in v3: - Add a cover-letter for this patch set. Changes in v2: - No

[U-Boot] [PATCH v2] rtc: Add DM support to ds3231

2019-06-20 Thread Chuanhua Han
Add an implementation of the ds3231 driver that uses the driver model i2c APIs. Signed-off-by: Chuanhua Han --- Changes in v2: - Replace "#ifndef CONFIG_DM_RTC" with "#if !CONFIG_IS_ENABLED(DM_RTC)" drivers/rtc/ds3231.c | 105 +++

[U-Boot] [PATCH v3] rtc: Add DM support to ds3231

2019-06-20 Thread Chuanhua Han
Add an implementation of the ds3231 driver that uses the driver model i2c APIs. Signed-off-by: Chuanhua Han --- Changes in v3: - Update copyright information. Changes in v2: - Replace "#ifndef CONFIG_DM_RTC" with "#if !CONFIG_IS_ENABLED(DM_RTC)" driver

Re: [U-Boot] [EXT] Re: [PATCH v3] rtc: Add DM support to ds3231

2019-06-20 Thread Chuanhua Han
> -Original Message- > From: Lukasz Majewski > Sent: 2019年6月21日 13:52 > To: Chuanhua Han > Cc: Prabhakar Kushwaha ; > u-boot@lists.denx.de > Subject: [EXT] Re: [PATCH v3] rtc: Add DM support to ds3231 > > On Fri, 21 Jun 2019 12:17:00 +0800 > Chua

Re: [U-Boot] [EXT] Re: [PATCH v3] rtc: Add DM support to ds3231

2019-06-20 Thread Chuanhua Han
> -Original Message- > From: Lukasz Majewski > Sent: 2019年6月21日 13:52 > To: Chuanhua Han > Cc: Prabhakar Kushwaha ; > u-boot@lists.denx.de > Subject: [EXT] Re: [PATCH v3] rtc: Add DM support to ds3231 > > On Fri, 21 Jun 2019 12:17:00 +0800 > Chua

[U-Boot] [PATCH v4] rtc: Add DM support to ds3231

2019-06-21 Thread Chuanhua Han
Add an implementation of the ds3231 driver that uses the driver model i2c APIs. Signed-off-by: Chuanhua Han --- Changes in v4: - Delete the original 'rel' variable in the ds3231_rtc_get function, return 0 successfully, and return -EINVAL directly when the RTC oscillator

Re: [U-Boot] [EXT] Re: [PATCH v2 2/5] dm: spi: Convert Freescale ESPI driver to driver model

2019-06-23 Thread Chuanhua Han
Hi, > -Original Message- > From: Simon Glass > Sent: 2019年6月23日 3:10 > To: Chuanhua Han > Cc: Jagan Teki ; Wolfgang Denk ; > Shengzhou Liu ; Ruchika Gupta > ; U-Boot Mailing List ; > Prabhakar Kushwaha ; Jiafei Pan > ; Yinbo Zhu ; Bin Meng > ; Jagdish Gediy

Re: [U-Boot] [EXT] Re: [PATCH v2 3/3] rtc: pcf2127: Fixed bug with rtc settings and getting error time

2019-06-23 Thread Chuanhua Han
Hi, > -Original Message- > From: Simon Glass > Sent: 2019年6月23日 3:10 > To: Chuanhua Han > Cc: Heiko Schocher ; U-Boot Mailing List ; > Biwen Li ; Lukasz Majewski > Subject: [EXT] Re: [PATCH v2 3/3] rtc: pcf2127: Fixed bug with rtc settings > and > getting e

Re: [U-Boot] [EXT] Re: [PATCH v2 2/5] dm: spi: Convert Freescale ESPI driver to driver model

2019-06-23 Thread Chuanhua Han
> -Original Message- > From: Simon Glass > Sent: 2019年6月23日 3:10 > To: Chuanhua Han > Cc: Jagan Teki ; Wolfgang Denk ; > Shengzhou Liu ; Ruchika Gupta > ; U-Boot Mailing List ; > Prabhakar Kushwaha ; Jiafei Pan > ; Yinbo Zhu ; Bin Meng > ; Jagdish Gediya

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

2019-06-23 Thread Chuanhua Han
+ Simon Glass > -Original Message- > From: Chuanhua Han > Sent: 2019年6月21日 10:22 > 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

Re: [U-Boot] [EXT] Re: [PATCH v2 1/3] dm: i2c: Add a flag that needs to generate a stop bit

2019-06-23 Thread Chuanhua Han
> -Original Message- > From: Simon Glass > Sent: 2019年6月23日 3:10 > To: Chuanhua Han > Cc: Heiko Schocher ; U-Boot Mailing List ; > Biwen Li ; Lukasz Majewski > Subject: [EXT] Re: [PATCH v2 1/3] dm: i2c: Add a flag that needs to generate a > stop bit > &

Re: [U-Boot] [EXT] Re: [PATCH 2/2] rtc: pcf2127: Fixed bug with rtc settings and getting error time

2019-06-23 Thread Chuanhua Han
+ Simon Glass > -Original Message- > From: Lukasz Majewski > Sent: 2019年6月18日 16:06 > To: Chuanhua Han > Cc: h...@denx.de; s...@chromium.org; Biwen Li ; > u-boot@lists.denx.de > Subject: [EXT] Re: [PATCH 2/2] rtc: pcf2127: Fixed bug with rtc settings and > ge

Re: [U-Boot] [EXT] Re: [PATCH 1/2] dm: i2c: Add a flag that need generate stop bit

2019-06-23 Thread Chuanhua Han
+ Simon Glass > -Original Message- > From: Lukasz Majewski > Sent: 2019年6月18日 16:07 > To: Chuanhua Han > Cc: h...@denx.de; s...@chromium.org; Biwen Li ; > u-boot@lists.denx.de > Subject: [EXT] Re: [PATCH 1/2] dm: i2c: Add a flag that need generate stop bit > >

[U-Boot] [PATCH] Enable CONFIG_SPI_FLASH to Kconfig for non-TFA

2019-04-17 Thread Chuanhua Han
This enables the folowing to Kconfig: CONFIG_SPI_FLASH Signed-off-by: Chuanhua Han --- configs/ls2080ardb_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/ls2080ardb_defconfig b/configs/ls2080ardb_defconfig index a1ddc1add6..d54bb8d922 100644 --- a/configs

[U-Boot] [PATCH] Enable CONFIG_SPI_FLASH to Kconfig for non-TFA

2019-04-17 Thread Chuanhua Han
This enables the folowing to Kconfig: CONFIG_SPI_FLASH Signed-off-by: Chuanhua Han --- configs/ls2080ardb_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/ls2080ardb_defconfig b/configs/ls2080ardb_defconfig index a1ddc1add6..d54bb8d922 100644 --- a/configs

[U-Boot] the dm of SPL does not support very well on spiboot

2019-04-21 Thread Chuanhua Han
Hi,all 1. When I tested and compiled some spiboot boards, I found that the board compilation of these spiflash boot configurations failed. These boards all support the dm mode of spl, and the boot mode used is spiboot. Here is the board configuration I compiled: configs/sama5d2_xplained_sp

[U-Boot] [PATCH 1/5] spl: dm: disable SPI DM flash for non-DM SPL

2019-04-23 Thread Chuanhua Han
From: Pan Jiafei This patch solves the problem that spiboot cannot be performed in non-DM SPL. Signed-off-by: Pan Jiafei Signed-off-by: Chuanhua Han --- depends on: - https://patchwork.ozlabs.org/project/uboot/list/?series=99439 include/config_uncmd_spl.h | 1 + 1 file changed, 1

[U-Boot] [PATCH 2/5] dm: spi: Convert Freescale ESPI driver to driver model

2019-04-23 Thread Chuanhua Han
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 --- depends on: - https://patchwork.ozlabs.org/project/uboot

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

2019-04-23 Thread Chuanhua Han
Add espi controller node to support t2080. Signed-off-by: Chuanhua Han --- depends on: - https://patchwork.ozlabs.org/project/uboot/list/?series=99439 arch/powerpc/dts/t2080.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/powerpc/dts/t2080.dtsi b/arch/powerpc

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

2019-04-23 Thread Chuanhua Han
Add espi slave nodes to support t2080qds. Signed-off-by: Chuanhua Han --- depends on: - https://patchwork.ozlabs.org/project/uboot/list/?series=99439 arch/powerpc/dts/t2080qds.dts | 33 + 1 file changed, 33 insertions(+) diff --git a/arch/powerpc/dts

[U-Boot] [PATCH 5/5] configs: enable espi device module in T2080QDS

2019-04-23 Thread Chuanhua Han
This patch is to enable espi DM for T2080QDS in uboot Signed-off-by: Chuanhua Han --- depends on: - https://patchwork.ozlabs.org/project/uboot/list/?series=99439 configs/T2080QDS_NAND_defconfig | 2 ++ configs/T2080QDS_SDCARD_defconfig | 2 ++ configs

Re: [U-Boot] [EXT] Re: the dm of SPL does not support very well on spiboot

2019-04-24 Thread Chuanhua Han
Hi,simon Thank you for your replay! > -Original Message- > From: Simon Glass > Sent: 2019年4月25日 7:59 > To: Chuanhua Han > Cc: eugen.hris...@microchip.com; Ruchika Gupta ; > Shengzhou Liu ; tr...@konsulko.com; Prabhakar > Kushwaha ; u-boot@lists.denx.de;

Re: [U-Boot] [EXT] Re: [PATCH 2/5] dm: spi: Convert Freescale ESPI driver to driver model

2019-04-25 Thread Chuanhua Han
Hi,jagan Thank you for your replay! > -Original Message- > From: Jagan Teki > Sent: 2019年4月24日 14:57 > To: Chuanhua Han > Cc: Jagan Teki ; Wolfgang Denk ; > Shengzhou Liu ; Ruchika Gupta > ; U-Boot-Denx ; Jiafei Pan > ; Yinbo Zhu > Subject: [EXT] Re: [

Re: [U-Boot] [EXT] Re: [PATCH 2/5] dm: spi: Convert Freescale ESPI driver to driver model

2019-05-06 Thread Chuanhua Han
> -Original Message- > From: Jagan Teki > Sent: 2019年4月26日 2:07 > To: Chuanhua Han > Cc: Jagan Teki ; Wolfgang Denk ; > Shengzhou Liu ; Ruchika Gupta > ; U-Boot-Denx ; Jiafei Pan > ; Yinbo Zhu > Subject: Re: [EXT] Re: [U-Boot] [PATCH 2/5] dm: spi: Convert

Re: [U-Boot] [EXT] Re: [PATCH 2/5] dm: spi: Convert Freescale ESPI driver to driver model

2019-05-06 Thread Chuanhua Han
> -Original Message- > From: Jagan Teki > Sent: 2019年5月6日 15:03 > To: Chuanhua Han > Cc: Jagan Teki ; Wolfgang Denk ; > Shengzhou Liu ; Ruchika Gupta > ; U-Boot-Denx ; Jiafei Pan > ; Yinbo Zhu > Subject: Re: [EXT] Re: [U-Boot] [PATCH 2/5] dm: spi: Convert

Re: [U-Boot] [EXT] Re: [PATCH 2/5] dm: spi: Convert Freescale ESPI driver to driver model

2019-05-09 Thread Chuanhua Han
> -Original Message- > From: Jagan Teki > Sent: 2019年5月6日 15:03 > To: Chuanhua Han > Cc: Jagan Teki ; Wolfgang Denk ; > Shengzhou Liu ; Ruchika Gupta > ; U-Boot-Denx ; Jiafei Pan > ; Yinbo Zhu > Subject: Re: [EXT] Re: [U-Boot] [PATCH 2/5] dm: spi: Convert

[U-Boot] The CONFIG_DM_I2C_COMPAT option is not available

2019-05-16 Thread Chuanhua Han
hi, Heiko Schocher Some soc related files use i2c_read, i2c_write similar function interface, if you do not use the CONFIG_DM_I2C_COMPAT option to compile, there will be a function undefined compilation error, but if you do CONFIG_DM_I2C_COMPAT=y When compiling, there will be the following warning

Re: [U-Boot] [EXT] Re: The CONFIG_DM_I2C_COMPAT option is not available

2019-05-16 Thread Chuanhua Han
hi, Heiko Schocher > -Original Message- > From: Heiko Schocher > Sent: 2019年5月17日 11:33 > To: Chuanhua Han > Cc: U-Boot-Denx > Subject: [EXT] Re: The CONFIG_DM_I2C_COMPAT option is not available > > Caution: EXT Email > > Hello Chuanhua Han, >

[U-Boot] [PATCH] i2c: pcf2127: fix bug that read wrong time

2019-05-22 Thread Chuanhua Han
Because i2c driver does not generate a stop bit when reading registers of pcf2127 Signed-off-by: Biwen Li Signed-off-by: Chuanhua Han --- drivers/i2c/i2c-uclass.c | 2 ++ drivers/i2c/mxc_i2c.c| 70 +++- drivers/rtc/pcf2127.c| 18 ++- include

Re: [U-Boot] [EXT] Re: [PATCH] i2c: pcf2127: fix bug that read wrong time

2019-05-22 Thread Chuanhua Han
> -Original Message- > From: Lukasz Majewski > Sent: 2019年5月22日 15:16 > To: Chuanhua Han > Cc: h...@denx.de; u-boot@lists.denx.de; Biwen Li ; > s...@chromium.org > Subject: [EXT] Re: [PATCH] i2c: pcf2127: fix bug that read wrong time > > Hi Chuanhua, > &

Re: [U-Boot] [EXT] Re: [PATCH] i2c: pcf2127: fix bug that read wrong time

2019-05-22 Thread Chuanhua Han
> -Original Message- > From: Lukasz Majewski > Sent: 2019年5月22日 16:41 > To: Chuanhua Han > Cc: h...@denx.de; u-boot@lists.denx.de; Biwen Li ; > s...@chromium.org; Stefano Babic > Subject: Re: [EXT] Re: [PATCH] i2c: pcf2127: fix bug that read wrong

Re: [U-Boot] [EXT] Re: [PATCH] i2c: pcf2127: fix bug that read wrong time

2019-05-22 Thread Chuanhua Han
> -Original Message- > From: Lukasz Majewski > Sent: 2019年5月22日 19:32 > To: Chuanhua Han > Cc: h...@denx.de; u-boot@lists.denx.de; Biwen Li ; > s...@chromium.org; Stefano Babic > Subject: Re: [EXT] Re: [PATCH] i2c: pcf2127: fix bug that read wrong time > >

Re: [U-Boot] [EXT] Re: [PATCH 2/5] dm: spi: Convert Freescale ESPI driver to driver model

2019-05-23 Thread Chuanhua Han
> -Original Message- > From: Prabhakar Kushwaha > Sent: 2019年5月23日 0:53 > To: Chuanhua Han ; Jagan Teki > > Cc: U-Boot-Denx ; Jiafei Pan ; > Jagan Teki ; Yinbo Zhu ; Ruchika > Gupta ; Xiaobo Xie ; Rajan > Srivastava > Subject: RE: [U-Boot] [EXT] Re

Re: [U-Boot] [EXT] Re: [PATCH 2/5] dm: spi: Convert Freescale ESPI driver to driver model

2019-05-23 Thread Chuanhua Han
> -Original Message- > From: Jagan Teki > Sent: 2019年5月23日 12:38 > To: Prabhakar Kushwaha > Cc: Chuanhua Han ; U-Boot-Denx > ; Jiafei Pan ; Jagan Teki > ; Yinbo Zhu ; Ruchika Gupta > ; Xiaobo Xie ; Rajan > Srivastava > Subject: Re: [U-Boot] [EXT] Re

Re: [U-Boot] [EXT] Re: [PATCH 2/5] dm: spi: Convert Freescale ESPI driver to driver model

2019-05-23 Thread Chuanhua Han
> -Original Message- > From: Jagan Teki > Sent: 2019年5月23日 12:36 > To: Chuanhua Han > Cc: Jagan Teki ; Wolfgang Denk ; > Shengzhou Liu ; Ruchika Gupta > ; U-Boot-Denx ; Jiafei Pan > ; Yinbo Zhu > Subject: Re: [EXT] Re: [U-Boot] [PATCH 2/5] dm: spi: Convert

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

2019-05-23 Thread Chuanhua Han
-by: Chuanhua Han --- arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 8 --- board/freescale/common/emc2305.c | 21 ++ board/freescale/common/qixis.c| 17 + board/freescale/common/sys_eeprom.c | 84 +-- board/freescale/common/vid.c

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

2019-05-23 Thread Chuanhua Han
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 --- arch/arm/dts/fsl-lx2160a.dtsi | 101 ++ 1 file changed, 101 insertions(+) diff --git

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

2019-05-23 Thread Chuanhua Han
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 = enab

[U-Boot] [PATCH 2/7] configs: lx2160a: enable DM support for pcf2127 rtc

2019-05-23 Thread Chuanhua Han
Enable related configs to support pcf2127 rtc DM feature. Signed-off-by: Chuanhua Han Signed-off-by: Biwen Li --- configs/lx2160ardb_tfa_SECURE_BOOT_defconfig | 5 + configs/lx2160ardb_tfa_defconfig | 5 + 2 files changed, 10 insertions(+) diff --git a/configs

[U-Boot] [PATCH 4/7] armv8: lx2160ardb : Add pcf2127 node

2019-05-23 Thread Chuanhua Han
This patch adds the pcf2127-rtc node under the i2c4 node. Signed-off-by: Chuanhua Han --- arch/arm/dts/fsl-lx2160a-rdb.dts | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/dts/fsl-lx2160a-rdb.dts b/arch/arm/dts/fsl-lx2160a-rdb.dts index 4b526449a1..ca71fbea42

Re: [U-Boot] [EXT] Re: [PATCH] i2c: pcf2127: fix bug that read wrong time

2019-05-23 Thread Chuanhua Han
> -Original Message- > From: Heiko Schocher > Sent: 2019年5月23日 11:29 > To: Chuanhua Han > Cc: Lukasz Majewski ; u-boot@lists.denx.de; Biwen Li > ; s...@chromium.org; Stefano Babic ; > Meng Yi > Subject: Re: [EXT] Re: [PATCH] i2c: pcf2127: fix bug that read wron

[U-Boot] [PATCH 7/7] armv8: lx2160ardb : Add slave nodes under the i2c0 controller

2019-05-23 Thread Chuanhua Han
This patch adds some slave nodes to support the i2c dm on the device side under the i2c0 controller. Signed-off-by: Chuanhua Han --- arch/arm/dts/fsl-lx2160a-rdb.dts | 51 1 file changed, 51 insertions(+) diff --git a/arch/arm/dts/fsl-lx2160a-rdb.dts b/arch/arm

[U-Boot] [PATCH 6/7] gpio: do not include on ARCH_LX2160A

2019-05-23 Thread Chuanhua Han
As no gpio.h is defined for this architecture, to avoid compilation failure, do not include for arch ls2160a. Signed-off-by: Chuanhua Han --- arch/arm/include/asm/gpio.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/include/asm/gpio.h b/arch/arm/include/asm

Re: [U-Boot] [EXT] Re: [PATCH] i2c: pcf2127: fix bug that read wrong time

2019-05-23 Thread Chuanhua Han
> -Original Message- > From: Lukasz Majewski > Sent: 2019年5月23日 13:54 > To: Heiko Schocher > Cc: Chuanhua Han ; u-boot@lists.denx.de; Biwen Li > ; s...@chromium.org; Stefano Babic ; > Meng Yi > Subject: Re: [EXT] Re: [PATCH] i2c: pcf2127: fix bug that read

[U-Boot] [PATCH v2 1/3] dm: i2c: Add a flag that needs to generate a stop bit

2019-05-23 Thread Chuanhua Han
(such as pcf2127), this patch adds a flag that needs to generate a stop bit to determine whether the i2c host needs to generate a stop signal before reading the register data. Signed-off-by: Biwen Li Signed-off-by: Chuanhua Han --- Changes in v2: - Split the original patch into 3 patches

[U-Boot] [PATCH v2 2/3] i2c: mxc_i2c: The i2c controller generates a stop signal before reading the register data

2019-05-23 Thread Chuanhua Han
This patch enables the i2c controller to generate a stop signal before reading the slave device's internal register after setting the register address (need to determine if the signal is needed according to the message flag). Signed-off-by: Biwen Li Signed-off-by: Chuanhua Han --- Changes

[U-Boot] [PATCH v2 3/3] rtc: pcf2127: Fixed bug with rtc settings and getting error time

2019-05-23 Thread Chuanhua Han
register data. This patch sets the flag that the stop signal is needed and fixes the bug of the original read and write time. Signed-off-by: Biwen Li Signed-off-by: Chuanhua Han --- Changes in v2: - Split the original patch into 3 patches - Add detailed description information for each

[U-Boot] [PATCH v2 2/5] dm: spi: Convert Freescale ESPI driver to driver model

2019-05-24 Thread Chuanhua Han
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 --- Changes in v2: - The fsl_espi driver support both

[U-Boot] [PATCH v2 1/5] spl: dm: disable SPI DM flash for non-DM SPL

2019-05-24 Thread Chuanhua Han
This patch solves the problem that spiboot cannot be performed in non-DM SPL. Signed-off-by: Pan Jiafei Signed-off-by: Chuanhua Han --- Changes in v2: - No change. include/config_uncmd_spl.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/config_uncmd_spl.h b/include

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

2019-05-24 Thread Chuanhua Han
Add espi slave nodes to support t2080qds. Signed-off-by: Chuanhua Han --- depends on: - https://patchwork.ozlabs.org/project/uboot/list/?series=99439 Changes in v2: - No change. arch/powerpc/dts/t2080qds.dts | 33 + 1 file changed, 33

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

2019-05-24 Thread Chuanhua Han
Add espi controller node to support t2080. Signed-off-by: Chuanhua Han --- depends on: - https://patchwork.ozlabs.org/project/uboot/list/?series=99439 Changes in v2: - No change. arch/powerpc/dts/t2080.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch

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

2019-05-24 Thread Chuanhua Han
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

[U-Boot] [PATCH v2 5/5] configs: enable espi device module in T2080QDS

2019-05-24 Thread Chuanhua Han
This patch is to enable espi DM for T2080QDS in uboot Signed-off-by: Chuanhua Han --- depends on: - https://patchwork.ozlabs.org/project/uboot/list/?series=99439 Changes in v2: - No change. configs/T2080QDS_NAND_defconfig | 2 ++ configs/T2080QDS_SDCARD_defconfig

[U-Boot] [PATCH v3 2/5] dm: spi: Convert Freescale ESPI driver to driver model

2019-05-24 Thread Chuanhua Han
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 --- Changes in v3: - Add a cover-letter for this patch set

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

2019-05-24 Thread Chuanhua Han
Add espi controller node to support t2080. Signed-off-by: Chuanhua Han --- depends on: - https://patchwork.ozlabs.org/project/uboot/list/?series=99439 Changes in v3: - Add a cover-letter for this patch set. Changes in v2: - No change. arch/powerpc/dts/t2080.dtsi

[U-Boot] [PATCH v3 5/5] configs: enable espi device module in T2080QDS

2019-05-24 Thread Chuanhua Han
This patch is to enable espi DM for T2080QDS in uboot Signed-off-by: Chuanhua Han --- depends on: - https://patchwork.ozlabs.org/project/uboot/list/?series=99439 Changes in v3: - Add a cover-letter for this patch set. Changes in v2: - No change. configs

[U-Boot] [PATCH v3 1/5] spl: dm: disable SPI DM flash for non-DM SPL

2019-05-24 Thread Chuanhua Han
This patch solves the problem that spiboot cannot be performed in non-DM SPL. Signed-off-by: Pan Jiafei Signed-off-by: Chuanhua Han --- Changes in v3: - Add a cover-letter for this patch set. Changes in v2: - No change. include/config_uncmd_spl.h | 1 + 1 file changed, 1

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

2019-05-24 Thread Chuanhua Han
Add espi slave nodes to support t2080qds. Signed-off-by: Chuanhua Han --- depends on: - https://patchwork.ozlabs.org/project/uboot/list/?series=99439 Changes in v3: - Add a cover-letter for this patch set. Changes in v2: - No change. arch/powerpc/dts/t2080qds.dts

Re: [U-Boot] [EXT] Re: [PATCH 7/7] armv8: lx2160ardb : Add slave nodes under the i2c0 controller

2019-05-30 Thread Chuanhua Han
> -Original Message- > From: Heiko Schocher > Sent: 2019年5月24日 13:03 > To: Chuanhua Han > Cc: albert.u.b...@aribaud.net; Priyanka Jain ; Udit > Agarwal ; u-boot@lists.denx.de > Subject: [EXT] Re: [PATCH 7/7] armv8: lx2160ardb : Add slave nodes under the > i2c0

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

2019-05-30 Thread Chuanhua Han
> -Original Message- > From: Heiko Schocher > Sent: 2019年5月24日 13:01 > To: Chuanhua Han > Cc: albert.u.b...@aribaud.net; Priyanka Jain ; Udit > Agarwal ; u-boot@lists.denx.de > Subject: [EXT] Re: [PATCH 6/7] gpio: do not include on > ARCH_LX2160A > >

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

2019-05-30 Thread Chuanhua Han
> -Original Message- > From: Heiko Schocher > Sent: 2019年5月24日 12:58 > To: Chuanhua Han > Cc: albert.u.b...@aribaud.net; Priyanka Jain ; Udit > Agarwal ; u-boot@lists.denx.de > Subject: [EXT] Re: [PATCH 5/7] drivers: i2c: mxc: Solve the compiler error >

  1   2   3   >