Samsung Exynos ACPM mailbox protocol
Schema identifier ($id): "http://devicetree.org/schemas/firmware/google,gs101-acpm-ipc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Tudor Ambarus <tudor.ambarus@linaro.org>"
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 and child nodes (properties) #
compatible — required here #
Exact value (const): "google,gs101-acpm-ipc"
#clock-cells — required here #
Exact value (const): 1
Clocks that are variable and index based. These clocks don't provide an entire range of values between the limits but only discrete points within the range. The firmware also manages the voltage scaling appropriately with the clock scaling. The argument is the ID of the clock contained by the firmware messages.
mboxes — required here #
Maximum number of items (maxItems): 1
pmic — not listed as required here #
Child node describing the main PMIC.
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
true
Allowed by this rule.
Properties and child nodes (properties) #
compatible — not listed as required here
Exact value (const): "samsung,s2mpg10-pmic"
shmem — required here #
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.
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "#clock-cells", "mboxes", "shmem"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/irq.h>
power-management {
compatible = "google,gs101-acpm-ipc";
#clock-cells = <1>;
mboxes = <&ap2apm_mailbox>;
shmem = <&apm_sram>;
pmic {
compatible = "samsung,s2mpg10-pmic";
interrupts-extended = <&gpa0 6 IRQ_TYPE_LEVEL_LOW>;
regulators {
ldo1m {
regulator-name = "vdd_ldo1";
regulator-min-microvolt = <700000>;
regulator-max-microvolt = <1300000>;
regulator-always-on;
};
// ...
buck8m {
regulator-name = "vdd_mif";
regulator-min-microvolt = <450000>;
regulator-max-microvolt = <1300000>;
regulator-always-on;
regulator-boot-on;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 2: Copyright 2024 Linaro Ltd.