[U-Boot] [PATCH 05/13][v4] imx: mx7 dm thermal driver support

2015-07-30 Thread Adrian Alonso
* Add thermal driver support for imx7 SoC read_cpu_temperature is SoC dependent * Redefine config macro to support imx7 and imx6 SoC Signed-off-by: Adrian Alonso aalo...@freescale.com Signed-off-by: Peng Fan peng@freescale.com --- Changes for V2: - Rework patch so it can be applyed on top

[U-Boot] [PATCH 08/13][v4] imx: imx7d: clock control module support

2015-07-30 Thread Adrian Alonso
ROM enables PLL_ARM, PLL_DDR, PLL_SYS, PLL_ENET In u-boot, we have to: - Configure PFD3- PFD7 for freq we needed in u-boot - Set clock root for peripherals (ip channel) Signed-off-by: Adrian Alonso aalo...@freescale.com Signed-off-by: Peng Fan peng@freescale.com Signed-off-by: Ye.Li b37

[U-Boot] [PATCH 11/13][v4] imx: imx7d: add timer support for imx7d

2015-07-30 Thread Adrian Alonso
* Add timer support for imx7d SoC Signed-off-by: Adrian Alonso aalo...@freescale.com --- Changes for V2: Split from patch imx: imx7d: initial arch level support Changes for V3: Resend Changes for V4: Resend arch/arm/imx-common/timer.c | 9 - 1 file changed, 8 insertions(+), 1 deletion

[U-Boot] [PATCH 13/13][v4] imx: mx7dsabresd: Add support for MX7D SABRESD board

2015-07-30 Thread Adrian Alonso
-off-by: Adrian Alonso aalo...@freescale.com --- Changes for V2: - Include arch/arm/Kconfig target config option Changes for V3: - Update target board maintainer contact info Changes for V4: depends on patchs - mmc: fsl_esdhc invalidate dcache before read - imx: usb: ehci-mx6: add usb support

[U-Boot] [PATCH 04/13][v4] imx: ocotp: mxc add i.MX7D support

2015-07-30 Thread Adrian Alonso
* Ocotp of i.MX7D has different operation rule. This patch is to add support for i.MX7D ocotp. Signed-off-by: Adrian Alonso aalo...@freescale.com Signed-off-by: Peng Fan peng@freescale.com Signed-off-by: Ye.Li b37...@freescale.com --- Changes for V2: Resend Changes for V3: Resend Changes

[U-Boot] [PATCH 06/13][v4] imx: system counter driver for imx7d and mx6ul

2015-07-30 Thread Adrian Alonso
: CONFIG_SYSCOUNTER_TIMER For mx6dqp GPT timer is the default setting. Signed-off-by: Adrian Alonso aalo...@freescale.com Signed-off-by: Ye.Li b37...@freescale.com --- Changes for V2: Resend Changes for V3: Resend Changes for V4: Resend arch/arm/imx-common/syscounter.c | 126

[U-Boot] [PATCH 09/13][v4] imx: imx7d: Add SoC system support

2015-07-30 Thread Adrian Alonso
* Add SoC system support, Misc arch dependent functions for system bring up: s_init: system init enable clock base settings enable_caches: configures Cortex-A7 L2 caches get_boot_device: identifies boot device Signed-off-by: Adrian Alonso aalo...@freescale.com Signed-off-by: Peng Fan peng

[U-Boot] [PATCH 12/13][v4] imx: imx7d: add imx-common cpu support for imx7d

2015-07-30 Thread Adrian Alonso
* Add imx-common cpu support for imx7d SoC * Update reset_cause for imx7d * Enable watchdog driver built for imx7d Signed-off-by: Adrian Alonso aalo...@freescale.com --- Changes for V2: Split from patch imx: imx7d: initial arch level support Changes for V3: Resend Changes for V4: Resend arch

[U-Boot] [PATCH 10/13][v4] imx: imx7d: add hab secure boot support

2015-07-30 Thread Adrian Alonso
-by: Adrian Alonso aalo...@freescale.com --- Changes for V2: Split from patch imx: imx7d: initial arch level support Changes for V3: Resend Changes for V4: Resend arch/arm/cpu/armv7/mx7/Makefile | 9 ++ arch/arm/cpu/armv7/mx7/hab.c| 277 arch/arm

[U-Boot] [PATCH 03/13][v4] imx: mxc_gpio: add support for imx7d SoC

2015-07-30 Thread Adrian Alonso
* Add mxc_gpio support for imx7d SoC * Use CONFIG_MX7 to extend mxc gpio driver support for imx7d Signed-off-by: Peng Fan peng@freescale.com Signed-off-by: Adrian Alonso aalo...@freescale.com --- Changes for V2: Resend Changes for V3: Resend Changes for V4: Resend arch/arm/include/asm/arch

[U-Boot] [PATCH 01/13][v4] power: pmic: add pfuze3000 support

2015-07-30 Thread Adrian Alonso
* Add pmic pfuze3000 support, implement power_pfuze3000_init to be used in power_init_board callback function. Signed-off-by: Adrian Alonso aalo...@freescale.com Signed-off-by: Peng Fan peng@freescale.com --- Changes for V2: - Correct pfuze device name to pfuze3000; Freescale documentation

[U-Boot] [PATCH] imx: usb: ehci-mx6: add usb support for imx7d soc

2015-07-30 Thread Adrian Alonso
Extend ehci-mx6 usb driver to support imx7d usb Signed-off-by: Adrian Alonso aalo...@freescale.com --- drivers/usb/host/Makefile | 1 + drivers/usb/host/ehci-mx6.c | 125 2 files changed, 92 insertions(+), 34 deletions(-) diff --git a/drivers/usb

[U-Boot] [PATCH 02/13][v4] imx: iomux-v3: add imx7d support for iomuxc

