Add EMC scaling support for Tegra210
Status from this message: Applied, thanks.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v6 Latest14 patches 45 repliesApplied
- v58 patches 26 repliesSuperseded
Changes in v6 from the cover letter
- add support for derated tables which are used under high temperatures
- add patches to support memory-region-names property in DT
- address review comments
Patches in v6 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/14 | dt-bindings: reserved-memory: Introduce memory-region-namesDocumentation/ | +2 | 1 reply | |
| 2/14 | of: reserved-memory: Support lookup of regions by namedrivers/ include/ | +30 | 3 replies | |
| 3/14 | of: reserved-memory: Support multiple regions per devicedrivers/ | +10 | 1 reply | |
| 4/14 | clk: tegra: Rename Tegra124 EMC clock source filedrivers/ drivers/ | +1 | 2 replies | |
| 5/14 | clk: tegra: Add PLLP_UD and PLLMB_UD for Tegra210drivers/ include/ | +13 | 0 replies | |
| 6/14 | clk: tegra: Export functions for EMC clock scalingdrivers/ include/ | +29 | 0 replies | |
| 7/14 | clk: tegra: Implement Tegra210 EMC clockdrivers/ drivers/ drivers/ +1 more | +397 | 7 replies | |
| 8/14 | dt-bindings: memory: tegra: Add external memory controller binding for Tegra210Documentation/ | +82 | 1 reply | |
| 9/14 | memory: tegra: Add EMC scaling support code for Tegra210drivers/ drivers/ drivers/ +4 more | +2880 | 19 replies | |
| 10/14 | memory: tegra: Add EMC scaling sequence code for Tegra210drivers/ drivers/ drivers/ +1 more | +1848 | 4 replies | |
| 11/14 | memory: tegra: Support derated timings on Tegra210drivers/ drivers/ drivers/ +1 more | +333 | 7 replies | |
| 12/14 | arm64: tegra: Add external memory controller node for Tegra210arch/ | +11 | 0 replies | |
| 13/14 | arm64: tegra: Hook up EMC cooling devicearch/ | +23 | 0 replies | |
| 14/14 | clk: tegra: Remove the old emc_mux clock for Tegra210drivers/ | +31 | 0 replies |
Reviews trailers per patch
2 of 14 patches have a Reviewed-by or Acked-by.
| Patch | Rob Herring |
|---|---|
| 1/14 | |
| 2/14 | R-b |
| 3/14 | R-b |
| 4/14 | |
| 5/14 | |
| 6/14 | |
| 7/14 | |
| 8/14 | |
| 9/14 | |
| 10/14 | |
| 11/14 | |
| 12/14 | |
| 13/14 | |
| 14/14 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v6 00/14] Add EMC scaling support for Tegra210
From: Thierry Reding <[email protected]>
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 v6:
- add support for derated tables which are used under high temperatures
- add patches to support memory-region-names property in DT
- address review comments
Changes in v5:
- 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
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
Thierry Reding (6):
dt-bindings: reserved-memory: Introduce memory-region-names
of: reserved-memory: Support lookup of regions by name
of: reserved-memory: Support multiple regions per device
clk: tegra: Rename Tegra124 EMC clock source file
memory: tegra: Support derated timings on Tegra210
arm64: tegra: Hook up EMC cooling device
.../nvidia,tegra210-emc.yaml | 82 +
.../reserved-memory/reserved-memory.txt | 2 +
arch/arm64/boot/dts/nvidia/tegra210.dtsi | 37 +-
drivers/clk/tegra/Makefile | 3 +-
.../tegra/{clk-emc.c => clk-tegra124-emc.c} | 0
drivers/clk/tegra/clk-tegra210-emc.c | 369 +++
drivers/clk/tegra/clk-tegra210.c | 87 +-
drivers/clk/tegra/clk.h | 3 +
drivers/memory/tegra/Kconfig | 14 +
drivers/memory/tegra/Makefile | 4 +
drivers/memory/tegra/mc.h | 1 +
drivers/memory/tegra/tegra210-emc-cc-r21021.c | 1744 ++++++++++++++
drivers/memory/tegra/tegra210-emc-core.c | 2099 +++++++++++++++++
drivers/memory/tegra/tegra210-emc-table.c | 94 +
drivers/memory/tegra/tegra210-emc.h | 1023 ++++++++
drivers/memory/tegra/tegra210-mc.h | 49 +
drivers/of/of_reserved_mem.c | 41 +-
include/dt-bindings/clock/tegra210-car.h | 4 +-
include/linux/clk/tegra.h | 27 +
include/linux/of_reserved_mem.h | 11 +
20 files changed, 5656 insertions(+), 38 deletions(-)
create mode 100644 Documentation/devicetree/bindings/memory-controllers/nvidia,tegra210-emc.yaml
rename drivers/clk/tegra/{clk-emc.c => clk-tegra124-emc.c} (100%)
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-core.c
create mode 100644 drivers/memory/tegra/tegra210-emc-table.c
create mode 100644 drivers/memory/tegra/tegra210-emc.h
create mode 100644 drivers/memory/tegra/tegra210-mc.hSignature · 1 line
2.24.1