bindings: Add rpm-smd and mpm dt bindings

Add the rpm-smd and mpm devicetree bindings.

Change-Id: I18ea19cc4c9f76dfc257c460ace5380792f5172c
Signed-off-by: Raghavendra Kakarla <quic_rkakarla@quicinc.com>
This commit is contained in:
Raghavendra Kakarla
2024-04-22 15:00:55 +05:30
committed by raghavendra kakarla
parent 0e6caaf6e2
commit 0b2389f72f
2 changed files with 114 additions and 0 deletions

45
bindings/arm/msm/rpm.yaml Normal file
View File

@@ -0,0 +1,45 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/arm/msm/rpm.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Qualcomm Technologies, Inc. RPM-SMD device
maintainers:
- Raghavendra Kakarla <quic_rkakarla@quicinc.com>
description:
RPM is a dedicated hardware engine for managing shared SoC resources,
which includes buses, clocks, power rails, etc. The goal of RPM is
to achieve the maximum power savings while satisfying the SoC's
operational and performance requirements. RPM accepts resource
requests from multiple RPM masters. It arbitrates and aggregates
the requests, and configures the shared resources. The RPM masters
are the application processor, the modem processor, as well as hardware
accelerators. The RPM driver communicates with the hardware engine using
SMD.
properties:
compatible:
items:
- const: qcom,rpm-smd
interrupts:
maxItems: 1
required:
- compatible
- interrupts
additionalProperties: false
examples:
- |
rpm_bus: qcom,rpm-smd {
compatible = "qcom,rpm-smd";
interrupts = <IPCC_CLIENT_AOP
IPCC_MPROC_SIGNAL_GLINK_QMP
IRQ_TYPE_EDGE_RISING>;
};