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

2019-08-15 Thread Chuanhua Han
> -Original Message- > From: Lukasz Majewski > Sent: 2019年8月15日 15:54 > To: Chuanhua Han > Cc: Jagan Teki ; Xiaowei Bao > ; U-Boot-Denx ; Pan Jiafei > ; Jagan Teki ; Ruchika > Gupta > Subject: Re: [U-Boot] [EXT] Re: [PATCH v4 1/5] spl: dm: disable SPI D

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

2019-08-15 Thread Chuanhua Han
> -Original Message- > From: Lukasz Majewski > Sent: 2019年8月15日 15:15 > To: Chuanhua Han > Cc: Jagan Teki ; Xiaowei Bao > ; U-Boot-Denx ; Pan Jiafei > ; Jagan Teki ; Ruchika > Gupta > Subject: Re: [U-Boot] [EXT] Re: [PATCH v4 1/5] spl: dm: disable SPI D

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

2019-08-14 Thread Chuanhua Han
> -Original Message- > From: Jagan Teki > Sent: 2019年8月15日 2:03 > To: Chuanhua Han > Cc: Wolfgang Denk ; Shengzhou Liu ; > Ruchika Gupta ; Jagan Teki ; > Simon Glass ; Prabhakar Kushwaha > ; U-Boot-Denx ; > Xiaowei Bao > Subject: Re: [EXT] Re: [U-Boot] [

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

2019-08-14 Thread Chuanhua Han
> -Original Message- > From: Lukasz Majewski > Sent: 2019年8月14日 19:39 > To: Chuanhua Han > Cc: Jagan Teki ; Xiaowei Bao > ; U-Boot-Denx ; Pan Jiafei > ; Jagan Teki ; Ruchika > Gupta > Subject: Re: [U-Boot] [EXT] Re: [PATCH v4 1/5] spl: dm: disable SPI D

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

2019-08-14 Thread Chuanhua Han
> -Original Message- > From: Lukasz Majewski > Sent: 2019年8月14日 18:53 > To: Chuanhua Han > Cc: Jagan Teki ; Xiaowei Bao > ; U-Boot-Denx ; Pan Jiafei > ; Jagan Teki ; Ruchika > Gupta > Subject: Re: [U-Boot] [EXT] Re: [PATCH v4 1/5] spl: dm: disable SPI D

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

2019-08-14 Thread Chuanhua Han
> -Original Message- > From: Lukasz Majewski > Sent: 2019年8月14日 16:57 > To: Chuanhua Han > Cc: Jagan Teki ; Xiaowei Bao > ; U-Boot-Denx ; Pan Jiafei > ; Jagan Teki ; Ruchika > Gupta > Subject: Re: [U-Boot] [EXT] Re: [PATCH v4 1/5] spl: dm: disable SPI D

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

2019-08-14 Thread Chuanhua Han
> -Original Message- > From: Jagan Teki > Sent: 2019年8月14日 15:38 > To: Chuanhua Han > Cc: Wolfgang Denk ; Shengzhou Liu ; > Ruchika Gupta ; Jagan Teki ; > Simon Glass ; Prabhakar Kushwaha > ; U-Boot-Denx > Subject: [EXT] Re: [U-Boot] [PATCH v4 2/5] dm:

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

2019-08-14 Thread Chuanhua Han
> -Original Message- > From: Lukasz Majewski > Sent: 2019年8月14日 16:57 > To: Chuanhua Han > Cc: Jagan Teki ; Xiaowei Bao > ; U-Boot-Denx ; Pan Jiafei > ; Jagan Teki ; Ruchika > Gupta > Subject: Re: [U-Boot] [EXT] Re: [PATCH v4 1/5] spl: dm: disable SPI D

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

2019-08-14 Thread Chuanhua Han
> -Original Message- > From: Jagan Teki > Sent: 2019年8月14日 15:45 > To: Chuanhua Han > Cc: Wolfgang Denk ; Shengzhou Liu ; > Ruchika Gupta ; Jagan Teki ; > Simon Glass ; Prabhakar Kushwaha > ; U-Boot-Denx ; Pan > Jiafei > Subject: [EXT] Re: [U-Boot] [PATC

[U-Boot] [PATCH v2] armv8: fsl-layerscape: Correct I2C clock divider for some of the plarforms

2019-08-08 Thread Chuanhua Han
By default, i2c input clock is platform clk / 2, but this is not correct for all the platforms, so correct I2C clock divider's default values for LS1012A, LS1028A, LX2160A and LS1088A. Signed-off-by: Chuanhua Han --- Changes in v2: - Modify subject and submit information. arch/ar

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

2019-08-07 Thread Chuanhua Han
Hi, Jagan Teki Please review and merge patch v4: https://patchwork.ozlabs.org/project/uboot/list/?series=115242 Thanks, Chuanhua > -Original Message- > From: Jagan Teki > Sent: 2019年6月12日 16:15 > To: Chuanhua Han > Cc: Jagan Teki ; Wolfgang Denk ; > Shengzhou Liu ; R

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

2019-08-02 Thread Chuanhua Han
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 --- arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 4 1 file changed, 4

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

2019-08-01 Thread Chuanhua Han
select the route to the SPI feature. Signed-off-by: Chuanhua Han --- board/freescale/ls1088a/ls1088a.c | 26 ++ board/freescale/ls1088a/ls1088a_qixis.h | 11 +++ include/configs/ls1088aqds.h| 2 ++ 3 files changed, 39 insertions(+) diff --git a/board

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

2019-07-26 Thread Chuanhua Han
This patch adds the pcf2127-rtc node under the i2c0->i2c-mux@77->i2c@3 for ls1088aqds boards. 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

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

2019-07-26 Thread Chuanhua Han
Enable related configs on all ls1088aqds boards to support pcf2127 rtc DM function. 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 - http

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

2019-07-26 Thread Chuanhua Han
This patch is updating ls1088aqds board init code to support DM_I2C. 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 - http://patchwork.ozlabs.org

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

2019-07-26 Thread Chuanhua Han
Enable related configs on all ls2088aqds boards to support ds3231 rtc DM function. Signed-off-by: Chuanhua Han --- depends on: - http://patchwork.ozlabs.org/project/uboot/list/?series=118772 - http://patchwork.ozlabs.org/project/uboot/list/?series=117226 Changes in v4

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

2019-07-26 Thread Chuanhua Han
This patch adds the ds3232-rtc node under the i2c0->i2c-mux@77->i2c@0 for ls2088aqds boards. Signed-off-by: Chuanhua Han --- depends on: - http://patchwork.ozlabs.org/project/uboot/list/?series=118772 - http://patchwork.ozlabs.org/project/uboot/list/?series=117226 Changes

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

2019-07-26 Thread Chuanhua Han
This patch is updating ls2088aqds board init code to support DM_I2C. Signed-off-by: Chuanhua Han --- depends on: - http://patchwork.ozlabs.org/project/uboot/list/?series=118772 - http://patchwork.ozlabs.org/project/uboot/list/?series=117226 Changes in v4: - Simplify

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

2019-07-26 Thread Chuanhua Han
This patch add an implementation of the rtc_enable_32khz_output() that uses the driver model i2c APIs. Signed-off-by: Chuanhua Han --- depends on: - http://patchwork.ozlabs.org/project/uboot/list/?series=118772 - http://patchwork.ozlabs.org/project/uboot/list/?series=117226 Changes in v4

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

2019-07-25 Thread Chuanhua Han
Hi, Wolfgang Denk > -Original Message- > From: Wolfgang Denk > Sent: 2019年7月26日 14:34 > To: Chuanhua Han > Cc: albert.u.b...@aribaud.net; Prabhakar Kushwaha > ; Rajesh Bhagat ; > Priyanka Jain ; u-boot@lists.denx.de; > lu...@denx.de; tr...@konsulko.com > Subje

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

2019-07-25 Thread Chuanhua Han
> -Original Message- > From: Wolfgang Denk > Sent: 2019年7月26日 14:24 > To: Chuanhua Han > Cc: albert.u.b...@aribaud.net; Prabhakar Kushwaha > ; Ashish Kumar ; > Rajesh Bhagat ; u-boot@lists.denx.de > Subject: [EXT] Re: [U-Boot] [PATCH 1/3] armv8: ls1088aqds

Re: [U-Boot] [EXT] Re: [PATCH v2 4/4] armv8: ls2088aqds : Add ds3232 node

2019-07-25 Thread Chuanhua Han
> -Original Message- > From: Wolfgang Denk > Sent: 2019年7月26日 14:26 > 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: [EX

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

2019-07-25 Thread Chuanhua Han
This patch is updating ls2088aqds board init code to support DM_I2C. Signed-off-by: Chuanhua Han --- depends on: - http://patchwork.ozlabs.org/project/uboot/list/?series=118772 - http://patchwork.ozlabs.org/project/uboot/list/?series=117226 Changes in v3: - Delete

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

2019-07-25 Thread Chuanhua Han
This patch adds the ds3232-rtc node under the i2c0->i2c-mux@77->i2c@0 for ls2088aqds boards. Signed-off-by: Chuanhua Han --- depends on: - http://patchwork.ozlabs.org/project/uboot/list/?series=118772 - http://patchwork.ozlabs.org/project/uboot/list/?series=117226 Changes

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

2019-07-25 Thread Chuanhua Han
Enable related configs on all ls2088aqds boards to support ds3231 rtc DM function. Signed-off-by: Chuanhua Han --- depends on: - http://patchwork.ozlabs.org/project/uboot/list/?series=118772 - http://patchwork.ozlabs.org/project/uboot/list/?series=117226 Changes in v3

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

2019-07-25 Thread Chuanhua Han
This patch add an implementation of the rtc_enable_32khz_output() that uses the driver model i2c APIs. Signed-off-by: Chuanhua Han --- depends on: - http://patchwork.ozlabs.org/project/uboot/list/?series=118772 - http://patchwork.ozlabs.org/project/uboot/list/?series=117226 Changes in v3

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

2019-07-25 Thread Chuanhua Han
> -Original Message- > From: Wolfgang Denk > Sent: 2019年7月25日 15:40 > 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: [EX

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

2019-07-25 Thread Chuanhua Han
> -Original Message- > From: Wolfgang Denk > Sent: 2019年7月25日 15:34 > 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: [EXT] Re:

Re: [U-Boot] [EXT] Re: [PATCH v2 4/4] armv8: ls2088aqds : Add ds3232 node

2019-07-25 Thread Chuanhua Han
> -Original Message- > From: Wolfgang Denk > Sent: 2019年7月25日 15:41 > 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: [EX

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

2019-07-25 Thread Chuanhua Han
This patch is updating ls1088aqds board init code to support DM_I2C. 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 - http://patchwork.ozlabs.org/project

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

2019-07-25 Thread Chuanhua Han
This patch adds the pcf2127-rtc node under the i2c0->i2c-mux@77->i2c@3 for ls1088aqds boards. 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

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

2019-07-25 Thread Chuanhua Han
Enable related configs on all ls1088aqds boards to support pcf2127 rtc DM function. 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 - http

[U-Boot] [PATCH v2 4/4] armv8: ls2088aqds : Add ds3232 node

2019-07-24 Thread Chuanhua Han
This patch adds the ds3232-rtc node under the i2c0->i2c-mux@77->i2c@0 for ls2088aqds boards. Signed-off-by: Chuanhua Han --- depends on: - http://patchwork.ozlabs.org/project/uboot/list/?series=118772 - http://patchwork.ozlabs.org/project/uboot/list/?series=117226 Changes

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

2019-07-24 Thread Chuanhua Han
This patch is updating ls2088aqds board init code to support DM_I2C. Signed-off-by: Chuanhua Han --- depends on: - http://patchwork.ozlabs.org/project/uboot/list/?series=118772 - http://patchwork.ozlabs.org/project/uboot/list/?series=117226 Changes in v2: - Move the

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

2019-07-24 Thread Chuanhua Han
Enable related configs on all ls2088aqds boards to support ds3231 rtc DM function. Signed-off-by: Chuanhua Han --- depends on: - http://patchwork.ozlabs.org/project/uboot/list/?series=118772 - http://patchwork.ozlabs.org/project/uboot/list/?series=117226 Changes in v2

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

2019-07-24 Thread Chuanhua Han
This patch add an implementation of the rtc_enable_32khz_output() that uses the driver model i2c APIs. Signed-off-by: Chuanhua Han --- depends on: - http://patchwork.ozlabs.org/project/uboot/list/?series=118772 - http://patchwork.ozlabs.org/project/uboot/list/?series=117226 Changes in

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

2019-07-24 Thread Chuanhua Han
> -Original Message- > From: Wolfgang Denk > Sent: 2019年7月24日 14:55 > 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: [EXT] Re: [P

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

2019-07-23 Thread Chuanhua Han
This patch is updating ls2088aqds board init code to support DM_I2C. Signed-off-by: Chuanhua Han --- depends on: - http://patchwork.ozlabs.org/project/uboot/list/?series=118772 - http://patchwork.ozlabs.org/project/uboot/list/?series=117226 board/freescale/ls2080aqds/eth.c

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

2019-07-23 Thread Chuanhua Han
Enable related configs on all ls2088aqds boards to support ds3231 rtc DM function. Signed-off-by: Chuanhua Han --- depends on: - http://patchwork.ozlabs.org/project/uboot/list/?series=118772 - http://patchwork.ozlabs.org/project/uboot/list/?series=117226 configs

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

2019-07-23 Thread Chuanhua Han
This patch adds the ds3232-rtc node under the i2c0->i2c-mux@77->i2c@0 for ls2088aqds boards. Signed-off-by: Chuanhua Han --- depends on: - http://patchwork.ozlabs.org/project/uboot/list/?series=118772 - http://patchwork.ozlabs.org/project/uboot/list/?series=117226 arch/a

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

2019-07-23 Thread Chuanhua Han
This patch add an implementation of the rtc_enable_32khz_output() that uses the driver model i2c APIs. Signed-off-by: Chuanhua Han --- depends on: - http://patchwork.ozlabs.org/project/uboot/list/?series=118772 - http://patchwork.ozlabs.org/project/uboot/list/?series=117226

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

2019-07-23 Thread Chuanhua Han
Dear Wolfgang Denk > -Original Message- > From: Wolfgang Denk > Sent: 2019年7月23日 23:05 > To: Chuanhua Han > Cc: lu...@denx.de; tr...@konsulko.com; Prabhakar Kushwaha > ; u-boot@lists.denx.de > Subject: [EXT] Re: [PATCH v2] rtc: ds3232/ds3231: Add support to genera

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

2019-07-23 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 Changes in v3

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

2019-07-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 --- depends on: - http://patchwork.ozlabs.org/project/uboot/list/?series=110856 - http://patchwork.ozlabs.org/project/uboot/list/?series=109459 Change in v3

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

2019-07-23 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 Changes in v3: - No

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

2019-07-23 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=109459

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

2019-07-23 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 Changes in v3: - Change the Kconfig file to !TFABOOT. - Define the use of CONFIG_SYS_I2C for non-dm

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

2019-07-23 Thread Chuanhua Han
This patch add an implementation of the rtc_enable_32khz_output() that uses the driver model i2c APIs. Signed-off-by: Chuanhua Han --- Change in v2: - Add RTC_ENABLE_32KHZ_OUTPUT option so this code compiles only in that cases where it is really useful. drivers/rtc/Kconfig | 10

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

2019-07-22 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 Change in v3

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

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

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

2019-07-22 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 Change in v3: - Add configuration

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

2019-07-22 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=113103

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

2019-07-22 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 Change in v3: - Change the Kconfig file to !TFABOOT. - Define the use of CONFIG_SYS_I2C for non-dm

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

2019-07-22 Thread Chuanhua Han
This patch add an implementation of the rtc_enable_32khz_output() that uses the driver model i2c APIs. Signed-off-by: Chuanhua Han --- drivers/rtc/ds3231.c | 17 + include/rtc.h| 1 + 2 files changed, 18 insertions(+) diff --git a/drivers/rtc/ds3231.c b/drivers/rtc

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

2019-07-16 Thread Chuanhua Han
Hi,tom and Lukasz > -Original Message- > From: Lukasz Majewski > Sent: 2019年7月16日 15:07 > To: Chuanhua Han > Cc: Prabhakar Kushwaha ; > u-boot@lists.denx.de; Tom Rini > Subject: Re: [EXT] Re: [PATCH v4] rtc: Add DM support to ds3231 > > Hi Chuanhua,

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

2019-07-15 Thread Chuanhua Han
Hi, Lukasz Majewski > -Original Message- > From: Lukasz Majewski > Sent: 2019年6月21日 19:33 > To: Chuanhua Han > Cc: Prabhakar Kushwaha ; > u-boot@lists.denx.de > Subject: [EXT] Re: [PATCH v4] rtc: Add DM support to ds3231 > > On Fri, 21 Jun 2019 16:21:53

Re: [U-Boot] [EXT] Re: [PATCH 2/4] configs: ls1028aqds: Enable DM support for pcf2127 rtc

2019-07-15 Thread Chuanhua Han
> -Original Message- > From: Alex Marginean > Sent: 2019年7月15日 16:09 > 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: [EXT] Re

Re: [U-Boot] [EXT] Re: [PATCH 2/4] configs: ls1028aqds: Enable DM support for pcf2127 rtc

2019-07-15 Thread Chuanhua Han
> -Original Message- > From: Alex Marginean > Sent: 2019年7月15日 15:16 > 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: [EXT] Re

Re: [U-Boot] [EXT] Re: [PATCH 1/2] armv8: ls1028aqds: switch LS1028A QDS board to I2C DM

2019-07-14 Thread Chuanhua Han
> Cc: U-Boot Mailing List ; Chuanhua Han > > Subject: [EXT] Re: [U-Boot] [PATCH 1/2] armv8: ls1028aqds: switch LS1028A QDS > board to I2C DM > > Caution: EXT Email > > On Fri, Jul 12, 2019 at 7:25 PM Alex Marginean > wrote: > > > > Replace legacy I2C_EARLY_INIT

Re: [U-Boot] [PATCH 2/2] configs: ls1028aqds: enable I2C and GPIO DM

2019-07-14 Thread Chuanhua Han
denx.de > Cc: Chuanhua Han ; Prabhakar Kushwaha > ; Alex Marginean > Subject: [PATCH 2/2] configs: ls1028aqds: enable I2C and GPIO DM > > LS1028A was already converted to I2C/GPIO DM, move the QDS board over too. > > Signed-off-by: Alex Marginean > --- > configs/l

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

2019-07-10 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

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

2019-07-10 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 v4 2/4] gpio: do not include on ARCH_LS1028A

2019-07-10 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 v4 1/4] armv8: ls1028a: The ls1028a platform supports the I2C driver model

2019-07-10 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 v4: - No change. Changes in

[U-Boot] [PATCH v3 1/2] configs: lx2160aqds: enable DM support for pcf2127 rtc

2019-07-10 Thread Chuanhua Han
Enable related configs on all lx2160aqds boards to support pcf2127 rtc DM function. Signed-off-by: Chuanhua Han --- depends on: - https://patchwork.ozlabs.org/project/uboot/list/?series=117203 - https://patchwork.ozlabs.org/project/uboot/list/?series=114242 Changes in v3

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

2019-07-10 Thread Chuanhua Han
This patch adds the pcf2127-rtc node under the i2c0->i2c-mux@77->i2c@3 for lx2160aqds boards. Signed-off-by: Chuanhua Han --- depends on: - https://patchwork.ozlabs.org/project/uboot/list/?series=117203 - https://patchwork.ozlabs.org/project/uboot/list/?series=114242 Chan

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

2019-07-10 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 v4 5/7] armv8: dts: fsl-lx2160a: add i2c controller and gpio DT nodes

2019-07-10 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 v4: - No change. Changes in v3: - No change. Changes in v2: - Delete unnecessary

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

2019-07-10 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 v4: - No change. Changes in v3: - No change. Changes in v2: - No change. arch/arm/include/asm/gpio.h |3

[U-Boot] [PATCH v4 7/7] armv8: lx2160ardb : Add the "u-boot, dm-pre-reloc" property for i2c0 node

2019-07-10 Thread Chuanhua Han
Lx2160ardb need to use i2c0 before relocation, so we also need to set u-boot,dm-pre-reloc to initialize node before relocation. Signed-off-by: Chuanhua Han --- Changes in v4: - No change. Changes in v3: - Delete unnecessary i2c slave nodes. - Modify the subject and

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

2019-07-10 Thread Chuanhua Han
This patch adds the pcf2127-rtc node under the i2c4 node for lx2160ardb boards. Signed-off-by: Chuanhua Han --- Changes in v4: - No change. Changes in v3: - Modify the submission information of the patch. Changes in v2: - Delete unnecessary aliases about i2c. arch/arm/dts

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

2019-07-10 Thread Chuanhua Han
-by: Chuanhua Han --- 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/common/emc2305.c | 21 +++ board/freescale/common/qixis.c| 17

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

2019-07-10 Thread Chuanhua Han
Enable related configs on all lx2160ardb boards to support pcf2127 rtc DM feature. Signed-off-by: Chuanhua Han Signed-off-by: Biwen Li --- Changes in v4: - Add configuration options for i2c dm to set default bus number Settings. Changes in v3: - Modify the subject and

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

2019-07-10 Thread Chuanhua Han
This patch adds the pcf2127-rtc node under the i2c1 for ls1028aqds boards. Signed-off-by: Chuanhua Han --- depends on: - http://patchwork.ozlabs.org/project/uboot/list/?series=117203 - http://patchwork.ozlabs.org/project/uboot/list/?series=117224 - http

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

2019-07-10 Thread Chuanhua Han
This patch adds pca9547 node to support i2c multiplexer under the i2c0 controller for ls1028aqds boards. Signed-off-by: Chuanhua Han --- depends on: - http://patchwork.ozlabs.org/project/uboot/list/?series=117203 - http://patchwork.ozlabs.org/project/uboot/list/?series=117224

[U-Boot] [PATCH 2/4] configs: ls1028aqds: Enable DM support for pcf2127 rtc

2019-07-10 Thread Chuanhua Han
Enable related configs on all ls1028aqds boards to support pcf2127 rtc DM function. Signed-off-by: Chuanhua Han --- depends on: - http://patchwork.ozlabs.org/project/uboot/list/?series=117203 - http://patchwork.ozlabs.org/project/uboot/list/?series=117224 - http

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

2019-07-10 Thread Chuanhua Han
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

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

2019-07-09 Thread Chuanhua Han
> -Original Message- > From: Heiko Schocher > Sent: 2019年7月9日 16:50 > To: Chuanhua Han > Cc: lu...@denx.de; Prabhakar Kushwaha ; > Biwen Li ; s...@chromium.org; u-boot@lists.denx.de > Subject: [EXT] Re: [PATCH v5] rtc: pcf2127: Fixed bug with rtc settings and

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

2019-07-07 Thread Chuanhua Han
> -Original Message- > From: Lukasz Majewski > Sent: 2019年6月21日 19:33 > To: Chuanhua Han > Cc: Prabhakar Kushwaha ; > u-boot@lists.denx.de > Subject: [EXT] Re: [PATCH v4] rtc: Add DM support to ds3231 > > On Fri, 21 Jun 2019 16:21:53 +0800 > Chua

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

2019-07-07 Thread Chuanhua Han
register data. This patch sets the register address using dm_i2c_write and reads the register data using the original dm_i2c_xfer in order to generate a stop signal after the register address is set, and fixes the bug of the original read and write time. Signed-off-by: Biwen Li Signed-off-by: Chuanhua

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

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

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

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

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

2019-07-01 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 Change in v2

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

2019-07-01 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 Change in v2: - No change

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

2019-07-01 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=113103

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

2019-07-01 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 Change in v2: - No change. arch/arm/cpu/armv8/fsl-layerscape/Kconfig |4 board/freescale/ls2080ardb

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

2019-07-01 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 Changes in v2: - No

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

2019-07-01 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 Changes in v2

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

2019-07-01 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 Changes in v2: -No

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

2019-07-01 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=109459

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

2019-07-01 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 Changes in v2: - No change. arch/arm/cpu/armv8/fsl-layerscape/Kconfig |4 - board/freescale/ls1088a

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

2019-07-01 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 v3 2/4] gpio: do not include on ARCH_LS1028A

2019-07-01 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 v3 4/4] armv8: dts: ls1028ardb: Add slave nodes under the i2c0 controller

2019-07-01 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

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

2019-07-01 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 v3: - No change. Changes in

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

2019-07-01 Thread Chuanhua Han
This patch adds the pcf2127-rtc node under the i2c0->i2c-mux@77->i2c@3 for lx2160aqds boards. Signed-off-by: Chuanhua Han --- depends on: - https://patchwork.ozlabs.org/project/uboot/list/?series=117203 - https://patchwork.ozlabs.org/project/uboot/list/?series=114242 Chan

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

2019-07-01 Thread Chuanhua Han
Enable related configs on all lx2160aqds boards to support pcf2127 rtc DM function. Signed-off-by: Chuanhua Han --- depends on: - https://patchwork.ozlabs.org/project/uboot/list/?series=117203 - https://patchwork.ozlabs.org/project/uboot/list/?series=114242 Changes in v2

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

2019-07-01 Thread Chuanhua Han
This patch adds the pcf2127-rtc node under the i2c0->i2c-mux@77->i2c@3 for lx2160aqds boards. Signed-off-by: Chuanhua Han --- arch/arm/dts/fsl-lx2160a-qds.dts | 23 +++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git a/arch/arm/dts/fsl-lx2160a-qds.dts

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

2019-07-01 Thread Chuanhua Han
Enable related configs on all lx2160aqds boards to support pcf2127 rtc DM function. Signed-off-by: Chuanhua Han --- configs/lx2160aqds_tfa_SECURE_BOOT_defconfig |7 +++ configs/lx2160aqds_tfa_defconfig |7 +++ 2 files changed, 14 insertions(+), 0 deletions(-) diff

  1   2   3   >