mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* (no subject)
@ 2013-04-02  6:19 Lucas Stach
  2013-04-02  6:19 ` [PATCH v3 01/10] tegra: pull in iomap.h from the Linux kernel Lucas Stach
                   ` (9 more replies)
  0 siblings, 10 replies; 24+ messages in thread
From: Lucas Stach @ 2013-04-02  6:19 UTC (permalink / raw)
  To: barebox

From dc699f96a6f4305793f737c18ded63fea926b675 Mon Sep 17 00:00:00 2001
From: Lucas Stach <dev@lynxeye.de>
Date: Tue, 2 Apr 2013 07:50:22 +0200
Subject: [PATCH v3 00/10] Rework current Tegra support

Round 3 of the Tegra rework. A bit beefier this time, as I folded in
some real advancements. Most notable a working GPIO driver and
the 1st stage loading support. Barebox is now aware of the CPU it's
running on and boots the Tegra main CPU cluster if needed. Don't get
too exited yet, you most likely won't see anything when running first
stage, as the pinmux stays in reset state and there is no driver to
switch it to the state needed for your board. 2nd stage loading
should work as before from the same binary.

I've also converted Tegra to builtin DTB, as I would like to
follow the kernel and go a DT only way. Let's see how this works out,
but as U-Boot isn't far away from defining Tegra boards only through
the DT I'm almost sure we can make it work in barebox.

A note for the review: I won't split patches just for the sake of
it. I'm actively working on this code as long as it isn't pulled into
the basebox repo and it's already hard enough to keep track of which
hunks of code should go into the individual patches.

Antony: I've converted the serial and ramsize detection to the
standard used in U-Boot and Linux. Please test if this works for
your board. If not it's not really a barebox error, as your ODMdata
is most likely wrong in this case, but please let me know anyway as
I would like to avoid breaking existing boards.

Lucas Stach (10):
  tegra: pull in iomap.h from the Linux kernel
  tegra: define TEGRA20 arch type
  tegra: switch to DT only
  tegra: add driver for the clock and reset module
  tegra: add T20 timer driver
  tegra: add T20 power management controller driver
  tegra: add common lowlevel startup
  tegra: add generic debug UART support
  tegra: add generic meminit
  tegra: add GPIO controller driver

 arch/arm/Kconfig                               |  10 +-
 arch/arm/boards/toshiba-ac100/Makefile         |   2 -
 arch/arm/boards/toshiba-ac100/board.c          |   8 -
 arch/arm/boards/toshiba-ac100/lowlevel.c       |  10 --
 arch/arm/boards/toshiba-ac100/serial.c         |  39 -----
 arch/arm/configs/toshiba_ac100_defconfig       |   9 +-
 arch/arm/dts/tegra20-paz00.dts                 |  12 ++
 arch/arm/dts/tegra20.dtsi                      |  41 +++++
 arch/arm/mach-tegra/Kconfig                    |  20 ++-
 arch/arm/mach-tegra/Makefile                   |   8 +-
 arch/arm/mach-tegra/clock.c                    |  56 ------
 arch/arm/mach-tegra/include/mach/clkdev.h      |   7 +
 arch/arm/mach-tegra/include/mach/gpio.h        |   1 +
 arch/arm/mach-tegra/include/mach/iomap.h       |  65 +++----
 arch/arm/mach-tegra/include/mach/lowlevel.h    | 147 ++++++++++++++++
 arch/arm/mach-tegra/include/mach/tegra20-car.h | 179 +++++++++++++++++++
 arch/arm/mach-tegra/include/mach/tegra20-pmc.h |  67 ++++++++
 arch/arm/mach-tegra/reset.c                    |  39 -----
 arch/arm/mach-tegra/tegra20-car.c              | 121 +++++++++++++
 arch/arm/mach-tegra/tegra20-pmc.c              |  68 ++++++++
 arch/arm/mach-tegra/tegra20-timer.c            | 120 +++++++++++++
 arch/arm/mach-tegra/tegra20.c                  |  50 ++++++
 arch/arm/mach-tegra/tegra_avp_init.c           | 228 +++++++++++++++++++++++++
 arch/arm/mach-tegra/tegra_maincomplex_init.c   |  46 +++++
 drivers/gpio/Kconfig                           |   7 +
 drivers/gpio/Makefile                          |   1 +
 drivers/gpio/gpio-tegra.c                      | 226 ++++++++++++++++++++++++
 27 files changed, 1380 insertions(+), 207 deletions(-)
 delete mode 100644 arch/arm/boards/toshiba-ac100/lowlevel.c
 delete mode 100644 arch/arm/boards/toshiba-ac100/serial.c
 create mode 100644 arch/arm/dts/tegra20-paz00.dts
 create mode 100644 arch/arm/dts/tegra20.dtsi
 delete mode 100644 arch/arm/mach-tegra/clock.c
 create mode 100644 arch/arm/mach-tegra/include/mach/clkdev.h
 create mode 100644 arch/arm/mach-tegra/include/mach/gpio.h
 create mode 100644 arch/arm/mach-tegra/include/mach/lowlevel.h
 create mode 100644 arch/arm/mach-tegra/include/mach/tegra20-car.h
 create mode 100644 arch/arm/mach-tegra/include/mach/tegra20-pmc.h
 delete mode 100644 arch/arm/mach-tegra/reset.c
 create mode 100644 arch/arm/mach-tegra/tegra20-car.c
 create mode 100644 arch/arm/mach-tegra/tegra20-pmc.c
 create mode 100644 arch/arm/mach-tegra/tegra20-timer.c
 create mode 100644 arch/arm/mach-tegra/tegra20.c
 create mode 100644 arch/arm/mach-tegra/tegra_avp_init.c
 create mode 100644 arch/arm/mach-tegra/tegra_maincomplex_init.c
 create mode 100644 drivers/gpio/gpio-tegra.c

-- 
1.8.1.4


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

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2013-04-10 20:45 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-02  6:19 Lucas Stach
2013-04-02  6:19 ` [PATCH v3 01/10] tegra: pull in iomap.h from the Linux kernel Lucas Stach
2013-04-02  6:19 ` [PATCH v3 02/10] tegra: define TEGRA20 arch type Lucas Stach
2013-04-02 13:09   ` Antony Pavlov
2013-04-04 20:43   ` antonynpavlov
2013-04-02  6:19 ` [PATCH v3 03/10] tegra: switch to DT only Lucas Stach
2013-04-02 11:42   ` Jean-Christophe PLAGNIOL-VILLARD
2013-04-04 20:39   ` antonynpavlov
2013-04-02  6:19 ` [PATCH v3 04/10] tegra: add driver for the clock and reset module Lucas Stach
2013-04-02  6:19 ` [PATCH v3 05/10] tegra: add T20 timer driver Lucas Stach
2013-04-02  6:19 ` [PATCH v3 06/10] tegra: add T20 power management controller driver Lucas Stach
2013-04-02  6:19 ` [PATCH v3 07/10] tegra: add common lowlevel startup Lucas Stach
2013-04-02  6:19 ` [PATCH v3 08/10] tegra: add generic debug UART support Lucas Stach
2013-04-04 20:32   ` antonynpavlov
2013-04-08 10:57     ` Lucas Stach
2013-04-08 11:46       ` antonynpavlov
2013-04-08 12:24         ` Lucas Stach
2013-04-08 13:03           ` antonynpavlov
2013-04-08 13:34             ` Lucas Stach
2013-04-10  9:18             ` Lucas Stach
2013-04-10 20:44               ` antonynpavlov
2013-04-02  6:19 ` [PATCH v3 09/10] tegra: add generic meminit Lucas Stach
2013-04-02  6:19 ` [PATCH v3 10/10] tegra: add GPIO controller driver Lucas Stach
2013-04-08  3:51   ` antonynpavlov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox