From: Tudor Ambarus <tudor.ambarus@linaro.org>
To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org,
alim.akhtar@samsung.com
Cc: linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
andre.draszik@linaro.org, kernel-team@android.com,
willmcvicker@google.com, peter.griffin@linaro.org,
javierm@redhat.com, tzimmermann@suse.de,
daniel.lezcano@linaro.org, vincent.guittot@linaro.org,
ulf.hansson@linaro.org, arnd@arndb.de,
Tudor Ambarus <tudor.ambarus@linaro.org>
Subject: [PATCH v3 1/3] dt-bindings: firmware: add samsung,exynos-acpm-ipc bindings
Date: Thu, 5 Dec 2024 17:53:43 +0000 [thread overview]
Message-ID: <20241205175345.201595-2-tudor.ambarus@linaro.org> (raw)
In-Reply-To: <20241205175345.201595-1-tudor.ambarus@linaro.org>
Add bindings for the samsung exynos ACPM mailbox protocol.
Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
---
.../firmware/samsung,exynos-acpm-ipc.yaml | 64 +++++++++++++++++++
1 file changed, 64 insertions(+)
create mode 100644 Documentation/devicetree/bindings/firmware/samsung,exynos-acpm-ipc.yaml
diff --git a/Documentation/devicetree/bindings/firmware/samsung,exynos-acpm-ipc.yaml b/Documentation/devicetree/bindings/firmware/samsung,exynos-acpm-ipc.yaml
new file mode 100644
index 000000000000..bfc9b4af9ea1
--- /dev/null
+++ b/Documentation/devicetree/bindings/firmware/samsung,exynos-acpm-ipc.yaml
@@ -0,0 +1,64 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+# Copyright 2024 Linaro Ltd.
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/firmware/samsung,exynos-acpm-ipc.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Samsung exynos ACPM mailbox protocol
+
+maintainers:
+ - Tudor Ambarus <tudor.ambarus@linaro.org>
+
+description: |
+ ACPM (Alive Clock and Power Manager) is a firmware that operates on the
+ APM (Active Power Management) module that handles overall power management
+ activities. ACPM and masters regard each other as independent hardware
+ component and communicate with each other using mailbox messages and
+ shared memory.
+
+ This binding is intended to define the interface the firmware implementing
+ ACPM provides for OSPM in the device tree.
+
+properties:
+ $nodename:
+ const: acpm_ipc
+
+ compatible:
+ const: google,gs101-acpm-ipc
+
+ mboxes:
+ description:
+ List of phandle and mailbox channel specifiers.
+ maxItems: 1
+
+ shmem:
+ description:
+ List of phandle pointing to the shared memory (SHM) area. The memory
+ contains channels configuration data and the TX/RX ring buffers that
+ are used for passing messages to/from the ACPM firmware.
+ maxItems: 1
+
+ initdata-base:
+ $ref: /schemas/types.yaml#/definitions/uint32
+ description:
+ Base address of the configuration data in the shared memory.
+
+additionalProperties: false
+
+required:
+ - compatible
+ - mboxes
+ - shmem
+ - initdata-base
+
+examples:
+ - |
+ firmware {
+ acpm_ipc: acpm_ipc {
+ compatible = "google,gs101-acpm-ipc";
+ mboxes = <&ap2apm_mailbox 0>;
+ shmem = <&apm_sram>;
+ initdata-base = <0xa000>;
+ };
+ };
--
2.47.0.338.g60cca15819-goog
next prev parent reply other threads:[~2024-12-05 17:53 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-05 17:53 [PATCH v3 0/3] firmware: add exynos ACPM protocol driver Tudor Ambarus
2024-12-05 17:53 ` Tudor Ambarus [this message]
2024-12-09 8:03 ` [PATCH v3 1/3] dt-bindings: firmware: add samsung,exynos-acpm-ipc bindings Krzysztof Kozlowski
2024-12-09 8:19 ` Tudor Ambarus
2024-12-05 17:53 ` [PATCH v3 2/3] firmware: add exynos ACPM protocol driver Tudor Ambarus
2024-12-05 23:39 ` Daniel Lezcano
2024-12-06 13:28 ` Krzysztof Kozlowski
2024-12-06 19:50 ` Daniel Lezcano
2024-12-08 16:38 ` Markuss Broks
2024-12-09 8:29 ` Krzysztof Kozlowski
2024-12-11 12:13 ` Peter Griffin
2024-12-06 6:47 ` Arnd Bergmann
2024-12-06 11:59 ` Tudor Ambarus
2024-12-06 13:02 ` Arnd Bergmann
2024-12-05 17:53 ` [PATCH v3 3/3] MAINTAINERS: add entry for the samsung exynos ACPM mailbox protocol Tudor Ambarus
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=20241205175345.201595-2-tudor.ambarus@linaro.org \
--to=tudor.ambarus@linaro.org \
--cc=alim.akhtar@samsung.com \
--cc=andre.draszik@linaro.org \
--cc=arnd@arndb.de \
--cc=conor+dt@kernel.org \
--cc=daniel.lezcano@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=javierm@redhat.com \
--cc=kernel-team@android.com \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=peter.griffin@linaro.org \
--cc=robh@kernel.org \
--cc=tzimmermann@suse.de \
--cc=ulf.hansson@linaro.org \
--cc=vincent.guittot@linaro.org \
--cc=willmcvicker@google.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 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®