Skip to content

Commit bfc43a9

Browse files
Srinivas-Kandagatlaandersson
authored andcommitted
dt-bindings: clock: Add LPASSCC and reset controller for SC8280XP
The LPASS (Low Power Audio Subsystem) clock controller provides reset support when it is under the control of Q6DSP. Add support for those resets and adds IDs for clients to request the reset. Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Reviewed-by: Johan Hovold <johan+linaro@kernel.org> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20230608125315.11454-2-srinivas.kandagatla@linaro.org
1 parent ac9a786 commit bfc43a9

2 files changed

Lines changed: 62 additions & 0 deletions

File tree

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
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,sc8280xp-lpasscc.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Qualcomm LPASS Core & Audio Clock Controller on SC8280XP
8+
9+
maintainers:
10+
- Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
11+
12+
description: |
13+
Qualcomm LPASS core and audio clock control module provides the clocks,
14+
and reset on SC8280XP.
15+
16+
See also::
17+
include/dt-bindings/clock/qcom,lpasscc-sc8280xp.h
18+
19+
properties:
20+
compatible:
21+
enum:
22+
- qcom,sc8280xp-lpasscc
23+
24+
reg:
25+
maxItems: 1
26+
27+
'#clock-cells':
28+
const: 1
29+
30+
'#reset-cells':
31+
const: 1
32+
33+
required:
34+
- compatible
35+
- reg
36+
- '#clock-cells'
37+
- '#reset-cells'
38+
39+
additionalProperties: false
40+
41+
examples:
42+
- |
43+
#include <dt-bindings/clock/qcom,sc8280xp-lpasscc.h>
44+
lpasscc: clock-controller@33e0000 {
45+
compatible = "qcom,sc8280xp-lpasscc";
46+
reg = <0x033e0000 0x12000>;
47+
#clock-cells = <1>;
48+
#reset-cells = <1>;
49+
};
50+
...
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
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_SC8280XP_H
7+
#define _DT_BINDINGS_CLK_QCOM_LPASSCC_SC8280XP_H
8+
9+
/* LPASS TCSR */
10+
#define LPASS_AUDIO_SWR_TX_CGCR 0
11+
12+
#endif

0 commit comments

Comments
 (0)