All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dave Gerlach <d-gerlach@ti.com>
To: Rob Herring <robh+dt@kernel.org>,
	Santosh Shilimkar <ssantosh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Tero Kristo <kristo@kernel.org>, Nishanth Menon <nm@ti.com>
Cc: <linux-arm-kernel@lists.infradead.org>,
	<linux-kernel@vger.kernel.org>, <devicetree@vger.kernel.org>,
	Vignesh Raghavendra <vigneshr@ti.com>,
	Dave Gerlach <d-gerlach@ti.com>
Subject: [PATCH 1/6] dt-bindings: ti,sci: Add ti,ctx-memory-region property
Date: Thu, 21 Apr 2022 15:36:54 -0500	[thread overview]
Message-ID: <20220421203659.27853-2-d-gerlach@ti.com> (raw)
In-Reply-To: <20220421203659.27853-1-d-gerlach@ti.com>

Add documentation for the ti,ctx-memory-region property which is a
phandle to a reserved-memory carveout to be used by the ti_sci driver
storage of low power mode memory context. This is optional for normal
system operation but required to enabled suspend-to-mem usage of Deep
Sleep state.

Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
---
 .../devicetree/bindings/arm/keystone/ti,sci.yaml         | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml b/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml
index 34f5f877d444..ec88aa88a2a0 100644
--- a/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml
+++ b/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml
@@ -61,6 +61,15 @@ properties:
   mboxes:
     minItems: 2
 
+  ti,ctx-memory-region:
+    description:
+      Phandle to the reserved memory node to be associated with the
+      ti-sci device, to be used for saving low power context. The
+      reserved memory node should be a carveout node, and should
+      be defined as per the bindings in
+      Documentation/devicetree/bindings/reserved-memory/reserved-memory.yaml
+    $ref: /schemas/types.yaml#/definitions/string
+
   ti,system-reboot-controller:
     description: Determines If system reboot can be triggered by SoC reboot
     type: boolean
-- 
2.35.0


WARNING: multiple messages have this Message-ID (diff)
From: Dave Gerlach <d-gerlach@ti.com>
To: Rob Herring <robh+dt@kernel.org>,
	Santosh Shilimkar <ssantosh@kernel.org>,
	 Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Tero Kristo <kristo@kernel.org>, Nishanth Menon <nm@ti.com>
Cc: <linux-arm-kernel@lists.infradead.org>,
	<linux-kernel@vger.kernel.org>, <devicetree@vger.kernel.org>,
	Vignesh Raghavendra <vigneshr@ti.com>,
	Dave Gerlach <d-gerlach@ti.com>
Subject: [PATCH 1/6] dt-bindings: ti,sci: Add ti,ctx-memory-region property
Date: Thu, 21 Apr 2022 15:36:54 -0500	[thread overview]
Message-ID: <20220421203659.27853-2-d-gerlach@ti.com> (raw)
In-Reply-To: <20220421203659.27853-1-d-gerlach@ti.com>

Add documentation for the ti,ctx-memory-region property which is a
phandle to a reserved-memory carveout to be used by the ti_sci driver
storage of low power mode memory context. This is optional for normal
system operation but required to enabled suspend-to-mem usage of Deep
Sleep state.

Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
---
 .../devicetree/bindings/arm/keystone/ti,sci.yaml         | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml b/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml
index 34f5f877d444..ec88aa88a2a0 100644
--- a/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml
+++ b/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml
@@ -61,6 +61,15 @@ properties:
   mboxes:
     minItems: 2
 
+  ti,ctx-memory-region:
+    description:
+      Phandle to the reserved memory node to be associated with the
+      ti-sci device, to be used for saving low power context. The
+      reserved memory node should be a carveout node, and should
+      be defined as per the bindings in
+      Documentation/devicetree/bindings/reserved-memory/reserved-memory.yaml
+    $ref: /schemas/types.yaml#/definitions/string
+
   ti,system-reboot-controller:
     description: Determines If system reboot can be triggered by SoC reboot
     type: boolean
-- 
2.35.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  reply	other threads:[~2022-04-21 20:38 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-21 20:36 [PATCH 0/6] firmware: ti_sci: Introduce system suspend support Dave Gerlach
2022-04-21 20:36 ` Dave Gerlach
2022-04-21 20:36 ` Dave Gerlach [this message]
2022-04-21 20:36   ` [PATCH 1/6] dt-bindings: ti,sci: Add ti,ctx-memory-region property Dave Gerlach
2022-04-22 19:02   ` Andrew Davis
2022-04-22 19:02     ` Andrew Davis
2022-04-22 19:02     ` Andrew Davis
2022-04-22 19:10     ` Dave Gerlach
2022-04-22 19:10       ` Dave Gerlach
2022-04-23 13:36       ` Nishanth Menon
2022-04-23 13:36         ` Nishanth Menon
2022-04-25 20:24         ` Dave Gerlach
2022-04-25 20:24           ` Dave Gerlach
2022-04-26  3:28           ` Nishanth Menon
2022-04-26  3:28             ` Nishanth Menon
2022-05-02 20:14   ` Rob Herring
2022-05-02 20:14     ` Rob Herring
2022-04-21 20:36 ` [PATCH 2/6] dt-bindings: ti,sci: Add lpm region and ti,lpm-firmware-name Dave Gerlach
2022-04-21 20:36   ` [PATCH 2/6] dt-bindings: ti, sci: Add lpm region and ti, lpm-firmware-name Dave Gerlach
2022-05-02 20:15   ` [PATCH 2/6] dt-bindings: ti,sci: Add lpm region and ti,lpm-firmware-name Rob Herring
2022-05-02 20:15     ` Rob Herring
2022-04-21 20:36 ` [PATCH 3/6] firmware: ti_sci: Introduce Power Management Ops Dave Gerlach
2022-04-21 20:36   ` Dave Gerlach
2022-04-21 20:36 ` [PATCH 4/6] firmware: ti_sci: Introduce ti,ctx-memory-region for reserved LPM memory Dave Gerlach
2022-04-21 20:36   ` [PATCH 4/6] firmware: ti_sci: Introduce ti, ctx-memory-region " Dave Gerlach
2022-04-21 20:36 ` [PATCH 5/6] firmware: ti_sci: Use dt provided fw name and address to load at suspend time Dave Gerlach
2022-04-21 20:36   ` Dave Gerlach
2022-04-21 20:36 ` [PATCH 6/6] firmware: ti_sci: Introduce prepare system suspend call Dave Gerlach
2022-04-21 20:36   ` Dave Gerlach

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220421203659.27853-2-d-gerlach@ti.com \
    --to=d-gerlach@ti.com \
    --cc=devicetree@vger.kernel.org \
    --cc=kristo@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nm@ti.com \
    --cc=robh+dt@kernel.org \
    --cc=ssantosh@kernel.org \
    --cc=vigneshr@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.