2015-07-30 Thread Adrian Alonso
chain settings for iomuxc-lpsr pads. * Since mx7d introduces LPSR IOMUX pins, add new base to IOMUX v3 driver for these LPSR pins. Signed-off-by: Adrian Alonso aalo...@freescale.com Signed-off-by: Fugang Duan b38...@freescale.com Signed-off-by: Ye.Li b37...@freescale.com --- Changes for V2

[U-Boot] [PATCH 2/3][v2] imx: usb: ehci-mx6: document board specific functions

2015-08-05 Thread Adrian Alonso
Document target board specific functions board_ehci_hcd_init - override usb phy mode board_ehci_hcd_init - set usb vbus voltage board_ehci_power - enables/disables usb vbus voltage Signed-off-by: Adrian Alonso aalo...@freescale.com --- Changes for V2: Split from patch imx: usb: ehci-mx6: add usb

[U-Boot] [PATCH 3/3][v2] imx: usb: ehci-mx6: add usb support for imx7d soc

2015-08-05 Thread Adrian Alonso
Extend ehci-mx6 usb driver to support imx7d usb Signed-off-by: Adrian Alonso aalo...@freescale.com --- Changes for V2: Add usb_power_config and usb_phy_mode for usb otg id detection for imx7d drivers/usb/host/Makefile | 1 + drivers/usb/host/ehci-mx6.c | 99

[U-Boot] [PATCH 1/3][v2] imx: usb: ehci-mx6: reg accessor cleanups

2015-08-05 Thread Adrian Alonso
Cleanup read/write register access, use clr/set bits_le32 Signed-off-by: Adrian Alonso aalo...@freescale.com --- Changes for V2: Split from patch imx: usb: ehci-mx6: add usb support for imx7d soc drivers/usb/host/ehci-mx6.c | 51 - 1 file changed, 18

[U-Boot] [PATCH v5 13/13] imx: mx7dsabresd: Add support for MX7D SABRESD board

2015-08-11 Thread Adrian Alonso
-off-by: Adrian Alonso aalo...@freescale.com --- Changes for V2: - Include arch/arm/Kconfig target config option Changes for V3: - Update target board maintainer contact info Changes for V4: depends on patchs - mmc: fsl_esdhc invalidate dcache before read - imx: usb: ehci-mx6: add usb support

[U-Boot] [PATCH v5 12/13] imx: imx7d: add imx-common cpu support for imx7d

2015-08-11 Thread Adrian Alonso
* Add imx-common cpu support for imx7d SoC * Update reset_cause for imx7d * Enable watchdog driver built for imx7d Signed-off-by: Ye.Li b37...@freescale.com Signed-off-by: Peng Fan peng@freescale.com Signed-off-by: Adrian Alonso aalo...@freescale.com --- Changes for V2: Split from patch imx

[U-Boot] [PATCH v5 06/13] imx: system counter driver for imx7d and mx6ul

2015-08-11 Thread Adrian Alonso
: CONFIG_SYSCOUNTER_TIMER For mx6dqp GPT timer is the default setting. Signed-off-by: Adrian Alonso aalo...@freescale.com Signed-off-by: Ye.Li b37...@freescale.com --- Changes for V2: Resend Changes for V3: Resend Changes for V4: Resend Changes for V5: Resend arch/arm/imx-common/syscounter.c

[U-Boot] [PATCH v5 03/13] imx: mxc_gpio: add support for imx7d SoC

2015-08-11 Thread Adrian Alonso
* Add mxc_gpio support for imx7d SoC * Use CONFIG_MX7 to extend mxc gpio driver support for imx7d Signed-off-by: Peng Fan peng@freescale.com Signed-off-by: Adrian Alonso aalo...@freescale.com --- Changes for V2: Resend Changes for V3: Resend Changes for V4: Resend Changes for V5: Resend

[U-Boot] [PATCH v5 08/13] imx: imx7d: clock control module support

2015-08-11 Thread Adrian Alonso
ROM enables PLL_ARM, PLL_DDR, PLL_SYS, PLL_ENET In u-boot, we have to: - Configure PFD3- PFD7 for freq we needed in u-boot - Set clock root for peripherals (ip channel) Signed-off-by: Adrian Alonso aalo...@freescale.com Signed-off-by: Peng Fan peng@freescale.com Signed-off-by: Ye.Li b37

[U-Boot] [PATCH v5 09/13] imx: imx7d: Add SoC system support

2015-08-11 Thread Adrian Alonso
* Add SoC system support, Misc arch dependent functions for system bring up: s_init: system init enable clock base settings enable_caches: configures Cortex-A7 L2 caches get_boot_device: identifies boot device Signed-off-by: Adrian Alonso aalo...@freescale.com Signed-off-by: Peng Fan peng

[U-Boot] [PATCH v5 10/13] imx: imx7d: add hab secure boot support

2015-08-11 Thread Adrian Alonso
-by: Ye.Li b37...@freescale.com Signed-off-by: Peng Fan peng@freescale.com Signed-off-by: Adrian Alonso aalo...@freescale.com --- Changes for V2: Split from patch imx: imx7d: initial arch level support Changes for V3: Resend Changes for V4: Resend Changes for V5: Add complete list of Signed-off's

[U-Boot] [PATCH v5 11/13] imx: imx7d: add timer support for imx7d

2015-08-11 Thread Adrian Alonso
* Add timer support for imx7d SoC Signed-off-by: Ye.Li b37...@freescale.com Signed-off-by: Peng Fan peng@freescale.com Signed-off-by: Adrian Alonso aalo...@freescale.com --- Changes for V2: Split from patch imx: imx7d: initial arch level support Changes for V3: Resend Changes for V4: Resend

[U-Boot] [PATCH v5 01/13] power: pmic: add pfuze3000 support

2015-08-11 Thread Adrian Alonso
* Add pmic pfuze3000 support, implement power_pfuze3000_init to be used in power_init_board callback function. Signed-off-by: Adrian Alonso aalo...@freescale.com Signed-off-by: Peng Fan peng@freescale.com --- Changes for V2: - Correct pfuze device name to pfuze3000; Freescale documentation

[U-Boot] [PATCH v5 02/13] imx: iomux-v3: add imx7d support for iomuxc

2015-08-11 Thread Adrian Alonso
chain settings for iomuxc-lpsr pads. * Since mx7d introduces LPSR IOMUX pins, add new base to IOMUX v3 driver for these LPSR pins. Signed-off-by: Adrian Alonso aalo...@freescale.com Signed-off-by: Fugang Duan b38...@freescale.com Signed-off-by: Ye.Li b37...@freescale.com --- Changes for V2

[U-Boot] [PATCH v5 05/13] imx: mx7 dm thermal driver support

2015-08-11 Thread Adrian Alonso
* Add thermal driver support for imx7 SoC read_cpu_temperature is SoC dependent * Redefine config macro to support imx7 and imx6 SoC Signed-off-by: Adrian Alonso aalo...@freescale.com Signed-off-by: Peng Fan peng@freescale.com --- Changes for V2: - Rework patch so it can be applyed on top

[U-Boot] [PATCH v5 04/13] imx: ocotp: mxc add i.MX7D support

2015-08-11 Thread Adrian Alonso
* Ocotp of i.MX7D has different operation rule. This patch is to add support for i.MX7D ocotp. Signed-off-by: Adrian Alonso aalo...@freescale.com Signed-off-by: Peng Fan peng@freescale.com Signed-off-by: Ye.Li b37...@freescale.com --- Changes for V2: Resend Changes for V3: Resend Changes

[U-Boot] [PATCH] imx: usb: ehci-mx6: wait_for_bit to check reg status

2015-08-06 Thread Adrian Alonso
Add wait_for_bit to check reg bit status and replace unbounded loops to check usb command status Signed-off-by: Adrian Alonso aalo...@freescale.com --- Patch depends on the following patch set: imx: usb: ehci-mx6: add usb support for imx7d soc imx: usb: ehci-mx6: document board specific functions

[U-Boot] [PATCH 1/3][v3] imx: usb: ehci-mx6: reg accessor cleanups

2015-08-06 Thread Adrian Alonso
Cleanup read/write register access, use clr/set bits_le32 Signed-off-by: Adrian Alonso aalo...@freescale.com --- Changes for V2: Split from patch imx: usb: ehci-mx6: add usb support for imx7d soc Changes for V3: Resend drivers/usb/host/ehci-mx6.c | 51

[U-Boot] [PATCH 2/3][v3] imx: usb: ehci-mx6: document board specific functions

2015-08-06 Thread Adrian Alonso
Document target board specific functions board_ehci_hcd_init - override usb phy mode board_ehci_hcd_init - set usb vbus voltage board_ehci_power - enables/disables usb vbus voltage Signed-off-by: Adrian Alonso aalo...@freescale.com --- Changes for V2: Split from patch imx: usb: ehci-mx6: add

[U-Boot] [PATCH 3/3][v3] imx: usb: ehci-mx6: add usb support for imx7d soc

2015-08-06 Thread Adrian Alonso
Extend ehci-mx6 usb driver to support imx7d usb Signed-off-by: Adrian Alonso aalo...@freescale.com --- Changes for V2: Add usb_power_config and usb_phy_mode for usb otg id detection for imx7d Changes for V3: Fix identation for usbnc_regs struct drivers/usb/host/Makefile | 1 + drivers/usb

[U-Boot] [PATCH 15/15][v3] imx: mx7dsabresd: Add support for MX7D SABRESD board

2015-07-22 Thread Adrian Alonso
-off-by: Adrian Alonso aalo...@freescale.com --- Changes for V2: - Include arch/arm/Kconfig target config option Changes for V3: - Update target board maintainer contact info arch/arm/Kconfig | 7 + board/freescale/mx7dsabresd/Kconfig | 15 + board/freescale

[U-Boot] [PATCH 14/15][v3] imx: imx7d: add imx-common cpu support for imx7d

2015-07-22 Thread Adrian Alonso
* Add imx-common cpu support for imx7d SoC * Update reset_cause for imx7d * Enable watchdog driver built for imx7d Signed-off-by: Adrian Alonso aalo...@freescale.com --- Changes for V2: Split from patch imx: imx7d: initial arch level support Changes for V3: Resend arch/arm/Makefile

[U-Boot] [PATCH 13/15][v3] imx: imx7d: add timer support for imx7d

2015-07-22 Thread Adrian Alonso
* Add timer support for imx7d SoC Signed-off-by: Adrian Alonso aalo...@freescale.com --- Changes for V2: Split from patch imx: imx7d: initial arch level support Changes for V3: Resend arch/arm/imx-common/timer.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/arch

[U-Boot] [PATCH 12/15][v3] imx: imx7d: add hab secure boot support

2015-07-22 Thread Adrian Alonso
-by: Adrian Alonso aalo...@freescale.com --- Changes for V2: Split from patch imx: imx7d: initial arch level support Changes for V3: Resend arch/arm/cpu/armv7/mx7/Makefile | 9 ++ arch/arm/cpu/armv7/mx7/hab.c| 277 arch/arm/include/asm/arch-mx7/hab.h

[U-Boot] [PATCH 04/15][v3] imx: iomux-v3: add imx7d support for iomuxc

2015-07-22 Thread Adrian Alonso
chain settings for iomuxc-lpsr pads. * Since mx7d introduces LPSR IOMUX pins, add new base to IOMUX v3 driver for these LPSR pins. Signed-off-by: Adrian Alonso aalo...@freescale.com Signed-off-by: Fugang Duan b38...@freescale.com Signed-off-by: Ye.Li b37...@freescale.com --- Changes for V2

[U-Boot] [PATCH 02/15][v3] imx: usb: ehci-mx7 add usb driver for i.MX7D

