Home
last modified time | relevance | path

Searched +full:clkout +full:- +full:disable (Results 1 – 25 of 53) sorted by relevance

123

/Linux-v6.1/Documentation/devicetree/bindings/net/
Drealtek,rtl82xx.yaml1 # SPDX-License-Identifier: GPL-2.0+
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Andrew Lunn <andrew@lunn.ch>
11 - Florian Fainelli <f.fainelli@gmail.com>
12 - Heiner Kallweit <hkallweit1@gmail.com>
18 - $ref: ethernet-phy.yaml#
21 realtek,clkout-disable:
24 Disable CLKOUT clock, CLKOUT clock default is enabled after hardware reset.
27 realtek,aldps-enable:
[all …]
/Linux-v6.1/include/linux/platform_data/
Dsi5351.h1 /* SPDX-License-Identifier: GPL-2.0 */
10 * enum si5351_pll_src - Si5351 pll clock source
22 * enum si5351_multisynth_src - Si5351 multisynth clock source
34 * enum si5351_clkout_src - Si5351 clock output clock source
36 * @SI5351_CLKOUT_SRC_MSYNTH_N: clkout N source clock is multisynth N
37 * @SI5351_CLKOUT_SRC_MSYNTH_0_4: clkout N source clock is multisynth 0 (N<4)
39 * @SI5351_CLKOUT_SRC_XTAL: clkout N source clock is XTAL
40 * @SI5351_CLKOUT_SRC_CLKIN: clkout N source clock is CLKIN (Si5351C only)
51 * enum si5351_drive_strength - Si5351 clock output drive strength
67 * enum si5351_disable_state - Si5351 clock output disable state
[all …]
/Linux-v6.1/drivers/clk/
Dclk-si5351.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * clk-si5351.c: Skyworks / Silicon Labs Si5351A/B/C I2C Clock Generator
6 * Rabeeh Khoury <rabeeh@solid-run.com>
10 * https://www.skyworksinc.com/-/media/Skyworks/SL/documents/public/data-sheets/Si5351-B.pdf
12 * https://www.skyworksinc.com/-/media/Skyworks/SL/documents/public/application-notes/AN619.pdf
18 #include <linux/clk-provider.h>
31 #include "clk-si5351.h"
63 struct si5351_hw_data *clkout; member
88 ret = regmap_read(drvdata->regmap, reg, &val); in si5351_reg_read()
90 dev_err(&drvdata->client->dev, in si5351_reg_read()
[all …]
Dclk-lmk04832.c1 // SPDX-License-Identifier: GPL-2.0
3 * LMK04832 Ultra Low-Noise JESD204B Compliant Clock Jitter Cleaner
14 #include <linux/clk-provider.h>
24 /* 0x000 - 0x00d System Functions */
36 /* 0x100 - 0x137 Device Clock and SYSREF Clock Output Control */
77 /* 0x138 - 0x145 SYSREF, SYNC, and Device Config */
126 /* 0x146 - 0x14a CLKin Control */
136 /* 0x14b - 0x152 Holdover */
138 /* 0x153 - 0x15f PLL1 Configuration */
140 /* 0x160 - 0x16e PLL2 Configuration */
[all …]
Dclk-wm831x.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright 2011-2 Wolfson Microelectronics PLC.
10 #include <linux/clk-provider.h>
30 return clkdata->xtal_ena; in wm831x_xtal_is_prepared()
39 if (clkdata->xtal_ena) in wm831x_xtal_recalc_rate()
70 struct wm831x *wm831x = clkdata->wm831x; in wm831x_fll_is_prepared()
75 dev_err(wm831x->dev, "Unable to read FLL_CONTROL_1: %d\n", in wm831x_fll_is_prepared()
87 struct wm831x *wm831x = clkdata->wm831x; in wm831x_fll_prepare()
93 dev_crit(wm831x->dev, "Failed to enable FLL: %d\n", ret); in wm831x_fll_prepare()
95 /* wait 2-3 ms for new frequency taking effect */ in wm831x_fll_prepare()
[all …]
/Linux-v6.1/drivers/video/fbdev/omap2/omapfb/dss/
Dhdmi_pll.c1 // SPDX-License-Identifier: GPL-2.0-only
25 #define DUMPPLL(r) seq_printf(s, "%-35s %08x\n", #r,\ in hdmi_pll_dump()
26 hdmi_read_reg(pll->base, r)) in hdmi_pll_dump()
42 unsigned long fint, clkdco, clkout; in hdmi_pll_compute() local
47 const struct dss_pll_hw *hw = pll->pll.hw; in hdmi_pll_compute()
49 clkin = clk_get_rate(pll->pll.clkin); in hdmi_pll_compute()
56 n = DIV_ROUND_UP(clkin, hw->fint_max); in hdmi_pll_compute()
60 min_dco = roundup(hw->clkdco_min, fint); in hdmi_pll_compute()
71 if (WARN_ON(target_clkdco - clkdco > fint)) in hdmi_pll_compute()
74 mf = (u32)div_u64(262144ull * (target_clkdco - clkdco), fint); in hdmi_pll_compute()
[all …]
Ddss.h1 /* SPDX-License-Identifier: GPL-2.0-only */
59 #define FLD_MASK(start, end) (((1 << ((start) - (end) + 1)) - 1) << (end))
105 * Type-A PLLs: clkout[]/mX[] refer to hsdiv outputs m4, m5, m6, m7.
106 * Type-B PLLs: clkout[0] refers to m2.
112 unsigned long clkout[DSS_PLL_MAX_HSDIVS]; member
124 void (*disable)(struct dss_pll *pll); member
266 /* dss-of */
492 void (*disable)(struct omap_overlay_manager *mgr); member
Ddpi.c1 // SPDX-License-Identifier: GPL-2.0-only
55 /* only used in non-DT mode */
155 if (ctx->pck_min >= 100000000) { in dpi_calc_dispc_cb()
163 ctx->dispc_cinfo.lck_div = lckd; in dpi_calc_dispc_cb()
164 ctx->dispc_cinfo.pck_div = pckd; in dpi_calc_dispc_cb()
165 ctx->dispc_cinfo.lck = lck; in dpi_calc_dispc_cb()
166 ctx->dispc_cinfo.pck = pck; in dpi_calc_dispc_cb()
182 if (m_dispc > 1 && m_dispc % 2 != 0 && ctx->pck_min >= 100000000) in dpi_calc_hsdiv_cb()
185 ctx->dsi_cinfo.mX[HSDIV_DISPC] = m_dispc; in dpi_calc_hsdiv_cb()
186 ctx->dsi_cinfo.clkout[HSDIV_DISPC] = dispc; in dpi_calc_hsdiv_cb()
[all …]
/Linux-v6.1/drivers/clk/renesas/
Dr9a06g032-clocks.c1 // SPDX-License-Identifier: GPL-2.0
11 #include <linux/clk-provider.h>
24 #include <linux/soc/renesas/r9a06g032-sysctrl.h>
26 #include <dt-bindings/clock/r9a06g032-sysctrl.h>
50 /* For fixed-factor ones */
135 D_ROOT(CLKOUT, "clkout", 25, 1),
137 D_FFC(CLKOUT_D10, "clkout_d10", CLKOUT, 10),
138 D_FFC(CLKOUT_D16, "clkout_d16", CLKOUT, 16),
139 D_FFC(CLKOUT_D160, "clkout_d160", CLKOUT, 160),
140 D_DIV(CLKOUT_D1OR2, "clkout_d1or2", CLKOUT, 0, 1, 2),
[all …]
/Linux-v6.1/drivers/gpu/drm/omapdrm/dss/
Dpll.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2014 Texas Instruments Incorporated - https://www.ti.com/
32 for (i = 0; i < ARRAY_SIZE(dss->plls); ++i) { in dss_pll_register()
33 if (!dss->plls[i]) { in dss_pll_register()
34 dss->plls[i] = pll; in dss_pll_register()
35 pll->dss = dss; in dss_pll_register()
40 return -EBUSY; in dss_pll_register()
45 struct dss_device *dss = pll->dss; in dss_pll_unregister()
48 for (i = 0; i < ARRAY_SIZE(dss->plls); ++i) { in dss_pll_unregister()
49 if (dss->plls[i] == pll) { in dss_pll_unregister()
[all …]
Ddss.h1 /* SPDX-License-Identifier: GPL-2.0-only */
64 #define FLD_MASK(start, end) (((1 << ((start) - (end) + 1)) - 1) << (end))
126 * Type-A PLLs: clkout[]/mX[] refer to hsdiv outputs m4, m5, m6, m7.
127 * Type-B PLLs: clkout[0] refers to m2.
133 unsigned long clkout[DSS_PLL_MAX_HSDIVS]; member
145 void (*disable)(struct dss_pll *pll); member
Ddpi.c1 // SPDX-License-Identifier: GPL-2.0-only
49 /* -----------------------------------------------------------------------------
66 if (dss_pll_find_by_src(dpi->dss, DSS_CLK_SRC_PLL1_1)) in dpi_get_clk_src_dra7xx()
72 if (dss_pll_find_by_src(dpi->dss, DSS_CLK_SRC_PLL1_3)) in dpi_get_clk_src_dra7xx()
74 if (dss_pll_find_by_src(dpi->dss, DSS_CLK_SRC_PLL2_3)) in dpi_get_clk_src_dra7xx()
80 if (dss_pll_find_by_src(dpi->dss, DSS_CLK_SRC_PLL2_1)) in dpi_get_clk_src_dra7xx()
82 if (dss_pll_find_by_src(dpi->dss, DSS_CLK_SRC_PLL1_3)) in dpi_get_clk_src_dra7xx()
95 enum omap_channel channel = dpi->output.dispc_channel; in dpi_get_clk_src()
102 switch (dpi->dss_model) { in dpi_get_clk_src()
161 if (ctx->pck_min >= 100000000) { in dpi_calc_dispc_cb()
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/net/can/
Dnxp,sja1000.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Wolfgang Grandegger <wg@grandegger.com>
15 - enum:
16 - nxp,sja1000
17 - technologic,sja1000
18 - items:
19 - enum:
20 - renesas,r9a06g032-sja1000 # RZ/N1D
[all …]
/Linux-v6.1/arch/arm/boot/dts/
Dnuvoton-npcm750-pincfg-evb.dtsi1 // SPDX-License-Identifier: GPL-2.0
6 pin8_input: pin8-input {
8 bias-disable;
9 input-enable;
11 pin9_output_high: pin9-output-high {
13 bias-disable;
14 output-high;
16 pin10_input: pin10-input {
18 bias-disable;
19 input-enable;
[all …]
Dnuvoton-npcm750-runbmc-olympus-pincfg.dtsi1 // SPDX-License-Identifier: GPL-2.0
6 gpio0ol_pins: gpio0ol-pins {
8 bias-disable;
9 output-low;
11 gpio1ol_pins: gpio1ol-pins {
13 bias-disable;
14 output-low;
16 gpio2ol_pins: gpio2ol-pins {
18 bias-disable;
19 output-low;
[all …]
/Linux-v6.1/drivers/net/can/cc770/
Dcc770.c1 // SPDX-License-Identifier: GPL-2.0-only
44 * 2. Support of silent (listen-only) mode.
47 * Details are available from Bosch's "CC770_Product_Info_2007-01.pdf",
59 * "msgobj15_eff". If not equal 0, it will receive 29-bit EFF frames,
64 MODULE_PARM_DESC(msgobj15_eff, "Extended 29-bit frames for message object 15 "
65 "(default: 11-bit standard frames)");
103 return MSGOBJ_LAST + 2 - intid; in intid2obj()
113 for (o = 0; o < ARRAY_SIZE(priv->obj_flags); o++) { in enable_all_objs()
114 obj_flags = priv->obj_flags[o]; in enable_all_objs()
122 if (priv->control_normal_mode & CTRL_EAF) { in enable_all_objs()
[all …]
Dcc770.h1 /* SPDX-License-Identifier: GPL-2.0-only */
35 u8 clkout; /* Clock Out Register */ member
100 #define RXIE_RES 0x04 /* Receive Interrupt Disable */
103 #define TXIE_RES 0x10 /* Transmit Interrupt Disable */
141 priv->read_reg(priv, offsetof(struct cc770_regs, member))
144 priv->write_reg(priv, offsetof(struct cc770_regs, member), value)
162 #define obj2msgobj(o) (MSGOBJ_LAST - (o)) /* message object 11..15 */
171 /* the lower-layer is responsible for appropriate locking */
177 void *priv; /* for board-specific data */
186 u8 clkout; /* Clock out register */ member
/Linux-v6.1/drivers/iio/adc/
Dstm32-dfsdm-core.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2017, STMicroelectronics - All Rights Reserved
20 #include "stm32-dfsdm.h"
88 unsigned int spi_clk_out_div; /* SPI clkout divider value */
105 ret = clk_prepare_enable(priv->clk); in stm32_dfsdm_clk_prepare_enable()
106 if (ret || !priv->aclk) in stm32_dfsdm_clk_prepare_enable()
109 ret = clk_prepare_enable(priv->aclk); in stm32_dfsdm_clk_prepare_enable()
111 clk_disable_unprepare(priv->clk); in stm32_dfsdm_clk_prepare_enable()
120 clk_disable_unprepare(priv->aclk); in stm32_dfsdm_clk_disable_unprepare()
121 clk_disable_unprepare(priv->clk); in stm32_dfsdm_clk_disable_unprepare()
[all …]
/Linux-v6.1/drivers/clk/ux500/
Dclk-prcmu.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2012 ST-Ericsson SA
9 #include <linux/clk-provider.h>
10 #include <linux/mfd/dbx500-prcmu.h>
38 return prcmu_request_clock(clk->cg_sel, true); in clk_prcmu_prepare()
44 if (prcmu_request_clock(clk->cg_sel, false)) in clk_prcmu_unprepare()
45 pr_err("clk_prcmu: %s failed to disable %s.\n", __func__, in clk_prcmu_unprepare()
53 return prcmu_clock_rate(clk->cg_sel); in clk_prcmu_recalc_rate()
60 return prcmu_round_clock_rate(clk->cg_sel, rate); in clk_prcmu_round_rate()
67 return prcmu_set_clock_rate(clk->cg_sel, rate); in clk_prcmu_set_rate()
[all …]
/Linux-v6.1/drivers/clk/ti/
Dadpll.c1 // SPDX-License-Identifier: GPL-2.0-only
5 #include <linux/clk-provider.h>
181 err = of_property_read_string_index(d->np, in ti_adpll_clk_get_name()
182 "clock-output-names", in ti_adpll_clk_get_name()
188 name = devm_kasprintf(d->dev, GFP_KERNEL, "%08lx.adpll.%s", in ti_adpll_clk_get_name()
189 d->pa, postfix); in ti_adpll_clk_get_name()
205 d->clocks[index].clk = clock; in ti_adpll_setup_clock()
206 d->clocks[index].unregister = unregister; in ti_adpll_setup_clock()
212 dev_warn(d->dev, "clock %s con_id lookup may fail\n", in ti_adpll_setup_clock()
214 snprintf(con_id, 16, "pll%03lx%s", d->pa & 0xfff, postfix + 1); in ti_adpll_setup_clock()
[all …]
/Linux-v6.1/drivers/rtc/
Drtc-ab-b5ze-s3.c1 // SPDX-License-Identifier: GPL-2.0+
3 * rtc-ab-b5ze-s3 - Driver for Abracon AB-RTCMC-32.768Khz-B5ZE-S3
10 * https://www.abracon.com/realtimeclock/AB-RTCMC-32.768kHz-B5ZE-S3-Application-Manual.pdf
12 * This work is based on ISL12057 driver (drivers/rtc/rtc-isl12057.c).
24 #define DRV_NAME "rtc-ab-b5ze-s3"
71 #define ABB5ZES3_REG_ALRM_MN 0x0A /* Alarm - minute register */
73 #define ABB5ZES3_REG_ALRM_HR 0x0B /* Alarm - hours register */
75 #define ABB5ZES3_REG_ALRM_DT 0x0C /* Alarm - date register */
77 #define ABB5ZES3_REG_ALRM_DW 0x0D /* Alarm - day of the week reg. */
90 #define ABB5ZES3_REG_TIM_CLK_COF2 BIT(5) /* Clkout Freq bit 2 */
[all …]
Drtc-pcf8563.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright 2005-06 Tower Technologies
7 * Maintainers: http://www.nslu2-linux.org/
11 * https://www.nxp.com/docs/en/data-sheet/PCF8563.pdf
14 #include <linux/clk-provider.h>
91 .addr = client->addr, in pcf8563_read_block_data()
96 .addr = client->addr, in pcf8563_read_block_data()
103 if ((i2c_transfer(client->adapter, msgs, 2)) != 2) { in pcf8563_read_block_data()
104 dev_err(&client->dev, "%s: read error\n", __func__); in pcf8563_read_block_data()
105 return -EIO; in pcf8563_read_block_data()
[all …]
/Linux-v6.1/sound/soc/codecs/
Dssm2602.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
75 #define APANA_ENABLE_SIDETONE 0x020 /* Enable/Disable Side Tone …
80 #define APDIGI_ENABLE_ADC_HPF 0x001 /* Enable/Disable ADC Highpass Filter …
81 #define APDIGI_DE_EMPHASIS 0x006 /* De-Emphasis Control …
86 *(1=Enable PowerDown, 0=Disable PowerDown)
94 #define PWR_CLK_OUT_PDN 0x040 /* CLKOUT Power Down …
102 #define IFACE_ENABLE_MASTER 0x040 /* Enable/Disable Master Mode …
106 #define SRATE_ENABLE_USB_MODE 0x001 /* Enable/Disable USB Mode …
107 #define SRATE_BOS_RATE 0x002 /* Base Over-Sampling rate …
/Linux-v6.1/Documentation/devicetree/bindings/pinctrl/
Dnuvoton,npcm7xx-pinctrl.txt3 The Nuvoton BMC NPCM7XX Pin Controller multi-function routed through
9 - #address-cells : should be 1.
10 - #size-cells : should be 1.
11 - compatible : "nuvoton,npcm750-pinctrl" for Poleg NPCM7XX.
12 - ranges : defines mapping ranges between pin controller node (parent)
19 Required GPIO Bank subnode-properties:
20 - reg : specifies physical base address and size of the GPIO
22 - gpio-controller : Marks the device node as a GPIO controller.
23 - #gpio-cells : Must be <2>. The first cell is the gpio pin number
25 - interrupts : contain the GPIO bank interrupt with flags for falling edge.
[all …]
/Linux-v6.1/arch/arm64/boot/dts/freescale/
Dimx8mp-evk.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include <dt-bindings/phy/phy-imx8-pcie.h>
13 compatible = "fsl,imx8mp-evk", "fsl,imx8mp";
16 stdout-path = &uart2;
19 gpio-leds {
20 compatible = "gpio-leds";
21 pinctrl-names = "default";
22 pinctrl-0 = <&pinctrl_gpio_led>;
27 default-state = "on";
[all …]

123