Files
android_kernel_samsung_sm87…/bindings/soc/qcom/qcom,cpucp-log.yaml
Amir Vajid 20abc9c522 dt-bindings: Update cpucp bindings to add support for pdp
Update cpucp and cpucp-log bindings to include compatible
string and properties required for pdp mailbox and logging.

Change-Id: I40f8f5ef64e9e1079e5925833e87e48288684ae7
Signed-off-by: Amir Vajid <quic_avajid@quicinc.com>
Signed-off-by: Shivnandan Kumar <quic_kshivnan@quicinc.com>
2024-02-06 13:43:12 +05:30

54 lines
1.3 KiB
YAML

# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/soc/qcom/qcom,cpucp-log.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Qualcomm Technologies, Inc. CPUCP Logging
maintainers:
- Amir Vajid <quic_avajid@quicinc.com>
- Shivnandan Kumar <quic_kshivnan@quicinc.com>
description:
CPUCP logging is a device that uses mailbox to collect the logs
generated from cpucp, and dump them into a dedicated log buffer
through ipc_logging framework.
An instance of cpucp-log should have the mailbox controller phandle and
addresses of log buffer set aside for this purpose.
properties:
compatible:
enum:
- qcom,cpucp-log
- qcom,pdp-log
reg:
maxItems: 2
mboxes:
description:
reference to "cpucp" mailbox, as described in mailbox/mailbox.txt.
qcom,log-type:
$ref: /schemas/types.yaml#/definitions/uint32
description:
CPUCP log type as described in enum cpucp_log_type in cpucp_log.c.
required:
- compatible
- mboxes
- reg
- qcom,log-type
additionalProperties: false
examples:
- |
cpucp_log: qcom,cpucp_log@fd04780 {
compatible = "qcom,cpucp-log";
reg = <0x0fd04580 0x200>,
<0x0fd04780 0x200>;
mboxes = <&cpucp 1>;
qcom,log-type = <0>;
};