2015-07-22 Thread Adrian Alonso
* Add support for usb driver for i.MX7D SoC Signed-off-by: Adrian Alonso aalo...@freescale.com Signed-off-by: Ye.Li b37...@freescale.com Signed-off-by: Peng Fan peng@freescale.com --- Changes for V2: Resend Changes for V3: - Integrate review obserbations - Add comments for fucntions

[U-Boot] [PATCH 03/15][v3] imx: mmc: fsl_esdhc fix dcache issue

2015-07-22 Thread Adrian Alonso
the stale data. Signed-off-by: Peng Fan peng@freescale.com Signed-off-by: Ye.Li b37...@freescale.com Signed-off-by: Nitin Garg nitin.g...@freescale.com Signed-off-by: Jason Liu r64...@freescale.com Signed-off-by: Adrian Alonso aalo...@freescale.com --- Changes for V2: Resend Changes for V3

[U-Boot] [PATCH 01/15][v3] power: pmic: add pfuze3000 support

2015-07-22 Thread Adrian Alonso
* Add pmic pfuze3000 support, implement power_pfuze3000_init to be used in power_init_board callback function. Signed-off-by: Adrian Alonso aalo...@freescale.com Signed-off-by: Peng Fan peng@freescale.com --- Changes for V2: - Correct pfuze device name to pfuze3000; Freescale documentation

[U-Boot] [PATCH 10/15][v3] imx: imx7d: clock control module support

2015-07-22 Thread Adrian Alonso
ROM enables PLL_ARM, PLL_DDR, PLL_SYS, PLL_ENET In u-boot, we have to: - Configure PFD3- PFD7 for freq we needed in u-boot - Set clock root for peripherals (ip channel) Signed-off-by: Adrian Alonso aalo...@freescale.com Signed-off-by: Peng Fan peng@freescale.com Signed-off-by: Ye.Li b37

[U-Boot] [PATCH 07/15][v3] imx: mx7 dm thermal driver support

2015-07-22 Thread Adrian Alonso
* Add thermal driver support for imx7 SoC read_cpu_temperature is SoC dependent * Redefine config macro to support imx7 and imx6 SoC Signed-off-by: Adrian Alonso aalo...@freescale.com Signed-off-by: Peng Fan peng@freescale.com --- Changes for V2: - Rework patch so it can be applyed on top

[U-Boot] [PATCH 08/15][v3] imx: system counter driver for imx7d and mx6ul

2015-07-22 Thread Adrian Alonso
: CONFIG_SYSCOUNTER_TIMER For mx6dqp GPT timer is the default setting. Signed-off-by: Adrian Alonso aalo...@freescale.com Signed-off-by: Ye.Li b37...@freescale.com --- Changes for V2: Resend Changes for V3: Resend arch/arm/imx-common/syscounter.c | 126 +++ arch

[U-Boot] [PATCH 11/15][v3] imx: imx7d: Add SoC system support

2015-07-22 Thread Adrian Alonso
* Add SoC system support, Misc arch dependent functions for system bring up: s_init: system init enable clock base settings enable_caches: configures Cortex-A7 L2 caches get_boot_device: identifies boot device Signed-off-by: Adrian Alonso aalo...@freescale.com Signed-off-by: Peng Fan peng

[U-Boot] [PATCH 05/15][v3] imx: mxc_gpio: add support for imx7d SoC

2015-07-22 Thread Adrian Alonso
* Add mxc_gpio support for imx7d SoC * Use CONFIG_MX7 to extend mxc gpio driver support for imx7d Signed-off-by: Peng Fan peng@freescale.com Signed-off-by: Adrian Alonso aalo...@freescale.com --- Changes for V2: Resend Changes for V3: Resend arch/arm/include/asm/arch-mx7/gpio.h | 12

[U-Boot] [PATCH 06/15][v3] imx: ocotp: mxc add i.MX7D support

2015-07-22 Thread Adrian Alonso
* Ocotp of i.MX7D has different operation rule. This patch is to add support for i.MX7D ocotp. Signed-off-by: Adrian Alonso aalo...@freescale.com Signed-off-by: Peng Fan peng@freescale.com Signed-off-by: Ye.Li b37...@freescale.com --- Changes for V2: Resend Changes for V3: Resend drivers

[U-Boot] [PATCH 02/15][v4] imx: usb: ehci-mx7 add usb driver for i.MX7D

2015-07-23 Thread Adrian Alonso
Add support for usb driver for i.MX7D SoC Signed-off-by: Adrian Alonso aalo...@freescale.com Signed-off-by: Ye.Li b37...@freescale.com Signed-off-by: Peng Fan peng@freescale.com --- Changes for V2: Resend Changes for V3: - Integrate review obserbations - Add comments for fucntions

[U-Boot] [PATCH 01/11][v2] imx: imximage: add new CHECK/CLR BIT command

2015-07-15 Thread Adrian Alonso
= *address ~mask; * Add set_dcd_param_v2 helper function to set DCD command parameters Signed-off-by: Adrian Alonso aalo...@freescale.com Signed-off-by: Peng Fan peng@freescale.com --- Changes for V2 - Add set_dcd_param_v2 helper function to set DCD command tag and parameters tools

[U-Boot] [PATCH 08/11] imx: mx7 dm thermal driver support

2015-07-15 Thread Adrian Alonso
* Add thermal driver support for imx7 SoC read_cpu_temperature is SoC dependent * Redefine config macro to support imx7 and imx6 SoC Signed-off-by: Adrian Alonso aalo...@freescale.com Signed-off-by: Peng Fan peng@freescale.com --- arch/arm/imx-common/cpu.c | 10 ++-- drivers

[U-Boot] [PATCH 07/11] imx: ocotp: mxc add i.MX7D support

