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
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
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
> -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
> -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
> -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
> -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
> -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
> -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
-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
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
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
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
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
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
-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
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
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
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
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
-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
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
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
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
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
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
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 ++
-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
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
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
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
> -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
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
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
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
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
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
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
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
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
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 +++
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
> -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
> -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
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
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
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
> -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
+ 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
> -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
>
&
+ 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
+ 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
>
>
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
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
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
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
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
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
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
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
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;
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: [
> -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
> -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
> -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
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
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,
>
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
> -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,
>
&
> -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
> -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
>
>
> -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
> -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
> -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
-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
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
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
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
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
> -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
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
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
> -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
(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
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
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
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
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
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
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
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
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
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
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
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
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
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
> -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
> -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
>
>
> -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 - 100 of 216 matches
Mail list logo