Home
last modified time | relevance | path

Searched +full:de +full:- +full:asserting (Results 1 – 25 of 70) sorted by relevance

123

/kernel/linux/linux-4.19/Documentation/devicetree/bindings/mmc/
Dmmc-pwrseq-simple.txt8 - compatible : contains "mmc-pwrseq-simple".
11 - reset-gpios : contains a list of GPIO specifiers. The reset GPIOs are asserted
13 They will be de-asserted right after the power has been provided to the
15 - clocks : Must contain an entry for the entry in clock-names.
16 See ../clocks/clock-bindings.txt for details.
17 - clock-names : Must include the following entry:
19 - post-power-on-delay-ms : Delay in ms after powering the card and
20 de-asserting the reset-gpios (if any)
21 - power-off-delay-us : Delay in us after asserting the reset-gpios (if any)
27 compatible = "mmc-pwrseq-simple";
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mmc/
Dmmc-pwrseq-simple.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/mmc/mmc-pwrseq-simple.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Ulf Hansson <ulf.hansson@linaro.org>
19 const: mmc-pwrseq-simple
21 reset-gpios:
28 They will be de-asserted right after the power has been provided to the
33 description: Handle for the entry in clock-names.
35 clock-names:
[all …]
/kernel/linux/linux-4.19/include/linux/platform_data/
Dad5449.h6 * Author: Lars-Peter Clausen <lars@metafoo.de>
8 * Licensed under the GPL-2.
15 * enum ad5449_sdo_mode - AD5449 SDO pin configuration
18 * @AD5449_SDO_OPEN_DRAIN: Operate the SDO pin in open-drain mode.
30 * struct ad5449_platform_data - Platform data for the ad5449 DAC driver
32 * @hardware_clear_to_midscale: Whether asserting the hardware CLR pin sets the
/kernel/linux/linux-5.10/include/linux/platform_data/
Dad5449.h1 /* SPDX-License-Identifier: GPL-2.0-only */
7 * Author: Lars-Peter Clausen <lars@metafoo.de>
14 * enum ad5449_sdo_mode - AD5449 SDO pin configuration
17 * @AD5449_SDO_OPEN_DRAIN: Operate the SDO pin in open-drain mode.
29 * struct ad5449_platform_data - Platform data for the ad5449 DAC driver
31 * @hardware_clear_to_midscale: Whether asserting the hardware CLR pin sets the
/kernel/linux/linux-5.10/drivers/clk/qcom/
Dclk-pll.c1 // SPDX-License-Identifier: GPL-2.0-only
12 #include <linux/clk-provider.h>
17 #include "clk-pll.h"
31 ret = regmap_read(pll->clkr.regmap, pll->mode_reg, &val); in clk_pll_enable()
40 ret = regmap_update_bits(pll->clkr.regmap, pll->mode_reg, PLL_BYPASSNL, in clk_pll_enable()
47 * de-asserting the reset. Delay 10us just to be safe. in clk_pll_enable()
51 /* De-assert active-low PLL reset. */ in clk_pll_enable()
52 ret = regmap_update_bits(pll->clkr.regmap, pll->mode_reg, PLL_RESET_N, in clk_pll_enable()
61 return regmap_update_bits(pll->clkr.regmap, pll->mode_reg, PLL_OUTCTRL, in clk_pll_enable()
71 regmap_read(pll->clkr.regmap, pll->mode_reg, &val); in clk_pll_disable()
[all …]
Dclk-hfpll.c1 // SPDX-License-Identifier: GPL-2.0
9 #include <linux/clk-provider.h>
12 #include "clk-regmap.h"
13 #include "clk-hfpll.h"
23 struct hfpll_data const *hd = h->d; in __clk_hfpll_init_once()
24 struct regmap *regmap = h->clkr.regmap; in __clk_hfpll_init_once()
26 if (likely(h->init_done)) in __clk_hfpll_init_once()
30 if (hd->config_val) in __clk_hfpll_init_once()
31 regmap_write(regmap, hd->config_reg, hd->config_val); in __clk_hfpll_init_once()
32 regmap_write(regmap, hd->m_reg, 0); in __clk_hfpll_init_once()
[all …]
/kernel/linux/linux-4.19/drivers/clk/qcom/
Dclk-pll.c20 #include <linux/clk-provider.h>
25 #include "clk-pll.h"
39 ret = regmap_read(pll->clkr.regmap, pll->mode_reg, &val); in clk_pll_enable()
48 ret = regmap_update_bits(pll->clkr.regmap, pll->mode_reg, PLL_BYPASSNL, in clk_pll_enable()
55 * de-asserting the reset. Delay 10us just to be safe. in clk_pll_enable()
59 /* De-assert active-low PLL reset. */ in clk_pll_enable()
60 ret = regmap_update_bits(pll->clkr.regmap, pll->mode_reg, PLL_RESET_N, in clk_pll_enable()
69 return regmap_update_bits(pll->clkr.regmap, pll->mode_reg, PLL_OUTCTRL, in clk_pll_enable()
79 regmap_read(pll->clkr.regmap, pll->mode_reg, &val); in clk_pll_disable()
84 regmap_update_bits(pll->clkr.regmap, pll->mode_reg, mask, 0); in clk_pll_disable()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/hdmi/
Dhdmi_pll_8960.c1 // SPDX-License-Identifier: GPL-2.0-only
8 #include <linux/clk-provider.h>
27 * configuration into common-clock-framework.
239 msm_writel(data, pll->mmio + reg); in pll_write()
244 return msm_readl(pll->mmio + reg); in pll_read()
249 return platform_get_drvdata(pll->pdev); in pll_get_phy()
266 /* Wait for a short time before de-asserting in hdmi_pll_enable()
269 * to assert and de-assert. in hdmi_pll_enable()
273 /* De-assert PLL S/W reset */ in hdmi_pll_enable()
282 * Wait for a short time before de-asserting to allow the hardware to in hdmi_pll_enable()
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/msm/hdmi/
Dhdmi_pll_8960.c19 #include <linux/clk-provider.h>
36 * configuration into common-clock-framework.
248 msm_writel(data, pll->mmio + reg); in pll_write()
253 return msm_readl(pll->mmio + reg); in pll_read()
258 return platform_get_drvdata(pll->pdev); in pll_get_phy()
275 /* Wait for a short time before de-asserting in hdmi_pll_enable()
278 * to assert and de-assert. in hdmi_pll_enable()
282 /* De-assert PLL S/W reset */ in hdmi_pll_enable()
291 * Wait for a short time before de-asserting to allow the hardware to in hdmi_pll_enable()
293 * assert and de-assert. in hdmi_pll_enable()
[all …]
/kernel/linux/linux-5.10/drivers/reset/
Dreset-brcmstb.c1 // SPDX-License-Identifier: GPL-2.0
14 #include <linux/reset-controller.h>
46 writel_relaxed(SW_INIT_BIT(id), priv->base + off + SW_INIT_SET); in brcmstb_reset_assert()
57 writel_relaxed(SW_INIT_BIT(id), priv->base + off + SW_INIT_CLEAR); in brcmstb_reset_deassert()
58 /* Maximum reset delay after de-asserting a line and seeing block in brcmstb_reset_deassert()
73 return readl_relaxed(priv->base + off + SW_INIT_STATUS) & in brcmstb_reset_status()
85 struct device *kdev = &pdev->dev; in brcmstb_reset_probe()
91 return -ENOMEM; in brcmstb_reset_probe()
94 priv->base = devm_ioremap_resource(kdev, res); in brcmstb_reset_probe()
95 if (IS_ERR(priv->base)) in brcmstb_reset_probe()
[all …]
/kernel/linux/linux-4.19/drivers/i2c/
Di2c-smbus.c2 * i2c-smbus.c - SMBus extensions to the I2C protocol
5 * Copyright (C) 2010 Jean Delvare <jdelvare@suse.de>
20 #include <linux/i2c-smbus.h>
46 if (!client || client->addr != data->addr) in smbus_do_alert()
48 if (client->flags & I2C_CLIENT_TEN) in smbus_do_alert()
56 if (client->dev.driver) { in smbus_do_alert()
57 driver = to_i2c_driver(client->dev.driver); in smbus_do_alert()
58 if (driver->alert) in smbus_do_alert()
59 driver->alert(client, data->type, data->data); in smbus_do_alert()
61 dev_warn(&client->dev, "no driver alert()!\n"); in smbus_do_alert()
[all …]
/kernel/linux/linux-5.10/arch/arm/mach-omap2/
Dprminst44xx.c1 // SPDX-License-Identifier: GPL-2.0-only
18 #include "prcm-common.h"
23 #include "prm-regbits-44xx.h"
34 * omap_prm_base_init - Populates the prm partitions
75 /* Read-modify-write a register in PRM. Caller must lock */
90 * omap4_prminst_is_hardreset_asserted - read the HW reset line state of
97 * -EINVAL upon parameter error.
112 * omap4_prminst_assert_hardreset - assert the HW reset line of a submodule
118 * IP. These modules may have multiple hard-reset lines that reset
120 * place the submodule into reset. Returns 0 upon success or -EINVAL
[all …]
Dprm2xxx_3xxx.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2010-2011 Texas Instruments, Inc.
18 #include "prm-regbits-24xx.h"
22 * omap2_prm_is_hardreset_asserted - read the HW reset line state of
31 * -EINVAL if called while running on a non-OMAP2/3 chip.
40 * omap2_prm_assert_hardreset - assert the HW reset line of a submodule
48 * IP. These modules may have multiple hard-reset lines that reset
50 * place the submodule into reset. Returns 0 upon success or -EINVAL
64 * omap2_prm_deassert_hardreset - deassert a submodule hardreset line and wait
75 * IP. These modules may have multiple hard-reset lines that reset
[all …]
Dprm33xx.c4 * Copyright (C) 2011-2012 Texas Instruments Incorporated - https://www.ti.com/
24 #include "prm-regbits-33xx.h"
42 /* Read-modify-write a register in PRM. Caller must lock */
56 * am33xx_prm_is_hardreset_asserted - read the HW reset line state of
65 * -EINVAL upon parameter error.
80 * am33xx_prm_assert_hardreset - assert the HW reset line of a submodule
88 * IP. These modules may have multiple hard-reset lines that reset
90 * place the submodule into reset. Returns 0 upon success or -EINVAL
104 * am33xx_prm_deassert_hardreset - deassert a submodule hardreset line and
115 * IP. These modules may have multiple hard-reset lines that reset
[all …]
/kernel/linux/linux-4.19/arch/arm/mach-omap2/
Dprminst44xx.c21 #include "prcm-common.h"
26 #include "prm-regbits-44xx.h"
37 * omap_prm_base_init - Populates the prm partitions
78 /* Read-modify-write a register in PRM. Caller must lock */
93 * omap4_prminst_is_hardreset_asserted - read the HW reset line state of
100 * -EINVAL upon parameter error.
115 * omap4_prminst_assert_hardreset - assert the HW reset line of a submodule
121 * IP. These modules may have multiple hard-reset lines that reset
123 * place the submodule into reset. Returns 0 upon success or -EINVAL
137 * omap4_prminst_deassert_hardreset - deassert a submodule hardreset line and
[all …]
Dprm2xxx_3xxx.c4 * Copyright (C) 2010-2011 Texas Instruments, Inc.
21 #include "prm-regbits-24xx.h"
25 * omap2_prm_is_hardreset_asserted - read the HW reset line state of
34 * -EINVAL if called while running on a non-OMAP2/3 chip.
43 * omap2_prm_assert_hardreset - assert the HW reset line of a submodule
51 * IP. These modules may have multiple hard-reset lines that reset
53 * place the submodule into reset. Returns 0 upon success or -EINVAL
67 * omap2_prm_deassert_hardreset - deassert a submodule hardreset line and wait
78 * IP. These modules may have multiple hard-reset lines that reset
82 * -EINVAL upon an argument error, -EEXIST if the submodule was already out
[all …]
Dprm33xx.c4 * Copyright (C) 2011-2012 Texas Instruments Incorporated - http://www.ti.com/
24 #include "prm-regbits-33xx.h"
42 /* Read-modify-write a register in PRM. Caller must lock */
56 * am33xx_prm_is_hardreset_asserted - read the HW reset line state of
65 * -EINVAL upon parameter error.
80 * am33xx_prm_assert_hardreset - assert the HW reset line of a submodule
88 * IP. These modules may have multiple hard-reset lines that reset
90 * place the submodule into reset. Returns 0 upon success or -EINVAL
104 * am33xx_prm_deassert_hardreset - deassert a submodule hardreset line and
115 * IP. These modules may have multiple hard-reset lines that reset
[all …]
/kernel/linux/linux-5.10/drivers/cpufreq/
Dgx-suspmod.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * (C) 2002 Hiroshi Miura <miura@da-cha.org>
10 * software is provided AS-IS with no warranties.
19 * Suspend Modulation works by asserting and de-asserting the SUSP# pin
20 * to CPU(GX1/GXLV) for configurable durations. When asserting SUSP#
28 * 32us intervals which the SUSP# pin is asserted(ON)/de-asserted(OFF)
35 * F_eff = Fgx * ----------------------
43 * on_duration = off_duration * (stock_freq - freq) / freq
46 * on_duration = DURATION - off_duration
48 *---------------------------------------------------------------------------
[all …]
/kernel/linux/linux-4.19/drivers/cpufreq/
Dgx-suspmod.c4 * (C) 2002 Hiroshi Miura <miura@da-cha.org>
13 * software is provided AS-IS with no warranties.
22 * Suspend Modulation works by asserting and de-asserting the SUSP# pin
23 * to CPU(GX1/GXLV) for configurable durations. When asserting SUSP#
31 * 32us intervals which the SUSP# pin is asserted(ON)/de-asserted(OFF)
38 * F_eff = Fgx * ----------------------
46 * on_duration = off_duration * (stock_freq - freq) / freq
49 * on_duration = DURATION - off_duration
52 *---------------------------------------------------------------------------
55 * Dec. 12, 2003 Hiroshi Miura <miura@da-cha.org>
[all …]
/kernel/linux/linux-5.10/drivers/remoteproc/
Dqcom_q6v5_adsp.c1 // SPDX-License-Identifier: GPL-2.0
108 val = readl(adsp->qdsp6ss_base + RET_CFG_REG); in qcom_adsp_shutdown()
110 writel(val, adsp->qdsp6ss_base + RET_CFG_REG); in qcom_adsp_shutdown()
112 clk_bulk_disable_unprepare(adsp->num_clks, adsp->clks); in qcom_adsp_shutdown()
115 ret = regmap_read(adsp->halt_map, in qcom_adsp_shutdown()
116 adsp->halt_lpass + LPASS_PWR_ON_REG, &val); in qcom_adsp_shutdown()
120 ret = regmap_read(adsp->halt_map, in qcom_adsp_shutdown()
121 adsp->halt_lpass + LPASS_MASTER_IDLE_REG, in qcom_adsp_shutdown()
126 regmap_write(adsp->halt_map, in qcom_adsp_shutdown()
127 adsp->halt_lpass + LPASS_HALTREQ_REG, 1); in qcom_adsp_shutdown()
[all …]
/kernel/linux/linux-5.10/drivers/clk/
Dclk-gpio.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2013 - 2014 Texas Instruments Incorporated - https://www.ti.com
7 * Sergej Sawazki <ce3a@gmx.de>
12 #include <linux/clk-provider.h>
25 * prepare - clk_(un)prepare only ensures parent is (un)prepared
26 * enable - clk_enable and clk_disable are functional & control gpio
27 * rate - inherits rate from parent. No clk_set_rate support
28 * parent - fixed parent. No clk_set_parent support
32 * struct clk_gpio - gpio gated clock
34 * @hw: handle between common and hardware-specific interfaces
[all …]
/kernel/linux/linux-5.10/drivers/i2c/
Di2c-smbus.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * i2c-smbus.c - SMBus extensions to the I2C protocol
6 * Copyright (C) 2010-2019 Jean Delvare <jdelvare@suse.de>
12 #include <linux/i2c-smbus.h>
38 if (!client || client->addr != data->addr) in smbus_do_alert()
40 if (client->flags & I2C_CLIENT_TEN) in smbus_do_alert()
48 if (client->dev.driver) { in smbus_do_alert()
49 driver = to_i2c_driver(client->dev.driver); in smbus_do_alert()
50 if (driver->alert) in smbus_do_alert()
51 driver->alert(client, data->type, data->data); in smbus_do_alert()
[all …]
/kernel/linux/linux-4.19/arch/arm/mach-sunxi/
Dmc_smp.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2018 Chen-Yu Tsai
5 * Chen-Yu Tsai <wens@csie.org>
7 * arch/arm/mach-sunxi/mc_smp.c
9 * Based on Allwinner code, arch/arm/mach-exynos/mcpm-exynos.c, and
10 * arch/arm/mach-hisi/platmcpm.c
14 #include <linux/arm-cci.h>
19 #include <linux/irqchip/arm-gic.h>
71 /* R_CPUCFG registers, specific to sun8i-a83t */
110 return of_device_is_compatible(node, "arm,cortex-a15"); in sunxi_core_is_cortex_a15()
[all …]
/kernel/linux/linux-5.10/arch/arm/mach-sunxi/
Dmc_smp.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2018 Chen-Yu Tsai
5 * Chen-Yu Tsai <wens@csie.org>
7 * arch/arm/mach-sunxi/mc_smp.c
9 * Based on Allwinner code, arch/arm/mach-exynos/mcpm-exynos.c, and
10 * arch/arm/mach-hisi/platmcpm.c
14 #include <linux/arm-cci.h>
19 #include <linux/irqchip/arm-gic.h>
71 /* R_CPUCFG registers, specific to sun8i-a83t */
111 is_compatible = of_device_is_compatible(node, "arm,cortex-a15"); in sunxi_core_is_cortex_a15()
[all …]
/kernel/linux/linux-5.10/drivers/clk/tegra/
Dclk.c1 // SPDX-License-Identifier: GPL-2.0-only
8 #include <linux/clk-provider.h>
13 #include <linux/reset-controller.h>
30 /* Handlers for SoC-specific reset lines */
116 return -EINVAL; in tegra_clk_rst_assert()
130 return -EINVAL; in tegra_clk_rst_deassert()
195 * All non-boot peripherals will be in reset state on resume. in tegra_clk_periph_resume()
196 * Wait for 5us of reset propagation delay before de-asserting in tegra_clk_periph_resume()
213 return -ENOMEM; in tegra_clk_periph_ctx_init()
257 for (; dup_list->clk_id < clk_max; dup_list++) { in tegra_init_dup_clks()
[all …]

123