Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
88b2209
clk: qcom: Revert older series Shikra GPUCC/DISPCC changes
imrashai Jun 4, 2026
3cfc990
FROMLIST: clk: qcom: gcc-qcm2290: Keep the critical clocks always-on …
imrashai Jun 4, 2026
34f71a6
FROMLIST: dt-bindings: clock: qcom,qcm2290-dispcc: Add DSI1 PHY and s…
imrashai Jun 4, 2026
dc2b347
FROMLIST: dt-bindings: clock: qcom: Add Qualcomm Shikra Display clock…
imrashai Jun 4, 2026
b89a8f0
FROMLIST: dt-bindings: clock: qcom: Add Qualcomm Shikra GPU clock con…
imrashai Jun 4, 2026
9cf2c2b
FROMLIST: clk: qcom: dispcc-qcm2290: Move to the latest common qcom_c…
imrashai Jun 4, 2026
00bfd4d
FROMLIST: clk: qcom: dispcc-qcm2290: Switch to DT index based clk lookup
imrashai Jun 4, 2026
4e7dc0f
FROMLIST: clk: qcom: dispcc-qcm2290: Update GDSC *wait_val values and…
imrashai Jun 4, 2026
a6a0f2d
FROMLIST: clk: qcom: gpucc-qcm2290: Move to the latest common qcom_cc…
imrashai Jun 4, 2026
7312c45
FROMLIST: clk: qcom: gpucc-qcm2290: Park RCG's clk source at XO durin…
imrashai Jun 4, 2026
304e907
FROMLIST: clk: qcom: gpucc-qcm2290: Update GDSC *wait_val values and …
imrashai Jun 4, 2026
6638a4c
FROMLIST: clk: qcom: Add support for Qualcomm GPU Clock Controller on…
imrashai Jun 4, 2026
b3c36cd
FROMLIST: arm64: dts: qcom: agatti: Add DSI1 PHY and sleep clocks to …
imrashai Jun 4, 2026
49fc600
FROMLIST: arm64: dts: qcom: shikra: Add support for DISPCC/GPUCC nodes
imrashai Jun 4, 2026
63a4b00
FROMLIST: dt-bindings: clock: qcom: Add the definition for the USB3 D…
imrashai Jun 5, 2026
b5cd277
FROMLIST: clk: qcom: gcc-shikra: Add USB3 DP PHY reset and LPASS clocks
imrashai Jun 5, 2026
9fe84fa
FROMLIST: clk: qcom: common: Register reset controller only when rese…
imrashai Jun 5, 2026
2600ee6
FROMLIST: dt-bindings: clock: qcom: Add Qualcomm Shikra Audio Core Cl…
imrashai Jun 5, 2026
26ff0cf
FROMLIST: clk: qcom: Add Audio Core clock controller support on Qualc…
imrashai Jun 5, 2026
bdb627e
FROMLIST: arm64: dts: qcom: shikra: Add support for AudioCoreCC node
imrashai Jun 5, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 23 additions & 5 deletions Documentation/devicetree/bindings/clock/qcom,qcm2290-dispcc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,25 @@ description: |

properties:
compatible:
const: qcom,qcm2290-dispcc
oneOf:
- items:
- enum:
- qcom,shikra-dispcc
- const: qcom,qcm2290-dispcc
- enum:
- qcom,qcm2290-dispcc

clocks:
items:
- description: Board XO source
- description: Board active-only XO source
- description: GPLL0 source from GCC
- description: GPLL0 div source from GCC
- description: Byte clock from DSI PHY
- description: Pixel clock from DSI PHY
- description: Byte clock from DSI PHY0
- description: Pixel clock from DSI PHY0
- description: Byte clock from DSI PHY1
- description: Pixel clock from DSI PHY1
- description: Board sleep clock

clock-names:
items:
Expand All @@ -36,6 +45,9 @@ properties:
- const: gcc_disp_gpll0_div_clk_src
- const: dsi0_phy_pll_out_byteclk
- const: dsi0_phy_pll_out_dsiclk
- const: dsi1_phy_pll_out_byteclk
- const: dsi1_phy_pll_out_dsiclk
- const: sleep_clk

required:
- compatible
Expand All @@ -61,13 +73,19 @@ examples:
<&gcc GCC_DISP_GPLL0_CLK_SRC>,
<&gcc GCC_DISP_GPLL0_DIV_CLK_SRC>,
<&dsi0_phy 0>,
<&dsi0_phy 1>;
<&dsi0_phy 1>,
<&dsi1_phy 0>,
<&dsi1_phy 1>,
<&sleep_clk>;
clock-names = "bi_tcxo",
"bi_tcxo_ao",
"gcc_disp_gpll0_clk_src",
"gcc_disp_gpll0_div_clk_src",
"dsi0_phy_pll_out_byteclk",
"dsi0_phy_pll_out_dsiclk";
"dsi0_phy_pll_out_dsiclk",
"dsi1_phy_pll_out_byteclk",
"dsi1_phy_pll_out_dsiclk",
"sleep_clk";
#clock-cells = <1>;
#reset-cells = <1>;
#power-domain-cells = <1>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ description: |

