Skip to content

Commit

Permalink
dt-bindings: clock: exynosautov9: add dpum clock
Browse files Browse the repository at this point in the history
Add dpum clock definitions and compatibles.

Also used clock name 'bus' instead of full clock name
dout_clkcmu_dpum_bus like other board cmu schema (GS101).

Signed-off-by: Kwanghoon Son <k.son@samsung.com>
Link: https://lore.kernel.org/r/20240809-clk_dpum-v3-1-359decc30fe2@samsung.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
  • Loading branch information
Kwanghoon Son authored and Krzysztof Kozlowski committed Aug 11, 2024
1 parent b9dee49 commit ccb41c4
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ properties:
- samsung,exynosautov9-cmu-top
- samsung,exynosautov9-cmu-busmc
- samsung,exynosautov9-cmu-core
- samsung,exynosautov9-cmu-dpum
- samsung,exynosautov9-cmu-fsys0
- samsung,exynosautov9-cmu-fsys1
- samsung,exynosautov9-cmu-fsys2
Expand Down Expand Up @@ -109,6 +110,24 @@ allOf:
- const: oscclk
- const: dout_clkcmu_core_bus

- if:
properties:
compatible:
contains:
const: samsung,exynosautov9-cmu-dpum

then:
properties:
clocks:
items:
- description: External reference clock (26 MHz)
- description: DPU Main bus clock (from CMU_TOP)

clock-names:
items:
- const: oscclk
- const: bus

- if:
properties:
compatible:
Expand Down
11 changes: 11 additions & 0 deletions include/dt-bindings/clock/samsung,exynosautov9.h
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,17 @@
#define CLK_GOUT_CORE_CCI_PCLK 4
#define CLK_GOUT_CORE_CMU_CORE_PCLK 5

/* CMU_DPUM */
#define CLK_MOUT_DPUM_BUS_USER 1
#define CLK_DOUT_DPUM_BUSP 2
#define CLK_GOUT_DPUM_ACLK_DECON 3
#define CLK_GOUT_DPUM_ACLK_DMA 4
#define CLK_GOUT_DPUM_ACLK_DPP 5
#define CLK_GOUT_DPUM_SYSMMU_D0_CLK 6
#define CLK_GOUT_DPUM_SYSMMU_D1_CLK 7
#define CLK_GOUT_DPUM_SYSMMU_D2_CLK 8
#define CLK_GOUT_DPUM_SYSMMU_D3_CLK 9

/* CMU_FSYS0 */
#define CLK_MOUT_FSYS0_BUS_USER 1
#define CLK_MOUT_FSYS0_PCIE_USER 2
Expand Down

0 comments on commit ccb41c4

Please sign in to comment.