Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
adb12f06
Commit
adb12f06
authored
Sep 13, 2022
by
Bjorn Andersson
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '1662005846-4838-1-git-send-email-quic_c_skakit@quicinc.com' into clk-for-6.1
parents
6956c18f
1c3f9df7
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
32 additions
and
7 deletions
+32
-7
Documentation/devicetree/bindings/clock/qcom,sc7280-lpasscc.yaml
...tation/devicetree/bindings/clock/qcom,sc7280-lpasscc.yaml
+2
-4
Documentation/devicetree/bindings/clock/qcom,sc7280-lpasscorecc.yaml
...on/devicetree/bindings/clock/qcom,sc7280-lpasscorecc.yaml
+23
-3
include/dt-bindings/clock/qcom,lpassaudiocc-sc7280.h
include/dt-bindings/clock/qcom,lpassaudiocc-sc7280.h
+5
-0
include/dt-bindings/clock/qcom,lpasscorecc-sc7280.h
include/dt-bindings/clock/qcom,lpasscorecc-sc7280.h
+2
-0
No files found.
Documentation/devicetree/bindings/clock/qcom,sc7280-lpasscc.yaml
View file @
adb12f06
...
@@ -36,13 +36,11 @@ properties:
...
@@ -36,13 +36,11 @@ properties:
items
:
items
:
-
description
:
LPASS qdsp6ss register
-
description
:
LPASS qdsp6ss register
-
description
:
LPASS top-cc register
-
description
:
LPASS top-cc register
-
description
:
LPASS cc register
reg-names
:
reg-names
:
items
:
items
:
-
const
:
qdsp6ss
-
const
:
qdsp6ss
-
const
:
top_cc
-
const
:
top_cc
-
const
:
cc
required
:
required
:
-
compatible
-
compatible
...
@@ -59,8 +57,8 @@ examples:
...
@@ -59,8 +57,8 @@ examples:
#include <dt-bindings/clock/qcom,lpass-sc7280.h>
#include <dt-bindings/clock/qcom,lpass-sc7280.h>
clock-controller@3000000 {
clock-controller@3000000 {
compatible = "qcom,sc7280-lpasscc";
compatible = "qcom,sc7280-lpasscc";
reg = <0x03000000 0x40>, <0x03c04000 0x4>
, <0x03389000 0x24>
;
reg = <0x03000000 0x40>, <0x03c04000 0x4>;
reg-names = "qdsp6ss", "top_cc"
, "cc"
;
reg-names = "qdsp6ss", "top_cc";
clocks = <&gcc GCC_CFG_NOC_LPASS_CLK>;
clocks = <&gcc GCC_CFG_NOC_LPASS_CLK>;
clock-names = "iface";
clock-names = "iface";
#clock-cells = <1>;
#clock-cells = <1>;
...
...
Documentation/devicetree/bindings/clock/qcom,sc7280-lpasscorecc.yaml
View file @
adb12f06
...
@@ -22,6 +22,8 @@ properties:
...
@@ -22,6 +22,8 @@ properties:
clock-names
:
true
clock-names
:
true
reg
:
true
compatible
:
compatible
:
enum
:
enum
:
-
qcom,sc7280-lpassaoncc
-
qcom,sc7280-lpassaoncc
...
@@ -38,8 +40,14 @@ properties:
...
@@ -38,8 +40,14 @@ properties:
'
#power-domain-cells'
:
'
#power-domain-cells'
:
const
:
1
const
:
1
reg
:
'
#reset-cells'
:
maxItems
:
1
const
:
1
qcom,adsp-pil-mode
:
description
:
Indicates if the LPASS would be brought out of reset using
peripheral loader.
type
:
boolean
required
:
required
:
-
compatible
-
compatible
...
@@ -69,6 +77,11 @@ allOf:
...
@@ -69,6 +77,11 @@ allOf:
items
:
items
:
-
const
:
bi_tcxo
-
const
:
bi_tcxo
-
const
:
lpass_aon_cc_main_rcg_clk_src
-
const
:
lpass_aon_cc_main_rcg_clk_src
reg
:
items
:
-
description
:
lpass core cc register
-
description
:
lpass audio csr register
-
if
:
-
if
:
properties
:
properties
:
compatible
:
compatible
:
...
@@ -90,6 +103,8 @@ allOf:
...
@@ -90,6 +103,8 @@ allOf:
-
const
:
bi_tcxo_ao
-
const
:
bi_tcxo_ao
-
const
:
iface
-
const
:
iface
reg
:
maxItems
:
1
-
if
:
-
if
:
properties
:
properties
:
compatible
:
compatible
:
...
@@ -108,6 +123,8 @@ allOf:
...
@@ -108,6 +123,8 @@ allOf:
items
:
items
:
-
const
:
bi_tcxo
-
const
:
bi_tcxo
reg
:
maxItems
:
1
examples
:
examples
:
-
|
-
|
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/clock/qcom,rpmh.h>
...
@@ -116,13 +133,15 @@ examples:
...
@@ -116,13 +133,15 @@ examples:
#include <dt-bindings/clock/qcom,lpasscorecc-sc7280.h>
#include <dt-bindings/clock/qcom,lpasscorecc-sc7280.h>
lpass_audiocc: clock-controller@3300000 {
lpass_audiocc: clock-controller@3300000 {
compatible = "qcom,sc7280-lpassaudiocc";
compatible = "qcom,sc7280-lpassaudiocc";
reg = <0x3300000 0x30000>;
reg = <0x3300000 0x30000>,
<0x32a9000 0x1000>;
clocks = <&rpmhcc RPMH_CXO_CLK>,
clocks = <&rpmhcc RPMH_CXO_CLK>,
<&lpass_aon LPASS_AON_CC_MAIN_RCG_CLK_SRC>;
<&lpass_aon LPASS_AON_CC_MAIN_RCG_CLK_SRC>;
clock-names = "bi_tcxo", "lpass_aon_cc_main_rcg_clk_src";
clock-names = "bi_tcxo", "lpass_aon_cc_main_rcg_clk_src";
power-domains = <&lpass_aon LPASS_AON_CC_LPASS_AUDIO_HM_GDSC>;
power-domains = <&lpass_aon LPASS_AON_CC_LPASS_AUDIO_HM_GDSC>;
#clock-cells = <1>;
#clock-cells = <1>;
#power-domain-cells = <1>;
#power-domain-cells = <1>;
#reset-cells = <1>;
};
};
-
|
-
|
...
@@ -165,6 +184,7 @@ examples:
...
@@ -165,6 +184,7 @@ examples:
clocks = <&rpmhcc RPMH_CXO_CLK>, <&rpmhcc RPMH_CXO_CLK_A>,
clocks = <&rpmhcc RPMH_CXO_CLK>, <&rpmhcc RPMH_CXO_CLK_A>,
<&lpasscore LPASS_CORE_CC_CORE_CLK>;
<&lpasscore LPASS_CORE_CC_CORE_CLK>;
clock-names = "bi_tcxo", "bi_tcxo_ao","iface";
clock-names = "bi_tcxo", "bi_tcxo_ao","iface";
qcom,adsp-pil-mode;
#clock-cells = <1>;
#clock-cells = <1>;
#power-domain-cells = <1>;
#power-domain-cells = <1>;
};
};
...
...
include/dt-bindings/clock/qcom,lpassaudiocc-sc7280.h
View file @
adb12f06
...
@@ -24,6 +24,11 @@
...
@@ -24,6 +24,11 @@
#define LPASS_AUDIO_CC_RX_MCLK_CLK 14
#define LPASS_AUDIO_CC_RX_MCLK_CLK 14
#define LPASS_AUDIO_CC_RX_MCLK_CLK_SRC 15
#define LPASS_AUDIO_CC_RX_MCLK_CLK_SRC 15
/* LPASS AUDIO CC CSR */
#define LPASS_AUDIO_SWR_RX_CGCR 0
#define LPASS_AUDIO_SWR_TX_CGCR 1
#define LPASS_AUDIO_SWR_WSA_CGCR 2
/* LPASS_AON_CC clocks */
/* LPASS_AON_CC clocks */
#define LPASS_AON_CC_PLL 0
#define LPASS_AON_CC_PLL 0
#define LPASS_AON_CC_PLL_OUT_EVEN 1
#define LPASS_AON_CC_PLL_OUT_EVEN 1
...
...
include/dt-bindings/clock/qcom,lpasscorecc-sc7280.h
View file @
adb12f06
...
@@ -19,6 +19,8 @@
...
@@ -19,6 +19,8 @@
#define LPASS_CORE_CC_LPM_CORE_CLK 9
#define LPASS_CORE_CC_LPM_CORE_CLK 9
#define LPASS_CORE_CC_LPM_MEM0_CORE_CLK 10
#define LPASS_CORE_CC_LPM_MEM0_CORE_CLK 10
#define LPASS_CORE_CC_SYSNOC_MPORT_CORE_CLK 11
#define LPASS_CORE_CC_SYSNOC_MPORT_CORE_CLK 11
#define LPASS_CORE_CC_EXT_MCLK0_CLK 12
#define LPASS_CORE_CC_EXT_MCLK0_CLK_SRC 13
/* LPASS_CORE_CC power domains */
/* LPASS_CORE_CC power domains */
#define LPASS_CORE_CC_LPASS_CORE_HM_GDSC 0
#define LPASS_CORE_CC_LPASS_CORE_HM_GDSC 0
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment