Skip to content

Support regulators coupling on NVIDIA Tegra20/30

Dmitry Osipenko linux-devicetree linux-tegra lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 8 repliesIn review
  2. v13 patches 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3dt-bindings: regulator: Document regulators coupling of NVIDIA Tegra20/30 SoCsDocumentation/devicetree/bindings/regulator/nvidia,tegra-regulators-coupling.txt+65 -02 replies
2/3soc/tegra: regulators: Add regulators coupler for Tegra20drivers/soc/tegra/Kconfig drivers/soc/tegra/Makefile drivers/soc/tegra/regulators-tegra20.c+371 -00 replies
3/3soc/tegra: regulators: Add regulators coupler for Tegra30drivers/soc/tegra/Kconfig drivers/soc/tegra/Makefile drivers/soc/tegra/regulators-tegra30.c+321 -05 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchPeter De SchrijverRob Herring
1/3R-b
2/3
3/3A-b

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 0/3] Support regulators coupling on NVIDIA Tegra20/30

Hello,

The voltage regulators need to be coupled on NVIDIA Tegra20 and Tegra30 SoCs in order to provide voltage scaling functionality in a generic way. All necessary regulator-core patches that added support for the regulators coupling are already have been merge into mainline kernel. This series adds customized voltage couplers for Tegra20/30 SoCs, paving the way for a refined CPUFreq driver that will utilize voltage scaling and other neat features. This is a resend of a leftover patches from a previous series
[1] that was partially applied by Mark Brown. Please review, thanks in advance!

[1] https://patchwork.ozlabs.org/project/linux-tegra/list/?series=115626

Changelog:

v2: - Some days ago OPP framework got a change that makes CPU regulator
to be enabled at the time of CPUFreq's driver initializing OPPs. In a result the CPU's voltage is dropped to a minimum value on CPUFreq's setting up because there are no consumers at the time of regulator's enabling, thus CPU is getting into a big trouble. This problem is now resolved in the couplers code by assuming that min_uV=current_uV for CPU's regulator if it doesn't have any active consumers.

Dmitry Osipenko (3):
dt-bindings: regulator: Document regulators coupling of NVIDIA

    Tegra20/30 SoCs

soc/tegra: regulators: Add regulators coupler for Tegra20 soc/tegra: regulators: Add regulators coupler for Tegra30

 .../nvidia,tegra-regulators-coupling.txt      |  65 ++++
 drivers/soc/tegra/Kconfig                     |  10 +
 drivers/soc/tegra/Makefile                    |   2 +
 drivers/soc/tegra/regulators-tegra20.c        | 364 ++++++++++++++++++
 drivers/soc/tegra/regulators-tegra30.c        | 316 +++++++++++++++
 5 files changed, 757 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/regulator/nvidia,tegra-regulators-coupling.txt
 create mode 100644 drivers/soc/tegra/regulators-tegra20.c
 create mode 100644 drivers/soc/tegra/regulators-tegra30.c
Signature · 1 line
2.22.0