
add support for the imx6 based aristainetos board.
- changes for v2: - added comments from Jagan Teki and Stefano Babic - remove patch http://patchwork.ozlabs.org/patch/353324/ - new patches in v2 imx6: add gpr2 usb_otg_id iomux select control define (as patch http://patchwork.ozlabs.org/patch/353324/ is removed in v2) i.MX6: define struct pwm_regs and PWMCR_* defines (as splash screen support added for this board)
- changes for v3 - remove patch http://patchwork.ozlabs.org/patch/369530/ from this patchserie, as Jagannadha Sutradharudu Teki applied it to u-boot-spi/master
- new patch: spi: add config option to enable the WP pin function on st micron flashes as Stefano Babic suggested to move this to common code
- new patch: pwm, imx6: add support for pwm modul on imx6 as Stefano Babic suggested to move this to common code
- changes for v4: - pwm, imx6: add support for pwm modul on imx6 patch - add Acked-by from Stefano Babic - add in the commit message the commit ID from linux on which pieces of the code is based. - add comment from Wolfgang Denk: - move code which is based from linux into a seperate new file drivers/pwm/pwm-imx-util.c, so this can be with the GPL-2.0 license, and the code not taken from linux can be in GPL-2.0+ - arm-imx6-add-aristainetos-board.patch - add comment from Stefano Babic: - remove board_late_init() - remove unnecessary ifdef in board config file
Cc: Jagannadha Sutradharudu Teki jagannadh.teki@gmail.com Cc: Stefano Babic sbabic@denx.de
Heiko Schocher (6): imx6: add gpr2 usb_otg_id iomux select control define i.MX6: define struct pwm_regs and PWMCR_* defines pwm, imx6: add support for pwm modul on imx6 i.MX6: add enable_spi_clk() spi: add config option to enable the WP pin function on st micron flashes arm, imx6: add aristainetos board
README | 15 + arch/arm/cpu/armv7/mx6/clock.c | 18 ++ arch/arm/include/asm/arch-mx6/clock.h | 1 + arch/arm/include/asm/arch-mx6/imx-regs.h | 19 ++ board/aristainetos/Makefile | 9 + board/aristainetos/aristainetos.c | 519 +++++++++++++++++++++++++++++++ board/aristainetos/aristainetos.cfg | 33 ++ board/aristainetos/clocks.cfg | 24 ++ board/aristainetos/ddr-setup.cfg | 61 ++++ board/aristainetos/mt41j128M.cfg | 70 +++++ boards.cfg | 1 + drivers/Makefile | 1 + drivers/mtd/spi/sf_internal.h | 4 + drivers/mtd/spi/sf_probe.c | 30 ++ drivers/pwm/Makefile | 13 + drivers/pwm/pwm-imx-util.c | 73 +++++ drivers/pwm/pwm-imx-util.h | 16 + drivers/pwm/pwm-imx.c | 59 ++++ include/configs/aristainetos.h | 325 +++++++++++++++++++ 19 files changed, 1291 insertions(+) create mode 100644 board/aristainetos/Makefile create mode 100644 board/aristainetos/aristainetos.c create mode 100644 board/aristainetos/aristainetos.cfg create mode 100644 board/aristainetos/clocks.cfg create mode 100644 board/aristainetos/ddr-setup.cfg create mode 100644 board/aristainetos/mt41j128M.cfg create mode 100644 drivers/pwm/Makefile create mode 100644 drivers/pwm/pwm-imx-util.c create mode 100644 drivers/pwm/pwm-imx-util.h create mode 100644 drivers/pwm/pwm-imx.c create mode 100644 include/configs/aristainetos.h