Searched +full:idlest +full:- +full:shift (Results 1 – 10 of 10) sorted by relevance
| /linux/Documentation/devicetree/bindings/clock/ti/ |
| H A D | ti,apll-clock.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/clock/ti/ti,apll-clock.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Eduard Bostina <egbostina@gmail.com> 13 - $ref: /schemas/clock/clock.yaml# 16 This binding assumes a register-mapped APLL with usually two selectable 26 - ti,dra7-apll-clock 27 - ti,omap2-apll-clock 29 "#clock-cells": [all …]
|
| /linux/drivers/clk/ti/ |
| H A D | clkt_dflt.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2005-2008, 2015 Texas Instruments, Inc. 6 * Copyright (C) 2004-2010 Nokia Corporation 9 * Richard Woodruff <r-woodruff2@ti.com> 11 * Tero Kristo <t-kristo@ti.com> 16 #include <linux/clk-provider.h> 37 * _wait_idlest_generic - wait for a module to leave the idle state 39 * @reg: virtual address of module IDLEST register 41 * @idlest: idle state indicator (0 or 1) for the clock 44 * Wait for a module to leave idle, where its idle-status register is [all …]
|
| H A D | clk-3xxx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Tero Kristo (t-kristo@ti.com) 12 #include <linux/clk-provider.h> 36 * omap3430es2_clk_ssi_find_idlest - return CM_IDLEST info for SSI 39 * @idlest_bit: pointer to a u8 to store the CM_IDLEST bit shift into 42 * The OMAP3430ES2 SSI target CM_IDLEST bit is at a different shift 51 memcpy(idlest_reg, &clk->enable_reg, sizeof(*idlest_reg)); in omap3430es2_clk_ssi_find_idlest() 52 idlest_reg->offset &= ~0xf0; in omap3430es2_clk_ssi_find_idlest() 53 idlest_reg->offset |= 0x20; in omap3430es2_clk_ssi_find_idlest() 66 * omap3430es2_clk_dss_usbhost_find_idlest - CM_IDLEST info for DSS, USBHOST [all …]
|
| H A D | clkt_iclk.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 #include <linux/clk-provider.h> 33 memcpy(&r, &clk->enable_reg, sizeof(r)); in omap2_clkt_iclk_allow_idle() 36 v = ti_clk_ll_ops->clk_readl(&r); in omap2_clkt_iclk_allow_idle() 37 v |= (1 << clk->enable_bit); in omap2_clkt_iclk_allow_idle() 38 ti_clk_ll_ops->clk_writel(v, &r); in omap2_clkt_iclk_allow_idle() 47 memcpy(&r, &clk->enable_reg, sizeof(r)); in omap2_clkt_iclk_deny_idle() 51 v = ti_clk_ll_ops->clk_readl(&r); in omap2_clkt_iclk_deny_idle() 52 v &= ~(1 << clk->enable_bit); in omap2_clkt_iclk_deny_idle() 53 ti_clk_ll_ops->clk_writel(v, &r); in omap2_clkt_iclk_deny_idle() [all …]
|
| H A D | apll.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * J Keerthy <j-keerthy@ti.com> 11 #include <linux/clk-provider.h> 41 ad = clk->dpll_data; in dra7_apll_enable() 43 return -EINVAL; in dra7_apll_enable() 45 clk_name = clk_hw_get_name(&clk->hw); in dra7_apll_enable() 47 state <<= __ffs(ad->idlest_mask); in dra7_apll_enable() 50 v = ti_clk_ll_ops->clk_readl(&ad->idlest_reg); in dra7_apll_enable() 52 if ((v & ad->idlest_mask) == state) in dra7_apll_enable() 55 v = ti_clk_ll_ops->clk_readl(&ad->control_reg); in dra7_apll_enable() [all …]
|
| /linux/arch/arm/mach-omap2/ |
| H A D | cm33xx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2011-2012 Texas Instruments Incorporated - https://www.ti.com/ 20 #include "cm-regbits-34xx.h" 21 #include "cm-regbits-33xx.h" 28 * CLKCTRL_IDLEST_*: possible values for the CM_*_CLKCTRL.IDLEST bitfield: 57 /* Read-modify-write a register in CM */ 82 * _clkctrl_idlest - read a CM_*_CLKCTRL register; mask & shift IDLEST bitfield 86 * Return the IDLEST bitfield of a CM_*_CLKCTRL register, shifted down to 98 * _is_module_ready - can module registers be accessed without causing an abort? 102 * Returns true if the module's CM_*_CLKCTRL.IDLEST bitfield is either [all …]
|
| H A D | cminst44xx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (C) 2008-2011 Texas Instruments, Inc. 26 #include "cm-regbits-34xx.h" 30 #include "prcm-common.h" 40 * CLKCTRL_IDLEST_*: possible values for the CM_*_CLKCTRL.IDLEST bitfield: 58 * omap_cm_base_init - Populates the cm partitions 77 * _clkctrl_idlest - read a CM_*_CLKCTRL register; mask & shift IDLEST bitfield 82 * Return the IDLEST bitfield of a CM_*_CLKCTRL register, shifted down to 94 * _is_module_ready - can module registers be accessed without causing an abort? 99 * Returns true if the module's CM_*_CLKCTRL.IDLEST bitfield is either [all …]
|
| H A D | cm_common.c | 1 // SPDX-License-Identifier: GPL-2.0-only 25 * cm_ll_data: function pointers to SoC-specific implementations of 41 * cm_split_idlest_reg - split CM_IDLEST reg addr into its components 47 * the PRCM instance offset and IDLEST register ID back to the caller 48 * via the @prcm_inst and @idlest_reg_id. Returns -EINVAL upon error, 56 if (!cm_ll_data->split_idlest_reg) { in cm_split_idlest_reg() 57 WARN_ONCE(1, "cm: %s: no low-level function defined\n", in cm_split_idlest_reg() 59 return -EINVAL; in cm_split_idlest_reg() 62 ret = cm_ll_data->split_idlest_reg(idlest_reg, prcm_inst, in cm_split_idlest_reg() 64 *prcm_inst -= cm_base.offset; in cm_split_idlest_reg() [all …]
|
| H A D | omap_hwmod.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2009-2011 Nokia Corporation 6 * Copyright (C) 2011-2012 Texas Instruments, Inc. 13 * These headers and macros are used to define OMAP on-chip module 16 * omap_hwmod code, in arch/arm/mach-omap2/omap_hwmod.c (as of this 20 * - add interconnect error log structures 21 * - init_conn_id_bit (CONNID_BIT_VECTOR) 22 * - implement default hwmod SMS/SDRC flags? 23 * - move Linux-specific data ("non-ROM data") out 155 * struct omap_hwmod_rst_info - IPs reset lines use by hwmod [all …]
|
| /linux/arch/arm/boot/dts/ti/omap/ |
| H A D | omap24xx-clocks.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 9 #clock-cells = <0>; 10 compatible = "ti,composite-mux-clock"; 12 ti,bit-shift = <2>; 17 #clock-cells = <0>; 18 compatible = "ti,composite-clock"; 23 #clock-cells = <0>; 24 compatible = "ti,composite-mux-clock"; 26 ti,bit-shift = <6>; 31 #clock-cells = <0>; [all …]
|