Hi Jaehoon,
On Mon, Oct 10, 2016 at 01:19:41PM +0900, Jaehoon Chung wrote:
>Hi Peng,
>
>On 10/08/2016 07:07 PM, Peng Fan wrote:
>> In device tree, there is vmmc-supply property for SD/MMC.
>> Introduce mmc_power_init function to handle vmmc-supply.
>
>As i know, vqmmc-su
will be enabled to power up the device.
Signed-off-by: Peng Fan <peng@nxp.com>
Cc: Jaehoon Chung <jh80.ch...@samsung.com>
---
V2:
Change function prototype to static.
Use puts to replace debug, when no vmmc-supply.
V1: Use a generic way to handle vmmc supply, but not let v
Add i.MX6 SLL GPT timer support.
Signed-off-by: Peng Fan <peng@nxp.com>
Cc: Stefano Babic <sba...@denx.de>
---
arch/arm/imx-common/timer.c | 10 +++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/arch/arm/imx-common/timer.c b/arch/arm/imx-common/timer.c
i
Add i.MX6SLL pinmux header files
Signed-off-by: Peng Fan <peng@nxp.com>
Cc: Stefano Babic <sba...@denx.de>
---
arch/arm/include/asm/arch-mx6/mx6-pins.h|2 +
arch/arm/include/asm/arch-mx6/mx6sll_pins.h | 1019 +++
2 files changed, 1021 insertion
The mux for the lcd clock is not glitchless,
so need to first gate the clock before changing the mux.
Signed-off-by: Peng Fan <peng@nxp.com>
Cc: Stefano Babic <sba...@denx.de>
---
arch/arm/cpu/armv7/mx6/clock.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/
Update register address for i.MX6 SLL
Signed-off-by: Peng Fan <peng@nxp.com>
Cc: Stefano Babic <sba...@denx.de>
---
arch/arm/include/asm/arch-mx6/imx-regs.h | 77 +---
1 file changed, 50 insertions(+), 27 deletions(-)
diff --git a/arch/arm/include/
The LCDIF Pixel clock mux is not glitchless, so need
to gate before changing mux.
Also change enable_lcdif_clock prototype with a new input
parameter to indicate disable or enable.
Signed-off-by: Peng Fan <peng@nxp.com>
Cc: Stefano Babic <sba...@denx.de>
---
arch/arm/cpu/armv7
to imx_ddr_size()
Peng Fan (19):
imx: add i.MX 6SLL CPU type
imx: mx6sll: add pinmux header files
imx: mx6sll: update register address
imx-common: timer: add i.MX6SLL support
imx: mx6sll: add iomux settings
imx: mx6: fix mmdc ch0 clk for 6SL
imx: mx6: lcdif: gate clock before changing mux
imx
Add i.MX6SLL cpu type.
MXC_CPU_MX6D is not a real value in chip, so change it to 0x6A.
Signed-off-by: Peng Fan <peng@nxp.com>
Cc: Stefano Babic <sba...@denx.de>
---
arch/arm/imx-common/cpu.c | 2 ++
arch/arm/include/asm/arch-imx/cpu.h | 3 ++-
arch/arm
Add lcdif clock support for i.MX6SL.
Signed-off-by: Peng Fan <peng@nxp.com>
---
arch/arm/cpu/armv7/mx6/clock.c | 78
arch/arm/include/asm/arch-mx6/crm_regs.h | 21 +
2 files changed, 80 insertions(+), 19 deletions(-)
diff --git a/ar
If L2 cache configured as OCRAM, reset it.
Switch to use runtime check.
Signed-off-by: Peng Fan <peng@nxp.com>
Cc: Stefano Babic <sba...@denx.de>
---
arch/arm/imx-common/cache.c | 17 +
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/arch/arm/imx-co
>From RM, per_periph2_clk_sel option3 is:
"derive clock from 198MHz clock (divided 392MHz PLL2 PFD)."
So fix it.
Signed-off-by: Peng Fan <peng@nxp.com>
Cc: Stefano Babic <sba...@denx.de>
---
arch/arm/cpu/armv7/mx6/clock.c | 5 +
1 file changed, 5 insertions(+)
Initialization Failed
No ethernet found.
Hit any key to stop autoboot: 0
Signed-off-by: Peng Fan <peng@nxp.com>
Cc: Stefano Babic <sba...@denx.de>
---
arch/arm/cpu/armv7/mx6/Kconfig | 7 +
arch/arm/dts/Makefile | 1 +
arch/arm/dts/imx6sll-evk.dts
Update lcdif regs for i.MX6SL/SLL
Signed-off-by: Ye.Li <ye...@nxp.com>
Signed-off-by: Peng Fan <peng@nxp.com>
---
arch/arm/include/asm/imx-common/regs-lcdif.h | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/arch/arm/include/asm/imx-common/regs-lcdif.h
Add plugin support for mx6sllevk board.
Signed-off-by: Peng Fan <peng@nxp.com>
Cc: Stefano Babic <sba...@denx.de>
---
board/freescale/mx6sllevk/imximage.cfg | 6 ++
board/freescale/mx6sllevk/plugin.S | 155 +
configs/mx6sllevk_plugin_defconf
add Kconfig entry for i.MX6SLL
Signed-off-by: Peng Fan <peng@nxp.com>
---
arch/arm/cpu/armv7/mx6/Kconfig | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/cpu/armv7/mx6/Kconfig b/arch/arm/cpu/armv7/mx6/Kconfig
index 8c96ba3..6b6476d 100644
--- a/arch/arm/cpu/armv7/mx6/K
Add clock support for i.MX6SLL.
Signed-off-by: Peng Fan <peng@nxp.com>
Cc: Stefano Babic <sba...@denx.de>
---
arch/arm/cpu/armv7/mx6/clock.c | 28 +---
1 file changed, 21 insertions(+), 7 deletions(-)
diff --git a/arch/arm/cpu/armv7/mx6/clock.c b/arch/a
Correct loadaddr and text base for i.MX6SLL
Signed-off-by: Peng Fan <peng@nxp.com>
Cc: Stefano Babic <sba...@denx.de>
---
include/configs/mx6_common.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/include/configs/mx6_common.h b/include/configs/mx6_co
Add the i.MX6SLL support to OCOTP driver.
The i.MX6SLL reuses the i.MX6ULL fuse, bank 7 and bank8 have 4 words
each, and there is a hole between bank 5 and bank 6.
Signed-off-by: Ye Li <ye...@nxp.com>
Signed-off-by: Peng Fan <peng@nxp.com>
---
drivers/misc/mxc_
There two iomuxc for i.MX6SLL. One is normal IOMUXC, the other
is for IOMUXC_SNVS.
Signed-off-by: Peng Fan <peng@nxp.com>
Cc: Stefano Babic <sba...@denx.de>
Cc: Simon Glass <s...@chromium.org>
Reviewed-by: Simon Glass <s...@chromium.org>
---
drivers/pinctrl/nxp/pinct
Add iomux settings for i.MX6 SLL
Signed-off-by: Peng Fan <peng@nxp.com>
Signed-off-by: Ye.Li <ye...@nxp.com>
Cc: Stefano Babic <sba...@denx.de>
---
arch/arm/imx-common/iomux-v3.c | 10 +++---
arch/arm/include/asm/imx-common/iomux-v3.h | 6 --
2
Add i.MX6SLL device tree.
Signed-off-by: Peng Fan <peng@nxp.com>
Cc: Stefano Babic <sba...@denx.de>
---
arch/arm/dts/imx6sll-pinfunc.h| 882 ++
arch/arm/dts/imx6sll.dtsi | 859 +
include/dt-bi
On Tue, Jan 03, 2017 at 05:05:02PM +0800, Peng Fan wrote:
>Hi Stefano,
>
>On Tue, Dec 27, 2016 at 12:07:40PM +0000, Peng Fan wrote:
>>> > + "boot_fdt=try\0" \
>>>
>>> On this platform we will always boot from dt, so we can remove this
>&g
+Stefano
On Thu, Jan 12, 2017 at 10:23:03AM +0800, Peng Fan wrote:
>On Tue, Jan 03, 2017 at 05:05:02PM +0800, Peng Fan wrote:
>>Hi Stefano,
>>
>>On Tue, Dec 27, 2016 at 12:07:40PM +, Peng Fan wrote:
>>>> > + "boot_fdt=try\0" \
>>>&
The thermal drivers support i.MX6 and i.MX7, add MX7 in Kconfig file.
Signed-off-by: Peng Fan <peng@nxp.com>
Cc: Stefano Babic <sba...@denx.de>
---
drivers/thermal/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/thermal/Kconfig b/drivers/the
> -Original Message-
> From: Jagan Teki [mailto:ja...@openedev.com]
> Sent: Thursday, January 05, 2017 10:33 PM
> To: tr...@konsulko.com
> Cc: u-boot@lists.denx.de; Jagan Teki <ja...@openedev.com>; Stefano Babic
> <sba...@denx.de>; Peng Fan <peng@nxp.
Hi Stefano,
On Tue, Dec 27, 2016 at 12:07:40PM +, Peng Fan wrote:
>
>
>> -Original Message-
>> From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Fabio
>> Estevam
>> Sent: Tuesday, December 27, 2016 7:23 PM
>> To: Peng Fan <peng.
Drop board_ehci_power when dm usb used and switch to use
regulator api to handle vbus.
Signed-off-by: Peng Fan <peng@nxp.com>
Cc: Marek Vasut <ma...@denx.de>
Cc: Simon Glass <s...@chromium.org>
Cc: Stefano Babic <sba...@denx.de>
---
drivers/
Implement ofdata_to_platdata to set the type to host or device.
- Check "dr-mode" property.
- If there is no "dr-mode", check phy_ctrl for i.MX6
and phy_status for i.MX7
Signed-off-by: Peng Fan <peng@nxp.com>
Cc: Marek Vasut <ma...@denx.de>
Cc: Simon Glass
Add usb support for mx6sllevk board.
Signed-off-by: Peng Fan <peng@nxp.com>
Cc: Stefano Babic <sba...@denx.de>
---
board/freescale/mx6sllevk/mx6sllevk.c | 18 ++
configs/mx6sllevk_defconfig | 5 +
configs/mx6sllevk_plugin_defconfig| 5 ++
> -Original Message-
> From: Fabio Estevam [mailto:feste...@gmail.com]
> Sent: Monday, December 26, 2016 9:15 PM
> To: Peng Fan <peng@nxp.com>
> Cc: Stefano Babic <sba...@denx.de>; U-Boot-Denx <u-boot@lists.denx.de>
> Subject: Re: [U-Boot] [PATC
> -Original Message-
> From: Fabio Estevam [mailto:feste...@gmail.com]
> Sent: Tuesday, December 27, 2016 9:05 AM
> To: sba...@denx.de
> Cc: Peng Fan <peng@nxp.com>; u-boot@lists.denx.de; Fabio Estevam
> <fabio.este...@nxp.com>
> Subject: [PATCH]
> -Original Message-
> From: Fabio Estevam [mailto:feste...@gmail.com]
> Sent: Tuesday, December 27, 2016 9:11 AM
> To: Peng Fan <peng@nxp.com>
> Cc: Stefano Babic <sba...@denx.de>; U-Boot-Denx <u-boot@lists.denx.de>
> Subject: Re: [U-Boot] [PATC
> -Original Message-
> From: Fabio Estevam [mailto:feste...@gmail.com]
> Sent: Monday, December 26, 2016 8:59 PM
> To: Peng Fan <peng@nxp.com>
> Cc: Stefano Babic <sba...@denx.de>; U-Boot-Denx <u-boot@lists.denx.de>
> Subject: Re: [U-Boo
> -Original Message-
> From: Fabio Estevam [mailto:feste...@gmail.com]
> Sent: Monday, December 26, 2016 8:03 PM
> To: Peng Fan <peng@nxp.com>
> Cc: Stefano Babic <sba...@denx.de>; U-Boot-Denx <u-boot@lists.denx.de>
> Subject: Re: [U-Boot] [PATCH
> -Original Message-
> From: Fabio Estevam [mailto:feste...@gmail.com]
> Sent: Monday, December 26, 2016 8:11 PM
> To: Peng Fan <peng@nxp.com>
> Cc: Stefano Babic <sba...@denx.de>; U-Boot-Denx <u-boot@lists.denx.de>
> Subject: Re: [U-Boot] [PATC
.
Signed-off-by: Peng Fan <peng@nxp.com>
Signed-off-by: Ye Li <ye...@nxp.com>
Cc: Stefano Babic <sba...@denx.de>
---
V2:
None
arch/arm/cpu/armv7/mx7ulp/Makefile |2 +-
arch/arm/cpu/armv7/mx7ulp/clock.c| 286
arch/arm/cpu/armv7/mx7ulp/pcc
.
Signed-off-by: Ye Li <ye...@nxp.com>
Signed-off-by: Peng Fan <peng@nxp.com>
Cc: Stefano Babic <sba...@denx.de>
---
V2:
none
arch/arm/cpu/armv7/mx7ulp/Makefile | 8 +++
arch/arm/cpu/armv7/mx7ulp/iomux.c| 70 +++
arch/arm/include/asm/arch-m
Add imx-regs.h for i.MX7ULP registers addresses definitions and some
registers structures.
Signed-off-by: Peng Fan <peng@nxp.com>
Signed-off-by: Ye Li <ye...@nxp.com>
Cc: Stefano Babic <sba...@denx.de>
---
V2:
None
arch/arm/include/asm/arch-mx7ulp
> -Original Message-
> From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Fabio
> Estevam
> Sent: Tuesday, December 27, 2016 7:23 PM
> To: Peng Fan <peng@nxp.com>
> Cc: U-Boot-Denx <u-boot@lists.denx.de>
> Subject: Re: [U-Boot] [PATCH
environment
In:serial@402D
Out: serial@402D
Err: serial@402D
Net: Net Initialization Skipped
No ethernet found.
Hit any key to stop autoboot: 0
Signed-off-by: Peng Fan <peng@nxp.com>
Cc: Stefano Babic <sba...@denx.de>
---
V2:
Add maintainer file
Drop board rev
use the orignal code.
Signed-off-by: Peng Fan <peng@nxp.com>
Cc: Stefano Babic <sba...@denx.de>
Cc: Bhuvanchandra DV <bhuvanchandra...@toradex.com>
Cc: York Sun <york@nxp.com>
Cc: Shaohui Xie <shaohui@nxp.com>
Cc: Alison Wang <b18...@freescale.com>
Add i.MX7ULP dtsi file.
Add clock and pinfun header files.
Signed-off-by: Peng Fan <peng@nxp.com>
Cc: Stefano Babic <sba...@denx.de>
---
V2:
None
arch/arm/dts/imx7ulp-pinfunc.h| 882 ++
arch/arm/dts/imx7ulp.dtsi
maintainer file
Addressed some issues in board code.
Peng Fan (17):
imx: mx7ulp: Add mx7ulp to Kconfig
imx: mx7ulp: add registers header file
imx: mx7ulp: add iomux driver to support IOMUXC0 and IOMUXC1
imx: mx7ulp: Add clock framework and functions
imx: mx7ulp: Add soc level
Add compatible property for i.MX7ULP.
Add a weak init_usdhc_clk function, i.MX7ULP use this to init the clock.
Signed-off-by: Peng Fan <peng@nxp.com>
Cc: Stefano Babic <sba...@denx.de>
Cc: Jaehoon Chung <jh80.ch...@samsung.com>
---
V2:
None
drivers/mmc/fsl_esdhc.c |
i.MX7ULP is a new series SoC which has different architecture
from previous i.MX platforms. Create a new cpu folder for it,
and add it to Kconfig.
Signed-off-by: Peng Fan <peng@nxp.com>
Signed-off-by: Ye Li <ye...@nxp.com>
Cc: Stefano Babic <sba...@denx.de>
---
V2:
None
Add CAAM clock functions, SEC_CONFIG[1] fuse checking, and default CSF
size for HAB support boot on mx7ulp.
Users need to uncomment the CONFIG_SECURE_BOOT in mx7ulp_evk.h to build
secure uboot.
Signed-off-by: Peng Fan <peng@nxp.com>
Signed-off-by: Ye Li <ye...@nxp.com>
Cc: Stefan
Add i.MX7ULP support.
The buadrate calculation on i.MX7ULP is different,so add a new setbrg
function for i.MX7ULP.
Add a enum lpuart_devtype for runtime check for different platforms.
Signed-off-by: Peng Fan <peng@nxp.com>
Cc: Stefano Babic <sba...@denx.de>
Cc: Bhuvanchandra DV &l
From: Ye Li <ye...@nxp.com>
This driver implements the HW WATCHDOG functions. Which needs
to set CONFIG_HW_WATCHDOG to use them. This is disabled by default for
mx7ulp.
Use watchdog for reset cpu. Implement this in the driver.
Need to define CONFIG_ULP_WATCHDOG to build it.
Signed-off-by
From: Ye Li <ye...@nxp.com>
Implement the i2c clock enable and get function for mx7ulp. These
functions are required by imx_lpi2c driver.
Signed-off-by: Peng Fan <peng@nxp.com>
Signed-off-by: Ye Li <ye...@nxp.com>
Cc: Stefano Babic <sba...@denx.de>
---
V2:
None
a
.
Reuse some code in imx-common.
Signed-off-by: Peng Fan <peng@nxp.com>
Signed-off-by: Ye Li <ye...@nxp.com>
Cc: Stefano Babic <sba...@denx.de>
---
V2:
Reuse code in imx-common
arch/arm/Makefile| 2 +-
arch/arm/cpu/armv7/mx7ulp/Makefile
Add i.MX7ULP pinctrl driver.
Select CONFIG_PINCTRL_IMX7ULP to use this driver.
Signed-off-by: Peng Fan <peng@nxp.com>
Cc: Simon Glass <s...@chromium.org>
Cc: Stefano Babic <sba...@denx.de>
---
V2:
None
drivers/pinctrl/nxp/Kconfig | 14
drivers/pi
Add lpi2c driver for i.MX7ULP.
Need to enable the two options to use this driver:
CONFIG_DM_I2C=y
CONFIG_SYS_LPI2C_IMX=y
Signed-off-by: Peng Fan <peng@nxp.com>
Cc: Stefano Babic <sba...@denx.de>
Cc: Heiko Schocher <h...@denx.de>
---
V2:
None
arch/arm/include/asm/arch-
the bits in driver, but leave them to IOMUXC settings
of the GPIO pins. User should use IMX_GPIO_NR to generate the GPIO number
for gpio APIs access.
Signed-off-by: Peng Fan <peng@nxp.com>
Signed-off-by: Ye Li <ye...@nxp.com>
Cc: Stefano Babic <sba...@denx.de>
---
V2:
None
Update the mxc_ocotp driver to support i.MX7ULP.
The read/write sequence has some changes due to
PDN and OUT_STATUS registers added and TIME register is
removed. Also update the bank size and number.
Add is_mx7ulp macro in sys_proto.h
Signed-off-by: Peng Fan <peng@nxp.com>
Signed-off-
Enable MMC support.
The fsl sdhc driver needs regulator to enable power, so enable
regulator support.
And bootcmd and more env.
Signed-off-by: Peng Fan <peng@nxp.com>
Cc: Stefano Babic <sba...@denx.de>
---
V2:
Add bootcmd and more env.
configs/mx7ulp_evk_defconfig
Add handle the lpuarts in get_lpuart_clk.
Signed-off-by: Peng Fan <peng@nxp.com>
Signed-off-by: Ye Li <ye...@nxp.com>
Cc: Stefano Babic <sba...@denx.de>
---
V2:
None
arch/arm/cpu/armv7/mx7ulp/clock.c | 34 +++---
1 file changed, 31 insertio
ddress
to aligin with it.
Signed-off-by: Peng Fan <peng@nxp.com>
Signed-off-by: Ye Li <ye...@nxp.com>
Cc: Stefano Babic <sba...@denx.de>
---
V2:
None
arch/arm/include/asm/arch-mx7ulp/mx7ulp-pins.h | 910 +
1 file changed, 910 insertions(+)
create mode
add MAINTAINERS files
Signed-off-by: Peng Fan <peng@nxp.com>
Cc: Stefano Babic <sba...@denx.de>
---
board/freescale/mx6sllevk/MAINTAINERS | 7 +++
1 file changed, 7 insertions(+)
create mode 100644 board/freescale/mx6sllevk/MAINTAINERS
diff --git a/board/freescale/mx6sllevk
Add handle the lpuarts in get_lpuart_clk.
Signed-off-by: Peng Fan <peng@nxp.com>
Signed-off-by: Ye Li <ye...@nxp.com>
Cc: Stefano Babic <sba...@denx.de>
---
arch/arm/cpu/armv7/mx7ulp/clock.c | 34 +++---
1 file changed, 31 insertions(+), 3 deleti
.
Signed-off-by: Ye Li <ye...@nxp.com>
Signed-off-by: Peng Fan <peng@nxp.com>
Cc: Stefano Babic <sba...@denx.de>
---
arch/arm/cpu/armv7/mx7ulp/Makefile | 8 +++
arch/arm/cpu/armv7/mx7ulp/iomux.c| 70 +++
arch/arm/include/asm/arch-m
In:serial@402D
Out: serial@402D
Err: serial@402D
Net: Net Initialization Skipped
No ethernet found.
=>
Signed-off-by: Peng Fan <peng@nxp.com>
Cc: Stefano Babic <sba...@denx.de>
---
arch/arm/cpu/armv7/mx7ulp/Kconfig | 11 +
arch/arm/dts/Makefile
Enable MMC support.
The fsl sdhc driver needs regulator to enable power, so enable
regulator support.
Signed-off-by: Peng Fan <peng@nxp.com>
Cc: Stefano Babic <sba...@denx.de>
---
configs/mx7ulp_evk_defconfig | 8
include/configs/mx7ulp_evk.h | 17 -
2 f
From: Ye Li <ye...@nxp.com>
Implement the i2c clock enable and get function for mx7ulp. These
functions are required by imx_lpi2c driver.
Signed-off-by: Peng Fan <peng@nxp.com>
Signed-off-by: Ye Li <ye...@nxp.com>
Cc: Stefano Babic <sba...@denx.de>
---
arch/arm/
Hi Marek,
> -Original Message-
> From: Marek Vasut [mailto:ma...@denx.de]
> Sent: Thursday, December 22, 2016 12:40 PM
> To: Peng Fan <peng@nxp.com>; sba...@denx.de
> Cc: u-boot@lists.denx.de; van.free...@gmail.com
> Subject: Re: [PATCH 3/3] imx: mx6sllevk: ad
> -Original Message-
> From: Marek Vasut [mailto:ma...@denx.de]
> Sent: Thursday, December 22, 2016 2:12 PM
> To: Peng Fan <peng@nxp.com>; sba...@denx.de
> Cc: u-boot@lists.denx.de; van.free...@gmail.com
> Subject: Re: [PATCH 3/3] imx: mx6sllevk: add usb suppo
> -Original Message-
> From: Jagan Teki [mailto:ja...@openedev.com]
> Sent: Wednesday, December 21, 2016 10:02 PM
> To: Peng Fan <peng@nxp.com>
> Cc: Stefano Babic <sba...@denx.de>; Marek Vasut <ma...@denx.de>; u-
> b...@lists.denx.de
>
> -Original Message-
> From: Marek Vasut [mailto:ma...@denx.de]
> Sent: Wednesday, December 21, 2016 10:08 PM
> To: Peng Fan <peng@nxp.com>; sba...@denx.de
> Cc: u-boot@lists.denx.de; van.free...@gmail.com; Simon Glass
> <s...@chromium.org>
> Subje
> -Original Message-
> From: Marek Vasut [mailto:ma...@denx.de]
> Sent: Wednesday, December 21, 2016 10:10 PM
> To: Peng Fan <peng@nxp.com>; sba...@denx.de
> Cc: u-boot@lists.denx.de; van.free...@gmail.com
> Subject: Re: [PATCH 3/3] imx: mx6sllevk: add usb su
Add usb support for mx6sllevk board.
Signed-off-by: Peng Fan <peng@nxp.com>
Cc: Stefano Babic <sba...@denx.de>
---
V2:
Drop the polarity setting and CONFIG_USB_MAX_CONTROLLER_COUNT
configs/mx6sllevk_defconfig| 5 +
configs/mx6sllevk_plugin_defconfig | 5 +
inc
> -Original Message-
> From: Marek Vasut [mailto:ma...@denx.de]
> Sent: Thursday, December 22, 2016 3:12 PM
> To: Peng Fan <peng@nxp.com>; sba...@denx.de
> Cc: u-boot@lists.denx.de; van.free...@gmail.com
> Subject: Re: [PATCH 3/3] imx: mx6sllevk: add usb suppo
Hi Marek,
> -Original Message-
> From: Marek Vasut [mailto:ma...@denx.de]
> Sent: Thursday, December 22, 2016 4:58 PM
> To: Peng Fan <peng@nxp.com>; sba...@denx.de
> Cc: u-boot@lists.denx.de; van.free...@gmail.com
> Subject: Re: [PATCH 3/3] imx: mx6sllevk: ad
Implement ofdata_to_platdata to set the type to host or device.
- Check "dr-mode" property.
- If there is no "dr-mode", check phy_ctrl for i.MX6
and phy_status for i.MX7
Signed-off-by: Peng Fan <peng@nxp.com>
Cc: Marek Vasut <ma...@denx.de>
Cc: Simon Glass
From: Ye Li <ye...@nxp.com>
Update the mxc_ocotp driver to support i.MX7ULP. The read/write sequence
has some changes due to PDN and OUT_STATUS registers added and TIME register is
removed. Also update the bank size and number.
Signed-off-by: Peng Fan <peng@nxp.com>
Signed-off-b
Add compatible property for i.MX7ULP.
Add a weak init_usdhc_clk function, i.MX7ULP use this to init the clock.
Signed-off-by: Peng Fan <peng@nxp.com>
Cc: Stefano Babic <sba...@denx.de>
Cc: Jaehoon Chung <jh80.ch...@samsung.com>
---
drivers/mmc/fsl_esdhc.c | 8
Add i.MX7ULP pinctrl driver.
Select CONFIG_PINCTRL_IMX7ULP to use this driver.
Signed-off-by: Peng Fan <peng@nxp.com>
Cc: Simon Glass <s...@chromium.org>
Cc: Stefano Babic <sba...@denx.de>
---
drivers/pinctrl/nxp/Kconfig | 14
drivers/pinctrl/nxp/Make
Add lpi2c driver for i.MX7ULP.
Need to enable the two options to use this driver:
CONFIG_DM_I2C=y
CONFIG_SYS_LPI2C_IMX=y
Signed-off-by: Peng Fan <peng@nxp.com>
Cc: Stefano Babic <sba...@denx.de>
Cc: Heiko Schocher <h...@denx.de>
---
arch/arm/include/asm/arch-mx7ulp
.
Signed-off-by: Peng Fan <peng@nxp.com>
Signed-off-by: Ye Li <ye...@nxp.com>
Cc: Stefano Babic <sba...@denx.de>
---
arch/arm/cpu/armv7/mx7ulp/Makefile |2 +-
arch/arm/cpu/armv7/mx7ulp/clock.c| 286
arch/arm/cpu/armv7/mx7ulp/pcc.c | 286
Add lpuart driver to support i.MX7ULP.
Need to enable CONFIG_IMX_LPUART for the using.
Also add the lpuart_fsl register structure and registers bits definitions
in registers header file.
Signed-off-by: Peng Fan <peng@nxp.com>
Cc: Stefano Babic <sba...@denx.de>
---
arch/arm/incl
Add i.MX7ULP dtsi file.
Add clock and pinfun header files.
Signed-off-by: Peng Fan <peng@nxp.com>
Cc: Stefano Babic <sba...@denx.de>
---
arch/arm/dts/imx7ulp-pinfunc.h| 882 ++
arch/arm/dts/imx7ulp.dtsi
This driver implements the HW WATCHDOG functions. Which needs
to set CONFIG_HW_WATCHDOG to use them. This is disabled by default for
mx7ulp.
Use watchdog for reset cpu. Implement this in the driver.
Need to define CONFIG_ULP_WATCHDOG to build it.
Signed-off-by: Peng Fan <peng@nxp.com>
Add imx-regs.h for i.MX7ULP registers addresses definitions and some
registers structures.
Signed-off-by: Peng Fan <peng@nxp.com>
Signed-off-by: Ye Li <ye...@nxp.com>
Cc: Stefano Babic <sba...@denx.de>
---
arch/arm/include/asm/arch-mx7ulp/imx-regs.h | 1125 +
This patchset is to add i.MX7 ULP support default enabling OF_CONTROL.
i.MX7ULP has different architecture with i.MX7D/S, so not reuse
the code in imx-common. Also there are some new IPs, such lpi2c/lpuart/
rapid gpio2p and etc.
Peng Fan (15):
imx: mx7ulp: Add mx7ulp to Kconfig
imx: mx7ulp
.
Signed-off-by: Peng Fan <peng@nxp.com>
Signed-off-by: Ye Li <ye...@nxp.com>
Cc: Stefano Babic <sba...@denx.de>
---
arch/arm/cpu/armv7/mx7ulp/Makefile | 2 +-
arch/arm/cpu/armv7/mx7ulp/soc.c | 290 +++
arch/arm/include/asm/arch-
ddress
to aligin with it.
Signed-off-by: Peng Fan <peng@nxp.com>
Signed-off-by: Ye Li <ye...@nxp.com>
Cc: Stefano Babic <sba...@denx.de>
---
arch/arm/include/asm/arch-mx7ulp/mx7ulp-pins.h | 910 +
1 file changed, 910 insertions(+)
create mode 100644 a
i.MX7ULP is a new series SoC which has different architecture
from previous i.MX platforms. Create a new cpu folder for it,
and add it to Kconfig.
Signed-off-by: Peng Fan <peng@nxp.com>
Signed-off-by: Ye Li <ye...@nxp.com>
Cc: Stefano Babic <sba...@denx.de>
---
the bits in driver, but leave them to IOMUXC settings
of the GPIO pins. User should use IMX_GPIO_NR to generate the GPIO number
for gpio APIs access.
Signed-off-by: Peng Fan <peng@nxp.com>
Signed-off-by: Ye Li <ye...@nxp.com>
Cc: Stefano Babic <sba...@denx.de>
---
arch/ar
Drop board_ehci_power when dm usb used and switch to use
regulator api to handle vbus.
Signed-off-by: Peng Fan <peng@nxp.com>
Cc: Marek Vasut <ma...@denx.de>
Cc: Simon Glass <s...@chromium.org>
Cc: Stefano Babic <sba...@denx.de>
---
V2:
None
drivers/
> > +#define USB_OTHERREGS_OFFSET 0x800
> > +#define UCTRL_PWR_POL (1 << 9)
> > +
> > +int board_ehci_hcd_init(int port) {
> > + u32 *usbnc_usb_ctrl;
> > +
> > + if (port > 1)
> > + return -EINVAL;
>
Sync with Linux commit ad0376eb1483b ("Merge tag 'edac_for_4.11_2'").
Signed-off-by: Peng Fan <peng@nxp.com>
Cc: Tom Rini <tr...@konsulko.com>
---
include/linux/math64.h | 172 +
lib/di
Ping.. any comments?
On Sat, Mar 04, 2017 at 10:47:06AM +0800, Peng Fan wrote:
>Add driver model support for mxc spi driver.
>Most functions are restructured to be reused by DM and non-DM.
>Tested on mx6slevk board.
>
>Signed-off-by: Peng Fan <peng@nxp.com>
>Cc: Jagan
Ping.. any comments?
On Sat, Mar 04, 2017 at 10:45:42AM +0800, Peng Fan wrote:
>Use SPI_BOOT instead of SYS_BOOT_SPINOR.
>
>Signed-off-by: Peng Fan <peng@nxp.com>
>Cc: Stefano Babic <sba...@denx.de>
>---
> configs/mx6slevk_spinor_defconfig | 3 ++-
> incl
Add set bit command support.
Usage: SET_BIT 4 [address] [bitmask]
Signed-off-by: Peng Fan <peng@nxp.com>
Cc: Stefano Babic <sba...@denx.de>
---
tools/imximage.c | 12
tools/imximage.h | 4 +++-
2 files changed, 15 insertions(+), 1 deletion(-)
diff --git a/tools/
dd it in u-boot as a common flow for
all i.MX cortex-a7 platforms, including mx7d, mx6ul/ull and mx7ulp.
When cache not enabled in U-Boot, we also need enable the SMP bit.
because kernel does not set this bit, if this bit not enabled, kernel
works as cache disabled.
Signed-off-by: Peng Fan <pen
From: Ye Li <ye...@nxp.com>
The num/denom is a float value, but in the calculation it is convert
to integer 0, and wrong result.
Signed-off-by: Ye Li <ye...@nxp.com>
Signed-off-by: Peng Fan <peng@nxp.com>
Cc: Stefano Babic <sba...@denx.de>
---
arch/arm/cpu/armv7/mx7u
On Mon, Apr 03, 2017 at 07:23:35PM +0530, Jagan Teki wrote:
>From: Jagan Teki
>
>Since all SabreSD boards support SPL and devicetree
>update README on respective image name changes
>while loading the SD card.
SPL is not supported by NXP software releases, so I would
Hi Tom,
On Wed, Apr 05, 2017 at 09:32:51AM -0400, Tom Rini wrote:
>On Tue, Mar 28, 2017 at 05:05:09PM +0800, Peng Fan wrote:
>
>> Sync with Linux commit ad0376eb1483b ("Merge tag 'edac_for_4.11_2'").
>>
>> Signed-off-by: Peng Fan <peng@nxp.com
On Mon, Apr 03, 2017 at 07:23:14PM +0530, Jagan Teki wrote:
>From: Jagan Teki
>
>Add initial dts support for i.MX6 Quad Plus Sabresd board.
>
>Boot from MMC:
>-
>U-Boot SPL 2017.03-33690-ga80e4f6-dirty (Mar 30 2017 - 00:40:29)
>Trying to boot from MMC1
>
Sync with Linux commit ad0376eb1483b ("Merge tag 'edac_for_4.11_2'").
Signed-off-by: Peng Fan <peng@nxp.com>
Cc: Tom Rini <tr...@konsulko.com>
---
V2:
Use `./tools/buildman/buildman -v` to do the build,
the following 3 build fails, but not related to this patch.
x86
From: Andy Duan <fugang.d...@nxp.com>
Avoid transfer parameter dev_id value with "-1" to .fec_get_hwaddr(),
it should transfer fec->dev_id to get mac address from fuse.
Signed-off-by: Fugang Duan <fugang.d...@nxp.com>
Signed-off-by: Peng Fan <peng@nxp.com>
Cc
1101 - 1200 of 5447 matches
Mail list logo