Skip to content

ARM: at91: pm: add support for sama7g5

Claudiu Beznea linux-arm-kernel linux-devicetree lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest24 patches 2 repliesIn review
  2. v224 patches 2 repliesSuperseded
  3. v124 patches 9 repliesSuperseded

Changes in v3 from the cover letter

- drop: status = "okay" in patch 16/24

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/24ARM: at91: pm: move pm_bu to soc_pm data structurearch/arm/mach-at91/pm.c+21 -130 replies
2/24ARM: at91: pm: move the setup of soc_pm.bu->suspendedarch/arm/mach-at91/pm.c+12 -30 replies
3/24ARM: at91: pm: document at91_soc_pm structurearch/arm/mach-at91/pm.c+8 -00 replies
4/24ARM: at91: pm: check for different controllers in at91_pm_modes_init()arch/arm/mach-at91/pm.c+91 -520 replies
5/24ARM: at91: pm: do not initialize pdevarch/arm/mach-at91/pm.c+1 -10 replies
6/24ARM: at91: pm: use r7 instead of tmp1arch/arm/mach-at91/pm_suspend.S+12 -60 replies
7/24ARM: at91: pm: avoid push and pop on stack while memory is in self-refersharch/arm/mach-at91/pm_suspend.S+205 -1920 replies
8/24ARM: at91: pm: s/CONFIG_SOC_SAM9X60/CONFIG_HAVE_AT91_SAM9X60_PLL/garch/arm/mach-at91/pm_suspend.S+2 -20 replies
9/24ARM: at91: pm: add support for waiting MCK1..4arch/arm/mach-at91/pm_suspend.S+35 -130 replies
10/24ARM: at91: sfrbu: add sfrbu registers definitions for sama7g5include/soc/at91/sama7-sfrbu.h+34 -00 replies
11/24ARM: at91: ddr: add registers definitions for sama7g5's ddrinclude/soc/at91/sama7-ddr.h+80 -00 replies
12/24ARM: at91: pm: add self-refresh support for sama7g5arch/arm/mach-at91/pm.h arch/arm/mach-at91/pm_data-offsets.c arch/arm/mach-at91/pm_suspend.S+203 -00 replies
13/24ARM: at91: pm: add support for MCK1..4 save/restore for ulp modesarch/arm/mach-at91/pm_suspend.S+126 -00 replies
14/24ARM: at91: pm: add support for 2.5V LDO regulator controlarch/arm/mach-at91/pm.h arch/arm/mach-at91/pm_suspend.S+30 -00 replies
15/24ARM: at91: pm: wait for ddr power mode offarch/arm/mach-at91/pm_suspend.S+5 -00 replies
16/24dt-bindings: atmel-sysreg: add bindings for sama7g5Documentation/devicetree/bindings/arm/atmel-sysregs.txt+13 -11 reply
17/24ARM: at91: pm: add sama7g5 ddr controllerarch/arm/mach-at91/pm.c+6 -30 replies
18/24ARM: at91: pm: add sama7g5 ddr phy controllerarch/arm/mach-at91/pm.c+21 -60 replies
19/24ARM: at91: pm: save ddr phy calibration data to securamarch/arm/mach-at91/pm.c+59 -10 replies
20/24ARM: at91: pm: add backup mode support for SAMA7G5arch/arm/mach-at91/pm.c arch/arm/mach-at91/pm_suspend.S+9 -10 replies
21/24ARM: at91: pm: add sama7g5's pmcarch/arm/mach-at91/pm.c+6 -00 replies
22/24ARM: at91: sama7: introduce sama7 SoC familyarch/arm/mach-at91/Makefile arch/arm/mach-at91/sama7.c+33 -00 replies
23/24ARM: at91: pm: add pm support for SAMA7G5arch/arm/mach-at91/generic.h arch/arm/mach-at91/pm.c arch/arm/mach-at91/sama7.c+40 -00 replies
24/24ARM: at91: pm: add sama7g5 shdwcarch/arm/mach-at91/pm.c+1 -00 replies

Reviews trailers per patch

2 of 24 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAlexandre BelloniRob HerringNicolas Ferre
SeriesA-b
1/24
2/24R-b
3/24
4/24
5/24
6/24
7/24
8/24
9/24
10/24
11/24
12/24
13/24
14/24
15/24
16/24A-b
17/24
18/24
19/24
20/24
21/24
22/24
23/24
24/24

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [PATCH v3 00/24] ARM: at91: pm: add support for sama7g5

Hi,

This series adds PM support for SAMA7G5. The standby, ulp0, ulp1, and backup modes are supported.

Thank you,
Claudiu Beznea

Changes in v3:
- drop: status = "okay" in patch 16/24

Changes in v2:
- keep only the generic sama7_dt in patch 22/24 and adapt patch 23/24
- collected tags

Claudiu Beznea (23):
ARM: at91: pm: move pm_bu to soc_pm data structure
ARM: at91: pm: move the setup of soc_pm.bu->suspended
ARM: at91: pm: document at91_soc_pm structure
ARM: at91: pm: check for different controllers in at91_pm_modes_init()
ARM: at91: pm: do not initialize pdev
ARM: at91: pm: use r7 instead of tmp1
ARM: at91: pm: avoid push and pop on stack while memory is in
self-refersh
ARM: at91: pm: s/CONFIG_SOC_SAM9X60/CONFIG_HAVE_AT91_SAM9X60_PLL/g
ARM: at91: pm: add support for waiting MCK1..4
ARM: at91: sfrbu: add sfrbu registers definitions for sama7g5
ARM: at91: ddr: add registers definitions for sama7g5's ddr
ARM: at91: pm: add self-refresh support for sama7g5
ARM: at91: pm: add support for MCK1..4 save/restore for ulp modes
ARM: at91: pm: add support for 2.5V LDO regulator control
ARM: at91: pm: wait for ddr power mode off
dt-bindings: atmel-sysreg: add bindings for sama7g5
ARM: at91: pm: add sama7g5 ddr controller
ARM: at91: pm: add sama7g5 ddr phy controller
ARM: at91: pm: save ddr phy calibration data to securam
ARM: at91: pm: add backup mode support for SAMA7G5
ARM: at91: pm: add sama7g5's pmc
ARM: at91: pm: add pm support for SAMA7G5
ARM: at91: pm: add sama7g5 shdwc

Eugen Hristev (1):
ARM: at91: sama7: introduce sama7 SoC family

 .../devicetree/bindings/arm/atmel-sysregs.txt |  14 +-
 arch/arm/mach-at91/Makefile                   |   1 +
 arch/arm/mach-at91/generic.h                  |   2 +
 arch/arm/mach-at91/pm.c                       | 343 ++++++--
 arch/arm/mach-at91/pm.h                       |   3 +
 arch/arm/mach-at91/pm_data-offsets.c          |   2 +
 arch/arm/mach-at91/pm_suspend.S               | 827 +++++++++++++-----
 arch/arm/mach-at91/sama7.c                    |  33 +
 include/soc/at91/sama7-ddr.h                  |  80 ++
 include/soc/at91/sama7-sfrbu.h                |  34 +
 10 files changed, 1049 insertions(+), 290 deletions(-)
 create mode 100644 arch/arm/mach-at91/sama7.c
 create mode 100644 include/soc/at91/sama7-ddr.h
 create mode 100644 include/soc/at91/sama7-sfrbu.h
Signature · 1 line
2.25.1