dt-bindings: clock: qcom: Add EVA clock and reset controller for Glymur SoC

Add the device tree bindings for the enhanced video analytics(EVA) clock
controller which is required on Qualcomm Glymur SoC. The controller
provides clocks, resets and power domains for the EVA subsystem.

Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Taniya Das <taniya.das@oss.qualcomm.com>
Link: https://patch.msgid.link/20260617-evacc_glymur-v2-2-905108dacaaa@oss.qualcomm.com
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
This commit is contained in:
Taniya Das
2026-08-05 15:36:01 +03:00
committed by Abel Vesa
parent fd1f76d1f9
commit 15fcb0be13
2 changed files with 110 additions and 0 deletions
@@ -0,0 +1,72 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/clock/qcom,glymur-evacc.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Qualcomm EVA Clock & Reset Controller on Glymur SoC
maintainers:
- Taniya Das <taniya.das@oss.qualcomm.com>
description: |
Qualcomm EVA clock control module which supports the clocks, resets and
power domains for the EVA instances on Glymur SoC.
See also:
- include/dt-bindings/clock/qcom,glymur-evacc.h
properties:
compatible:
const: qcom,glymur-evacc
clocks:
items:
- description: Interface clock from GCC
- description: Board XO source
- description: Sleep clock source
power-domains:
items:
- description: MMCX power domain
- description: MXC power domain
required-opps:
description:
Required OPP nodes for the MMCX and MXC power domains.
items:
- description: MMCX performance point
- description: MXC performance point
required:
- compatible
- clocks
- power-domains
- required-opps
- '#power-domain-cells'
allOf:
- $ref: qcom,gcc.yaml#
unevaluatedProperties: false
examples:
- |
#include <dt-bindings/clock/qcom,glymur-gcc.h>
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/power/qcom,rpmhpd.h>
clock-controller@ab00000 {
compatible = "qcom,glymur-evacc";
reg = <0x0ab00000 0x10000>;
clocks = <&gcc GCC_EVA_AHB_CLK>,
<&rpmhcc RPMH_CXO_CLK>,
<&sleep_clk>;
power-domains = <&rpmhpd RPMHPD_MMCX>,
<&rpmhpd RPMHPD_MXC>;
required-opps = <&rpmhpd_opp_low_svs>,
<&rpmhpd_opp_low_svs>;
#clock-cells = <1>;
#reset-cells = <1>;
#power-domain-cells = <1>;
};
...
@@ -0,0 +1,38 @@
/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
/*
* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
*/
#ifndef _DT_BINDINGS_CLK_QCOM_EVACC_GLYMUR_H
#define _DT_BINDINGS_CLK_QCOM_EVACC_GLYMUR_H
/* EVA_CC clocks */
#define EVA_CC_AHB_CLK 0
#define EVA_CC_AHB_CLK_SRC 1
#define EVA_CC_MVS0_CLK 2
#define EVA_CC_MVS0_CLK_SRC 3
#define EVA_CC_MVS0_DIV_CLK_SRC 4
#define EVA_CC_MVS0_FREERUN_CLK 5
#define EVA_CC_MVS0_SHIFT_CLK 6
#define EVA_CC_MVS0C_CLK 7
#define EVA_CC_MVS0C_DIV2_DIV_CLK_SRC 8
#define EVA_CC_MVS0C_FREERUN_CLK 9
#define EVA_CC_MVS0C_SHIFT_CLK 10
#define EVA_CC_PLL0 11
#define EVA_CC_SLEEP_CLK 12
#define EVA_CC_SLEEP_CLK_SRC 13
#define EVA_CC_XO_CLK 14
#define EVA_CC_XO_CLK_SRC 15
/* EVA_CC power domains */
#define EVA_CC_MVS0_GDSC 0
#define EVA_CC_MVS0C_GDSC 1
/* EVA_CC resets */
#define EVA_CC_INTERFACE_BCR 0
#define EVA_CC_MVS0_BCR 1
#define EVA_CC_MVS0C_CLK_ARES 2
#define EVA_CC_MVS0C_BCR 3
#define EVA_CC_MVS0C_FREERUN_CLK_ARES 4
#endif /* _DT_BINDINGS_CLK_QCOM_EVACC_GLYMUR_H */