Lines Matching full:clk

3  * clk-flexgen.c
9 #include <linux/clk.h>
10 #include <linux/clk-provider.h>
206 static struct clk *clk_register_flexgen(const char *name, in clk_register_flexgen()
211 struct clk *clk; in clk_register_flexgen() local
267 clk = clk_register(NULL, &fgxbar->hw); in clk_register_flexgen()
268 if (IS_ERR(clk)) in clk_register_flexgen()
272 __clk_get_name(clk), in clk_register_flexgen()
273 __clk_get_name(clk_get_parent(clk)), in clk_register_flexgen()
274 (unsigned int)clk_get_rate(clk)); in clk_register_flexgen()
275 return clk; in clk_register_flexgen()
307 /* This clk needs to be on so that memory interface is accessible */
308 { .name = "clk-ic-lmi0", .flags = CLK_IS_CRITICAL },
318 { .name = "clk-ic-lmi0", .flags = CLK_IS_CRITICAL },
319 { .name = "clk-ic-lmi1", .flags = CLK_IS_CRITICAL },
328 { .name = "clk-icn-gpu", },
329 { .name = "clk-fdma", },
330 { .name = "clk-nand", },
331 { .name = "clk-hva", },
332 { .name = "clk-proc-stfe", },
333 { .name = "clk-proc-tp", },
334 { .name = "clk-rx-icn-dmu", },
335 { .name = "clk-rx-icn-hva", },
336 /* This clk needs to be on to keep bus interconnect alive */
337 { .name = "clk-icn-cpu", .flags = CLK_IS_CRITICAL },
338 /* This clk needs to be on to keep bus interconnect alive */
339 { .name = "clk-tx-icn-dmu", .flags = CLK_IS_CRITICAL },
340 { .name = "clk-mmc-0", },
341 { .name = "clk-mmc-1", },
342 { .name = "clk-jpegdec", },
343 /* This clk needs to be on to keep A9 running */
344 { .name = "clk-ext2fa9", .flags = CLK_IS_CRITICAL },
345 { .name = "clk-ic-bdisp-0", },
346 { .name = "clk-ic-bdisp-1", },
347 { .name = "clk-pp-dmu", },
348 { .name = "clk-vid-dmu", },
349 { .name = "clk-dss-lpc", },
350 { .name = "clk-st231-aud-0", },
351 { .name = "clk-st231-gp-1", },
352 { .name = "clk-st231-dmu", },
353 /* This clk needs to be on to keep bus interconnect alive */
354 { .name = "clk-icn-lmi", .flags = CLK_IS_CRITICAL },
355 { .name = "clk-tx-icn-disp-1", },
356 /* This clk needs to be on to keep bus interconnect alive */
357 { .name = "clk-icn-sbc", .flags = CLK_IS_CRITICAL },
358 { .name = "clk-stfe-frc2", },
359 { .name = "clk-eth-phy", },
360 { .name = "clk-eth-ref-phyclk", },
361 { .name = "clk-flash-promip", },
362 { .name = "clk-main-disp", },
363 { .name = "clk-aux-disp", },
364 { .name = "clk-compo-dvp", },
373 { .name = "clk-icn-gpu", },
374 { .name = "clk-fdma", },
375 { .name = "clk-nand", },
376 { .name = "clk-hva", },
377 { .name = "clk-proc-stfe", },
378 { .name = "clk-proc-tp", },
379 { .name = "clk-rx-icn-dmu", },
380 { .name = "clk-rx-icn-hva", },
381 /* This clk needs to be on to keep bus interconnect alive */
382 { .name = "clk-icn-cpu", .flags = CLK_IS_CRITICAL },
383 /* This clk needs to be on to keep bus interconnect alive */
384 { .name = "clk-tx-icn-dmu", .flags = CLK_IS_CRITICAL },
385 { .name = "clk-mmc-0", },
386 { .name = "clk-mmc-1", },
387 { .name = "clk-jpegdec", },
388 /* This clk needs to be on to keep A9 running */
389 { .name = "clk-ext2fa9", .flags = CLK_IS_CRITICAL },
390 { .name = "clk-ic-bdisp-0", },
391 { .name = "clk-ic-bdisp-1", },
392 { .name = "clk-pp-dmu", },
393 { .name = "clk-vid-dmu", },
394 { .name = "clk-dss-lpc", },
395 { .name = "clk-st231-aud-0", },
396 { .name = "clk-st231-gp-1", },
397 { .name = "clk-st231-dmu", },
398 /* This clk needs to be on to keep bus interconnect alive */
399 { .name = "clk-icn-lmi", .flags = CLK_IS_CRITICAL },
400 { .name = "clk-tx-icn-disp-1", },
401 /* This clk needs to be on to keep bus interconnect alive */
402 { .name = "clk-icn-sbc", .flags = CLK_IS_CRITICAL },
403 { .name = "clk-stfe-frc2", },
404 { .name = "clk-eth-phy", },
405 { .name = "clk-eth-ref-phyclk", },
406 { .name = "clk-flash-promip", },
407 { .name = "clk-main-disp", },
408 { .name = "clk-aux-disp", },
409 { .name = "clk-compo-dvp", },
410 { .name = "clk-tx-icn-hades", },
411 { .name = "clk-rx-icn-hades", },
412 /* This clk needs to be on to keep bus interconnect alive */
413 { .name = "clk-icn-reg-16", .flags = CLK_IS_CRITICAL },
414 { .name = "clk-pp-hades", },
415 { .name = "clk-clust-hades", },
416 { .name = "clk-hwpe-hades", },
417 { .name = "clk-fc-hades", },
426 { .name = "clk-icn-gpu", },
427 { .name = "clk-fdma", },
428 { .name = "clk-nand", },
429 { .name = "clk-hva", },
430 { .name = "clk-proc-stfe", },
431 { .name = "clk-tp", },
432 /* This clk needs to be on to keep bus interconnect alive */
433 { .name = "clk-rx-icn-dmu", .flags = CLK_IS_CRITICAL },
434 /* This clk needs to be on to keep bus interconnect alive */
435 { .name = "clk-rx-icn-hva", .flags = CLK_IS_CRITICAL },
436 { .name = "clk-icn-cpu", .flags = CLK_IS_CRITICAL },
437 /* This clk needs to be on to keep bus interconnect alive */
438 { .name = "clk-tx-icn-dmu", .flags = CLK_IS_CRITICAL },
439 { .name = "clk-mmc-0", },
440 { .name = "clk-mmc-1", },
441 { .name = "clk-jpegdec", },
442 /* This clk needs to be on to keep bus interconnect alive */
443 { .name = "clk-icn-reg", .flags = CLK_IS_CRITICAL },
444 { .name = "clk-proc-bdisp-0", },
445 { .name = "clk-proc-bdisp-1", },
446 { .name = "clk-pp-dmu", },
447 { .name = "clk-vid-dmu", },
448 { .name = "clk-dss-lpc", },
449 { .name = "clk-st231-aud-0", },
450 { .name = "clk-st231-gp-1", },
451 { .name = "clk-st231-dmu", },
452 /* This clk needs to be on to keep bus interconnect alive */
453 { .name = "clk-icn-lmi", .flags = CLK_IS_CRITICAL },
454 /* This clk needs to be on to keep bus interconnect alive */
455 { .name = "clk-tx-icn-1", .flags = CLK_IS_CRITICAL },
456 /* This clk needs to be on to keep bus interconnect alive */
457 { .name = "clk-icn-sbc", .flags = CLK_IS_CRITICAL },
458 { .name = "clk-stfe-frc2", },
459 { .name = "clk-eth-phyref", },
460 { .name = "clk-eth-ref-phyclk", },
461 { .name = "clk-flash-promip", },
462 { .name = "clk-main-disp", },
463 { .name = "clk-aux-disp", },
464 { .name = "clk-compo-dvp", },
465 /* This clk needs to be on to keep bus interconnect alive */
466 { .name = "clk-tx-icn-hades", .flags = CLK_IS_CRITICAL },
467 /* This clk needs to be on to keep bus interconnect alive */
468 { .name = "clk-rx-icn-hades", .flags = CLK_IS_CRITICAL },
469 /* This clk needs to be on to keep bus interconnect alive */
470 { .name = "clk-icn-reg-16", .flags = CLK_IS_CRITICAL },
471 { .name = "clk-pp-hevc", },
472 { .name = "clk-clust-hevc", },
473 { .name = "clk-hwpe-hevc", },
474 { .name = "clk-fc-hevc", },
475 { .name = "clk-proc-mixer", },
476 { .name = "clk-proc-sc", },
477 { .name = "clk-avsp-hevc", },
486 { .name = "clk-pcm-0", },
487 { .name = "clk-pcm-1", },
488 { .name = "clk-pcm-2", },
489 { .name = "clk-spdiff", },
499 { .name = "clk-pcm-0", },
500 { .name = "clk-pcm-1", },
501 { .name = "clk-pcm-2", },
502 { .name = "clk-spdiff", },
503 { .name = "clk-pcmr10-master", },
504 { .name = "clk-usb2-phy", },
514 { .name = "clk-pix-main-disp", },
515 { .name = "clk-pix-pip", },
516 { .name = "clk-pix-gdp1", },
517 { .name = "clk-pix-gdp2", },
518 { .name = "clk-pix-gdp3", },
519 { .name = "clk-pix-gdp4", },
520 { .name = "clk-pix-aux-disp", },
521 { .name = "clk-denc", },
522 { .name = "clk-pix-hddac", },
523 { .name = "clk-hddac", },
524 { .name = "clk-sddac", },
525 { .name = "clk-pix-dvo", },
526 { .name = "clk-dvo", },
527 { .name = "clk-pix-hdmi", },
528 { .name = "clk-tmds-hdmi", },
529 { .name = "clk-ref-hdmiphy", },
540 { .name = "clk-pix-main-disp", },
545 { .name = "clk-tmds-hdmi-div2", },
546 { .name = "clk-pix-aux-disp", },
547 { .name = "clk-denc", },
548 { .name = "clk-pix-hddac", },
549 { .name = "clk-hddac", },
550 { .name = "clk-sddac", },
551 { .name = "clk-pix-dvo", },
552 { .name = "clk-dvo", },
553 { .name = "clk-pix-hdmi", },
554 { .name = "clk-tmds-hdmi", },
555 { .name = "clk-ref-hdmiphy", },
564 { .name = "clk-vp9", },
575 { .name = "clk-stfe-frc1", },
576 { .name = "clk-tsout-0", },
577 { .name = "clk-tsout-1", },
578 { .name = "clk-mchi", },
579 { .name = "clk-vsens-compo", },
580 { .name = "clk-frc1-remote", },
581 { .name = "clk-lpc-0", },
582 { .name = "clk-lpc-1", },
695 clk_data->clks = kcalloc(clk_data->clk_num, sizeof(struct clk *), in st_of_flexgen_setup()
707 struct clk *clk; in st_of_flexgen_setup() local
727 clk = clk_register_flexgen(clk_name, parents, num_parents, in st_of_flexgen_setup()
730 if (IS_ERR(clk)) in st_of_flexgen_setup()
733 clk_data->clks[i] = clk; in st_of_flexgen_setup()