mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/4] ARM: OMAP2+: AM33XX/AM43XX: Add suspend-resume support
@ 2018-02-16 21:39 Dave Gerlach
  2018-02-16 21:39 ` [PATCH 1/4] ARM: OMAP2+: Introduce low-level suspend code for AM33XX Dave Gerlach
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Dave Gerlach @ 2018-02-16 21:39 UTC (permalink / raw)
  To: Tony Lindgren, Santosh Shilimkar
  Cc: linux-arm-kernel, linux-omap, linux-kernel, Dave Gerlach,
	Keerthy J, Johan Hovold

Hi,
This series contains the remaining code to enable suspend to mem and standby
on am335x and am437x platforms. All dependencies have been merged and this
is just a rebase on v4.16-rc1. For this to work on am437x-gp-evm this
bug fix patch [1] is required but suspend works fine on am335x platforms
without it. V3 of this series can be found here [2].

This code also depends on firmware for the wkup_m3 that is available here [3]
that can either be placed in /lib/firmware or built in to the kernel.

For testing the drivers required are:

CONFIG_MAILBOX
CONFIG_OMAP2PLUS_MBOX
CONFIG_WKUP_M3_RPROC
CONFIG_SOC_TI
CONFIG_WKUP_M3_IPC
CONFIG_TI_EMIF_SRAM
CONFIG_AMX3_PM

There is a device tree patch series to follow immediately after this that will
completely enable suspend, all patches pushed here [4] for convenience
including the aforementioned [1] regulator bug fix if anyone is testing.

Regards,
Dave

[1] https://www.spinics.net/lists/linux-omap/msg141626.html
[2] https://www.spinics.net/lists/arm-kernel/msg595931.html
[3] https://git.ti.com/processor-firmware/ti-amx3-cm3-pm-firmware/blobs/7eb9c0856a9e8b3b42bf64f761da135852b8eea7/bin/am335x-pm-firmware.elf
[4] https://github.com/dgerlach/linux-pm/tree/upstream/v4.16/amx3-suspend-v4

Dave Gerlach (4):
  ARM: OMAP2+: Introduce low-level suspend code for AM33XX
  ARM: OMAP2+: Introduce low-level suspend code for AM43XX
  ARM: OMAP2+: pm33xx-core: Add platform code needed for PM
  soc: ti: Add pm33xx driver for basic suspend support

 Documentation/devicetree/bindings/arm/omap/mpu.txt |  16 +
 arch/arm/mach-omap2/Kconfig                        |   1 +
 arch/arm/mach-omap2/Makefile                       |  16 +
 arch/arm/mach-omap2/common.h                       |   7 +
 arch/arm/mach-omap2/io.c                           |   2 +
 arch/arm/mach-omap2/pm-asm-offsets.c               |  38 ++
 arch/arm/mach-omap2/pm.h                           |   3 +
 arch/arm/mach-omap2/pm33xx-core.c                  | 197 ++++++++++
 arch/arm/mach-omap2/sleep33xx.S                    | 222 ++++++++++++
 arch/arm/mach-omap2/sleep43xx.S                    | 395 +++++++++++++++++++++
 drivers/soc/ti/Kconfig                             |   9 +
 drivers/soc/ti/Makefile                            |   1 +
 drivers/soc/ti/pm33xx.c                            | 357 +++++++++++++++++++
 include/linux/platform_data/pm33xx.h               |  50 +++
 14 files changed, 1314 insertions(+)
 create mode 100644 arch/arm/mach-omap2/pm-asm-offsets.c
 create mode 100644 arch/arm/mach-omap2/pm33xx-core.c
 create mode 100644 arch/arm/mach-omap2/sleep33xx.S
 create mode 100644 arch/arm/mach-omap2/sleep43xx.S
 create mode 100644 drivers/soc/ti/pm33xx.c
 create mode 100644 include/linux/platform_data/pm33xx.h

-- 
2.16.1

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-02-22 14:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-16 21:39 [PATCH 0/4] ARM: OMAP2+: AM33XX/AM43XX: Add suspend-resume support Dave Gerlach
2018-02-16 21:39 ` [PATCH 1/4] ARM: OMAP2+: Introduce low-level suspend code for AM33XX Dave Gerlach
2018-02-16 21:40 ` [PATCH 2/4] ARM: OMAP2+: Introduce low-level suspend code for AM43XX Dave Gerlach
2018-02-20  7:25   ` Philippe Ombredanne
2018-02-22 14:28     ` Dave Gerlach
2018-02-16 21:40 ` [PATCH 3/4] ARM: OMAP2+: pm33xx-core: Add platform code needed for PM Dave Gerlach
2018-02-16 21:40 ` [PATCH 4/4] soc: ti: Add pm33xx driver for basic suspend support Dave Gerlach

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®