mirror of
https://github.com/torvalds/linux.git
synced 2026-09-27 02:22:02 +02:00
Merge branch '20260617-evacc_glymur-v2-2-905108dacaaa@oss.qualcomm.com' into arm64-for-7.3
Merge the Glymur EVA clock controller binding from topic branch, to gain access to the clock defines.
This commit is contained in:
commit
0fc66307d1
|
|
@ -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>;
|
||||
};
|
||||
...
|
||||
38
include/dt-bindings/clock/qcom,glymur-evacc.h
Normal file
38
include/dt-bindings/clock/qcom,glymur-evacc.h
Normal file
|
|
@ -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 */
|
||||
Loading…
Reference in New Issue
Block a user