| /OK3568_Linux_fs/kernel/arch/arm/mach-omap2/ |
| H A D | clkt2xxx_virt_prcm_set.c | 56 * Set virt_prcm_set's rate to the mpu_speed field of the current PRCM set. 99 const struct prcm_config *prcm; in omap2_select_table_rate() local 103 for (prcm = rate_table; prcm->mpu_speed; prcm++) { in omap2_select_table_rate() 104 if (!(prcm->flags & cpu_mask)) in omap2_select_table_rate() 107 if (prcm->xtal_speed != sys_ck_rate) in omap2_select_table_rate() 110 if (prcm->mpu_speed <= rate) { in omap2_select_table_rate() 111 found_speed = prcm->mpu_speed; in omap2_select_table_rate() 122 curr_prcm_set = prcm; in omap2_select_table_rate() 125 if (prcm->dpll_speed == cur_rate / 2) { in omap2_select_table_rate() 127 } else if (prcm->dpll_speed == cur_rate * 2) { in omap2_select_table_rate() [all …]
|
| H A D | omap_hwmod_33xx_43xx_ipblock_data.c | 26 #define CLKCTRL(oh, clkctrl) ((oh).prcm.omap4.clkctrl_offs = (clkctrl)) 27 #define RSTCTRL(oh, rstctrl) ((oh).prcm.omap4.rstctrl_offs = (rstctrl)) 28 #define RSTST(oh, rstst) ((oh).prcm.omap4.rstst_offs = (rstst)) 44 .prcm = { 65 .prcm = { 87 .prcm = { 100 .prcm = { 120 .prcm = { 136 * 'prcm' class 137 * power and reset manager (whole prcm infrastructure) [all …]
|
| H A D | omap_hwmod_2xxx_ipblock_data.c | 202 .prcm = { 217 .prcm = { 232 .prcm = { 247 .prcm = { 262 .prcm = { 277 .prcm = { 292 .prcm = { 307 .prcm = { 322 .prcm = { 337 .prcm = { [all …]
|
| H A D | opp2430_data.c | 10 * The OMAP2 processor can be run at several discrete 'PRCM configurations'. 37 * Key dividers which make up a PRCM set. Ratios for a PRCM are mandated. 55 /* PRCM #4 - ratio2 (ES2.1) - FAST */ 63 /* PRCM #2 - ratio1 (ES2) - FAST */ 71 /* PRCM #5a - ratio1 - FAST */ 79 /* PRCM #5b - ratio1 - FAST */ 87 /* PRCM #4 - ratio1 (ES2.1) - SLOW */ 95 /* PRCM #2 - ratio1 (ES2) - SLOW */ 103 /* PRCM #5a - ratio1 - SLOW */ 111 /* PRCM #5b - ratio1 - SLOW*/ [all …]
|
| H A D | omap_hwmod_44xx_data.c | 49 .prcm = { 70 .prcm = { 84 .prcm = { 97 .prcm = { 110 .prcm = { 132 .prcm = { 145 .prcm = { 158 .prcm = { 179 .prcm = { 199 .prcm = { [all …]
|
| H A D | prm_common.c | 9 * interrupt handler refers to it as the "PRCM interrupt." The 51 * by the PRCM interrupt handler code. There will be one 'chip' per 58 * prcm_irq_setup: the PRCM IRQ parameters for the hardware the code 94 * PRCM Interrupt Handler 96 * This is a common handler for the OMAP PRCM interrupts. Pending 110 * If we are suspended, mask all interrupts from PRCM level, in omap_prcm_irq_handler() 116 * returning, or spurious PRCM interrupts may occur during in omap_prcm_irq_handler() 162 * omap_prcm_event_to_irq - given a PRCM event name, returns the 164 * @name: name of the PRCM interrupt bit to look up - see struct omap_prcm_irq 196 pr_err("PRCM: IRQ handler not initialized; cannot cleanup\n"); in omap_prcm_irq_cleanup() [all …]
|
| H A D | omap_hwmod_81xx_data.c | 176 .prcm = { 203 .prcm = { 245 .prcm = { 282 .prcm = { 303 .prcm = { 324 .prcm = { 362 .prcm = { 399 .prcm = { 419 .prcm = { 491 .prcm = { [all …]
|
| H A D | cm_common.c | 56 * @prcm_inst: pointer to an s16 to return the PRCM instance offset 60 * the PRCM instance offset and IDLEST register ID back to the caller 83 * @part: PRCM partition 84 * @prcm_mod: PRCM module offset 88 * Wait for the PRCM to indicate that the module identified by 109 * @part: PRCM partition 110 * @prcm_mod: PRCM module offset 114 * Wait for the PRCM to indicate that the module identified by 136 * @part: PRCM partition 137 * @inst: PRCM instance [all …]
|
| H A D | opp2420_data.c | 10 * The OMAP2 processor can be run at several discrete 'PRCM configurations'. 39 * Key dividers which make up a PRCM set. Ratios for a PRCM are mandated. 57 /* PRCM I - FAST */ 64 /* PRCM II - FAST */ 77 /* PRCM III - FAST */ 90 /* PRCM II - SLOW */ 103 /* PRCM III - SLOW */ 116 /* PRCM-VII (boot-bypass) */ 123 /* PRCM-VII (boot-bypass) */
|
| H A D | omap_hwmod_7xx_data.c | 46 .prcm = { 67 .prcm = { 81 .prcm = { 94 .prcm = { 116 .prcm = { 129 .prcm = { 142 .prcm = { 155 .prcm = { 168 .prcm = { 191 .prcm = { [all …]
|
| H A D | omap_hwmod_3xxx_data.c | 105 .prcm = { 154 .prcm = { 169 .prcm = { 184 .prcm = { 199 .prcm = { 214 .prcm = { 229 .prcm = { 244 .prcm = { 259 .prcm = { 274 .prcm = { [all …]
|
| H A D | omap_hwmod_54xx_data.c | 46 .prcm = { 67 .prcm = { 81 .prcm = { 94 .prcm = { 107 .prcm = { 129 .prcm = { 142 .prcm = { 155 .prcm = { 176 .prcm = { 204 .prcm = { [all …]
|
| H A D | omap_hwmod_2430_data.c | 75 .prcm = { 98 .prcm = { 113 .prcm = { 128 .prcm = { 141 .prcm = { 173 .prcm = { 217 .prcm = { 233 .prcm = { 249 .prcm = { 265 .prcm = { [all …]
|
| H A D | omap_hwmod_33xx_data.c | 37 .prcm = { 52 .prcm = { 72 .prcm = { 110 .prcm = { 130 .prcm = { 148 .prcm = { 175 .prcm = { 191 .prcm = {
|
| H A D | Makefile | 108 # PRCM 113 omap-prcm-4-5-common = cminst44xx.o prm44xx.o \ 116 obj-$(CONFIG_ARCH_OMAP4) += $(omap-prcm-4-5-common) 117 obj-$(CONFIG_SOC_OMAP5) += $(omap-prcm-4-5-common) 118 obj-$(CONFIG_SOC_DRA7XX) += $(omap-prcm-4-5-common) 119 am33xx-43xx-prcm-common += prm33xx.o cm33xx.o 120 obj-$(CONFIG_SOC_TI81XX) += $(am33xx-43xx-prcm-common) 121 obj-$(CONFIG_SOC_AM33XX) += $(am33xx-43xx-prcm-common) 122 obj-$(CONFIG_SOC_AM43XX) += $(omap-prcm-4-5-common) \ 123 $(am33xx-43xx-prcm-common) [all …]
|
| H A D | cminst44xx.c | 30 #include "prcm-common.h" 78 * @part: PRCM partition ID that the CM_CLKCTRL register exists in 95 * @part: PRCM partition ID that the CM_CLKCTRL register exists in 173 * @part: PRCM partition ID that the CM_CLKSTCTRL register exists in 192 * @part: PRCM partition ID that the CM_CLKSTCTRL register exists in 212 * @part: PRCM partition ID that the clockdomain registers exist in 226 * @part: PRCM partition ID that the clockdomain registers exist in 241 * @part: PRCM partition ID that the clockdomain registers exist in 264 * @part: PRCM partition ID that the CM_CLKCTRL register exists in 288 * @part: PRCM partition ID that the CM_CLKCTRL register exists in [all …]
|
| H A D | prcm_mpu54xx.h | 3 * OMAP54xx PRCM MPU instance offset macros 45 * The PRCM_MPU is a local PRCM inside the MPU subsystem. For the PRCM (global) 47 * programming model as the global PRCM and thus can be assimilate as two new 48 * MOD inside the PRCM
|
| H A D | prcm44xx.h | 3 * OMAP4 PRCM definitions 11 * the PRM/CM/PRCM blocks on the OMAP4 devices: PRM, CM1, CM2, 19 * OMAP4 PRCM partition IDs 44 * OMAP4_MAX_PRCM_PARTITIONS: set to the highest value of the PRCM partition
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-omap2/omap5/ |
| H A D | hw_data.c | 22 struct prcm_regs const **prcm = variable 350 (*prcm)->cm_l4per_clkstctrl, in enable_basic_clocks() 351 (*prcm)->cm_l3init_clkstctrl, in enable_basic_clocks() 352 (*prcm)->cm_memif_clkstctrl, in enable_basic_clocks() 353 (*prcm)->cm_l4cfg_clkstctrl, in enable_basic_clocks() 355 (*prcm)->cm_gmac_clkstctrl, in enable_basic_clocks() 361 (*prcm)->cm_l3_gpmc_clkctrl, in enable_basic_clocks() 362 (*prcm)->cm_memif_emif_1_clkctrl, in enable_basic_clocks() 363 (*prcm)->cm_memif_emif_2_clkctrl, in enable_basic_clocks() 364 (*prcm)->cm_l4cfg_l4_cfg_clkctrl, in enable_basic_clocks() [all …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-omap2/ |
| H A D | clocks-common.c | 59 ind = (readl((*prcm)->cm_sys_clksel) & in __get_sys_clk_index() 328 (struct dpll_regs *)((*prcm)->cm_clkmode_dpll_mpu); in configure_mpu_dpll() 329 bypass_dpll((*prcm)->cm_clkmode_dpll_mpu); in configure_mpu_dpll() 330 clrbits_le32((*prcm)->cm_mpu_mpu_clkctrl, in configure_mpu_dpll() 332 setbits_le32((*prcm)->cm_mpu_mpu_clkctrl, in configure_mpu_dpll() 340 do_setup_dpll((*prcm)->cm_clkmode_dpll_mpu, params, DPLL_LOCK, "mpu"); in configure_mpu_dpll() 365 clrsetbits_le32((*prcm)->cm_clksel_dpll_usb, in setup_usb_dpll() 370 do_setup_dpll((*prcm)->cm_clkmode_dpll_usb, params, DPLL_LOCK, "usb"); in setup_usb_dpll() 391 do_setup_dpll((*prcm)->cm_clkmode_dpll_core, params, in setup_dplls() 394 do_setup_dpll((*prcm)->cm_clkmode_dpll_core, params, in setup_dplls() [all …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-omap2/omap4/ |
| H A D | hw_data.c | 20 struct prcm_regs const **prcm = variable 332 (*prcm)->cm_l4per_clkstctrl, in enable_basic_clocks() 333 (*prcm)->cm_l3init_clkstctrl, in enable_basic_clocks() 334 (*prcm)->cm_memif_clkstctrl, in enable_basic_clocks() 335 (*prcm)->cm_l4cfg_clkstctrl, in enable_basic_clocks() 340 (*prcm)->cm_l3_gpmc_clkctrl, in enable_basic_clocks() 341 (*prcm)->cm_memif_emif_1_clkctrl, in enable_basic_clocks() 342 (*prcm)->cm_memif_emif_2_clkctrl, in enable_basic_clocks() 343 (*prcm)->cm_l4cfg_l4_cfg_clkctrl, in enable_basic_clocks() 344 (*prcm)->cm_wkup_gpio1_clkctrl, in enable_basic_clocks() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/arm/omap/ |
| H A D | prcm.txt | 1 OMAP PRCM bindings 4 a DT hierarchy. Each TI SoC can have multiple PRCM entities listed for it, 12 "ti,am3-prcm" 13 "ti,am4-prcm" 14 "ti,omap2-prcm" 28 "ti,dm814-prcm" 29 "ti,dm816-prcm" 30 - reg: Contains PRCM module register address range
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-sunxi/ |
| H A D | prcm.c | 21 #include <asm/arch/prcm.h> 27 struct sunxi_prcm_reg *prcm = in prcm_apb0_enable() local 31 setbits_le32(&prcm->apb0_gate, flags); in prcm_apb0_enable() 34 setbits_le32(&prcm->apb0_reset, flags); in prcm_apb0_enable() 39 struct sunxi_prcm_reg *prcm = in prcm_apb0_disable() local 43 clrbits_le32(&prcm->apb0_reset, flags); in prcm_apb0_disable() 46 clrbits_le32(&prcm->apb0_gate, flags); in prcm_apb0_disable()
|
| /OK3568_Linux_fs/kernel/drivers/clk/sunxi/ |
| H A D | Kconfig | 21 bool "Legacy A31 PRCM driver" 25 Legacy clock driver for the A31 PRCM clocks. Those are 29 bool "Legacy sun8i PRCM driver" 33 Legacy clock driver for the sun8i family PRCM clocks. 38 bool "Legacy A80 PRCM driver" 41 Legacy clock driver for the A80 PRCM clocks. Those are
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-omap2/omap3/ |
| H A D | clock.c | 31 struct prcm *prcm_base = (struct prcm *)PRCM_BASE; in get_osc_clk_speed() 122 struct prcm *prcm_base = (struct prcm *)PRCM_BASE; in dpll3_init_34xx() 234 struct prcm *prcm_base = (struct prcm *)PRCM_BASE; in dpll4_init_34xx() 287 struct prcm *prcm_base = (struct prcm *)PRCM_BASE; in dpll5_init_34xx() 311 struct prcm *prcm_base = (struct prcm *)PRCM_BASE; in mpu_init_34xx() 338 struct prcm *prcm_base = (struct prcm *)PRCM_BASE; in iva_init_34xx() 379 struct prcm *prcm_base = (struct prcm *)PRCM_BASE; in dpll3_init_36xx() 484 struct prcm *prcm_base = (struct prcm *)PRCM_BASE; in dpll4_init_36xx() 527 struct prcm *prcm_base = (struct prcm *)PRCM_BASE; in dpll5_init_36xx() 549 struct prcm *prcm_base = (struct prcm *)PRCM_BASE; in mpu_init_36xx() [all …]
|