Skip to content

Commit 6a46b75

Browse files
tlebbebarino
authored andcommitted
dt-bindings: clock: eyeq: add more Mobileye EyeQ5/EyeQ6H clocks
Add #defines for Mobileye clock controller: - EyeQ5 core 0 thru 3 clocks. Internally: EQ5C_PLL_CPU: already exposed └── EQ5C_CPU_OCC: unexposed, no reason to do so ├── EQ5C_CPU_CORE0: new! ├── EQ5C_CPU_CORE1: new! ├── EQ5C_CPU_CORE2: new! └── EQ5C_CPU_CORE3: new! - EyeQ5 peripheral clocks. Internally: EQ5C_PLL_PER: already exposed ├── EQ5C_PER_OCC: new! │ ├── EQ5C_PER_SPI: new! │ ├── EQ5C_PER_I2C: new! │ ├── EQ5C_PER_GPIO: new! │ └── EQ5C_PER_UART: new! ├── EQ5C_PER_EMMC: new! └── EQ5C_PER_OCC_PCI: new! - EyeQ6H central OLB. Internally: EQ6HC_CENTRAL_PLL_CPU: new! └── EQ6HC_CENTRAL_CPU_OCC: new! - EyeQ6H west OLB. Internally: EQ6HC_WEST_PLL_PER: new! └── EQ6HC_WEST_PER_OCC: new! └── EQ6HC_WEST_PER_UART: new! Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com> Link: https://lore.kernel.org/r/20241106-mbly-clk-v2-2-84cfefb3f485@bootlin.com Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent a370b2d commit 6a46b75

File tree

1 file changed

+34
-12
lines changed

1 file changed

+34
-12
lines changed

include/dt-bindings/clock/mobileye,eyeq5-clk.h

Lines changed: 34 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,46 @@
66
#ifndef _DT_BINDINGS_CLOCK_MOBILEYE_EYEQ5_CLK_H
77
#define _DT_BINDINGS_CLOCK_MOBILEYE_EYEQ5_CLK_H
88

9-
#define EQ5C_PLL_CPU 0
10-
#define EQ5C_PLL_VMP 1
11-
#define EQ5C_PLL_PMA 2
12-
#define EQ5C_PLL_VDI 3
13-
#define EQ5C_PLL_DDR0 4
14-
#define EQ5C_PLL_PCI 5
15-
#define EQ5C_PLL_PER 6
16-
#define EQ5C_PLL_PMAC 7
17-
#define EQ5C_PLL_MPC 8
18-
#define EQ5C_PLL_DDR1 9
19-
20-
#define EQ5C_DIV_OSPI 10
9+
#define EQ5C_PLL_CPU 0
10+
#define EQ5C_PLL_VMP 1
11+
#define EQ5C_PLL_PMA 2
12+
#define EQ5C_PLL_VDI 3
13+
#define EQ5C_PLL_DDR0 4
14+
#define EQ5C_PLL_PCI 5
15+
#define EQ5C_PLL_PER 6
16+
#define EQ5C_PLL_PMAC 7
17+
#define EQ5C_PLL_MPC 8
18+
#define EQ5C_PLL_DDR1 9
19+
20+
#define EQ5C_DIV_OSPI 10
21+
22+
/* EQ5C_PLL_CPU children */
23+
#define EQ5C_CPU_CORE0 11
24+
#define EQ5C_CPU_CORE1 12
25+
#define EQ5C_CPU_CORE2 13
26+
#define EQ5C_CPU_CORE3 14
27+
28+
/* EQ5C_PLL_PER children */
29+
#define EQ5C_PER_OCC 15
30+
#define EQ5C_PER_UART 16
31+
#define EQ5C_PER_SPI 17
32+
#define EQ5C_PER_I2C 18
33+
#define EQ5C_PER_GPIO 19
34+
#define EQ5C_PER_EMMC 20
35+
#define EQ5C_PER_OCC_PCI 21
2136

2237
#define EQ6LC_PLL_DDR 0
2338
#define EQ6LC_PLL_CPU 1
2439
#define EQ6LC_PLL_PER 2
2540
#define EQ6LC_PLL_VDI 3
2641

42+
#define EQ6HC_CENTRAL_PLL_CPU 0
43+
#define EQ6HC_CENTRAL_CPU_OCC 1
44+
45+
#define EQ6HC_WEST_PLL_PER 0
46+
#define EQ6HC_WEST_PER_OCC 1
47+
#define EQ6HC_WEST_PER_UART 2
48+
2749
#define EQ6HC_SOUTH_PLL_VDI 0
2850
#define EQ6HC_SOUTH_PLL_PCIE 1
2951
#define EQ6HC_SOUTH_PLL_PER 2

0 commit comments

Comments
 (0)