Skip to content

Commit 7ef9122

Browse files
krzkSylwester Nawrocki
authored andcommitted
clk: samsung: Add bus clock for GPU/G3D on Exynos4412
Add ID and gate for bus clock for GPU (Mali 400) on Exynos4412. Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
1 parent 2f57b95 commit 7ef9122

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

‎drivers/clk/samsung/clk-exynos4.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -961,6 +961,7 @@ static const struct samsung_gate_clock exynos4210_gate_clks[] __initconst = {
961961

962962
/* list of gate clocks supported in exynos4x12 soc */
963963
static const struct samsung_gate_clock exynos4x12_gate_clks[] __initconst = {
964+
GATE(CLK_ASYNC_G3D, "async_g3d", "aclk200", GATE_IP_LEFTBUS, 6, 0, 0),
964965
GATE(CLK_AUDSS, "audss", "sclk_epll", E4X12_GATE_IP_MAUDIO, 0, 0, 0),
965966
GATE(CLK_MDNIE0, "mdnie0", "aclk160", GATE_IP_LCD0, 2, 0, 0),
966967
GATE(CLK_ROTATOR, "rotator", "aclk200", E4X12_GATE_IP_IMAGE, 1, 0, 0),

‎include/dt-bindings/clock/exynos4.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@
187187
#define CLK_MIPI_HSI 349 /* Exynos4210 only */
188188
#define CLK_PIXELASYNCM0 351
189189
#define CLK_PIXELASYNCM1 352
190+
#define CLK_ASYNC_G3D 353 /* Exynos4x12 only */
190191
#define CLK_PWM_ISP_SCLK 379 /* Exynos4x12 only */
191192
#define CLK_SPI0_ISP_SCLK 380 /* Exynos4x12 only */
192193
#define CLK_SPI1_ISP_SCLK 381 /* Exynos4x12 only */

0 commit comments

Comments
 (0)