Home
last modified time | relevance | path

Searched full:clkctrl (Results 1 – 25 of 53) sorted by relevance

123

/openbmc/linux/drivers/clk/ti/
H A Dclk-7xx.c44 …{ DRA7_IPU1_MMU_IPU1_CLKCTRL, dra7_mmu_ipu1_bit_data, CLKF_HW_SUP | CLKF_NO_IDLEST, "ipu1-clkctrl:…
129 { DRA7_IPU_MCASP1_CLKCTRL, dra7_mcasp1_bit_data, CLKF_SW_SUP, "ipu-clkctrl:0000:22" },
130 { DRA7_IPU_TIMER5_CLKCTRL, dra7_timer5_bit_data, CLKF_SW_SUP, "ipu-clkctrl:0008:24" },
131 { DRA7_IPU_TIMER6_CLKCTRL, dra7_timer6_bit_data, CLKF_SW_SUP, "ipu-clkctrl:0010:24" },
132 { DRA7_IPU_TIMER7_CLKCTRL, dra7_timer7_bit_data, CLKF_SW_SUP, "ipu-clkctrl:0018:24" },
133 { DRA7_IPU_TIMER8_CLKCTRL, dra7_timer8_bit_data, CLKF_SW_SUP, "ipu-clkctrl:0020:24" },
135 { DRA7_IPU_UART6_CLKCTRL, dra7_uart6_bit_data, CLKF_SW_SUP, "ipu-clkctrl:0030:24" },
215 "atl-clkctrl:0000:24",
226 { DRA7_ATL_ATL_CLKCTRL, dra7_atl_bit_data, CLKF_SW_SUP, "atl-clkctrl:0000:26" },
302 { DRA7_DSS_DSS_CORE_CLKCTRL, dra7_dss_core_bit_data, CLKF_SW_SUP, "dss-clkctrl:0000:8" },
[all …]
H A Dclk-44xx.c59 "abe-clkctrl:0018:26",
79 "abe-clkctrl:0020:26",
92 "abe-clkctrl:0028:26",
105 "abe-clkctrl:0030:26",
118 "abe-clkctrl:0038:26",
186 { OMAP4_AESS_CLKCTRL, omap4_aess_bit_data, CLKF_SW_SUP, "abe-clkctrl:0008:24" },
188 { OMAP4_DMIC_CLKCTRL, omap4_dmic_bit_data, CLKF_SW_SUP, "abe-clkctrl:0018:24" },
189 { OMAP4_MCASP_CLKCTRL, omap4_mcasp_bit_data, CLKF_SW_SUP, "abe-clkctrl:0020:24" },
190 { OMAP4_MCBSP1_CLKCTRL, omap4_mcbsp1_bit_data, CLKF_SW_SUP, "abe-clkctrl:0028:24" },
191 { OMAP4_MCBSP2_CLKCTRL, omap4_mcbsp2_bit_data, CLKF_SW_SUP, "abe-clkctrl:0030:24" },
[all …]
H A Dclk-54xx.c53 "abe-clkctrl:0018:26",
73 "abe-clkctrl:0028:26",
86 "abe-clkctrl:0030:26",
99 "abe-clkctrl:0038:26",
139 { OMAP5_AESS_CLKCTRL, omap5_aess_bit_data, CLKF_SW_SUP, "abe-clkctrl:0008:24" },
141 { OMAP5_DMIC_CLKCTRL, omap5_dmic_bit_data, CLKF_SW_SUP, "abe-clkctrl:0018:24" },
142 { OMAP5_MCBSP1_CLKCTRL, omap5_mcbsp1_bit_data, CLKF_SW_SUP, "abe-clkctrl:0028:24" },
143 { OMAP5_MCBSP2_CLKCTRL, omap5_mcbsp2_bit_data, CLKF_SW_SUP, "abe-clkctrl:0030:24" },
144 { OMAP5_MCBSP3_CLKCTRL, omap5_mcbsp3_bit_data, CLKF_SW_SUP, "abe-clkctrl:0038:24" },
145 { OMAP5_TIMER5_CLKCTRL, omap5_timer5_bit_data, CLKF_SW_SUP, "abe-clkctrl:0048:24" },
[all …]
H A Dclk-33xx.c19 "clk-24mhz-clkctrl:0000:0",
151 "l3-aon-clkctrl:0000:19",
152 "l3-aon-clkctrl:0000:30",
157 "l3-aon-clkctrl:0000:20",
167 "l3-aon-clkctrl:0000:22",
192 { AM3_L3_AON_DEBUGSS_CLKCTRL, am3_debugss_bit_data, CLKF_SW_SUP, "l3-aon-clkctrl:0000:24" },
207 { AM3_L4_RTC_RTC_CLKCTRL, NULL, CLKF_SW_SUP, "clk-24mhz-clkctrl:0000:0" },
241 DT_CLK(NULL, "timer_32k_ck", "clk-24mhz-clkctrl:0000:0"),
243 DT_CLK(NULL, "clkdiv32k_ick", "clk-24mhz-clkctrl:0000:0"),
244 DT_CLK(NULL, "dbg_clka_ck", "l3-aon-clkctrl:0000:30"),
[all …]
H A Dclk-43xx.c35 …{ AM4_L4_WKUP_AON_COUNTER_32K_CLKCTRL, am4_counter_32k_bit_data, CLKF_SW_SUP, "l4-wkup-aon-clkctrl
256 DT_CLK(NULL, "gpio0_dbclk", "l4-wkup-clkctrl:0148:8"),
257 DT_CLK(NULL, "gpio1_dbclk", "l4ls-clkctrl:0058:8"),
258 DT_CLK(NULL, "gpio2_dbclk", "l4ls-clkctrl:0060:8"),
259 DT_CLK(NULL, "gpio3_dbclk", "l4ls-clkctrl:0068:8"),
260 DT_CLK(NULL, "gpio4_dbclk", "l4ls-clkctrl:0070:8"),
261 DT_CLK(NULL, "gpio5_dbclk", "l4ls-clkctrl:0078:8"),
262 DT_CLK(NULL, "synctimer_32kclk", "l4-wkup-aon-clkctrl:0008:8"),
263 DT_CLK(NULL, "usb_otg_ss0_refclk960m", "l3s-clkctrl:01f8:8"),
264 DT_CLK(NULL, "usb_otg_ss1_refclk960m", "l3s-clkctrl:0200:8"),
[all …]
H A Dclkctrl.c3 * OMAP clkctrl clock support
250 /* Get clkctrl clock base name based on clkctrl_name or dts node */
258 /* l4per-clkctrl:1234:0 style naming based on clkctrl_name */ in clkctrl_get_clock_name()
260 clock_name = kasprintf(GFP_KERNEL, "%s-clkctrl:%04x:%d", in clkctrl_get_clock_name()
280 /* l4per-clkctrl:1234:0 style naming based on node name */ in clkctrl_get_clock_name()
469 * compatible property for clkctrl.
494 if (!strncmp("ti,clkctrl-", compat, prefix_len)) { in clkctrl_get_name()
578 pr_err("%pOF not found from clkctrl data.\n", node); in _ti_omap4_clkctrl_setup()
601 * The code below can be removed when all clkctrl nodes use domain in _ti_omap4_clkctrl_setup()
719 CLK_OF_DECLARE(ti_omap4_clkctrl_clock, "ti,clkctrl",
[all …]
/openbmc/linux/Documentation/devicetree/bindings/clock/
H A Dti-clkctrl.txt1 Texas Instruments clkctrl clock binding
3 Texas Instruments SoCs can have a clkctrl clock controller for each
4 interconnect target module. The clkctrl clock controller manages functional
5 and interface clocks for each module. Each clkctrl controller can also
7 or more clock muxes. There is a clkctrl clock controller typically for each
10 The clock consumers can specify the index of the clkctrl clock using
11 the hardware offset from the clkctrl instance register space. The optional
12 clocks can be specified by clkctrl hardware offset and the index of the
19 - compatible : shall be "ti,clkctrl" or a clock domain specific name:
20 "ti,clkctrl-l4-cfg"
[all …]
H A Dartpec6.txt19 See dt-bindings/clock/axis,artpec6-clkctrl.h for the list of valid identifiers.
20 - compatible: Should be "axis,artpec6-clkctrl"
35 clkctrl: clkctrl@f8000000 {
37 compatible = "axis,artpec6-clkctrl";
H A Dimx23-clock.yaml64 const: fsl,imx23-clkctrl
82 compatible = "fsl,imx23-clkctrl";
H A Dimx28-clock.yaml87 const: fsl,imx28-clkctrl
105 compatible = "fsl,imx28-clkctrl";
/openbmc/linux/drivers/clk/mxs/
H A Dclk-imx28.c17 static void __iomem *clkctrl; variable
18 #define CLKCTRL clkctrl macro
20 #define PLL0CTRL0 (CLKCTRL + 0x0000)
21 #define PLL1CTRL0 (CLKCTRL + 0x0020)
22 #define PLL2CTRL0 (CLKCTRL + 0x0040)
23 #define CPU (CLKCTRL + 0x0050)
24 #define HBUS (CLKCTRL + 0x0060)
25 #define XBUS (CLKCTRL + 0x0070)
26 #define XTAL (CLKCTRL + 0x0080)
27 #define SSP0 (CLKCTRL + 0x0090)
[all …]
H A Dclk-imx23.c16 static void __iomem *clkctrl; variable
19 #define CLKCTRL clkctrl macro
22 #define PLLCTRL0 (CLKCTRL + 0x0000)
23 #define CPU (CLKCTRL + 0x0020)
24 #define HBUS (CLKCTRL + 0x0030)
25 #define XBUS (CLKCTRL + 0x0040)
26 #define XTAL (CLKCTRL + 0x0050)
27 #define PIX (CLKCTRL + 0x0060)
28 #define SSP (CLKCTRL + 0x0070)
29 #define GPMI (CLKCTRL + 0x0080)
[all …]
/openbmc/u-boot/arch/arm/cpu/arm926ejs/mxs/
H A Dclock.c41 uint32_t clkctrl, clkseq, div; in mxs_get_pclk() local
44 clkctrl = readl(&clkctrl_regs->hw_clkctrl_cpu); in mxs_get_pclk()
47 if (clkctrl & in mxs_get_pclk()
56 div = (clkctrl & CLKCTRL_CPU_DIV_XTAL_MASK) >> in mxs_get_pclk()
64 div = clkctrl & CLKCTRL_CPU_DIV_CPU_MASK; in mxs_get_pclk()
74 uint32_t clkctrl; in mxs_get_hclk() local
76 clkctrl = readl(&clkctrl_regs->hw_clkctrl_hbus); in mxs_get_hclk()
79 if (clkctrl & CLKCTRL_HBUS_DIV_FRAC_EN) in mxs_get_hclk()
82 div = clkctrl & CLKCTRL_HBUS_DIV_MASK; in mxs_get_hclk()
91 uint32_t clkctrl, clkseq, div; in mxs_get_emiclk() local
[all …]
/openbmc/linux/arch/arm/boot/dts/axis/
H A Dartpec6.dtsi45 #include <dt-bindings/clock/axis,artpec6-clkctrl.h>
103 clkctrl: clkctrl@f8000000 { label
105 compatible = "axis,artpec6-clkctrl";
115 clocks = <&clkctrl ARTPEC6_CLK_CPU_PERIPH>;
122 clocks = <&clkctrl ARTPEC6_CLK_CPU_PERIPH>;
259 clocks = <&clkctrl ARTPEC6_CLK_DMA_ACLK>;
281 clocks = <&clkctrl ARTPEC6_CLK_DMA_ACLK>;
289 clocks = <&clkctrl ARTPEC6_CLK_ETH_ACLK>,
290 <&clkctrl ARTPEC6_CLK_PTP_REF>;
335 clocks = <&clkctrl ARTPEC6_CLK_UART_REFCLK>,
[all …]
/openbmc/u-boot/arch/arm/mach-omap2/am33xx/
H A Dclock_ti814x.c87 unsigned int clkctrl; member
194 * return : CLKCTRL
243 read_clkctrl = readl(&adpll->clkctrl); in pll_config()
244 writel((read_clkctrl | ADPLLJ_CLKCTRL_IDLE), &adpll->clkctrl); in pll_config()
250 read_clkctrl = readl(&adpll->clkctrl); in pll_config()
251 writel((read_clkctrl & ~ADPLLJ_CLKCTRL_TINITZ), &adpll->clkctrl); in pll_config()
258 read_clkctrl = readl(&adpll->clkctrl) & in pll_config()
268 writel((read_clkctrl | hs_mod), &adpll->clkctrl); in pll_config()
280 read_clkctrl = readl(&adpll->clkctrl) & ~ADPLLJ_CLKCTRL_CLKDCO; in pll_config()
283 &adpll->clkctrl); in pll_config()
[all …]
H A Dclock.c120 u32 clkctrl, idlest = MODULE_CLKCTRL_IDLEST_DISABLED; in wait_for_clk_enable() local
125 clkctrl = readl(clkctrl_addr); in wait_for_clk_enable()
126 idlest = (clkctrl & MODULE_CLKCTRL_IDLEST_MASK) >> in wait_for_clk_enable()
130 clkctrl_addr, clkctrl); in wait_for_clk_enable()
148 u32 clkctrl, idlest = MODULE_CLKCTRL_IDLEST_FULLY_FUNCTIONAL; in wait_for_clk_disable() local
152 clkctrl = readl(clkctrl_addr); in wait_for_clk_disable()
153 idlest = (clkctrl & MODULE_CLKCTRL_IDLEST_MASK) >> in wait_for_clk_disable()
157 clkctrl_addr, clkctrl); in wait_for_clk_disable()
H A Dclock_am43xx.c55 u32 clkctrl, idlest = MODULE_CLKCTRL_IDLEST_DISABLED; in setup_clocks_for_console() local
70 clkctrl = readl(&cmwkup->wkup_uart0ctrl); in setup_clocks_for_console()
71 idlest = (clkctrl & MODULE_CLKCTRL_IDLEST_MASK) >> in setup_clocks_for_console()
/openbmc/u-boot/drivers/video/exynos/
H A Dexynos_mipi_dsi_lowlevel.c295 unsigned int reg = (readl(&mipi_dsim->clkctrl)) & in exynos_mipi_dsi_enable_pll_bypass()
300 writel(reg, &mipi_dsim->clkctrl); in exynos_mipi_dsi_enable_pll_bypass()
359 unsigned int reg = (readl(&mipi_dsim->clkctrl)) & in exynos_mipi_dsi_set_byte_clock_src()
364 writel(reg, &mipi_dsim->clkctrl); in exynos_mipi_dsi_set_byte_clock_src()
372 unsigned int reg = (readl(&mipi_dsim->clkctrl)) & in exynos_mipi_dsi_enable_byte_clock()
377 writel(reg, &mipi_dsim->clkctrl); in exynos_mipi_dsi_enable_byte_clock()
385 unsigned int reg = (readl(&mipi_dsim->clkctrl)) & in exynos_mipi_dsi_set_esc_clk_prs()
392 writel(reg, &mipi_dsim->clkctrl); in exynos_mipi_dsi_set_esc_clk_prs()
400 unsigned int reg = readl(&mipi_dsim->clkctrl); in exynos_mipi_dsi_enable_esc_clk_on_lane()
407 writel(reg, &mipi_dsim->clkctrl); in exynos_mipi_dsi_enable_esc_clk_on_lane()
[all …]
/openbmc/linux/arch/arm/boot/dts/ti/omap/
H A Dam33xx-clocks.dtsi630 compatible = "ti,clkctrl";
637 compatible = "ti,clkctrl";
644 compatible = "ti,clkctrl";
651 compatible = "ti,clkctrl";
658 compatible = "ti,clkctrl";
665 compatible = "ti,clkctrl";
672 compatible = "ti,clkctrl";
679 compatible = "ti,clkctrl";
695 compatible = "ti,clkctrl";
702 compatible = "ti,clkctrl";
[all …]
H A Domap44xx-clocks.dtsi1161 compatible = "ti,clkctrl";
1177 compatible = "ti,clkctrl";
1193 compatible = "ti,clkctrl";
1212 compatible = "ti,clkctrl";
1228 compatible = "ti,clkctrl";
1244 compatible = "ti,clkctrl";
1260 compatible = "ti,clkctrl";
1276 compatible = "ti,clkctrl";
1292 compatible = "ti,clkctrl";
1308 compatible = "ti,clkctrl";
[all …]
H A Ddra7xx-clocks.dtsi1708 compatible = "ti,clkctrl";
1725 compatible = "ti,clkctrl";
1742 compatible = "ti,clkctrl";
1751 compatible = "ti,clkctrl";
1768 compatible = "ti,clkctrl";
1785 compatible = "ti,clkctrl";
1801 compatible = "ti,clkctrl";
1820 compatible = "ti,clkctrl";
1836 compatible = "ti,clkctrl";
1853 compatible = "ti,clkctrl";
[all …]
H A Domap54xx-clocks.dtsi1109 compatible = "ti,clkctrl";
1125 compatible = "ti,clkctrl";
1141 compatible = "ti,clkctrl";
1160 compatible = "ti,clkctrl";
1176 compatible = "ti,clkctrl";
1192 compatible = "ti,clkctrl";
1208 compatible = "ti,clkctrl";
1224 compatible = "ti,clkctrl";
1240 compatible = "ti,clkctrl";
1256 compatible = "ti,clkctrl";
[all …]
H A Dam43xx-clocks.dtsi875 compatible = "ti,clkctrl";
882 compatible = "ti,clkctrl";
889 compatible = "ti,clkctrl";
906 compatible = "ti,clkctrl";
922 compatible = "ti,clkctrl";
938 compatible = "ti,clkctrl";
954 compatible = "ti,clkctrl";
961 compatible = "ti,clkctrl";
968 compatible = "ti,clkctrl";
975 compatible = "ti,clkctrl";
[all …]
/openbmc/linux/Documentation/devicetree/bindings/pci/
H A Dmediatek,mt7621-pcie.yaml109 clocks = <&clkctrl 24>;
124 clocks = <&clkctrl 25>;
139 clocks = <&clkctrl 26>;
/openbmc/u-boot/arch/arm/include/asm/arch-mxs/
H A Dimx-regs.h29 #include <asm/arch/regs-clkctrl-mx23.h>
34 #include <asm/arch/regs-clkctrl-mx28.h>

123