2015-07-15 Thread Adrian Alonso
* Ocotp of i.MX7D has different operation rule. This patch is to add support for i.MX7D ocotp. Signed-off-by: Adrian Alonso aalo...@freescale.com Signed-off-by: Peng Fan peng@freescale.com Signed-off-by: Ye.Li b37...@freescale.com --- drivers/misc/mxc_ocotp.c | 74

[U-Boot] [PATCH 03/11] imx: usb: ehci-mx7 add usb driver for i.MX7D

2015-07-15 Thread Adrian Alonso
* Add support for usb driver for i.MX7D SoC Signed-off-by: Adrian Alonso aalo...@freescale.com Signed-off-by: Ye.Li b37...@freescale.com Signed-off-by: Peng Fan peng@freescale.com --- drivers/usb/host/Makefile | 1 + drivers/usb/host/ehci-mx7.c | 103

[U-Boot] [PATCH 06/11] imx: mxc_gpio: add support for imx7d SoC

2015-07-15 Thread Adrian Alonso
* Add mxc_gpio support for imx7d SoC * Use CONFIG_MX7 to extend mxc gpio driver support for imx7d Signed-off-by: Peng Fan peng@freescale.com Signed-off-by: Adrian Alonso aalo...@freescale.com --- drivers/gpio/mxc_gpio.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff

[U-Boot] [PATCH 11/11] imx: mx7dsabresd: Add support for MX7D SABRESD board

2015-07-15 Thread Adrian Alonso
-by: Adrian Alonso aalo...@freescale.com --- board/freescale/mx7dsabresd/Kconfig | 15 + board/freescale/mx7dsabresd/Makefile | 6 + board/freescale/mx7dsabresd/imximage.cfg | 110 + board/freescale/mx7dsabresd/mx7dsabresd.c | 656 ++ configs

[U-Boot] [PATCH 05/11] imx: iomux-v3: add imx7d support for iomuxc

2015-07-15 Thread Adrian Alonso
* Add imx7d support for iomux controller * Since mx7d introduces LPSR IOMUX pins, add new base to IOMUX v3 driver for these LPSR pins. Signed-off-by: Adrian Alonso aalo...@freescale.com Signed-off-by: Fugang Duan b38...@freescale.com Signed-off-by: Ye.Li b37...@freescale.com --- arch/arm/imx

[U-Boot] [PATCH 02/11] imx: power: add pmic pfuze300 support

2015-07-15 Thread Adrian Alonso
* Add pmic pfuze300 support for imx7 and iMX6 DL/SL/SX SoC's * Implement power_pfuze300_init to be used in power_init_board callback function. Signed-off-by: Adrian Alonso aalo...@freescale.com Signed-off-by: Peng Fan peng@freescale.com --- drivers/power/pmic/Makefile| 1

[U-Boot] [PATCH 09/11] imx: system counter driver for imx7d and mx6ul

2015-07-15 Thread Adrian Alonso
: CONFIG_SYSCOUNTER_TIMER For mx6dqp GPT timer is the default setting. Signed-off-by: Adrian Alonso aalo...@freescale.com Signed-off-by: Ye.Li b37...@freescale.com --- arch/arm/imx-common/syscounter.c | 126 +++ arch/arm/include/asm/imx-common/syscounter.h | 29

[U-Boot] [PATCH][v3] imx: imximage: add new CHECK/CLR BIT command

2015-07-20 Thread Adrian Alonso
= *address ~mask; * Add set_dcd_param_v2 helper function to set DCD command parameters Signed-off-by: Adrian Alonso aalo...@freescale.com Signed-off-by: Peng Fan peng@freescale.com --- Changes for V2 - Add set_dcd_param_v2 helper function to set DCD command tag and parameters Changes for V3

[U-Boot] [PATCH 01/15][v2] power: pmic: add pfuze3000 support

2015-07-20 Thread Adrian Alonso
* Add pmic pfuze3000 support, implement power_pfuze3000_init to be used in power_init_board callback function. Signed-off-by: Adrian Alonso aalo...@freescale.com Signed-off-by: Peng Fan peng@freescale.com --- Changes for V2: - Correct pfuze device name to pfuze3000; Freescale documentation

[U-Boot] [PATCH 02/15][v2] imx: usb: ehci-mx7 add usb driver for i.MX7D

2015-07-20 Thread Adrian Alonso
* Add support for usb driver for i.MX7D SoC Signed-off-by: Adrian Alonso aalo...@freescale.com Signed-off-by: Ye.Li b37...@freescale.com Signed-off-by: Peng Fan peng@freescale.com --- Changes for V2: Resend drivers/usb/host/Makefile | 1 + drivers/usb/host/ehci-mx7.c | 103

[U-Boot] [PATCH 10/15][v2] imx: imx7d: clock control module support

2015-07-20 Thread Adrian Alonso
ROM enables PLL_ARM, PLL_DDR, PLL_SYS, PLL_ENET In u-boot, we have to: - Configure PFD3- PFD7 for freq we needed in u-boot - Set clock root for peripherals (ip channel) Signed-off-by: Adrian Alonso aalo...@freescale.com Signed-off-by: Peng Fan peng@freescale.com Signed-off-by: Ye.Li b37

[U-Boot] [PATCH 15/15][v2] imx: mx7dsabresd: Add support for MX7D SABRESD board

2015-07-20 Thread Adrian Alonso
-off-by: Adrian Alonso aalo...@freescale.com --- Changes for V2: - Include arch/arm/Kconfig target config option arch/arm/Kconfig | 7 + board/freescale/mx7dsabresd/Kconfig | 15 + board/freescale/mx7dsabresd/MAINTAINERS | 6 + board/freescale/mx7dsabresd

[U-Boot] [PATCH 11/15][v2] imx: imx7d: Add SoC system support

2015-07-20 Thread Adrian Alonso
* Add SoC system support, Misc arch dependent functions for system bring up: s_init: system init enable clock base settings enable_caches: configures Cortex-A7 L2 caches get_boot_device: identifies boot device Signed-off-by: Adrian Alonso aalo...@freescale.com Signed-off-by: Peng Fan peng

