Skip to content

Commit 030de8e

Browse files
konradybcioandersson
authored andcommitted
dt-bindings: clock: Add Qualcomm SM6115 LPASS clock controller
SM6115 (and its derivatives or similar SoCs) has an LPASS clock controller block which provides audio-related resets. Add bindings for it. Cc: Konrad Dybcio <konradybcio@kernel.org> Cc: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> [alexey.klimov slightly changed the commit message] Signed-off-by: Alexey Klimov <alexey.klimov@linaro.org> Link: https://lore.kernel.org/r/20241212002551.2902954-2-alexey.klimov@linaro.org [bjorn: Adjusted Konrad's address] Signed-off-by: Bjorn Andersson <andersson@kernel.org>
1 parent f760a4b commit 030de8e

File tree

2 files changed

+61
-0
lines changed

2 files changed

+61
-0
lines changed
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/clock/qcom,sm6115-lpasscc.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Qualcomm LPASS Core & Audio Clock Controller on SM6115
8+
9+
maintainers:
10+
- Konrad Dybcio <konradybcio@kernel.org>
11+
- Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
12+
13+
description: |
14+
Qualcomm LPASS core and audio clock controllers provide audio-related resets
15+
on SM6115 and its derivatives.
16+
17+
See also::
18+
include/dt-bindings/clock/qcom,sm6115-lpasscc.h
19+
20+
properties:
21+
compatible:
22+
enum:
23+
- qcom,sm6115-lpassaudiocc
24+
- qcom,sm6115-lpasscc
25+
26+
reg:
27+
maxItems: 1
28+
29+
'#reset-cells':
30+
const: 1
31+
32+
required:
33+
- compatible
34+
- reg
35+
- '#reset-cells'
36+
37+
additionalProperties: false
38+
39+
examples:
40+
- |
41+
lpass_audiocc: clock-controller@a6a9000 {
42+
compatible = "qcom,sm6115-lpassaudiocc";
43+
reg = <0x0a6a9000 0x1000>;
44+
#reset-cells = <1>;
45+
};
46+
...
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
2+
/*
3+
* Copyright (c) 2023, Linaro Ltd.
4+
*/
5+
6+
#ifndef _DT_BINDINGS_CLK_QCOM_LPASSCC_SM6115_H
7+
#define _DT_BINDINGS_CLK_QCOM_LPASSCC_SM6115_H
8+
9+
/* LPASS CC */
10+
#define LPASS_SWR_TX_CONFIG_CGCR 0
11+
12+
/* LPASS_AUDIO CC */
13+
#define LPASS_AUDIO_SWR_RX_CGCR 0
14+
15+
#endif

0 commit comments

Comments
 (0)