Skip to content

Add generic PM domain support for Tegra SoCs

Vince Hsu linux-arm-kernel linux-devicetree linux-pm linux-tegra lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest17 patches 10 repliesIn review

Changes in v2 from the cover letter

* Add support for Tegra30/Tegra114
* Address Alex's comments

[1] http://www.spinics.net/lists/linux-tegra/msg21012.html

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/17reset: add of_reset_control_get_by_index()drivers/reset/core.c include/linux/reset.h+38 -152 replies
2/17memory: tegra: add mc flush supportdrivers/memory/tegra/mc.c drivers/memory/tegra/tegra114.c drivers/memory/tegra/tegra124.c +2 more+169 -50 replies
3/17memory: tegra: add flush operation for Tegra30 memory clientsdrivers/memory/tegra/tegra30.c+78 -00 replies
4/17memory: tegra: add flush operation for Tegra114 memory clientsdrivers/memory/tegra/mc.h drivers/memory/tegra/tegra114.c+109 -00 replies
5/17memory: tegra: add flush operation for Tegra124 memory clientsdrivers/memory/tegra/tegra124.c+36 -00 replies
6/17clk: tegra: remove TEGRA_PLL_USE_LOCK for PLLD/PLLD2drivers/clk/tegra/clk-tegra114.c+2 -40 replies
7/17soc: tegra: pmc: Add generic PM domain supportdrivers/soc/tegra/pmc.c include/dt-bindings/power/tegra-powergate.h+617 -22 replies
8/17ARM: tegra: add PM domain device nodes to Tegra30 DTarch/arm/boot/dts/tegra30.dtsi+44 -10 replies
9/17ARM: tegra: add PM domain device nodes to Tegra114 DTarch/arm/boot/dts/tegra114.dtsi+42 -10 replies
10/17ARM: tegra: add PM domain device nodes to Tegra124 DTarch/arm/boot/dts/tegra124.dtsi+85 -10 replies
11/17ARM: tegra: add GPU power supply to Jetson TK1 DTarch/arm/boot/dts/tegra124-jetson-tk1.dts+4 -00 replies
12/17drm/tegra: dc: remove the power sequence from driverdrivers/gpu/drm/tegra/dc.c+11 -350 replies
13/17PCI: tegra: remove the power sequence from driverdrivers/pci/host/pci-tegra.c+3 -190 replies
14/17ata: ahci_tegra: remove power sequence from driverdrivers/ata/ahci_tegra.c+0 -113 replies
15/17drm/tegra: remove GR3D power sequence from driverdrivers/gpu/drm/tegra/gr3d.c+16 -160 replies
16/17ARM: tegra: select PM_GENERIC_DOMAINSarch/arm/mach-tegra/Kconfig+1 -00 replies
17/17soc/tegra: remove lagacy powergate APIsdrivers/soc/tegra/pmc.c include/soc/tegra/pmc.h+0 -903 replies

Reviews trailers per patch

1 of 17 patches has a Reviewed-by or Acked-by.

PatchHans de Goede
1/17
2/17
3/17
4/17
5/17
6/17
7/17
8/17
9/17
10/17
11/17
12/17
13/17
14/17A-b
15/17
16/17
17/17

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 00/17] Add generic PM domain support for Tegra SoCs

Hi,

This is the v2 of Tegra generic PM domain support. The v1 is the RFC series[1].

Patch 1 adds the new function of_reset_control_get_by_index().

Patch 2 - 5 add the MC flush operations for Tegra30/Tegra114/Tegra124.

Patch 6 is a PLLD fix for Tegra114.

Patch 7 is based on Thierry's proof-of-concept work and adds necessary changes to support DT parsing and power sequence.

Patch 8 - 11 add the power domain nodes into DT.

Patch 12 - 17 are the clean up for the legacy powergate API.

TODO:
* The GR3D is broken on ToT now. Have to verify it with this series after we fix it properly.

v2:
* Add support for Tegra30/Tegra114
* Address Alex's comments

[1] http://www.spinics.net/lists/linux-tegra/msg21012.html

Thanks,
Vince

Thierry Reding (1):
soc: tegra: pmc: Add generic PM domain support

Vince Hsu (16):
reset: add of_reset_control_get_by_index()
memory: tegra: add mc flush support
memory: tegra: add flush operation for Tegra30 memory clients
memory: tegra: add flush operation for Tegra114 memory clients
memory: tegra: add flush operation for Tegra124 memory clients
clk: tegra: remove TEGRA_PLL_USE_LOCK for PLLD/PLLD2
ARM: tegra: add PM domain device nodes to Tegra30 DT
ARM: tegra: add PM domain device nodes to Tegra114 DT
ARM: tegra: add PM domain device nodes to Tegra124 DT
ARM: tegra: add GPU power supply to Jetson TK1 DT drm/tegra: dc: remove the power sequence from driver
PCI: tegra: remove the power sequence from driver
ata: ahci_tegra: remove power sequence from driver drm/tegra: remove GR3D power sequence from driver
ARM: tegra: select PM_GENERIC_DOMAINS
soc/tegra: remove lagacy powergate APIs

 arch/arm/boot/dts/tegra114.dtsi             |  43 +-
 arch/arm/boot/dts/tegra124-jetson-tk1.dts   |   4 +
 arch/arm/boot/dts/tegra124.dtsi             |  86 +++-
 arch/arm/boot/dts/tegra30.dtsi              |  45 +-
 arch/arm/mach-tegra/Kconfig                 |   1 +
 drivers/ata/ahci_tegra.c                    |  11 -
 drivers/clk/tegra/clk-tegra114.c            |   6 +-
 drivers/gpu/drm/tegra/dc.c                  |  46 +-
 drivers/gpu/drm/tegra/gr3d.c                |  32 +-
 drivers/memory/tegra/mc.c                   | 122 ++++++
 drivers/memory/tegra/mc.h                   |   5 +
 drivers/memory/tegra/tegra114.c             | 106 ++++-
 drivers/memory/tegra/tegra124.c             |  38 +-
 drivers/memory/tegra/tegra30.c              |  80 +++-
 drivers/pci/host/pci-tegra.c                |  22 +-
 drivers/reset/core.c                        |  44 +-
 drivers/soc/tegra/pmc.c                     | 657 +++++++++++++++++++++++++---
 include/dt-bindings/power/tegra-powergate.h |  30 ++
 include/linux/reset.h                       |   9 +
 include/soc/tegra/mc.h                      |  46 +-
 include/soc/tegra/pmc.h                     |  22 -
 21 files changed, 1255 insertions(+), 200 deletions(-)
 create mode 100644 include/dt-bindings/power/tegra-powergate.h
Signature · 1 line
2.1.4