[U-Boot] [PATCH 14/15][v2] imx: imx7d: add imx-common cpu support for imx7d

2015-07-20 Thread Adrian Alonso
* Add imx-common cpu support for imx7d SoC * Update reset_cause for imx7d * Enable watchdog driver built for imx7d Signed-off-by: Adrian Alonso aalo...@freescale.com --- Changes for V2: Split from patch imx: imx7d: initial arch level support arch/arm/Makefile| 4 ++-- arch/arm/cpu

[U-Boot] [PATCH 13/15][v2] imx: imx7d: add timer support for imx7d

2015-07-20 Thread Adrian Alonso
* Add timer support for imx7d SoC Signed-off-by: Adrian Alonso aalo...@freescale.com --- Changes for V2: Split from patch imx: imx7d: initial arch level support arch/arm/imx-common/timer.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/arch/arm/imx-common/timer.c b

[U-Boot] [PATCH 12/15][v2] imx: imx7d: add hab secure boot support

2015-07-20 Thread Adrian Alonso
-by: Adrian Alonso aalo...@freescale.com --- Changes for V2: Split from patch imx: imx7d: initial arch level support arch/arm/cpu/armv7/mx7/Makefile | 9 ++ arch/arm/cpu/armv7/mx7/hab.c| 277 arch/arm/include/asm/arch-mx7/hab.h | 69 + 3 files

[U-Boot] [PATCH 07/15][v2] imx: mx7 dm thermal driver support

2015-07-20 Thread Adrian Alonso
* Add thermal driver support for imx7 SoC read_cpu_temperature is SoC dependent * Redefine config macro to support imx7 and imx6 SoC Signed-off-by: Adrian Alonso aalo...@freescale.com Signed-off-by: Peng Fan peng@freescale.com --- Changes for V2: - Rework patch so it can be applyed on top

[U-Boot] [PATCH 08/15][v2] imx: system counter driver for imx7d and mx6ul

2015-07-20 Thread Adrian Alonso
: CONFIG_SYSCOUNTER_TIMER For mx6dqp GPT timer is the default setting. Signed-off-by: Adrian Alonso aalo...@freescale.com Signed-off-by: Ye.Li b37...@freescale.com --- Changes for V2: Resend arch/arm/imx-common/syscounter.c | 126 +++ arch/arm/include/asm/imx

[U-Boot] [PATCH 06/15][v2] imx: ocotp: mxc add i.MX7D support

2015-07-20 Thread Adrian Alonso
* Ocotp of i.MX7D has different operation rule. This patch is to add support for i.MX7D ocotp. Signed-off-by: Adrian Alonso aalo...@freescale.com Signed-off-by: Peng Fan peng@freescale.com Signed-off-by: Ye.Li b37...@freescale.com --- Changes for V2: Resend drivers/misc/mxc_ocotp.c | 74

[U-Boot] [PATCH 05/15][v2] imx: mxc_gpio: add support for imx7d SoC

2015-07-20 Thread Adrian Alonso
* Add mxc_gpio support for imx7d SoC * Use CONFIG_MX7 to extend mxc gpio driver support for imx7d Signed-off-by: Peng Fan peng@freescale.com Signed-off-by: Adrian Alonso aalo...@freescale.com --- Changes for V2: Resend arch/arm/include/asm/arch-mx7/gpio.h | 12 drivers/gpio

[U-Boot] [PATCH 03/15][v2] imx: mmc: fsl_esdhc fix dcache issue

2015-07-20 Thread Adrian Alonso
the stale data. Signed-off-by: Peng Fan peng@freescale.com Signed-off-by: Ye.Li b37...@freescale.com Signed-off-by: Nitin Garg nitin.g...@freescale.com Signed-off-by: Jason Liu r64...@freescale.com Signed-off-by: Adrian Alonso aalo...@freescale.com --- Changes for V2: Resend drivers/mmc

[U-Boot] [PATCH 04/15][v2] imx: iomux-v3: add imx7d support for iomuxc

2015-07-21 Thread Adrian Alonso
chain settings for iomuxc-lpsr pads. * Since mx7d introduces LPSR IOMUX pins, add new base to IOMUX v3 driver for these LPSR pins. Signed-off-by: Adrian Alonso aalo...@freescale.com Signed-off-by: Fugang Duan b38...@freescale.com Signed-off-by: Ye.Li b37...@freescale.com --- Changes for V2

[U-Boot] [PATCH] thermal: imx_thermal: rework driver to be reused

2015-08-25 Thread Adrian Alonso
- Rework imx_thermal driver to be used across i.MX processor that support thermal sensors - Make read_cpu_temperature SoC dependent Signed-off-by: Adrian Alonso aalo...@freescale.com Signed-off-by: Peng Fan peng@freescale.com --- arch/arm/cpu/armv7/mx6/soc.c | 86

[U-Boot] [PATCH v3 06/10] arm: imx: add secure boot fuse details for imx6 SoC

2015-10-12 Thread Adrian Alonso
Add secure boot fuse details (location) bank = 0, word = 6; for imx6 SoC platforms. Signed-off-by: Adrian Alonso <aalo...@freescale.com> --- Changes for V3: New patch in series arch/arm/cpu/armv7/mx6/soc.c | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/cpu/armv7/mx6

[U-Boot] [PATCH v3 04/10] imx: hab: rework unified rom section for mx7

2015-10-12 Thread Adrian Alonso
Rework unified section macro select via Kconfig option instead of macro definition in mx7_common header file. Signed-off-by: Adrian Alonso <aalo...@freescale.com> --- Changes for V3: New patch in series arch/arm/cpu/armv7/mx7/Kconfig | 2 ++ include/configs/mx7_common.h | 1 - 2 files c

