linux-tegra.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 0/8] Add EMC scaling support for Tegra210
@ 2020-03-10 15:19 Thierry Reding
  2020-03-10 15:19 ` [PATCH v5 1/8] clk: tegra: Add PLLP_UD and PLLMB_UD " Thierry Reding
       [not found] ` <20200310152003.2945170-1-thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 2 replies; 35+ messages in thread
From: Thierry Reding @ 2020-03-10 15:19 UTC (permalink / raw)
  To: Thierry Reding
  Cc: Jon Hunter, Dmitry Osipenko, Rob Herring, Mark Rutland,
	Michael Turquette, Stephen Boyd, Joseph Lo,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA,
	linux-clk-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

From: Thierry Reding <treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>

This series introduces the EMC clock scaling support for Tegra210. The
EMC table of supported frequencies is passed to the kernel via a device
tree reserved memory region.

Joseph posted the v4 of this series[0] about a year ago. I've dusted it
off a bit and tried to address all of the comments that Dmitry had made
in response to v4.

Changes in v4:
- major rework to split this into a clk driver and an EMC driver
- refactored some code to remove duplication and improve readability
- removed some unused code and variables

Thierry

[0]: https://lore.kernel.org/linux-arm-kernel/20190529082139.5581-1-josephl-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org/

Joseph Lo (8):
  clk: tegra: Add PLLP_UD and PLLMB_UD for Tegra210
  clk: tegra: Export functions for EMC clock scaling
  clk: tegra: Implement Tegra210 EMC clock
  dt-bindings: memory: tegra: Add external memory controller binding for
    Tegra210
  memory: tegra: Add EMC scaling support code for Tegra210
  memory: tegra: Add EMC scaling sequence code for Tegra210
  arm64: tegra: Add external memory controller node for Tegra210
  clk: tegra: Remove the old emc_mux clock for Tegra210

 .../nvidia,tegra210-emc.yaml                  |   83 +
 arch/arm64/boot/dts/nvidia/tegra210.dtsi      |   11 +
 drivers/clk/tegra/Makefile                    |    1 +
 drivers/clk/tegra/clk-tegra210-emc.c          |  352 ++++
 drivers/clk/tegra/clk-tegra210.c              |   83 +-
 drivers/clk/tegra/clk.h                       |    3 +
 drivers/memory/tegra/Kconfig                  |   10 +
 drivers/memory/tegra/Makefile                 |    1 +
 drivers/memory/tegra/tegra210-emc-cc-r21021.c | 1782 ++++++++++++++++
 drivers/memory/tegra/tegra210-emc.c           | 1800 +++++++++++++++++
 drivers/memory/tegra/tegra210-emc.h           | 1065 ++++++++++
 include/dt-bindings/clock/tegra210-car.h      |    4 +-
 include/linux/clk/tegra.h                     |   26 +
 13 files changed, 5202 insertions(+), 19 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/memory-controllers/nvidia,tegra210-emc.yaml
 create mode 100644 drivers/clk/tegra/clk-tegra210-emc.c
 create mode 100644 drivers/memory/tegra/tegra210-emc-cc-r21021.c
 create mode 100644 drivers/memory/tegra/tegra210-emc.c
 create mode 100644 drivers/memory/tegra/tegra210-emc.h

-- 
2.24.1

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

end of thread, other threads:[~2020-03-23 13:21 UTC | newest]

Thread overview: 35+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-10 15:19 [PATCH v5 0/8] Add EMC scaling support for Tegra210 Thierry Reding
2020-03-10 15:19 ` [PATCH v5 1/8] clk: tegra: Add PLLP_UD and PLLMB_UD " Thierry Reding
     [not found]   ` <20200310152003.2945170-2-thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2020-03-10 16:19     ` Dmitry Osipenko
     [not found]       ` <9b343fd1-15df-409a-390f-e30fa6bbbfe7-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2020-03-10 17:05         ` Thierry Reding
2020-03-10 17:50           ` Dmitry Osipenko
     [not found] ` <20200310152003.2945170-1-thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2020-03-10 15:19   ` [PATCH v5 2/8] clk: tegra: Export functions for EMC clock scaling Thierry Reding
     [not found]     ` <20200310152003.2945170-3-thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2020-03-10 16:13       ` Dmitry Osipenko
     [not found]         ` <8e1f11e9-a95a-500f-ff44-6f44ad990863-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2020-03-10 16:16           ` Dmitry Osipenko
     [not found]             ` <1ac24caf-e4c1-b20e-4c3d-97b328a97ea5-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2020-03-10 17:08               ` Thierry Reding
2020-03-10 17:06         ` Thierry Reding
2020-03-10 15:19   ` [PATCH v5 3/8] clk: tegra: Implement Tegra210 EMC clock Thierry Reding
     [not found]     ` <20200310152003.2945170-4-thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2020-03-10 16:26       ` Dmitry Osipenko
2020-03-10 17:10         ` Thierry Reding
2020-03-10 16:55       ` Dmitry Osipenko
     [not found]         ` <b5fb83d8-003c-d76b-9dac-7c8ef15f2ab1-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2020-03-23 11:05           ` Thierry Reding
2020-03-23 13:14             ` Dmitry Osipenko
2020-03-10 17:03       ` Dmitry Osipenko
     [not found]         ` <7a4e0ab4-e17e-9e6a-2d30-d9a321be1dc8-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2020-03-23 11:02           ` Thierry Reding
2020-03-10 17:44       ` Dmitry Osipenko
     [not found]         ` <a5c9e3d6-2b65-ec93-d8f1-7c7680092e53-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2020-03-23 11:00           ` Thierry Reding
2020-03-23 13:21             ` Dmitry Osipenko
2020-03-10 16:29     ` Dmitry Osipenko
     [not found]       ` <3b583202-50d0-145c-d60f-91bd646008ad-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2020-03-23 11:06         ` Thierry Reding
2020-03-10 15:19   ` [PATCH v5 4/8] dt-bindings: memory: tegra: Add external memory controller binding for Tegra210 Thierry Reding
     [not found]     ` <20200310152003.2945170-5-thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2020-03-10 16:35       ` Dmitry Osipenko
     [not found]         ` <67295862-0898-87d1-ddb2-660713501bca-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2020-03-10 17:12           ` Thierry Reding
2020-03-10 18:38       ` Rob Herring
2020-03-23 10:35       ` Thierry Reding
2020-03-10 15:20   ` [PATCH v5 5/8] memory: tegra: Add EMC scaling support code " Thierry Reding
     [not found]     ` <20200310152003.2945170-6-thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2020-03-10 16:43       ` Dmitry Osipenko
     [not found]         ` <4ea3a96f-52cb-4eab-cf92-932f6882ad85-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2020-03-10 17:13           ` Thierry Reding
2020-03-11  0:25       ` Dmitry Osipenko
2020-03-10 15:20   ` [PATCH v5 6/8] memory: tegra: Add EMC scaling sequence " Thierry Reding
2020-03-10 15:20   ` [PATCH v5 7/8] arm64: tegra: Add external memory controller node " Thierry Reding
2020-03-10 15:20   ` [PATCH v5 8/8] clk: tegra: Remove the old emc_mux clock " Thierry Reding

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).