-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dt-bindings: clock: Introduce Qualcomm Turing Clock controller
Add devicetree binding for the turing clock controller found in QCS404. Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
- Loading branch information
Bjorn Andersson
authored and
Stephen Boyd
committed
Apr 11, 2019
1 parent
8bc7a04
commit 5f19c6e
Showing
2 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
Qualcomm Turing Clock & Reset Controller Binding | ||
------------------------------------------------ | ||
|
||
Required properties : | ||
- compatible: shall contain "qcom,qcs404-turingcc". | ||
- reg: shall contain base register location and length. | ||
- clocks: ahb clock for the TuringCC | ||
- #clock-cells: from common clock binding, shall contain 1. | ||
- #reset-cells: from common reset binding, shall contain 1. | ||
|
||
Example: | ||
turingcc: clock-controller@800000 { | ||
compatible = "qcom,qcs404-turingcc"; | ||
reg = <0x00800000 0x30000>; | ||
clocks = <&gcc GCC_CDSP_CFG_AHB_CLK>; | ||
|
||
#clock-cells = <1>; | ||
#reset-cells = <1>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/* SPDX-License-Identifier: GPL-2.0 */ | ||
/* | ||
* Copyright (c) 2019, Linaro Ltd | ||
*/ | ||
|
||
#ifndef _DT_BINDINGS_CLK_TURING_QCS404_H | ||
#define _DT_BINDINGS_CLK_TURING_QCS404_H | ||
|
||
#define TURING_Q6SS_Q6_AXIM_CLK 0 | ||
#define TURING_Q6SS_AHBM_AON_CLK 1 | ||
#define TURING_WRAPPER_AON_CLK 2 | ||
#define TURING_Q6SS_AHBS_AON_CLK 3 | ||
#define TURING_WRAPPER_QOS_AHBS_AON_CLK 4 | ||
|
||
#endif |