[U-Boot] [PATCH v3 05/10] imx: hab: add secure boot fuse details

2015-10-12 Thread Adrian Alonso
Add secure boot fuse helper struct to abstract the way to find out secure boot settings per SoC iMX family Signed-off-by: Adrian Alonso <aalo...@freescale.com> --- Changes for V3: New patch in series arch/arm/include/asm/imx-common/hab.h | 9 + 1 file changed, 9 insertions(+)

[U-Boot] [PATCH v3 09/10] imx: hab: add mx7 secure boot support

2015-10-12 Thread Adrian Alonso
cache flush mx7 SoC ROM code does not have this issue as ROM enables cache support based on fuse settings. Signed-off-by: Adrian Alonso <aalo...@freescale.com> --- Changes for V2: - Split from original patch to track mx7 change set hab: rework support for imx6/imx7 Changes for V3: - Add helper

[U-Boot] [PATCH v3 10/10] mx7dsabresd: add secure boot support

2015-10-12 Thread Adrian Alonso
Add secure boot support for mx7dsabresd target board Signed-off-by: Adrian Alonso <aalo...@freescale.com> --- Changes for V2: Resend Changes for V3: Resend board/freescale/mx7dsabresd/imximage.cfg | 7 +++ include/configs/mx7dsabresd.h| 4 2 files changed, 11 inse

[U-Boot] [PATCH v3 01/10] imx: cpu: move common chip revision id's

2015-10-12 Thread Adrian Alonso
Move common chip revision id's to main cpu header file mx25 generic include cpu header for chip revision Signed-off-by: Adrian Alonso <aalo...@freescale.com> --- Chages for V2: Resend Chages for V3: Resend arch/arm/cpu/arm926ejs/mx25/generic.c | 1 + arch/arm/include/asm/arch-imx

[U-Boot] [PATCH v3 02/10] imx: hab: rework secure boot support for imx6

2015-10-12 Thread Adrian Alonso
Rework secure boot support for imx6, move existing hab support for imx6 into imx-common for SoC reuse. Signed-off-by: Adrian Alonso <aalo...@freescale.com> --- Changes for V2: Split patch - Move existing hab mx6 into common location - Update include hab header location Changes for V3:

[U-Boot] [PATCH v3 07/10] arm: imx: add secure boot fuse details for imx7 SoC

2015-10-12 Thread Adrian Alonso
Add secure boot fuse details (location) bank = 1, word = 3; for imx7 SoC platforms. Signed-off-by: Adrian Alonso <aalo...@freescale.com> --- Changes for V3: New patch in series arch/arm/cpu/armv7/mx7/soc.c | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/cpu/armv7/mx7

[U-Boot] [PATCH v3 08/10] imx: hab: use read_fuse for secure boot settings

2015-10-12 Thread Adrian Alonso
Use read_fuse api fuction call to read secure boot fuse settings (enabled/disabled). Signed-off-by: Adrian Alonso <aalo...@freescale.com> --- Changes for V3: New patch in series arch/arm/imx-common/hab.c | 17 - 1 file changed, 12 insertions(+), 5 deletions(-) diff --git

[U-Boot] [PATCH v3 03/10] imx: hab: use unified rom section for mx6sx and mx6ul

2015-10-12 Thread Adrian Alonso
Add CONFIG_ROM_UNIFIED_SECTIONS for mx6sx and mx6ul target platforms to resolve corresponding HAB_RVT_BASE base address, the RVT table contains pointers to the HAB API functions in ROM code. Signed-off-by: Adrian Alonso <aalo...@freescale.com> --- Changes for V2: New patch in series C

[U-Boot] [PATCH][v2] arm: imx: imx-common: init: move arch init common setup

2015-08-27 Thread Adrian Alonso
Move common imx6 arch init setup, init.c can be extended and reused to support imx7 SoC keeping init arch common code. Signed-off-by: Adrian Alonso aalo...@freescale.com --- Changes for V2: Move back mx6 ldo related to functions into soc.c Apply patch on top of: arm: imx: common rework cache

[U-Boot] [PATCH][v6] imx: system counter driver for imx7d and mx6ul

2015-08-25 Thread Adrian Alonso
Add system counter driver for imx7d and mx6ul imx7 and imx6ul supports system counter timer as well as GPT timer (arch/arm/imx-common/timer.c); The default for imx7 is systemcounter timer. Signed-off-by: Adrian Alonso aalo...@freescale.com Signed-off-by: Ye.Li b37...@freescale.com --- Changes

[U-Boot] [PATCH] arm: imx: imx-common: init: move arch init common setup

2015-08-26 Thread Adrian Alonso
Move common imx6 arch init setup, init.c can be extended and reused to support imx7 SoC keeping init arch common code. Signed-off-by: Adrian Alonso aalo...@freescale.com --- Apply patch on top of: arm: imx: common rework cache settings for imx6 arch/arm/cpu/armv7/mx6/soc.c | 274

[U-Boot] [PATCH] arm: imx: common rework cache settings for imx6

2015-08-26 Thread Adrian Alonso
Rework cache settings for imx6, move cache configuration to imx-common/cache.c so it can be reused for newer SoC Signed-off-by: Adrian Alonso aalo...@freescale.com --- arch/arm/cpu/armv7/mx6/soc.c | 95 --- arch/arm/imx-common/Makefile | 1 + arch/arm/imx

[U-Boot] [PATCH v3 13/13] imx: mx7dsabresd: Add support for MX7D SABRESD board

2015-09-03 Thread Adrian Alonso
.@freescale.com> Signed-off-by: Adrian Alonso <aalo...@freescale.com> --- Changes for V2: - Include arch/arm/Kconfig target config option Changes for V3: - Update target board maintainer contact info Changes for V4: depends on patchs - mmc: fsl_esdhc invalidate dcache before read - imx

[U-Boot] [PATCH v2 07/13] imx: imx7d: clock control module support

