Table of Contents

1 em_sti users and clock trees

1.1 Device tree nodes with compatible=renesas,em-sti

1.1.1 arch/arm/boot/dts/emev2.dtsi

Included from arch/arm/boot/dts/emev2-kzm9d.dts:12. Board has no ->init_time, the of_clk_init() path in arm's time_init() is taken.

  1. Clock tree
    Node compatible relevant input clock
    timer renesas,em-sti <&sti_sclk>
    sti_clk renesas,emev2-smu-gclk <&c32ki>
    c32ki fixed-clock  

2 Clock rate/parent changers in arch/arm

git grep -n 'clk_set_\(rate\|parent\)' -- arch/arm

Manually cleaned up.

2.1 arch/arm

2.1.1 arch/arm/mach-davinci/

ARCH_DAVINCI boards do not use em_sti.

  1. arch/arm/mach-davinci/clock.c:594
    clk_set_rate(refclk, rate);
  2. arch/arm/mach-davinci/da850.c:1202
    return clk_set_rate(pllclk, index);

2.1.2 arch/arm/mach-mvebu/platsmp.c:68

clk_set_rate(cpu_clk, rate);

ARCH_MVEBU boards do not use em_sti.

2.1.3 arch/arm/mach-omap1/

ARCH_OMAP1 boards do not use em_sti.

  1. arch/arm/mach-omap1/clock.c:696
    ret = omap1_clk_set_rate(clk, rate);
  2. arch/arm/mach-omap1/serial.c:149
    clk_set_rate(uart1_ck, 12000000);
  3. arch/arm/mach-omap1/serial.c:159
    clk_set_rate(uart2_ck, 12000000);
  4. arch/arm/mach-omap1/serial.c:161
    clk_set_rate(uart2_ck, 48000000);
  5. arch/arm/mach-omap1/serial.c:171
    clk_set_rate(uart3_ck, 12000000);

2.1.4 arch/arm/mach-omap2/

ARCH_OMAP2PLUS boards do not use em_sti.

  1. arch/arm/mach-omap2/io.c:399
    v = clk_set_rate(dpll3_m2_ck, rate);
  2. arch/arm/mach-omap2/omap2-restart.c:39
    clk_set_rate(reset_virt_prcm_set_ck, rate);

2.1.5 arch/arm/mach-s3c24xx/cpufreq-utils.c:65

clk_set_rate(cfg->mpll, cfg->pll.frequency);

ARCH_S3C24XX boards do not use em_sti.

2.1.6 arch/arm/mach-spear/

PLAT_SPEAR boards do not use em_sti.

  1. arch/arm/mach-spear/spear13xx.c:122
    clk_set_parent(gpt_clk, pclk);
  2. arch/arm/mach-spear/spear3xx.c:111
    clk_set_parent(gpt_clk, pclk);
  3. arch/arm/mach-spear/spear6xx.c:398
    clk_set_parent(gpt_clk, pclk);

2.1.7 arch/arm/plat-omap/

ARCH_OMAP boards do not use em_sti.

  1. arch/arm/plat-omap/dmtimer.c:157
    ret = clk_set_parent(timer->fclk, parent);
  2. arch/arm/plat-omap/dmtimer.c:563
    ret = clk_set_parent(timer->fclk, parent);

Author: Nicolai Stange

Created: 2017-02-05 Sun 15:31

Emacs 25.1.1 (Org mode 8.2.10)