properties:
compatible:
const: qcom,qcm2290-gpucc
enum:
- qcom,qcm2290-gpucc
- qcom,shikra-gpucc

reg:
maxItems: 1
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/clock/qcom,shikra-audiocorecc.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Audio Core Clock & Reset Controller for Qualcomm Shikra SoC

maintainers:
- Imran Shaik <imran.shaik@oss.qualcomm.com>

description: |
Audio core clock control module provides the clocks and resets
on Qualcomm Shikra SoC platform.

See also:
- include/dt-bindings/clock/qcom,shikra-audiocorecc.h

properties:
compatible:
enum:
- qcom,shikra-cqm-audiocorecc
- qcom,shikra-cqs-audiocorecc

clocks:
items:
- description: Board XO source
- description: Board sleep clock
- description: Audio ref clock source

reg:
maxItems: 2

'#clock-cells':
const: 1

'#reset-cells':
const: 1

required:
- compatible
- reg
- '#clock-cells'
- '#reset-cells'

additionalProperties: false

examples:
- |
#include <dt-bindings/clock/qcom,rpmcc.h>
#include <dt-bindings/clock/qcom,shikra-gcc.h>
clock-controller@a0a0000 {
compatible = "qcom,shikra-cqm-audiocorecc";
reg = <0x0a0a0000 0x10000>,
<0x0a0b4000 0x1000>;
clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>,
<&sleep_clk>,
<&aud_ref_clk_src>;
#clock-cells = <1>;
#reset-cells = <1>;
};
...
62 changes: 0 additions & 62 deletions Documentation/devicetree/bindings/clock/qcom,shikra-dispcc.yaml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,17 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
title: Qualcomm Graphics Clock & Reset Controller on SM6115

maintainers:
- Imran Shaik <imran.shaik@oss.qualcomm.com>
- Konrad Dybcio <konradybcio@kernel.org>

description: |
Qualcomm graphics clock control module provides clocks, resets and power
domains on Qualcomm SoCs.

See also:
include/dt-bindings/clock/qcom,shikra-gpucc.h
include/dt-bindings/clock/qcom,sm6115-gpucc.h
See also: include/dt-bindings/clock/qcom,sm6115-gpucc.h

properties:
compatible:
enum:
- qcom,shikra-gpucc
- qcom,sm6115-gpucc

clocks:
Expand Down
10 changes: 8 additions & 2 deletions arch/arm64/boot/dts/qcom/qcm2290.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -1999,13 +1999,19 @@
<&gcc GCC_DISP_GPLL0_CLK_SRC>,
<&gcc GCC_DISP_GPLL0_DIV_CLK_SRC>,
<&mdss_dsi0_phy DSI_BYTE_PLL_CLK>,
<&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>;
<&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>,
<0>,
<0>,
<&sleep_clk>;
clock-names = "bi_tcxo",
"bi_tcxo_ao",
"gcc_disp_gpll0_clk_src",
"gcc_disp_gpll0_div_clk_src",
"dsi0_phy_pll_out_byteclk",
"dsi0_phy_pll_out_dsiclk";
"dsi0_phy_pll_out_dsiclk",
"dsi1_phy_pll_out_byteclk",
"dsi1_phy_pll_out_dsiclk",
"sleep_clk";
#power-domain-cells = <1>;
#clock-cells = <1>;
#reset-cells = <1>;
Expand Down
4 changes: 4 additions & 0 deletions arch/arm64/boot/dts/qcom/shikra-cqm-evk.dts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@
};
};

&audiocorecc {
status = "okay";
};

&remoteproc_cdsp {
firmware-name = "qcom/shikra/cdsp.mbn";

Expand Down
5 changes: 5 additions & 0 deletions arch/arm64/boot/dts/qcom/shikra-cqs-evk.dts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@
};
};

&audiocorecc {
compatible = "qcom,shikra-cqs-audiocorecc";
status = "okay";
};

&remoteproc_cdsp {
firmware-name = "qcom/shikra/cdsp.mbn";

Expand Down
54 changes: 54 additions & 0 deletions arch/arm64/boot/dts/qcom/shikra.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
*/

#include <dt-bindings/clock/qcom,dispcc-qcm2290.h>
#include <dt-bindings/clock/qcom,qcm2290-gpucc.h>
#include <dt-bindings/clock/qcom,rpmcc.h>
#include <dt-bindings/clock/qcom,shikra-audiocorecc.h>
#include <dt-bindings/clock/qcom,shikra-gcc.h>
#include <dt-bindings/interconnect/qcom,icc.h>
#include <dt-bindings/interconnect/qcom,osm-l3.h>
Expand Down Expand Up @@ -2033,6 +2036,57 @@
};
};