2015-09-02 Thread Adrian Alonso
ROM enables PLL_ARM, PLL_DDR, PLL_SYS, PLL_ENET In u-boot, we have to: - Configure PFD3- PFD7 for freq we needed in u-boot - Set clock root for peripherals (ip channel) Signed-off-by: Adrian Alonso <aalo...@freescale.com> Signed-off-by: Peng Fan <peng@freescale.com> Signed-o

[U-Boot] [PATCH v2 13/13] imx: mx7dsabresd: Add support for MX7D SABRESD board

2015-09-02 Thread Adrian Alonso
.@freescale.com> Signed-off-by: Adrian Alonso <aalo...@freescale.com> --- Changes for V2: - Include arch/arm/Kconfig target config option Changes for V3: - Update target board maintainer contact info Changes for V4: depends on patchs - mmc: fsl_esdhc invalidate dcache before read - imx

[U-Boot] [PATCH v2 12/13] imx: imx7d: add imx-common cpu support for imx7d

2015-09-02 Thread Adrian Alonso
Add imx-common cpu support for imx7d SoC - Update reset_cause for imx7d - Enable watchdog driver built for imx7d Signed-off-by: Adrian Alonso <aalo...@freescale.com> Signed-off-by: Peng Fan <peng@freescale.com> --- Changes for V2: Split patch to easier review process - Add

[U-Boot] [PATCH v2 10/13] arm: imx-common: init: rework wdog settings for imx6/imx7

2015-09-02 Thread Adrian Alonso
Rework imx_set_wdog_powerdown to be reused by imx6 and imx7 Signed-off-by: Adrian Alonso <aalo...@freescale.com> --- Changes for V2: Rework for common sys_proto header file Changes for V3: Resend arch/arm/cpu/armv7/mx6/soc.c| 14 -- arch/arm/imx-common/

[U-Boot] [PATCH v2 11/13] thermal: imx: add imx7d soc thermal support

2015-09-02 Thread Adrian Alonso
Add imx7 SoC thermal driver support Signed-off-by: Adrian Alonso <aalo...@freescale.com> --- Changes for V2: Fix build error for missin macro check ;P Changes for V3: Resend Changes for V4: Resend drivers/thermal/imx_thermal.c | 90 --- 1 file chang

[U-Boot] [PATCH v2 08/13] imx: imx7d: Add SoC system support

2015-09-02 Thread Adrian Alonso
Add imx7d basic SoC system support Misc arch dependent functions for system bring up Signed-off-by: Adrian Alonso <aalo...@freescale.com> Signed-off-by: Peng Fan <peng@freescale.com> Signed-off-by: Ye.Li <b37...@freescale.com> --- Changes for V2: Split from patch imx: i

[U-Boot] [PATCH v2 04/13] arm: imx: imx-common: init: move arch init common setup

2015-09-02 Thread Adrian Alonso
Move common imx6 arch init setup, init.c can be extended and reused to support imx7 SoC keeping init arch common code. Signed-off-by: Adrian Alonso <aalo...@freescale.com> --- Changes for V2: Resend Changes for V3: Resend arch/arm/cpu/armv7/mx6/soc.c

[U-Boot] [PATCH v2 01/13] imx: arch-mx6: add is_soc_type helper macro

2015-09-02 Thread Adrian Alonso
Add helper macro is_soc_type to identify iMX SoC family Signed-off-by: Adrian Alonso <aalo...@freescale.com> --- Changes for V2: Rework for common sys_proto header file Changes for V3: Rework for latest master arch/arm/include/asm/arch-imx/cpu.h | 2 ++ arch/arm/include/asm/imx-

[U-Boot] [PATCH v2 05/13] imx: system counter driver for imx7d and mx6ul

2015-09-02 Thread Adrian Alonso
Add system counter driver for imx7d and mx6ul imx7 and imx6ul supports system counter timer as well as GPT timer (arch/arm/imx-common/timer.c); The default for imx7 is systemcounter timer. Signed-off-by: Ye.Li <b37...@freescale.com> Signed-off-by: Adrian Alonso <aalo...@freescale.com>

[U-Boot] [PATCH v2 09/13] arm: imx-common: init: extend init_aips to support imx7

2015-09-02 Thread Adrian Alonso
Extend init_aips to support imx7 SoC, use is_soc_type and is_cpu_type to resolve at run time aips3 settings Signed-off-by: Adrian Alonso <aalo...@freescale.com> --- Changes for V2: Resend Changes for V3: Resend arch/arm/imx-common/init.c | 44

[U-Boot] [PATCH v2 02/13] thermal: imx_thermal: rework driver to be reused

2015-09-02 Thread Adrian Alonso
Rework imx_thermal driver to be used across i.MX processor that support thermal sensor Signed-off-by: Adrian Alonso <aalo...@freescale.com> Signed-off-by: Peng Fan <peng@freescale.com> --- Changes for V2: Rename read_cpu_temperature to read_cpu_temperature_mx6 use is_so

[U-Boot] [PATCH v2 03/13] arm: imx: common rework cache settings for imx6

2015-09-02 Thread Adrian Alonso
Rework cache settings for imx6, move cache configuration to imx-common/cache.c so it can be reused for newer SoC Signed-off-by: Adrian Alonso <aalo...@freescale.com> --- Changes for V2: Resend Changes for V3: Resend arch/arm/cpu/armv7/mx6/soc.c

[U-Boot] [PATCH 01/13] imx: arch-mx6: add is_soc_type helper macro

2015-09-01 Thread Adrian Alonso
Add helper macro is_soc_type to identify iMX SoC family Signed-off-by: Adrian Alonso <aalo...@freescale.com> --- Changes for V2: Rework for common sys_proto header file arch/arm/include/asm/arch-imx/cpu.h | 2 ++ arch/arm/include/asm/imx-common/sys_proto.h | 3 +++ 2 files chan

  1   2   >