Skip to content

Tegra PMC pinctrl pad configuration

Aapo Vienamo linux-devicetree linux-tegra lkml 6 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest7 patches 0 repliesNew
  2. v57 patches 1 replySuperseded
  3. v47 patches 0 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v37 patches7 repliesSuperseded
v27 patches6 repliesSuperseded
v16 patches12 repliesSuperseded

Changes in v6 from the cover letter

- Fix typos and grammar in dt-bindings docs.

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7soc/tegra: pmc: Fix pad voltage configuration for Tegra186drivers/soc/tegra/pmc.c include/soc/tegra/pmc.h+39 -170 replies
2/7soc/tegra: pmc: Factor out DPD register bit calculationdrivers/soc/tegra/pmc.c+17 -30 replies
3/7soc/tegra: pmc: Implement tegra_io_pad_is_powered()drivers/soc/tegra/pmc.c+16 -00 replies
4/7soc/tegra: pmc: Use X macro to generate IO pad tablesdrivers/soc/tegra/pmc.c+127 -1060 replies
5/7dt-bindings: Add Tegra PMC pad configuration bindingsDocumentation/devicetree/bindings/arm/tegra/nvidia,tegra186-pmc.txt Documentation/devicetree/bindings/arm/tegra/nvidia,tegra20-pmc.txt include/dt-bindings/pinctrl/pinctrl-tegra-io-pad.h+213 -00 replies
6/7soc/tegra: pmc: Remove public pad voltage APIsdrivers/soc/tegra/pmc.c include/soc/tegra/pmc.h+8 -280 replies
7/7soc/tegra: pmc: Implement pad configuration via pinctrldrivers/soc/tegra/pmc.c+185 -20 replies

Reviews trailers per patch

6 of 7 patches have a Reviewed-by or Acked-by.

PatchJon HunterRob Herring
1/7A-b
2/7A-b
3/7A-b
4/7
5/7A-b R-b
6/7A-b
7/7A-b

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

Read the v6 thread

Cover letter [PATCH v6 0/7] Tegra PMC pinctrl pad configuration

Hi all,

The Tegra Power Management Controller (PMC) can set pad power states and voltage configuration. This series implements pinctrl interfaces for configuring said pad properties.

Changelog
v6:
- Fix typos and grammar in dt-bindings docs.
v5:
- Fix a typo in "soc/tegra: pmc: Remove public pad voltage APIs"
- 1.8 V / 3.3 V selection logic worked the wrong way around on SoCs without pmc->soc->has_impl_33v_pwr.
v4:
- Revise the dt-bindings docs
v3:
- Don't expose tegra_io_pad_is_powered()
- Remove tegra_io_pad_set_voltage() stub from pmc.h
- Fixes i386 build failure reported by kbuild test robot
v2:
- Add Tegra186 AO_HV pad
- Make the IO pad tables narrower
- Add parens to TEGRA_IO_PAD() and TEGRA_IO_PIN_DESC()
- Fix a typo in the dt-bindings docs
- Remove old pmc pad voltage configuration APIs
- Check return value of tegra_io_pad_find() in tegra_io_pad_pinconf_get()/_set()

Aapo Vienamo (7):
soc/tegra: pmc: Fix pad voltage configuration for Tegra186 soc/tegra: pmc: Factor out DPD register bit calculation soc/tegra: pmc: Implement tegra_io_pad_is_powered() soc/tegra: pmc: Use X macro to generate IO pad tables
dt-bindings: Add Tegra PMC pad configuration bindings soc/tegra: pmc: Remove public pad voltage APIs soc/tegra: pmc: Implement pad configuration via pinctrl

 .../bindings/arm/tegra/nvidia,tegra186-pmc.txt     |  92 ++++
 .../bindings/arm/tegra/nvidia,tegra20-pmc.txt      | 103 +++++
 drivers/soc/tegra/pmc.c                            | 512 +++++++++++++++------
 include/dt-bindings/pinctrl/pinctrl-tegra-io-pad.h |  18 +
 include/soc/tegra/pmc.h                            |  20 +-
 5 files changed, 597 insertions(+), 148 deletions(-)
 create mode 100644 include/dt-bindings/pinctrl/pinctrl-tegra-io-pad.h
Signature · 1 line
2.7.4