Skip to content

Commit 01272f0

Browse files
petegriffinkrzk
authored andcommitted
arm64: dts: exynos: gs101: add samsung,sysreg property to CMU nodes
With the exception of cmu_top, each CMU has a corresponding sysreg bank that contains the BUSCOMPONENT_DRCG_EN and optional MEMCLK registers. The BUSCOMPONENT_DRCG_EN register enables dynamic root clock gating of bus components and MEMCLK gates the sram clock. Now the clock driver supports automatic clock mode, provide the samsung,sysreg property so the driver can enable dynamic root clock gating of bus components and gate sram clock. Note without the property specified the driver simply falls back to previous behaviour of not configuring these registers so it is not an ABI break. Signed-off-by: Peter Griffin <peter.griffin@linaro.org> Link: https://patch.msgid.link/20251222-automatic-clocks-v7-2-fec86fa89874@linaro.org Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
1 parent abc6930 commit 01272f0

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

arch/arm64/boot/dts/exynos/google/gs101.dtsi

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -578,6 +578,7 @@
578578
clocks = <&cmu_top CLK_DOUT_CMU_MISC_BUS>,
579579
<&cmu_top CLK_DOUT_CMU_MISC_SSS>;
580580
clock-names = "bus", "sss";
581+
samsung,sysreg = <&sysreg_misc>;
581582
};
582583

583584
sysreg_misc: syscon@10030000 {
@@ -671,6 +672,7 @@
671672
<&cmu_top CLK_DOUT_CMU_PERIC0_BUS>,
672673
<&cmu_top CLK_DOUT_CMU_PERIC0_IP>;
673674
clock-names = "oscclk", "bus", "ip";
675+
samsung,sysreg = <&sysreg_peric0>;
674676
};
675677

676678
sysreg_peric0: syscon@10820000 {
@@ -1217,6 +1219,7 @@
12171219
<&cmu_top CLK_DOUT_CMU_PERIC1_BUS>,
12181220
<&cmu_top CLK_DOUT_CMU_PERIC1_IP>;
12191221
clock-names = "oscclk", "bus", "ip";
1222+
samsung,sysreg = <&sysreg_peric1>;
12201223
};
12211224

12221225
sysreg_peric1: syscon@10c20000 {
@@ -1575,6 +1578,7 @@
15751578
<&cmu_top CLK_DOUT_CMU_HSI0_USBDPDBG>;
15761579
clock-names = "oscclk", "bus", "dpgtc", "usb31drd",
15771580
"usbdpdbg";
1581+
samsung,sysreg = <&sysreg_hsi0>;
15781582
};
15791583

15801584
sysreg_hsi0: syscon@11020000 {
@@ -1646,6 +1650,7 @@
16461650
<&cmu_top CLK_DOUT_CMU_HSI2_UFS_EMBD>,
16471651
<&cmu_top CLK_DOUT_CMU_HSI2_MMC_CARD>;
16481652
clock-names = "oscclk", "bus", "pcie", "ufs", "mmc";
1653+
samsung,sysreg = <&sysreg_hsi2>;
16491654
};
16501655

16511656
sysreg_hsi2: syscon@14420000 {
@@ -1706,6 +1711,7 @@
17061711

17071712
clocks = <&ext_24_5m>;
17081713
clock-names = "oscclk";
1714+
samsung,sysreg = <&sysreg_apm>;
17091715
};
17101716

17111717
sysreg_apm: syscon@17420000 {

0 commit comments

Comments
 (0)