mirror of
https://github.com/torvalds/linux.git
synced 2026-03-13 22:36:17 +01:00
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>
This commit is contained in:
parent
f760a4bb5e
commit
030de8eafd
2 changed files with 61 additions and 0 deletions
|
|
@ -0,0 +1,46 @@
|
|||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
||||
%YAML 1.2
|
||||
---
|
||||
$id: http://devicetree.org/schemas/clock/qcom,sm6115-lpasscc.yaml#
|
||||
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
||||
|
||||
title: Qualcomm LPASS Core & Audio Clock Controller on SM6115
|
||||
|
||||
maintainers:
|
||||
- Konrad Dybcio <konradybcio@kernel.org>
|
||||
- Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
|
||||
|
||||
description: |
|
||||
Qualcomm LPASS core and audio clock controllers provide audio-related resets
|
||||
on SM6115 and its derivatives.
|
||||
|
||||
See also::
|
||||
include/dt-bindings/clock/qcom,sm6115-lpasscc.h
|
||||
|
||||
properties:
|
||||
compatible:
|
||||
enum:
|
||||
- qcom,sm6115-lpassaudiocc
|
||||
- qcom,sm6115-lpasscc
|
||||
|
||||
reg:
|
||||
maxItems: 1
|
||||
|
||||
'#reset-cells':
|
||||
const: 1
|
||||
|
||||
required:
|
||||
- compatible
|
||||
- reg
|
||||
- '#reset-cells'
|
||||
|
||||
additionalProperties: false
|
||||
|
||||
examples:
|
||||
- |
|
||||
lpass_audiocc: clock-controller@a6a9000 {
|
||||
compatible = "qcom,sm6115-lpassaudiocc";
|
||||
reg = <0x0a6a9000 0x1000>;
|
||||
#reset-cells = <1>;
|
||||
};
|
||||
...
|
||||
15
include/dt-bindings/clock/qcom,sm6115-lpasscc.h
Normal file
15
include/dt-bindings/clock/qcom,sm6115-lpasscc.h
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
|
||||
/*
|
||||
* Copyright (c) 2023, Linaro Ltd.
|
||||
*/
|
||||
|
||||
#ifndef _DT_BINDINGS_CLK_QCOM_LPASSCC_SM6115_H
|
||||
#define _DT_BINDINGS_CLK_QCOM_LPASSCC_SM6115_H
|
||||
|
||||
/* LPASS CC */
|
||||
#define LPASS_SWR_TX_CONFIG_CGCR 0
|
||||
|
||||
/* LPASS_AUDIO CC */
|
||||
#define LPASS_AUDIO_SWR_RX_CGCR 0
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue