Skip to content

Commit 4a85e82

Browse files
tlebbebarino
authored andcommitted
dt-bindings: clock: mobileye,eyeq5-clk: add bindings
Add DT schema bindings for the EyeQ5 clock controller driver. Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Théo Lebrun <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
1 parent ae156a3 commit 4a85e82

File tree

2 files changed

+73
-0
lines changed

2 files changed

+73
-0
lines changed
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/clock/mobileye,eyeq5-clk.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Mobileye EyeQ5 clock controller
8+
9+
description:
10+
The EyeQ5 clock controller handles 10 read-only PLLs derived from the main
11+
crystal clock. It also exposes one divider clock, a child of one of the PLLs.
12+
Its registers live in a shared region called OLB.
13+
14+
maintainers:
15+
- Grégory Clement <[email protected]>
16+
- Théo Lebrun <[email protected]>
17+
- Vladimir Kondratiev <[email protected]>
18+
19+
properties:
20+
compatible:
21+
const: mobileye,eyeq5-clk
22+
23+
reg:
24+
maxItems: 2
25+
26+
reg-names:
27+
items:
28+
- const: plls
29+
- const: ospi
30+
31+
"#clock-cells":
32+
const: 1
33+
34+
clocks:
35+
maxItems: 1
36+
description:
37+
Input parent clock to all PLLs. Expected to be the main crystal.
38+
39+
clock-names:
40+
items:
41+
- const: ref
42+
43+
required:
44+
- compatible
45+
- reg
46+
- reg-names
47+
- "#clock-cells"
48+
- clocks
49+
- clock-names
50+
51+
additionalProperties: false
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
2+
/*
3+
* Copyright (C) 2024 Mobileye Vision Technologies Ltd.
4+
*/
5+
6+
#ifndef _DT_BINDINGS_CLOCK_MOBILEYE_EYEQ5_CLK_H
7+
#define _DT_BINDINGS_CLOCK_MOBILEYE_EYEQ5_CLK_H
8+
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+
#endif

0 commit comments

Comments
 (0)