Skip to content

Enable Power Modes Support for SAMA7D65 SoC

[email protected] linux-arm-kernel linux-devicetree linux-pm linux-rtc lkml 5 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest11 patches 8 repliesApplied
  2. v411 patches 4 repliesSuperseded
  3. v321 patches 17 repliesApplied
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v215 patches20 repliesSuperseded
v116 patches8 repliesSuperseded

Changes in v5 from the cover letter

- Use generic naming for dt-binding yaml example.
- Adjust DTSI SECUMOD node to match generic naming.
- Collect Acked and Reviewed tags.

Patches in v5 Applied

#Subject and filesSizeRepliesApplied
1/11dt-bindings: sram: Add microchip,sama7d65-sramDocumentation/devicetree/bindings/sram/sram.yaml+1 -00 replies
2/11dt-bindings: power: reset: atmel,sama5d2-shdwc: Add microchip,sama7d65-shdwcDocumentation/devicetree/bindings/power/reset/atmel,sama5d2-shdwc.yaml+5 -01 reply
3/11dt-bindings: reset: atmel,at91sam9260-reset: add microchip,sama7d65-rstcDocumentation/devicetree/bindings/reset/atmel,at91sam9260-reset.yaml+3 -00 replies
4/11dt-bindings: rtc: at91rm9200: add microchip,sama7d65-rtcDocumentation/devicetree/bindings/rtc/atmel,at91rm9200-rtc.yaml+3 -10 replies
5/11dt-bindings: at91rm9260-rtt: add microchip,sama7d65-rttDocumentation/devicetree/bindings/rtc/atmel,at91sam9260-rtt.yaml+1 -00 replies
6/11dt-bindings: mfd: atmel: Add microchip,sama7d65-gpbrDocumentation/devicetree/bindings/mfd/atmel,at91sam9260-gpbr.yaml+1 -00 replies
7/11dt-bindings: mfd: syscon: atmel,sama5d2-secumod: convert to yamlDocumentation/devicetree/bindings/arm/atmel,sama5d2-secumod.yaml Documentation/devicetree/bindings/arm/atmel-sysregs.txt+48 -250 replies
8/11dt-bindings: mfd: syscon: add microchip,sama7d65-secumodDocumentation/devicetree/bindings/arm/atmel,sama5d2-secumod.yaml+1 -00 replies
9/11ARM: dts: microchip: sama7d65: Add SRAM and DRAM components supportarch/arm/boot/dts/microchip/sama7d65.dtsi+35 -01 reply
10/11ARM: dts: microchip: sama7d65: Add RTT and GPBR Support for sama7d65 SoCarch/arm/boot/dts/microchip/sama7d65.dtsi+12 -01 reply
11/11ARM: dts: microchip: sama7d65: Add RTT timer to curiosity boardarch/arm/boot/dts/microchip/at91-sama7d65_curiosity.dts+4 -00 replies

Reviews trailers per patch

8 of 11 patches have a Reviewed-by or Acked-by.

PatchRob Herring (Arm)Krzysztof Kozlowski
1/11A-b
2/11A-b
3/11R-b
4/11A-b
5/11A-b
6/11A-b
7/11R-b
8/11A-b
9/11
10/11
11/11

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

Read the v5 thread

Cover letter [PATCH v5 00/11] Enable Power Modes Support for SAMA7D65 SoC

From: Ryan Wanner <[email protected]>

This patch set adds support for low power modes for the SAMA7D65 SoC and the required components and changes for low power modes.

The series includes changes in the asm code to account for the addtional clocks that are in this SoC.

The Device tree additions are to enable all the components needed to keep the SoC in low power mode.

There are some DTB check warnings but that is due to the dt-binding not in the correct .yaml file format.

Changes v1 -> v2:
- Add missing compatible for ddr3phy, it is now in both syscon sets.
- Fix alphabetical ordering for sama7d65.
- Remove the incorrect reorganizing patch.
- Remove sama7g5-rtt as a compatible for sama7d65-rtt and add sama7d65-rtt as a compatible wake up source in the pm driver.

Changes from v2 -> v3:
- Correct mistake in v2 sfrbu dt-binding patch.
- Correct incorrect dt-binding addition and formatting for rtc and rtt bindings.
- Add missing SoB tag.
- Cleaned up commit message for Backup mode to describe SHDWC is status register is cleared for this SoC.
- Cleaned up variable naming and usage for mcks. Changed the mcks number to the correct number of clocks needed to be saved and corrected the ASM code accordingly.
- Removed the SHDWC from ULP0 wake-up source as it is not configured as a valid wake-up source for ULP0.
- Separated all the DTSI and DTS changes into individual patches.

Changes from v3 -> v4:
- Add sama7d65-gpbr to the dt-binding.
- Converted the sama5d2-secumod binding into yaml format.
- Add sama7d65-secumod to the new dt binding.
- Collect and remove applied and accpeted pathces from the set.

Changes from v4 -> v5:
- Use generic naming for dt-binding yaml example.
- Adjust DTSI SECUMOD node to match generic naming.
- Collect Acked and Reviewed tags.

v1) https://lore.kernel.org/linux-arm-kernel/[email protected]/
v2) https://lore.kernel.org/linux-arm-kernel/[email protected]/
v3) https://lore.kernel.org/linux-arm-kernel/[email protected]/T/#m576233e7af84d68559afb286884c2b9294e7bc1d
v4) https://lore.kernel.org/linux-arm-kernel/[email protected]/

Ryan Wanner (11):
dt-bindings: sram: Add microchip,sama7d65-sram
dt-bindings: power: reset: atmel,sama5d2-shdwc: Add
microchip,sama7d65-shdwc
dt-bindings: reset: atmel,at91sam9260-reset: add
microchip,sama7d65-rstc
dt-bindings: rtc: at91rm9200: add microchip,sama7d65-rtc
dt-bindings: at91rm9260-rtt: add microchip,sama7d65-rtt
dt-bindings: mfd: atmel: Add microchip,sama7d65-gpbr
dt-bindings: mfd: syscon: atmel,sama5d2-secumod: convert to yaml
dt-bindings: mfd: syscon: add microchip,sama7d65-secumod
ARM: dts: microchip: sama7d65: Add SRAM and DRAM components support
ARM: dts: microchip: sama7d65: Add RTT and GPBR Support for sama7d65
SoC
ARM: dts: microchip: sama7d65: Add RTT timer to curiosity board

 .../bindings/arm/atmel,sama5d2-secumod.yaml   | 49 +++++++++++++++++++
 .../devicetree/bindings/arm/atmel-sysregs.txt | 25 ----------
 .../bindings/mfd/atmel,at91sam9260-gpbr.yaml  |  1 +
 .../power/reset/atmel,sama5d2-shdwc.yaml      |  5 ++
 .../reset/atmel,at91sam9260-reset.yaml        |  3 ++
 .../bindings/rtc/atmel,at91rm9200-rtc.yaml    |  4 +-
 .../bindings/rtc/atmel,at91sam9260-rtt.yaml   |  1 +
 .../devicetree/bindings/sram/sram.yaml        |  1 +
 .../dts/microchip/at91-sama7d65_curiosity.dts |  4 ++
 arch/arm/boot/dts/microchip/sama7d65.dtsi     | 47 ++++++++++++++++++
 10 files changed, 114 insertions(+), 26 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/arm/atmel,sama5d2-secumod.yaml
Signature · 1 line
2.43.0