From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-pg0-x241.google.com ([2607:f8b0:400e:c05::241]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1daPDz-0002Tj-RN for barebox@lists.infradead.org; Wed, 26 Jul 2017 16:31:53 +0000 Received: by mail-pg0-x241.google.com with SMTP id 125so4350542pgi.5 for ; Wed, 26 Jul 2017 09:31:31 -0700 (PDT) From: Andrey Smirnov Date: Wed, 26 Jul 2017 09:31:09 -0700 Message-Id: <20170726163120.25952-1-andrew.smirnov@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH v2 00/11] i.MX7 SabreSD support To: barebox@lists.infradead.org Cc: Andrey Smirnov Hi everyone, This is a v2 of the patch series to add support for NXP's i.MX7 SabreSD board. It's most likely lacking some advanced features, but basics such as SD card, Ethernet and, of course, booting Linux seem to work OK. The patchset is updated to use defenitions from Uwe's most recent submission ("ARM: i.MX7: provide DDR register definitions") so this series has that as a dependency. Patch 1/9 contains a fix for a pretty serious screw-up on my part, so I think it should be applied to master as well. Also, note, that for a reason I haven't been able to track down yet, compiling Barebox + this patchset without support for FEC will cause upstream kernel (at least 4.12-rc1) to hang during boot while trying to access FEC's register file. I suspect clock initialization issue, but, as I said, I did not find that out conclusively. Anyway, as usual, any feedback is wellcome. Thanks, Andrey Smirnov Changes since [v1]: - Convert GPIO fix to use (val & mask) == mask idom for all bit fields - Add a patch simplifying code of gpio_request_gpio() - Move PHY_ID constant to a separate file - Make sure that all board init code is placed behing appropriated of_compatible guard - Reference the source of DCD data - Add minor changes (help text, adherence to alphabetical order, etc.) [v1] http://lists.infradead.org/pipermail/barebox/2017-July/030782.html Andrey Smirnov (11): gpiolib: Fix buggy flag detection code gpiolib: Simplify code of gpio_request_one() clk: i.MX7: Remove unused UART clocks array ARM: i.MX: Import mx7d_pins.h from U-Boot ARM: i.MX: Add mx7_setup_pad() ARM: i.MX: Add imx7_uart_setup_ll() ARM: i.MX: Add minimal imx7-ccm-regs.h ARM: i.MX: Add ARCH_HAD_FEC_IMX to ARCH_IMX7 ARM: i.MX: Import imx7-iomuxc-gpr.h from Linux kernel include: Add phy-id-list.h ARM: i.MX: Add support for NXP i.MX7 SABRESD board arch/arm/boards/Makefile | 1 + arch/arm/boards/freescale-mx7-sabresd/Makefile | 2 + arch/arm/boards/freescale-mx7-sabresd/board.c | 58 + .../flash-header-mx7-sabresd.imxcfg | 82 ++ arch/arm/boards/freescale-mx7-sabresd/lowlevel.c | 46 + arch/arm/dts/Makefile | 2 +- arch/arm/dts/imx7d-sdb.dts | 70 ++ arch/arm/mach-imx/Kconfig | 13 + arch/arm/mach-imx/include/mach/debug_ll.h | 7 + arch/arm/mach-imx/include/mach/imx7-ccm-regs.h | 32 + arch/arm/mach-imx/include/mach/iomux-mx7.h | 1328 ++++++++++++++++++++ arch/arm/mach-imx/include/mach/iomux-v3.h | 1 + drivers/clk/imx/clk-imx7.c | 11 - drivers/gpio/gpiolib.c | 35 +- images/Makefile.imx | 5 + include/mfd/imx7-iomuxc-gpr.h | 51 + include/phy-id-list.h | 12 + 17 files changed, 1727 insertions(+), 29 deletions(-) create mode 100644 arch/arm/boards/freescale-mx7-sabresd/Makefile create mode 100644 arch/arm/boards/freescale-mx7-sabresd/board.c create mode 100644 arch/arm/boards/freescale-mx7-sabresd/flash-header-mx7-sabresd.imxcfg create mode 100644 arch/arm/boards/freescale-mx7-sabresd/lowlevel.c create mode 100644 arch/arm/dts/imx7d-sdb.dts create mode 100644 arch/arm/mach-imx/include/mach/imx7-ccm-regs.h create mode 100644 arch/arm/mach-imx/include/mach/iomux-mx7.h create mode 100644 include/mfd/imx7-iomuxc-gpr.h create mode 100644 include/phy-id-list.h -- 2.13.3 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox