mbox series

[v3,00/24] ARM: at91: pm: add support for sama7g5

Message ID 20210415105010.569620-1-claudiu.beznea@microchip.com
Headers show
Series ARM: at91: pm: add support for sama7g5 | expand

Message

Claudiu Beznea April 15, 2021, 10:49 a.m. UTC
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

Comments

Nicolas Ferre July 16, 2021, 6:03 p.m. UTC | #1
On 15/04/2021 at 12:49, Claudiu Beznea wrote:
> 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


Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>

For the whole series. Thanks Claudiu and Eugen.

Best regards,
   Nicolas


> 

>   .../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

> 



-- 
Nicolas Ferre