gpucc: clock-controller@5990000 {
compatible = "qcom,shikra-gpucc";
reg = <0x0 0x05990000 0x0 0x9000>;
clocks = <&gcc GCC_GPU_CFG_AHB_CLK>,
<&rpmcc RPM_SMD_XO_CLK_SRC>,
<&gcc GCC_GPU_GPLL0_CLK_SRC>,
<&gcc GCC_GPU_GPLL0_DIV_CLK_SRC>;
power-domains = <&rpmpd RPMPD_VDDCX>;
#clock-cells = <1>;
#reset-cells = <1>;
#power-domain-cells = <1>;
};

dispcc: clock-controller@5f00000 {
compatible = "qcom,shikra-dispcc", "qcom,qcm2290-dispcc";
reg = <0x0 0x05f00000 0x0 0x20000>;
clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>,
<&rpmcc RPM_SMD_XO_A_CLK_SRC>,
<&gcc GCC_DISP_GPLL0_CLK_SRC>,
<&gcc GCC_DISP_GPLL0_DIV_CLK_SRC>,
<0>,
<0>,
<0>,
<0>,
<&sleep_clk>;
clock-names = "bi_tcxo",
"bi_tcxo_ao",
"gcc_disp_gpll0_clk_src",
"gcc_disp_gpll0_div_clk_src",
"dsi0_phy_pll_out_byteclk",
"dsi0_phy_pll_out_dsiclk",
"dsi1_phy_pll_out_byteclk",
"dsi1_phy_pll_out_dsiclk",
"sleep_clk";
#clock-cells = <1>;
#reset-cells = <1>;
#power-domain-cells = <1>;
};

audiocorecc: clock-controller@a0a0000 {
compatible = "qcom,shikra-cqm-audiocorecc";
reg = <0x0 0x0a0a0000 0x0 0x10000>,
<0x0 0x0a0b4000 0x0 0x1000>;
clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>,
<&sleep_clk>,
<0>;
#clock-cells = <1>;
#reset-cells = <1>;
status = "disabled";
};

sram@c11e000 {
compatible = "qcom,shikra-imem", "mmio-sram";
reg = <0x0 0x0c11e000 0x0 0x1000>;
Expand Down
20 changes: 5 additions & 15 deletions drivers/clk/qcom/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,15 @@ config CLK_KAANAPALI_TCSRCC
Support for the TCSR clock controller on Kaanapali devices.
Say Y if you want to use peripheral devices such as PCIe, USB, UFS.

config CLK_SHIKRA_DISPCC
tristate "Shikra Display Clock Controller"
config CLK_SHIKRA_AUDIOCORECC
tristate "Shikra Audio Core Clock Controller"
depends on ARM64 || COMPILE_TEST
select CLK_SHIKRA_GCC
default m if ARCH_QCOM
help
Support for the display clock controller on Qualcomm Shikra SoCs.
Say Y if you want to support display devices and functionality such as
splash screen.
Support for the Audio Core clock controller on Qualcomm Shikra devices.
Say Y if you want to use AudioCoreCC clocks required to support audio
devices and it's functionality.

config CLK_SHIKRA_GCC
tristate "Shikra Global Clock Controller"
Expand All @@ -83,16 +83,6 @@ config CLK_SHIKRA_GCC
Say Y if you want to use multimedia devices or peripheral
devices such as Camera, Video, UART, SPI, I2C, USB, SD/eMMC etc.

config CLK_SHIKRA_GPUCC
tristate "Shikra Graphics Clock Controller"
depends on ARM64 || COMPILE_TEST
select CLK_SHIKRA_GCC
default m if ARCH_QCOM
help
Support for the graphics clock controller on Qualcomm Shikra SoCs.
Say Y if you want to support graphics controller devices and
functionality such as 3D graphics.

config CLK_X1E80100_CAMCC
tristate "X1E80100 Camera Clock Controller"
depends on ARM64 || COMPILE_TEST
Expand Down
3 changes: 1 addition & 2 deletions drivers/clk/qcom/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,8 @@ obj-$(CONFIG_CLK_GLYMUR_GCC) += gcc-glymur.o
obj-$(CONFIG_CLK_GLYMUR_TCSRCC) += tcsrcc-glymur.o
obj-$(CONFIG_CLK_KAANAPALI_GCC) += gcc-kaanapali.o
obj-$(CONFIG_CLK_KAANAPALI_TCSRCC) += tcsrcc-kaanapali.o
obj-$(CONFIG_CLK_SHIKRA_DISPCC) += dispcc-shikra.o
obj-$(CONFIG_CLK_SHIKRA_AUDIOCORECC) += audiocorecc-shikra.o
obj-$(CONFIG_CLK_SHIKRA_GCC) += gcc-shikra.o
obj-$(CONFIG_CLK_SHIKRA_GPUCC) += gpucc-shikra.o
obj-$(CONFIG_CLK_X1E80100_CAMCC) += camcc-x1e80100.o
obj-$(CONFIG_CLK_X1E80100_DISPCC) += dispcc-x1e80100.o
obj-$(CONFIG_CLK_X1E80100_GCC) += gcc-x1e80100.o
Expand Down
Loading