mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Beniamino Galvani <b.galvani@gmail.com>
To: barebox@lists.infradead.org
Subject: [PATCH 00/11] ARM: add initial support for Rockchip boards
Date: Sun, 27 Apr 2014 11:30:33 +0200	[thread overview]
Message-ID: <1398591044-3616-1-git-send-email-b.galvani@gmail.com> (raw)

This series adds an initial support for Rockchip SoCs and has been
tested on a Radxa Rock board, on which I'm able to load a kernel from
the network and boot it [1].

At the moment Barebox must be chainloaded from the Rockchip binary
bootloader which performs low-level initializations and loads Barebox
from the "boot" partition on the NAND.

Barebox should be written using the same procedure used for kernels:
it must be prepared with the mkimage tool and then written with
rkflashkit.

There is a u-boot code released by Rockchip [2] which probably
includes all the low-level initializations but I'm not brave enough to
try it.

The patchset adds ethernet and pinctrl drivers, PLL and clocks
initialization, and code to power on the external PHY of the board
through the PMIC.

Beniamino

[1] https://gist.github.com/anonymous/41ccb09030005acb7f89
[2] http://dl.radxa.com/rock/source/.ubootrk.tar.gz

Beniamino Galvani (11):
  net: add ARC EMAC driver
  mfd: add act8846 driver
  ARM: add basic support for Rockchip SoCs
  ARM: rockchip: add PLL initialization function
  clk: gate: add flags argument to clock gate constructor
  clk: gate: unify enable and disable functions handling
  clk: gate: add CLK_GATE_HIWORD_MASK flag
  clk: add rockchip clock gate driver
  pinctrl: add rockchip pinctrl and gpio drivers
  ARM: dts: add Rockchip devicetree files
  ARM: rockchip: add radxa-rock board

 arch/arm/Kconfig                                   |   11 +
 arch/arm/Makefile                                  |    1 +
 arch/arm/boards/Makefile                           |    1 +
 arch/arm/boards/radxa-rock/Makefile                |    2 +
 arch/arm/boards/radxa-rock/board.c                 |   78 +++
 arch/arm/boards/radxa-rock/env/config-board        |    6 +
 arch/arm/boards/radxa-rock/lowlevel.c              |   23 +
 arch/arm/configs/radxa-rock_defconfig              |   62 +++
 arch/arm/dts/rk3188-clocks.dtsi                    |  289 ++++++++++
 arch/arm/dts/rk3188-radxarock.dts                  |   32 ++
 arch/arm/dts/rk3188.dtsi                           |  298 +++++++++++
 arch/arm/dts/rk3xxx.dtsi                           |  134 +++++
 arch/arm/mach-imx/clk.h                            |    2 +-
 arch/arm/mach-rockchip/Kconfig                     |   15 +
 arch/arm/mach-rockchip/Makefile                    |    2 +
 arch/arm/mach-rockchip/core.c                      |   28 +
 arch/arm/mach-rockchip/include/mach/rockchip-pll.h |   26 +
 .../arm/mach-rockchip/include/mach/rockchip-regs.h |   25 +
 arch/arm/mach-rockchip/pll.c                       |  102 ++++
 arch/arm/mach-zynq/clk-zynq7000.c                  |    8 +-
 drivers/clk/Makefile                               |    1 +
 drivers/clk/clk-gate.c                             |   54 +-
 drivers/clk/mvebu/common.c                         |    2 +-
 drivers/clk/mxs/clk-imx28.c                        |    2 +-
 drivers/clk/rockchip/Makefile                      |    1 +
 drivers/clk/rockchip/clk-rockchip.c                |   86 +++
 drivers/clk/tegra/clk-periph.c                     |    2 +-
 drivers/mfd/Kconfig                                |    4 +
 drivers/mfd/Makefile                               |    1 +
 drivers/mfd/act8846.c                              |  154 ++++++
 drivers/net/Kconfig                                |    7 +
 drivers/net/Makefile                               |    1 +
 drivers/net/arc_emac.c                             |  469 ++++++++++++++++
 drivers/pinctrl/Kconfig                            |    7 +
 drivers/pinctrl/Makefile                           |    1 +
 drivers/pinctrl/pinctrl-rockchip.c                 |  560 ++++++++++++++++++++
 include/dt-bindings/pinctrl/rockchip.h             |   32 ++
 include/linux/clk.h                                |    8 +-
 include/mfd/act8846.h                              |   56 ++
 39 files changed, 2557 insertions(+), 36 deletions(-)
 create mode 100644 arch/arm/boards/radxa-rock/Makefile
 create mode 100644 arch/arm/boards/radxa-rock/board.c
 create mode 100644 arch/arm/boards/radxa-rock/env/config-board
 create mode 100644 arch/arm/boards/radxa-rock/lowlevel.c
 create mode 100644 arch/arm/configs/radxa-rock_defconfig
 create mode 100644 arch/arm/dts/rk3188-clocks.dtsi
 create mode 100644 arch/arm/dts/rk3188-radxarock.dts
 create mode 100644 arch/arm/dts/rk3188.dtsi
 create mode 100644 arch/arm/dts/rk3xxx.dtsi
 create mode 100644 arch/arm/mach-rockchip/Kconfig
 create mode 100644 arch/arm/mach-rockchip/Makefile
 create mode 100644 arch/arm/mach-rockchip/core.c
 create mode 100644 arch/arm/mach-rockchip/include/mach/rockchip-pll.h
 create mode 100644 arch/arm/mach-rockchip/include/mach/rockchip-regs.h
 create mode 100644 arch/arm/mach-rockchip/pll.c
 create mode 100644 drivers/clk/rockchip/Makefile
 create mode 100644 drivers/clk/rockchip/clk-rockchip.c
 create mode 100644 drivers/mfd/act8846.c
 create mode 100644 drivers/net/arc_emac.c
 create mode 100644 drivers/pinctrl/pinctrl-rockchip.c
 create mode 100644 include/dt-bindings/pinctrl/rockchip.h
 create mode 100644 include/mfd/act8846.h

-- 
1.7.10.4


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

             reply	other threads:[~2014-04-27  9:37 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-27  9:30 Beniamino Galvani [this message]
2014-04-27  9:30 ` [PATCH 01/11] net: add ARC EMAC driver Beniamino Galvani
2014-04-27  9:30 ` [PATCH 02/11] mfd: add act8846 driver Beniamino Galvani
2014-04-27  9:30 ` [PATCH 03/11] ARM: add basic support for Rockchip SoCs Beniamino Galvani
2014-04-27  9:30 ` [PATCH 04/11] ARM: rockchip: add PLL initialization function Beniamino Galvani
2014-04-27  9:30 ` [PATCH 05/11] clk: gate: add flags argument to clock gate constructor Beniamino Galvani
2014-04-27  9:30 ` [PATCH 06/11] clk: gate: unify enable and disable functions handling Beniamino Galvani
2014-04-27  9:30 ` [PATCH 07/11] clk: gate: add CLK_GATE_HIWORD_MASK flag Beniamino Galvani
2014-04-27  9:30 ` [PATCH 08/11] clk: add rockchip clock gate driver Beniamino Galvani
2014-04-27  9:30 ` [PATCH 09/11] pinctrl: add rockchip pinctrl and gpio drivers Beniamino Galvani
2014-04-27  9:30 ` [PATCH 10/11] ARM: dts: add Rockchip devicetree files Beniamino Galvani
2014-04-27  9:30 ` [PATCH 11/11] ARM: rockchip: add radxa-rock board Beniamino Galvani
2014-04-28  7:26 ` [PATCH 00/11] ARM: add initial support for Rockchip boards Sascha Hauer
2014-04-28 20:54   ` Beniamino Galvani
2014-04-29  7:05     ` Sascha Hauer
2014-04-29 21:13       ` Beniamino Galvani
2014-04-29 21:59         ` Heiko Stübner
2014-05-01  7:48           ` Beniamino Galvani

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1398591044-3616-1-git-send-email-b.galvani@gmail.com \
    --to=b.galvani@gmail.com \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox