Re: [PATCH v3 1/2] dt-bindings: soc: qcom: Add RPM Master stats

From: Krzysztof Kozlowski
Date: Sun Apr 16 2023 - 04:52:06 EST


On 14/04/2023 13:37, Konrad Dybcio wrote:
> The RPM MSG RAM contains per-RPM-master (e.g. APPS, ADSP etc.) sleep
> statistics. They let one assess which core is actively preventing the
> system from entering a true low-power mode.
>
> Signed-off-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxx>
> ---
> .../bindings/soc/qcom/qcom,rpm-master-stats.yaml | 53 ++++++++++++++++++++++
> 1 file changed, 53 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,rpm-master-stats.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,rpm-master-stats.yaml
> new file mode 100644
> index 000000000000..d7e58cbd3344
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/soc/qcom/qcom,rpm-master-stats.yaml
> @@ -0,0 +1,53 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/soc/qcom/qcom,rpm-master-stats.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Qualcomm Technologies, Inc. (QTI) RPM Master Stats
> +
> +maintainers:
> + - Konrad Dybcio <konrad.dybcio@xxxxxxxxxx>
> +
> +description:
> + Per-RPM-Master (e.g. APSS, ADSP, etc.) sleep statistics.

Explain what is RPM-Master and what do you mean by "sleep".

> +
> +properties:
> + compatible:
> + const: qcom,rpm-master-stats
> +
> + qcom,rpm-msg-ram:
> + $ref: /schemas/types.yaml#/definitions/phandle-array
> + description: Phandle to an RPM MSG RAM slice containing the master stats
> + minItems: 1
> + maxItems: 5
> +
> + qcom,master-names:
> + $ref: /schemas/types.yaml#/definitions/string-array
> + description: RPM Master name

There is a relation between this and qcom,rpm-msg-ram which you do not
describe. It's not just RPM master name...

Best regards,
Krzysztof