Skip to content

Commit e5377ab

Browse files
Sowjanya Komatinenithierryreding
authored andcommitted
dt-bindings: clock: tegra: Add IDs for OSC clocks
Tegra has OSC, OSC_DIV2 and OSC_DIV4 clocks from OSC pads which are the possible parents of Tegra PMC clocks clk_out_1, clk_out_2, and clk_out_3 for Tegra30 through Tegra210. So, this patch adds ids for these clocks. Tested-by: Dmitry Osipenko <[email protected]> Reviewed-by: Dmitry Osipenko <[email protected]> Acked-by: Rob Herring <[email protected]> Signed-off-by: Sowjanya Komatineni <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
1 parent bb6d3fb commit e5377ab

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

include/dt-bindings/clock/tegra114-car.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,8 @@
228228
#define TEGRA114_CLK_CLK_M 201
229229
#define TEGRA114_CLK_CLK_M_DIV2 202
230230
#define TEGRA114_CLK_CLK_M_DIV4 203
231+
#define TEGRA114_CLK_OSC_DIV2 202
232+
#define TEGRA114_CLK_OSC_DIV4 203
231233
#define TEGRA114_CLK_PLL_REF 204
232234
#define TEGRA114_CLK_PLL_C 205
233235
#define TEGRA114_CLK_PLL_C_OUT1 206
@@ -274,7 +276,7 @@
274276
#define TEGRA114_CLK_CLK_OUT_2 246
275277
#define TEGRA114_CLK_CLK_OUT_3 247
276278
#define TEGRA114_CLK_BLINK 248
277-
/* 249 */
279+
#define TEGRA114_CLK_OSC 249
278280
/* 250 */
279281
/* 251 */
280282
#define TEGRA114_CLK_XUSB_HOST_SRC 252

include/dt-bindings/clock/tegra124-car-common.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,8 @@
227227
#define TEGRA124_CLK_CLK_M 201
228228
#define TEGRA124_CLK_CLK_M_DIV2 202
229229
#define TEGRA124_CLK_CLK_M_DIV4 203
230+
#define TEGRA124_CLK_OSC_DIV2 202
231+
#define TEGRA124_CLK_OSC_DIV4 203
230232
#define TEGRA124_CLK_PLL_REF 204
231233
#define TEGRA124_CLK_PLL_C 205
232234
#define TEGRA124_CLK_PLL_C_OUT1 206
@@ -273,7 +275,7 @@
273275
#define TEGRA124_CLK_CLK_OUT_2 246
274276
#define TEGRA124_CLK_CLK_OUT_3 247
275277
#define TEGRA124_CLK_BLINK 248
276-
/* 249 */
278+
#define TEGRA124_CLK_OSC 249
277279
/* 250 */
278280
/* 251 */
279281
#define TEGRA124_CLK_XUSB_HOST_SRC 252

include/dt-bindings/clock/tegra210-car.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,8 @@
262262
#define TEGRA210_CLK_CLK_M 233
263263
#define TEGRA210_CLK_CLK_M_DIV2 234
264264
#define TEGRA210_CLK_CLK_M_DIV4 235
265+
#define TEGRA210_CLK_OSC_DIV2 234
266+
#define TEGRA210_CLK_OSC_DIV4 235
265267
#define TEGRA210_CLK_PLL_REF 236
266268
#define TEGRA210_CLK_PLL_C 237
267269
#define TEGRA210_CLK_PLL_C_OUT1 238
@@ -355,7 +357,7 @@
355357
#define TEGRA210_CLK_PLL_A_OUT_ADSP 323
356358
#define TEGRA210_CLK_PLL_A_OUT0_OUT_ADSP 324
357359
/* 325 */
358-
/* 326 */
360+
#define TEGRA210_CLK_OSC 326
359361
/* 327 */
360362
/* 328 */
361363
/* 329 */

include/dt-bindings/clock/tegra30-car.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,8 @@
196196
#define TEGRA30_CLK_CLK_M 171
197197
#define TEGRA30_CLK_CLK_M_DIV2 172
198198
#define TEGRA30_CLK_CLK_M_DIV4 173
199+
#define TEGRA30_CLK_OSC_DIV2 172
200+
#define TEGRA30_CLK_OSC_DIV4 173
199201
#define TEGRA30_CLK_PLL_REF 174
200202
#define TEGRA30_CLK_PLL_C 175
201203
#define TEGRA30_CLK_PLL_C_OUT1 176
@@ -243,7 +245,7 @@
243245
#define TEGRA30_CLK_HCLK 217
244246
#define TEGRA30_CLK_PCLK 218
245247
/* 219 */
246-
/* 220 */
248+
#define TEGRA30_CLK_OSC 220
247249
/* 221 */
248250
/* 222 */
249251
/* 223 */

0 commit comments

Comments
 (0)