Skip to content

soc/tegra: Enable flowctrl support for Tegra132/210

Jon Hunter linux-arm-kernel linux-devicetree linux-tegra 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest6 patches 0 repliesNew
  2. v25 patches 0 repliesSuperseded
  3. v15 patches 0 repliesSuperseded

Changes in v3 from the cover letter

- Updated Dt compatible strings per Stephen's feedback
- Added patch to update Tegra132 compatible string

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6ARM: tegra: Remove unnecessary inclusion of flowctrl headerarch/arm/mach-tegra/sleep.S+0 -21 reply
2/6soc/tegra: Move Tegra flowctrl driverarch/arm/mach-tegra/Makefile arch/arm/mach-tegra/cpuidle-tegra20.c arch/arm/mach-tegra/flowctrl.c +11 more+285 -2541 reply
3/6soc/tegra: flowctrl: Add basic platform driverdrivers/soc/tegra/flowctrl.c+30 -41 reply
4/6dt-bindings: tegra: Update compatible strings for Tegra flowctrlDocumentation/devicetree/bindings/arm/tegra/nvidia,tegra20-flowctrl.txt+7 -12 replies
5/6arm64: tegra: Update the Tegra132 flowctrl compatible stringarch/arm64/boot/dts/nvidia/tegra132.dtsi+1 -11 reply
6/6soc/tegra: Add initial flowctrl support for Tegra132/210drivers/soc/tegra/Kconfig drivers/soc/tegra/flowctrl.c+23 -101 reply

Reviews trailers per patch

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

PatchRob Herring
1/6
2/6
3/6
4/6A-b
5/6
6/6

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

Read the v3 thread

Cover letter [PATCH V3 0/6] soc/tegra: Enable flowctrl support for Tegra132/210

The flowctrl modules is supported by both Tegra132 and Tegra210 devices. These devices already have the flowctrl node defined in their respective *.dtsi device-tree files. The flowctrl driver is currently located in the arch/arm/mach-tegra directory and so can only be used for 32-bit Tegra devices. Move this driver into drivers/soc/tegra so that it can be used for all Tegra devices that support flowctrl.

I have also added a couple clean-up patches.

Changes since V2:
- Updated Dt compatible strings per Stephen's feedback
- Added patch to update Tegra132 compatible string

Changes since V1:
- Updated warning message per Thierry's feedback
- Added stub functions for public flowctrl APIs
- Added patch to register flowctrl driver as a platform driver
- Updated formatting of DT compatible strings per Thierry's feedback.

Jon Hunter (6):
ARM: tegra: Remove unnecessary inclusion of flowctrl header soc/tegra: Move Tegra flowctrl driver
soc/tegra: flowctrl: Add basic platform driver
dt-bindings: tegra: Update compatible strings for Tegra flowctrl
arm64: tegra: Update the Tegra132 flowctrl compatible string soc/tegra: Add initial flowctrl support for Tegra132/210

 .../bindings/arm/tegra/nvidia,tegra20-flowctrl.txt |   8 +-
 arch/arm/mach-tegra/Makefile                       |   1 -
 arch/arm/mach-tegra/cpuidle-tegra20.c              |   3 +-
 arch/arm/mach-tegra/flowctrl.c                     | 179 ----------------
 arch/arm/mach-tegra/flowctrl.h                     |  66 ------
 arch/arm/mach-tegra/platsmp.c                      |   2 +-
 arch/arm/mach-tegra/pm.c                           |   2 +-
 arch/arm/mach-tegra/reset-handler.S                |   2 +-
 arch/arm/mach-tegra/sleep-tegra20.S                |   3 +-
 arch/arm/mach-tegra/sleep-tegra30.S                |   2 +-
 arch/arm/mach-tegra/sleep.S                        |   2 -
 arch/arm/mach-tegra/tegra.c                        |   2 -
 arch/arm64/boot/dts/nvidia/tegra132.dtsi           |   2 +-
 drivers/soc/tegra/Kconfig                          |   9 +
 drivers/soc/tegra/Makefile                         |   1 +
 drivers/soc/tegra/flowctrl.c                       | 224 +++++++++++++++++++++
 include/soc/tegra/flowctrl.h                       |  82 ++++++++
 17 files changed, 332 insertions(+), 258 deletions(-)
 delete mode 100644 arch/arm/mach-tegra/flowctrl.c
 delete mode 100644 arch/arm/mach-tegra/flowctrl.h
 create mode 100644 drivers/soc/tegra/flowctrl.c
 create mode 100644 include/soc/tegra/flowctrl.h
Signature · 1 line
2.7.4