Path: blob/master/Documentation/devicetree/bindings/firmware/google,gs101-acpm-ipc.yaml
53269 views
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)1# Copyright 2024 Linaro Ltd.2%YAML 1.23---4$id: http://devicetree.org/schemas/firmware/google,gs101-acpm-ipc.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#67title: Samsung Exynos ACPM mailbox protocol89maintainers:10- Tudor Ambarus <tudor.ambarus@linaro.org>1112description: |13ACPM (Alive Clock and Power Manager) is a firmware that operates on the14APM (Active Power Management) module that handles overall power management15activities. ACPM and masters regard each other as independent hardware16component and communicate with each other using mailbox messages and17shared memory.1819This binding is intended to define the interface the firmware implementing20ACPM provides for OSPM in the device tree.2122properties:23compatible:24const: google,gs101-acpm-ipc2526"#clock-cells":27const: 128description:29Clocks that are variable and index based. These clocks don't provide30an entire range of values between the limits but only discrete points31within the range. The firmware also manages the voltage scaling32appropriately with the clock scaling. The argument is the ID of the33clock contained by the firmware messages.3435mboxes:36maxItems: 13738pmic:39description: Child node describing the main PMIC.40type: object41additionalProperties: true4243properties:44compatible:45const: samsung,s2mpg10-pmic4647shmem:48description:49List of phandle pointing to the shared memory (SHM) area. The memory50contains channels configuration data and the TX/RX ring buffers that51are used for passing messages to/from the ACPM firmware.52maxItems: 15354required:55- compatible56- "#clock-cells"57- mboxes58- shmem5960additionalProperties: false6162examples:63- |64#include <dt-bindings/interrupt-controller/irq.h>6566power-management {67compatible = "google,gs101-acpm-ipc";68#clock-cells = <1>;69mboxes = <&ap2apm_mailbox>;70shmem = <&apm_sram>;7172pmic {73compatible = "samsung,s2mpg10-pmic";74interrupts-extended = <&gpa0 6 IRQ_TYPE_LEVEL_LOW>;7576regulators {77ldo1m {78regulator-name = "vdd_ldo1";79regulator-min-microvolt = <700000>;80regulator-max-microvolt = <1300000>;81regulator-always-on;82};8384// ...8586buck8m {87regulator-name = "vdd_mif";88regulator-min-microvolt = <450000>;89regulator-max-microvolt = <1300000>;90regulator-always-on;91regulator-boot-on;92};93};94};95};969798