[PATCH] MXS: Add device tree support and duckbill board support

Sascha Hauer s.hauer at pengutronix.de
Tue Jan 27 23:32:04 PST 2015


This series adds device tree support for MXS:

- Add device tree support for MXS specific drivers (debug UART, SD/MMC,
  OCOTP)
- Make sure SoC platform_devices are not registered when a device tree
  is present
- Add a pinctrl driver for MXS
- Turn GPIO support into a driver to make GPIO bindings via device tree
  possible

As a first user for the device tree support the I2SE duckbill board
is added.

Sascha

----------------------------------------------------------------
Sascha Hauer (15):
      ARM: MXS: Fix vddd brownout setting
      MXS: power-init: inline only once used functions
      ARM: MXS: Do not register devices with device tree support
      ARM: MXS: Make gpio a driver
      mci: mxs: Add devicetree support
      serial: stm_serial: Add devicetree support
      ARM: MXS: Create ocotp device in SoC code
      ARM: MXS: ocotp: Add devicetree support
      of: Create platform_device when creating AMBA device failed
      pbl: Add support for memory_display
      pinctrl: Add MXS pinctrl driver
      ARM: MXS: Setup vdda in power prep
      ARM: MXS: Add regulator debug print
      ARM: MXS: power-init: Add parameters to mx28_power_init()
      ARM: MXS: Add duckbill board support

 arch/arm/Kconfig                                 |   1 +
 arch/arm/boards/Makefile                         |   1 +
 arch/arm/boards/crystalfontz-cfa10036/cfa10036.c |   3 -
 arch/arm/boards/duckbill/Makefile                |   2 +
 arch/arm/boards/duckbill/board.c                 |  82 +++++++
 arch/arm/boards/duckbill/lowlevel.c              |  73 ++++++
 arch/arm/boards/freescale-mx28-evk/lowlevel.c    |   2 +-
 arch/arm/boards/freescale-mx28-evk/mx28-evk.c    |   2 -
 arch/arm/boards/karo-tx28/lowlevel.c             |   2 +-
 arch/arm/boards/karo-tx28/tx28-stk5.c            |   3 -
 arch/arm/configs/duckbill_defconfig              | 100 ++++++++
 arch/arm/dts/Makefile                            |   1 +
 arch/arm/dts/imx28-duckbill.dts                  |  15 ++
 arch/arm/mach-mxs/Kconfig                        |   8 +
 arch/arm/mach-mxs/include/mach/init.h            |   8 +-
 arch/arm/mach-mxs/iomux-imx.c                    |  60 -----
 arch/arm/mach-mxs/mem-init.c                     |  15 --
 arch/arm/mach-mxs/ocotp.c                        |   9 +
 arch/arm/mach-mxs/power-init.c                   | 277 +++++++++++++----------
 arch/arm/mach-mxs/soc-imx23.c                    |   6 +
 arch/arm/mach-mxs/soc-imx28.c                    |   9 +
 common/Makefile                                  |   1 +
 drivers/gpio/Kconfig                             |   3 +
 drivers/gpio/Makefile                            |   1 +
 drivers/gpio/gpio-mxs.c                          | 186 +++++++++++++++
 drivers/mci/mxs.c                                |  50 ++--
 drivers/of/platform.c                            |   4 +-
 drivers/pinctrl/Kconfig                          |   7 +
 drivers/pinctrl/Makefile                         |   1 +
 drivers/pinctrl/pinctrl-mxs.c                    | 171 ++++++++++++++
 drivers/serial/stm-serial.c                      |   9 +
 images/Makefile.mxs                              |  10 +
 pbl/console.c                                    |  10 +
 33 files changed, 899 insertions(+), 233 deletions(-)
 create mode 100644 arch/arm/boards/duckbill/Makefile
 create mode 100644 arch/arm/boards/duckbill/board.c
 create mode 100644 arch/arm/boards/duckbill/lowlevel.c
 create mode 100644 arch/arm/configs/duckbill_defconfig
 create mode 100644 arch/arm/dts/imx28-duckbill.dts
 create mode 100644 drivers/gpio/gpio-mxs.c
 create mode 100644 drivers/pinctrl/pinctrl-mxs.c



More information about the barebox mailing list