Skip to content

Add EMC scaling support for Tegra210

Joseph Lo linux-arm-kernel linux-clk linux-devicetree linux-tegra 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest8 patches 11 repliesIn review
  2. v38 patches 19 repliesSuperseded
  3. v21 patch 4 repliesSuperseded

Changes in v4 from the cover letter

* make sure the behavior is compatible with the case if the kernel uses the older DTB which doesn't have EMC node.
* remove the EMC clock statistic data in EMC debug fs.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8dt-bindings: memory: tegra: Add external memory controller binding for Tegra210Documentation/devicetree/bindings/memory-controllers/nvidia,tegra210-emc.txt+55 -00 replies
2/8clk: tegra: Add PLLP_UD and PLLMB_UD for Tegra210drivers/clk/tegra/clk-tegra210.c include/dt-bindings/clock/tegra210-car.h+13 -20 replies
3/8clk: tegra: Export functions for EMC clock scalingdrivers/clk/tegra/clk-tegra210.c include/linux/clk/tegra.h+41 -00 replies
4/8memory: tegra: Add Tegra210 EMC clock driverdrivers/memory/tegra/Kconfig drivers/memory/tegra/Makefile drivers/memory/tegra/tegra210-emc.c +2 more+840 -04 replies
5/8memory: tegra: Add EMC scaling support code for Tegra210drivers/memory/tegra/tegra210-emc.c drivers/memory/tegra/tegra210-emc.h+2083 -04 replies
6/8memory: tegra: Add EMC scaling sequence code for Tegra210drivers/memory/tegra/Makefile drivers/memory/tegra/tegra210-emc-cc-r21021.c drivers/memory/tegra/tegra210-emc.c +1 more+2116 -11 reply
7/8clk: tegra: Remove the old emc_mux clock for Tegra210drivers/clk/tegra/clk-tegra210.c+27 -152 replies
8/8arm64: tegra: Add external memory controller node for Tegra210arch/arm64/boot/dts/nvidia/tegra210.dtsi+33 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH V4 0/8] Add EMC scaling support for Tegra210

This series introduces the EMC clock scaling support for Tegra210. The new version has a significant change, which drops the EMC table bindings and replaces by memory region node of EMC table.

And most of the comments in V1 have been addressed. Thanks.

v4:
* make sure the behavior is compatible with the case if the kernel uses the older DTB which doesn't have EMC node.
* remove the EMC clock statistic data in EMC debug fs.

Joseph Lo (8):
dt-bindings: memory: tegra: Add external memory controller binding for

    Tegra210

clk: tegra: Add PLLP_UD and PLLMB_UD for Tegra210
clk: tegra: Export functions for EMC clock scaling
memory: tegra: Add Tegra210 EMC clock driver
memory: tegra: Add EMC scaling support code for Tegra210
memory: tegra: Add EMC scaling sequence code for Tegra210
clk: tegra: Remove the old emc_mux clock for Tegra210
arm64: tegra: Add external memory controller node for Tegra210

 .../nvidia,tegra210-emc.txt                   |   55 +
 arch/arm64/boot/dts/nvidia/tegra210.dtsi      |   33 +
 drivers/clk/tegra/clk-tegra210.c              |   89 +-
 drivers/memory/tegra/Kconfig                  |   10 +
 drivers/memory/tegra/Makefile                 |    1 +
 drivers/memory/tegra/tegra210-emc-cc-r21021.c | 1953 ++++++++++++++++
 drivers/memory/tegra/tegra210-emc.c           | 2041 +++++++++++++++++
 drivers/memory/tegra/tegra210-emc.h           | 1031 +++++++++
 include/dt-bindings/clock/tegra210-car.h      |    4 +-
 include/linux/clk/tegra.h                     |    5 +
 include/soc/tegra/emc.h                       |    2 +
 11 files changed, 5207 insertions(+), 17 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/memory-controllers/nvidia,tegra210-emc.txt
 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
Signature · 1 line
2.21.0