All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v6 00/15] Tegra124 EMC (external memory controller) support
@ 2015-02-12 14:06 ` Tomeu Vizoso
  0 siblings, 0 replies; 27+ messages in thread
From: Tomeu Vizoso @ 2015-02-12 14:06 UTC (permalink / raw)
  To: linux-tegra-u79uwXL29TY76Z2rM5mHXA
  Cc: Javier Martinez Canillas, Mikko Perttunen, Tomeu Vizoso,
	Alexandre Courbot, devicetree-u79uwXL29TY76Z2rM5mHXA,
	Eduardo Valentin, Ian Campbell, Joerg Roedel, Kumar Gala,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA, Mark Rutland, Mike Turquette,
	Mikko Perttunen, Paul Walmsley, Pawel Moll, Peter De Schrijver,
	Prashant Gaikwad, Rob Herring, Russell King, Stephen Boyd,
	Stephen Warren, Thierry Reding <thierry>

Hello,

this v6 mainly contains a rebase on latest linux-next.

There's an outstanding issue with frequencies lower than 102MHz, as the MC IP
complains of EMEM arbitration errors when at those frequencies. Any suggestions
welcome. The downstream kernels that I have seen ignore those errors, but mainline prints a message out, so it's actually visible even if everything else appears to keep working.

So far it has been tested only on a Jetson TK1.

Patch 1: Removes the old EMC clock, that was unused and not functional

Patch 2: Documents bindings for the new long-ram-code property

Patch 3: Adds API for reading the ram code

Patches 4 to 7: Document OF additions

Patch 8: Adds EMC node to Tegra124 DT

Patch 9: Adds timings for Jetson TK1 board

Patch 10: Adds functions to the MC driver so the EMC driver can stay within its
own registers

Patch 11: Adds the actual EMC driver, making use of the new MC API

Patch 12: Adds EMC clock driver, making use of API provided by the EMC driver

Patch 13: Adds debugfs entry for getting and setting the EMC rate

Patch 14: On Tegra124, have the EMC clock be the parent of the MC clock

http://cgit.collabora.com/git/user/tomeu/linux.git/log/?h=emc-v6

Regards,

Tomeu

Mikko Perttunen (9):
  clk: tegra124: Remove old emc clock
  soc/tegra: Add ram code reader helper
  of: Add Tegra124 EMC bindings
  ARM: tegra: Add EMC to Tegra124 device tree
  ARM: tegra: Add EMC timings to Jetson TK1 device tree
  memory: tegra: Add API needed by the EMC driver
  memory: tegra: Add EMC (external memory controller) driver
  clk: tegra: Add EMC clock driver
  memory: tegra: Add debugfs entry for getting and setting the EMC rate

Tomeu Vizoso (6):
  of: Document long-ram-code property in nvidia,tegra20-apbmisc
  of: document new emc-timings subnode in nvidia,tegra124-car
  of: Document timings subnode of nvidia,tegra-mc
  of: document external-memory-controller property in tegra124-car
  clk: Expose clk_hw_reparent to providers
  clk: tegra: Set the EMC clock as the parent of the MC clock

 .../bindings/clock/nvidia,tegra124-car.txt         |   44 +-
 .../memory-controllers/nvidia,tegra-mc.txt         |   84 +-
 .../bindings/memory-controllers/tegra-emc.txt      |  379 +++
 .../bindings/misc/nvidia,tegra20-apbmisc.txt       |    2 +
 arch/arm/boot/dts/tegra124-jetson-tk1-emc.dtsi     | 2469 ++++++++++++++++++++
 arch/arm/boot/dts/tegra124-jetson-tk1.dts          |    2 +
 arch/arm/boot/dts/tegra124.dtsi                    |    8 +
 drivers/clk/clk.c                                  |    8 +
 drivers/clk/tegra/Makefile                         |    2 +-
 drivers/clk/tegra/clk-emc.c                        |  528 +++++
 drivers/clk/tegra/clk-tegra124.c                   |   18 +-
 drivers/clk/tegra/clk.h                            |    3 +
 drivers/memory/tegra/Kconfig                       |   11 +
 drivers/memory/tegra/Makefile                      |    2 +
 drivers/memory/tegra/mc.c                          |  136 ++
 drivers/memory/tegra/tegra124-emc.c                | 1164 +++++++++
 drivers/memory/tegra/tegra124.c                    |   44 +
 drivers/soc/tegra/fuse/tegra-apbmisc.c             |   19 +
 include/linux/clk-provider.h                       |    1 +
 include/soc/tegra/emc.h                            |   19 +
 include/soc/tegra/fuse.h                           |    1 +
 include/soc/tegra/mc.h                             |   14 +-
 22 files changed, 4939 insertions(+), 19 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/memory-controllers/tegra-emc.txt
 create mode 100644 arch/arm/boot/dts/tegra124-jetson-tk1-emc.dtsi
 create mode 100644 drivers/clk/tegra/clk-emc.c
 create mode 100644 drivers/memory/tegra/tegra124-emc.c
 create mode 100644 include/soc/tegra/emc.h

-- 
1.9.3

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

end of thread, other threads:[~2015-03-09 14:36 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-12 14:06 [PATCH v6 00/15] Tegra124 EMC (external memory controller) support Tomeu Vizoso
2015-02-12 14:06 ` Tomeu Vizoso
2015-02-12 14:06 ` Tomeu Vizoso
2015-02-12 14:06 ` [PATCH v6 01/15] clk: tegra124: Remove old emc clock Tomeu Vizoso
2015-02-12 14:06 ` [PATCH v6 02/15] of: Document long-ram-code property in nvidia,tegra20-apbmisc Tomeu Vizoso
2015-02-12 14:06 ` [PATCH v6 03/15] soc/tegra: Add ram code reader helper Tomeu Vizoso
2015-03-02  8:46   ` Alexandre Courbot
2015-03-02  9:52     ` Mikko Perttunen
2015-03-09 14:36       ` Tomeu Vizoso
2015-02-12 14:06 ` [PATCH v6 04/15] of: document new emc-timings subnode in nvidia,tegra124-car Tomeu Vizoso
2015-02-12 14:06 ` [PATCH v6 05/15] of: Document timings subnode of nvidia,tegra-mc Tomeu Vizoso
2015-02-12 14:06 ` [PATCH v6 06/15] of: Add Tegra124 EMC bindings Tomeu Vizoso
     [not found]   ` <1423750042-6535-7-git-send-email-tomeu.vizoso-ZGY8ohtN/8qB+jHODAdFcQ@public.gmane.org>
2015-03-02  8:47     ` Alexandre Courbot
2015-03-02  8:47       ` Alexandre Courbot
     [not found]       ` <CAAVeFuL71-VZxAxzGKdn0SebhYrCkFixOiLwq6Ebbih8B+NiRA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-03-02  9:51         ` Mikko Perttunen
2015-03-02  9:51           ` Mikko Perttunen
2015-02-12 14:06 ` [PATCH v6 07/15] of: document external-memory-controller property in tegra124-car Tomeu Vizoso
2015-02-12 14:06 ` [PATCH v6 08/15] ARM: tegra: Add EMC to Tegra124 device tree Tomeu Vizoso
2015-02-12 14:06   ` Tomeu Vizoso
2015-02-12 14:06 ` [PATCH v6 09/15] ARM: tegra: Add EMC timings to Jetson TK1 " Tomeu Vizoso
2015-02-12 14:06   ` Tomeu Vizoso
2015-02-12 14:06 ` [PATCH v6 10/15] memory: tegra: Add API needed by the EMC driver Tomeu Vizoso
2015-02-12 14:06 ` [PATCH v6 11/15] memory: tegra: Add EMC (external memory controller) driver Tomeu Vizoso
2015-02-12 14:06 ` [PATCH v6 12/15] clk: Expose clk_hw_reparent to providers Tomeu Vizoso
2015-02-12 14:06 ` [PATCH v6 13/15] clk: tegra: Add EMC clock driver Tomeu Vizoso
2015-02-12 14:06 ` [PATCH v6 14/15] memory: tegra: Add debugfs entry for getting and setting the EMC rate Tomeu Vizoso
2015-02-12 14:06 ` [PATCH v6 15/15] clk: tegra: Set the EMC clock as the parent of the MC clock Tomeu Vizoso

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.