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>
This commit is contained in:
committed by
Shivnandan Kumar
parent
75b351fea1
commit
20abc9c522
@@ -6,32 +6,48 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
|
|||||||
|
|
||||||
title: Qualcomm Technologies, Inc. CPUCP Logging
|
title: Qualcomm Technologies, Inc. CPUCP Logging
|
||||||
|
|
||||||
description: |
|
maintainers:
|
||||||
CPUCP logging is a device that uses mailbox to collect the logs
|
- Amir Vajid <quic_avajid@quicinc.com>
|
||||||
generated from cpucp, and dump them into a dedicated log buffer
|
- Shivnandan Kumar <quic_kshivnan@quicinc.com>
|
||||||
through ipc_logging framework.
|
|
||||||
An instance of cpucp-log should have the mailbox controller phandle and
|
description:
|
||||||
addresses of log buffer set aside for this purpose.
|
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:
|
properties:
|
||||||
compatible:
|
compatible:
|
||||||
const: qcom,cpucp-log
|
enum:
|
||||||
|
- qcom,cpucp-log
|
||||||
|
- qcom,pdp-log
|
||||||
|
reg:
|
||||||
|
maxItems: 2
|
||||||
|
|
||||||
mboxes:
|
mboxes:
|
||||||
description:
|
description:
|
||||||
reference to "cpucp" mailbox, as described in mailbox/mailbox.txt.
|
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:
|
required:
|
||||||
- compatible
|
- compatible
|
||||||
- mboxes
|
- mboxes
|
||||||
- reg
|
- reg
|
||||||
|
- qcom,log-type
|
||||||
|
|
||||||
|
additionalProperties: false
|
||||||
|
|
||||||
examples:
|
examples:
|
||||||
- |
|
- |
|
||||||
cpucp_log: qcom,cpucp_log@fd04780 {
|
cpucp_log: qcom,cpucp_log@fd04780 {
|
||||||
#address-cells = <2>;
|
|
||||||
#size-cells = <2>;
|
|
||||||
compatible = "qcom,cpucp-log";
|
compatible = "qcom,cpucp-log";
|
||||||
reg = <0x0fd04580 0x200>, <0x0fd04780 0x200>;
|
reg = <0x0fd04580 0x200>,
|
||||||
|
<0x0fd04780 0x200>;
|
||||||
mboxes = <&cpucp 1>;
|
mboxes = <&cpucp 1>;
|
||||||
|
qcom,log-type = <0>;
|
||||||
};
|
};
|
||||||
|
@@ -6,7 +6,11 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
|
|||||||
|
|
||||||
title: Qualcomm Technologies, Inc. CPUCP Mailbox controller driver
|
title: Qualcomm Technologies, Inc. CPUCP Mailbox controller driver
|
||||||
|
|
||||||
description: |
|
maintainers:
|
||||||
|
- Amir Vajid <quic_avajid@quicinc.com>
|
||||||
|
- Shivnandan Kumar <quic_kshivnan@quicinc.com>
|
||||||
|
|
||||||
|
description:
|
||||||
This mailbox controller act as interface to do doorbell between
|
This mailbox controller act as interface to do doorbell between
|
||||||
HLOS and CPUCP subsystem.
|
HLOS and CPUCP subsystem.
|
||||||
|
|
||||||
@@ -17,25 +21,37 @@ properties:
|
|||||||
- qcom,cpucp-v2
|
- qcom,cpucp-v2
|
||||||
|
|
||||||
reg:
|
reg:
|
||||||
items:
|
items:
|
||||||
- description: tx base address
|
- description: tx base address
|
||||||
- description: rx base address
|
- description: rx base address
|
||||||
|
|
||||||
|
reg-names:
|
||||||
|
items:
|
||||||
|
- const: rx
|
||||||
|
- const: tx
|
||||||
|
|
||||||
"#mbox-cells":
|
"#mbox-cells":
|
||||||
const: 1
|
const: 1
|
||||||
|
|
||||||
|
qcom,rx-chans:
|
||||||
|
$ref: /schemas/types.yaml#/definitions/uint32
|
||||||
|
description: Bitmask of RX channels to monitor (optional)
|
||||||
|
|
||||||
required:
|
required:
|
||||||
- compatible
|
- compatible
|
||||||
- reg
|
- reg
|
||||||
|
- reg-names
|
||||||
- "#mbox-cells"
|
- "#mbox-cells"
|
||||||
|
|
||||||
|
additionalProperties: false
|
||||||
|
|
||||||
examples:
|
examples:
|
||||||
- |
|
- |
|
||||||
qcom,cpucp@0f400000 {
|
qcom,cpucp@f400000 {
|
||||||
#address-cells = <2>;
|
|
||||||
#size-cells = <2>;
|
|
||||||
compatible = "qcom,cpucp";
|
compatible = "qcom,cpucp";
|
||||||
reg = <0x0f400000 0x10>, <0x0fd90000 0x2000>;
|
reg = <0x0f400000 0x10>,
|
||||||
|
<0x0fd90000 0x2000>;
|
||||||
|
reg-names = "tx",
|
||||||
|
"rx";
|
||||||
#mbox-cells = <1>;
|
#mbox-cells = <1>;
|
||||||
status = "ok";
|
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user