Fix incorrect parametr in CMD_CHECK_BITS_CLR command
Pass CLR parameter to DCD header for CMD_CHECK_BITS_CLR
Signed-off-by: Adrian Alonso
---
tools/imximage.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/imximage.c b/tools/imximage.c
index 7c21922..092d550 100644
Add secure boot fuse details (location) bank = 0, word = 6;
for imx6 SoC platforms.
Signed-off-by: Adrian Alonso
---
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/soc.c b/arch/arm/cpu/armv7
Add secure boot support for mx7dsabresd target board
Signed-off-by: Adrian Alonso
---
Changes for V2: Resend
Changes for V3: Resend
board/freescale/mx7dsabresd/imximage.cfg | 7 +++
include/configs/mx7dsabresd.h| 4
2 files changed, 11 insertions(+)
diff --git a/board
Rework unified section macro select via Kconfig option
instead of macro definition in mx7_common header file.
Signed-off-by: Adrian Alonso
---
Changes for V3: New patch in series
arch/arm/cpu/armv7/mx7/Kconfig | 2 ++
include/configs/mx7_common.h | 1 -
2 files changed, 2 insertions(+), 1
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
---
Changes for V3: New patch in series
arch/arm/include/asm/imx-common/hab.h | 9 +
1 file changed, 9 insertions(+)
diff --git a/arch/arm/include
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
---
Changes for V2:
- Split from original patch to track mx7 change set
hab: rework support for imx6/imx7
Changes for V3:
- Add helper macro to identify if secure
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
---
Changes for V2: New patch in series
Changes for V3:
- Add
Use read_fuse api fuction call to read secure boot fuse
settings (enabled/disabled).
Signed-off-by: Adrian Alonso
---
Changes for V3: New patch in series
arch/arm/imx-common/hab.c | 17 -
1 file changed, 12 insertions(+), 5 deletions(-)
diff --git a/arch/arm/imx-common/hab.c b
Add secure boot fuse details (location) bank = 1, word = 3;
for imx7 SoC platforms.
Signed-off-by: Adrian Alonso
---
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/soc.c b/arch/arm/cpu/armv7
Move common chip revision id's to main cpu header file
mx25 generic include cpu header for chip revision
Signed-off-by: Adrian Alonso
---
Chages for V2: Resend
Chages for V3: Resend
arch/arm/cpu/arm926ejs/mx25/generic.c | 1 +
arch/arm/include/asm/arch-imx/cpu.h
Rework secure boot support for imx6, move existing hab support
for imx6 into imx-common for SoC reuse.
Signed-off-by: Adrian Alonso
---
Changes for V2: Split patch
- Move existing hab mx6 into common location
- Update include hab header location
Changes for V3:
- Fix commit log message, to
Add mx7 secure boot support, reuse existing mx6 hab
Signed-off-by: Adrian Alonso
---
Changes for V2:
- Split from original patch to track mx7 change set
hab: rework support for imx6/imx7
arch/arm/imx-common/hab.c | 19 ---
1 file changed, 16 insertions(+), 3 deletions
Add secure boot support for mx7dsabresd target board
Signed-off-by: Adrian Alonso
---
Changes for V2: Resend
board/freescale/mx7dsabresd/imximage.cfg | 7 +++
include/configs/mx7dsabresd.h| 4
2 files changed, 11 insertions(+)
diff --git a/board/freescale/mx7dsabresd
Move common chip revision id's to main cpu header file
mx25 generic include cpu header for chip revision
Signed-off-by: Adrian Alonso
---
Chages for V2: Resend
arch/arm/cpu/arm926ejs/mx25/generic.c | 1 +
arch/arm/include/asm/arch-imx/cpu.h | 12
arch/arm/includ
Rework secure boot support for imx6 and imx7
Move existing hab support for imx6 into imx-common for SoC
reuse.
Signed-off-by: Adrian Alonso
---
Changes for V2: Split patch
- Move existing hab mx6 into common location
- Update include hab header location
arch/arm/cpu/armv7/mx6/Makefile
Add CONFIG_ROM_UNIFIED_SECTIONS for mx6sx and mx6ul
target platforms to resolve corresponding HAB_RVT_BASE
Signed-off-by: Adrian Alonso
---
Chages for V2: New patch in series
arch/arm/include/asm/imx-common/hab.h | 2 +-
include/configs/mx6_common.h | 4
2 files changed, 5
Signed-off-by: Adrian Alonso
---
arch/arm/cpu/armv7/mx6/Makefile | 1 -
arch/arm/cpu/armv7/mx6/hab.c| 502 ---
arch/arm/imx-common/Makefile| 1 +
arch/arm/imx-common/hab.c | 515
include/imx_hab.h
Move common chip revision id's to main cpu header file
mx25 generic include cpu header for chip revision
Signed-off-by: Adrian Alonso
---
arch/arm/cpu/arm926ejs/mx25/generic.c | 1 +
arch/arm/include/asm/arch-imx/cpu.h | 12
arch/arm/include/asm/arch-mx25/imx-regs.h
Add secure boot support for mx7dsabresd target board
Signed-off-by: Adrian Alonso
---
board/freescale/mx7dsabresd/imximage.cfg | 7 +++
include/configs/mx7dsabresd.h| 4
2 files changed, 11 insertions(+)
diff --git a/board/freescale/mx7dsabresd/imximage.cfg
b/board
* Add i.MX7D SABRESD target board support with enabled modules:
UART, PMIC, USB/OTG, SD, eMMC, ENET, I2C, 74LV IOX.
Build target: mx7dsabresd_config
Signed-off-by: Peng Fan
Signed-off-by: Fugang Duan
Signed-off-by: Ye.Li
Signed-off-by: Adrian Alonso
---
Changes for V2:
- Include arch/arm
Add imx-common cpu support for imx7d SoC
- Update reset_cause for imx7d
- Enable watchdog driver built for imx7d
Signed-off-by: Adrian Alonso
Signed-off-by: Peng Fan
---
Changes for V2: Split patch to easier review process
- Add system arch register definitions
Changes for V3: Resend
Changes
* Add i.MX7D SABRESD target board support with enabled modules:
UART, PMIC, USB/OTG, SD, eMMC, ENET, I2C, 74LV IOX.
Build target: mx7dsabresd_config
Signed-off-by: Peng Fan
Signed-off-by: Fugang Duan
Signed-off-by: Ye.Li
Signed-off-by: Adrian Alonso
---
Changes for V2:
- Include arch/arm
Add imx7d basic SoC system support
Misc arch dependent functions for system bring up
Signed-off-by: Adrian Alonso
Signed-off-by: Peng Fan
Signed-off-by: Ye.Li
---
Changes for V2: Split from patch imx: imx7d: initial arch level support
Changes for V3 - V5: Resend
Changes for V6:
- Remove
Add imx7 SoC thermal driver support
Signed-off-by: Adrian Alonso
---
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 changed, 84 insertions(+), 6
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
Signed-off-by: Peng Fan
Signed-off-by: Ye.Li
---
Changes for V2 - V8: Resend
arch/arm/cpu
Rework imx_set_wdog_powerdown to be reused by imx6 and imx7
Signed-off-by: Adrian Alonso
---
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/init.c | 21
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
---
Changes for V2: Resend
Changes for V3: Resend
arch/arm/imx-common/init.c | 44
1 file changed, 20 insertions
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
Signed-off-by: Adrian Alonso
---
Changes for V2 to V5: Resend
Changes for V6
Add helper macro is_soc_type to identify iMX SoC family
Signed-off-by: Adrian Alonso
---
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-common/sys_proto.h | 3 +++
2
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
---
Changes for V2: Resend
Changes for V3: Resend
arch/arm/cpu/armv7/mx6/soc.c| 87
arch/arm/imx-common
Rework imx_thermal driver to be used across i.MX
processor that support thermal sensor
Signed-off-by: Adrian Alonso
Signed-off-by: Peng Fan
---
Changes for V2:
Rename read_cpu_temperature to read_cpu_temperature_mx6 use is_soc_type macro
to identify iMX SoC family to call the correspondind
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
---
Changes for V2: Resend
Changes for V3: Resend
arch/arm/cpu/armv7/mx6/soc.c | 95 ---
arch/arm/imx-common
Add imx7 SoC thermal driver support
Signed-off-by: Adrian Alonso
---
Changes for V2: Fix build error for missin macro check ;P
Changes for V3: Resend
drivers/thermal/imx_thermal.c | 90 ---
1 file changed, 84 insertions(+), 6 deletions(-)
diff --git a
* Add i.MX7D SABRESD target board support with enabled modules:
UART, PMIC, USB/OTG, SD, eMMC, ENET, I2C, 74LV IOX.
Build target: mx7dsabresd_config
Signed-off-by: Peng Fan
Signed-off-by: Fugang Duan
Signed-off-by: Ye.Li
Signed-off-by: Adrian Alonso
---
Changes for V2:
- Include arch/arm
Add imx-common cpu support for imx7d SoC
- Update reset_cause for imx7d
- Enable watchdog driver built for imx7d
Signed-off-by: Adrian Alonso
Signed-off-by: Peng Fan
---
Changes for V2: Split patch to easier review process
- Add system arch register definitions
Changes for V3: Resend
Changes
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
---
Changes for V2: Resend
arch/arm/imx-common/init.c | 44
1 file changed, 20 insertions(+), 24 deletions
Rework imx_set_wdog_powerdown to be reused by imx6 and imx7
Signed-off-by: Adrian Alonso
---
Changes for V2:
Rework for common sys_proto header file
arch/arm/cpu/armv7/mx6/soc.c| 14 --
arch/arm/imx-common/init.c | 21 +
arch/arm
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
---
Changes for V2: Resend
arch/arm/cpu/armv7/mx6/soc.c | 95 ---
arch/arm/imx-common/Makefile | 1 +
arch/arm
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
Signed-off-by: Peng Fan
Signed-off-by: Ye.Li
---
Changes for V2 - V7: Resend
arch/arm/cpu
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
Signed-off-by: Adrian Alonso
---
Changes for V2 to V5: Resend
Changes for V6
Add imx7d basic SoC system support
Misc arch dependent functions for system bring up
Signed-off-by: Adrian Alonso
Signed-off-by: Peng Fan
Signed-off-by: Ye.Li
---
Changes for V2: Split from patch imx: imx7d: initial arch level support
Changes for V3 - V5: Resend
Changes for V6:
- Remove
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
---
Changes for V2: Resend
arch/arm/cpu/armv7/mx6/soc.c| 87
arch/arm/imx-common/Makefile
Rework imx_thermal driver to be used across i.MX
processor that support thermal sensor
Signed-off-by: Adrian Alonso
Signed-off-by: Peng Fan
---
Changes for V2:
Rename read_cpu_temperature to read_cpu_temperature_mx6 use is_soc_type macro
to identify iMX SoC family to call the correspondind
Add helper macro is_soc_type to identify iMX SoC family
Signed-off-by: Adrian Alonso
---
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 changed, 5 insertions(+)
diff --git
Add imx7 SoC thermal driver support
Signed-off-by: Adrian Alonso
---
Changes for V2: Fix build error for missin macro check ;P
drivers/thermal/imx_thermal.c | 86 ---
1 file changed, 81 insertions(+), 5 deletions(-)
diff --git a/drivers/thermal
* Add i.MX7D SABRESD target board support with enabled modules:
UART, PMIC, USB/OTG, SD, eMMC, ENET, I2C, 74LV IOX.
Build target: mx7dsabresd_config
Signed-off-by: Peng Fan
Signed-off-by: Fugang Duan
Signed-off-by: Ye.Li
Signed-off-by: Adrian Alonso
---
Changes for V2:
- Include arch/arm
Add imx7 SoC thermal driver support
Signed-off-by: Adrian Alonso
---
drivers/thermal/imx_thermal.c | 86 ---
1 file changed, 81 insertions(+), 5 deletions(-)
diff --git a/drivers/thermal/imx_thermal.c b/drivers/thermal/imx_thermal.c
index 7848dc3
Add imx-common cpu support for imx7d SoC
- Update reset_cause for imx7d
- Enable watchdog driver built for imx7d
Signed-off-by: Adrian Alonso
Signed-off-by: Peng Fan
Signed-off-by: Ye.Li
---
Changes for V2: Split patch to easier review process
- Add system arch register definitions
Changes for
Add imx7d basic SoC system support
Misc arch dependent functions for system bring up
Signed-off-by: Adrian Alonso
Signed-off-by: Peng Fan
Signed-off-by: Ye.Li
---
Changes for V2: Split from patch imx: imx7d: initial arch level support
Changes for V3: Resend
Changes for V4: Resend
Changes for
Rework imx_set_wdog_powerdown to be reused by imx6 and imx7
wdog4 is only supported in imx7.
Signed-off-by: Adrian Alonso
---
arch/arm/cpu/armv7/mx6/soc.c | 14 --
arch/arm/imx-common/init.c| 22 ++
arch/arm/include/asm/arch-mx6
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
---
arch/arm/imx-common/init.c | 44
1 file changed, 20 insertions(+), 24 deletions(-)
diff --git a/arch/arm/imx
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
---
Changes for V2: Move back mx6 ldo related to functions into soc.c
Apply patch on top of:
arm: imx: common rework cache settings for imx6
arch
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
---
arch/arm/cpu/armv7/mx6/soc.c | 95 ---
arch/arm/imx-common/Makefile | 1 +
arch/arm/imx-common/cache.c | 103
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
---
Apply patch on top of:
arm: imx: common rework cache settings for imx6
arch/arm/cpu/armv7/mx6/soc.c | 274
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
Signed-off-by: Ye.Li
---
Changes for V2 to V5: Resend
Changes for V6
Rework imx_thermal driver to be used across i.MX
processor that support thermal sensor
Signed-off-by: Adrian Alonso
Signed-off-by: Peng Fan
---
Changes for V2:
Rename read_cpu_temperature to read_cpu_temperature_mx6 use
is_soc_type macro to identify iMX SoC family to call the
correspondind
Add helper macro is_soc_type to identify iMX SoC family
Signed-off-by: Adrian Alonso
---
arch/arm/include/asm/arch-imx/cpu.h | 2 ++
arch/arm/include/asm/arch-mx6/sys_proto.h | 3 +++
2 files changed, 5 insertions(+)
diff --git a/arch/arm/include/asm/arch-imx/cpu.h
b/arch/arm/include
Add helper macro is_soc_type to identify iMX SoC family
Signed-off-by: Adrian Alonso
---
arch/arm/include/asm/arch-imx/cpu.h | 2 ++
arch/arm/include/asm/arch-mx6/sys_proto.h | 3 +++
2 files changed, 5 insertions(+)
diff --git a/arch/arm/include/asm/arch-imx/cpu.h
b/arch/arm/include
- 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
Signed-off-by: Peng Fan
---
arch/arm/cpu/armv7/mx6/soc.c | 86 +++-
arch/arm/imx-common/cpu.c
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
Signed-off-by: Fugang Duan
Signed-off-by: Ye.Li
---
Changes for V2:
- Update commit log information
Changes for V3: Resend
Changes
* Add i.MX7D SABRESD target board support with enabled modules:
UART, PMIC, USB/OTG, SD, eMMC, ENET, I2C, 74LV IOX.
Build target: mx7dsabresd_config
Signed-off-by: Peng Fan
Signed-off-by: Fugang Duan
Signed-off-by: Ye.Li
Signed-off-by: Adrian Alonso
---
Changes for V2:
- Include arch/arm
* Add imx-common cpu support for imx7d SoC
* Update reset_cause for imx7d
* Enable watchdog driver built for imx7d
Signed-off-by: Ye.Li
Signed-off-by: Peng Fan
Signed-off-by: Adrian Alonso
---
Changes for V2: Split from patch imx: imx7d: initial arch level support
Changes for V3: Resend
: Ye.Li
Signed-off-by: Peng Fan
Signed-off-by: Adrian Alonso
---
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
arch/arm/cpu/armv7/mx7/Makefile | 9 ++
arch/arm/cpu/
* Add timer support for imx7d SoC
Signed-off-by: Ye.Li
Signed-off-by: Peng Fan
Signed-off-by: Adrian Alonso
---
Changes for V2: Split from patch imx: imx7d: initial arch level support
Changes for V3: Resend
Changes for V4: Resend
Changes for V5:
- Add Signed-off's
- Rework patch to be ap
* 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
Signed-off-by: Peng Fan
Signed-off-by: Ye.Li
* Add mxc_gpio support for imx7d SoC
* Use CONFIG_MX7 to extend mxc gpio driver support for imx7d
Signed-off-by: Peng Fan
Signed-off-by: Adrian Alonso
---
Changes for V2: Resend
Changes for V3: Resend
Changes for V4: Resend
Changes for V5: Resend
arch/arm/include/asm/arch-mx7/gpio.h | 12
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
Signed-off-by: Peng Fan
Signed-off-by: Ye.Li
---
Changes for V2: Split from patch imx: imx7d
: CONFIG_SYSCOUNTER_TIMER
For mx6dqp GPT timer is the default setting.
Signed-off-by: Adrian Alonso
Signed-off-by: Ye.Li
---
Changes for V2: Resend
Changes for V3: Resend
Changes for V4: Resend
Changes for V5: Resend
arch/arm/imx-common/syscounter.c | 126
* Ocotp of i.MX7D has different operation rule.
This patch is to add support for i.MX7D ocotp.
Signed-off-by: Adrian Alonso
Signed-off-by: Peng Fan
Signed-off-by: Ye.Li
---
Changes for V2: Resend
Changes for V3: Resend
Changes for V4: Resend
Changes for V5: Resend
drivers/misc/mxc_ocotp.c
* 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
Signed-off-by: Peng Fan
---
Changes for V2:
- Rework patch so it can be applyed on top of patch
imx6: standardise OCOTP and fuse
* Add pmic pfuze3000 support, implement power_pfuze3000_init to be
used in power_init_board callback function.
Signed-off-by: Adrian Alonso
Signed-off-by: Peng Fan
---
Changes for V2:
- Correct pfuze device name to pfuze3000; Freescale documentation uses
Pfuze 3000 as product name for the
Add wait_for_bit to check reg bit status and replace unbounded
loops to check usb command status
Signed-off-by: Adrian Alonso
---
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
imx: usb: ehci-mx6
Extend ehci-mx6 usb driver to support imx7d usb
Signed-off-by: Adrian Alonso
---
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/host/ehci-mx6.c | 100
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
---
Changes for V2:
Split from patch imx: usb: ehci-mx6: add usb support for imx7d
Cleanup read/write register access, use clr/set bits_le32
Signed-off-by: Adrian Alonso
---
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 -
1 file changed
Cleanup read/write register access, use clr/set bits_le32
Signed-off-by: Adrian Alonso
---
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 insertions(+), 33
Extend ehci-mx6 usb driver to support imx7d usb
Signed-off-by: Adrian Alonso
---
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 -
2 files
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
---
Changes for V2:
Split from patch imx: usb: ehci-mx6: add usb support for imx7d
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
Signed-off-by: Fugang Duan
Signed-off-by: Ye.Li
---
Changes for V2:
- Update commit log information
Changes for V3: Resend
Changes
* Add i.MX7D SABRESD target board support with enabled modules:
UART, PMIC, USB/OTG, SD, eMMC, ENET, I2C, 74LV IOX.
Build target: mx7dsabresd_config
Signed-off-by: Peng Fan
Signed-off-by: Fugang Duan
Signed-off-by: Ye.Li
Signed-off-by: Adrian Alonso
---
Changes for V2:
- Include arch/arm
* Add imx-common cpu support for imx7d SoC
* Update reset_cause for imx7d
* Enable watchdog driver built for imx7d
Signed-off-by: Adrian Alonso
---
Changes for V2: Split from patch imx: imx7d: initial arch level support
Changes for V3: Resend
Changes for V4: Resend
arch/arm/Makefile
: CONFIG_SYSCOUNTER_TIMER
For mx6dqp GPT timer is the default setting.
Signed-off-by: Adrian Alonso
Signed-off-by: Ye.Li
---
Changes for V2: Resend
Changes for V3: Resend
Changes for V4: Resend
arch/arm/imx-common/syscounter.c | 126 +++
arch/arm/include/asm
* 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
Signed-off-by: Peng Fan
Signed-off-by: Ye.Li
: Adrian Alonso
---
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/include/asm/arch-mx7/hab.h
* Add timer support for imx7d SoC
Signed-off-by: Adrian Alonso
---
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(-)
diff --git a/arch
* 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
Signed-off-by: Peng Fan
---
Changes for V2:
- Rework patch so it can be applyed on top of patch
imx6: standardise OCOTP and fuse
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
Signed-off-by: Peng Fan
Signed-off-by: Ye.Li
---
Changes for V2: Split from patch imx: imx7d
* Ocotp of i.MX7D has different operation rule.
This patch is to add support for i.MX7D ocotp.
Signed-off-by: Adrian Alonso
Signed-off-by: Peng Fan
Signed-off-by: Ye.Li
---
Changes for V2: Resend
Changes for V3: Resend
Changes for V4: Resend
drivers/misc/mxc_ocotp.c | 74
* Add mxc_gpio support for imx7d SoC
* Use CONFIG_MX7 to extend mxc gpio driver support for imx7d
Signed-off-by: Peng Fan
Signed-off-by: Adrian Alonso
---
Changes for V2: Resend
Changes for V3: Resend
Changes for V4: Resend
arch/arm/include/asm/arch-mx7/gpio.h | 12
drivers/gpio
* Add pmic pfuze3000 support, implement power_pfuze3000_init to be
used in power_init_board callback function.
Signed-off-by: Adrian Alonso
Signed-off-by: Peng Fan
---
Changes for V2:
- Correct pfuze device name to pfuze3000; Freescale documentation uses
Pfuze 3000 as product name for the
Extend ehci-mx6 usb driver to support imx7d usb
Signed-off-by: Adrian Alonso
---
drivers/usb/host/Makefile | 1 +
drivers/usb/host/ehci-mx6.c | 125
2 files changed, 92 insertions(+), 34 deletions(-)
diff --git a/drivers/usb/host/Makefile b
Add support for usb driver for i.MX7D SoC
Signed-off-by: Adrian Alonso
Signed-off-by: Ye.Li
Signed-off-by: Peng Fan
---
Changes for V2: Resend
Changes for V3:
- Integrate review obserbations
- Add comments for fucntions board_ehci_hcd_init/board_ehci_power
Changes for V4:
- Follow kernel doc
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
Signed-off-by: Fugang Duan
Signed-off-by: Ye.Li
---
Changes for V2:
- Update commit log information
Changes for V3: Resend
arch
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
Signed-off-by: Peng Fan
Signed-off-by: Ye.Li
---
Changes for V2: Split from patch imx: imx7d
* Add i.MX7D SABRESD target board support with enabled modules:
UART, PMIC, USB/OTG, SD, eMMC, ENET, I2C, 74LV IOX.
Build target: mx7dsabresd_config
Signed-off-by: Peng Fan
Signed-off-by: Fugang Duan
Signed-off-by: Ye.Li
Signed-off-by: Adrian Alonso
---
Changes for V2:
- Include arch/arm
* Add timer support for imx7d SoC
Signed-off-by: Adrian Alonso
---
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/arm/imx-common/timer.c
* Add imx-common cpu support for imx7d SoC
* Update reset_cause for imx7d
* Enable watchdog driver built for imx7d
Signed-off-by: Adrian Alonso
---
Changes for V2: Split from patch imx: imx7d: initial arch level support
Changes for V3: Resend
arch/arm/Makefile| 4 ++--
arch/arm
: Adrian Alonso
---
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 | 69 +
3
* 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
Signed-off-by: Peng Fan
---
Changes for V2:
- Rework patch so it can be applyed on top of patch
imx6: standardise OCOTP and fuse
: CONFIG_SYSCOUNTER_TIMER
For mx6dqp GPT timer is the default setting.
Signed-off-by: Adrian Alonso
Signed-off-by: Ye.Li
---
Changes for V2: Resend
Changes for V3: Resend
arch/arm/imx-common/syscounter.c | 126 +++
arch/arm/include/asm/imx-common/syscounter.h
1 - 100 of 130 matches
Mail list logo