/linux/include/linux/platform_data/ |
H A D | si5351.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Si5351A/B/C programmable clock generator platform_data. 10 * enum si5351_pll_src - Si5351 pll clock source 12 * @SI5351_PLL_SRC_XTAL: pll source clock is XTAL input 13 * @SI5351_PLL_SRC_CLKIN: pll source clock is CLKIN input (Si5351C only) 22 * enum si5351_multisynth_src - Si5351 multisynth clock source 24 * @SI5351_MULTISYNTH_SRC_VCO0: multisynth source clock is VCO0 25 * @SI5351_MULTISYNTH_SRC_VCO1: multisynth source clock is VCO1/VXCO 34 * enum si5351_clkout_src - Si5351 clock output clock source 36 * @SI5351_CLKOUT_SRC_MSYNTH_N: clkout N source clock is multisynth N [all …]
|
/linux/drivers/clk/samsung/ |
H A D | clk-exynos-clkout.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Clock driver for Exynos clock output 11 #include <linux/clk-provider.h> 20 #define DRV_NAME "exynos-clkout" 55 .compatible = "samsung,exynos3250-pmu", 58 .compatible = "samsung,exynos4210-pmu", 61 .compatible = "samsung,exynos4212-pmu", 64 .compatible = "samsung,exynos4412-pmu", 67 .compatible = "samsung,exynos5250-pmu", 70 .compatible = "samsung,exynos5410-pmu", [all …]
|
/linux/arch/arm/boot/dts/ti/omap/ |
H A D | dm814x-clocks.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * "2.6.11 Connected Outputs of DPLLJ". Only clkout is 10 #clock-cells = <1>; 11 compatible = "ti,dm814-adpll-s-clock"; 14 clock-names = "clkinp", "clkinpulow", "clkinphif"; 15 clock-output-names = "481c5040.adpll.dcoclkldo", 16 "481c5040.adpll.clkout", 22 #clock-cells = <1>; 23 compatible = "ti,dm814-adpll-lj-clock"; 26 clock-names = "clkinp", "clkinpulow"; [all …]
|
/linux/Documentation/devicetree/bindings/iio/adc/ |
H A D | st,stm32-dfsdm-adc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/st,stm32-dfsdm-adc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Fabrice Gasnier <fabrice.gasnier@foss.st.com> 11 - Olivier Moysan <olivier.moysan@foss.st.com> 14 STM32 DFSDM ADC is a sigma delta analog-to-digital converter dedicated to 17 - Sigma delta modulators (motor control, metering...) 18 - PDM microphones (audio digital microphone) 28 - st,stm32h7-dfsdm [all …]
|
/linux/drivers/clk/ |
H A D | clk-lmk04832.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * LMK04832 Ultra Low-Noise JESD204B Compliant Clock Jitter Cleaner 14 #include <linux/clk-provider.h> 22 /* 0x000 - 0x00d System Functions */ 34 /* 0x100 - 0x137 Device Clock and SYSREF Clock Output Control */ 75 /* 0x138 - 0x145 SYSREF, SYNC, and Device Config */ 124 /* 0x146 - 0x14a CLKin Control */ 134 /* 0x14b - 0x152 Holdover */ 136 /* 0x153 - 0x15f PLL1 Configuration */ 143 /* 0x160 - 0x16e PLL2 Configuration */ [all …]
|
H A D | clk-si5351.c | 1 // 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 …]
|
H A D | clk-rk808.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Clkout driver for Rockchip RK808 7 * Author:Chris Zhong <zyw@rock-chips.com> 10 #include <linux/clk-provider.h> 34 return regmap_update_bits(rk808_clkout->regmap, RK808_CLK32OUT_REG, in rk808_clkout2_enable() 55 int ret = regmap_read(rk808_clkout->regmap, RK808_CLK32OUT_REG, &val); in rk808_clkout2_is_prepared() 78 unsigned int idx = clkspec->args[0]; in of_clk_rk808_get() 82 return ERR_PTR(-EINVAL); in of_clk_rk808_get() 85 return idx ? &rk808_clkout->clkout2_hw : &rk808_clkout->clkout1_hw; in of_clk_rk808_get() 94 return regmap_update_bits(rk808_clkout->regmap, RK817_SYS_CFG(1), in rk817_clkout2_enable() [all …]
|
H A D | clk-lochnagar.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Lochnagar clock control 5 * Copyright (c) 2017-2018 Cirrus Logic, Inc. and 11 #include <linux/clk-provider.h> 22 #include <dt-bindings/clock/lochnagar.h> 49 LN_PARENT("ln-none"), 50 LN_PARENT("ln-spdif-mclk"), 51 LN_PARENT("ln-psia1-mclk"), 52 LN_PARENT("ln-psia2-mclk"), 53 LN_PARENT("ln-cdc-clkout"), [all …]
|
/linux/drivers/net/can/cc770/ |
H A D | cc770_platform.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 * in your board-specific code: 29 * interrupt-parent = <&mpic>; 30 * bosch,external-clock-frequency = <16000000>; 53 MODULE_DESCRIPTION("Socket-CAN driver for CC770 on the platform bus"); 61 return ioread8(priv->reg_base + reg); in cc770_platform_read_reg() 67 iowrite8(val, priv->reg_base + reg); in cc770_platform_write_reg() 73 u32 clkext = CC770_PLATFORM_CAN_CLOCK, clkout = 0; in cc770_get_of_node_data() local 74 struct device_node *np = pdev->dev.of_node; in cc770_get_of_node_data() 76 of_property_read_u32(np, "bosch,external-clock-frequency", &clkext); in cc770_get_of_node_data() [all …]
|
/linux/Documentation/devicetree/bindings/clock/ |
H A D | ti,lmk04832.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/clock/ti,lmk04832.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Texas Instruments LMK04832 Clock Controller 10 - Liam Beguin <liambeguin@gmail.com> 13 Devicetree binding for the LMK04832, a clock conditioner with JEDEC JESD204B 21 - ti,lmk04832 26 '#address-cells': 29 '#size-cells': [all …]
|
H A D | cirrus,lochnagar.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/clock/cirrus,lochnagar.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - patches@opensource.cirrus.com 15 Logic devices on mini-cards, as well as allowing connection of various 21 This binding document describes the binding for the clock portion of the 25 [1] Clock : ../clock/clock-bindings.txt 28 [2] include/dt-bindings/clock/lochnagar.h 36 - cirrus,lochnagar1-clk [all …]
|
H A D | silabs,si5351.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/clock/silabs,si5351.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Silicon Labs Si5351A/B/C programmable I2C clock generators 10 The Silicon Labs Si5351A/B/C are programmable I2C clock generators with up to 11 8 outputs. Si5351A also has a reduced pin-count package (10-MSOP) where only 3 12 output clocks are accessible. The internal structure of the clock generators 16 https://www.skyworksinc.com/-/media/Skyworks/SL/documents/public/data-sheets/Si5351-B.pdf 19 - Alvin Šipraga <alsi@bang-olufsen.dk> [all …]
|
H A D | stericsson,u8500-clks.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/clock/stericsson,u8500-clks.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: ST-Ericsson DB8500 (U8500) clocks 10 - Ulf Hansson <ulf.hansson@linaro.org> 11 - Linus Walleij <linus.walleij@linaro.org> 14 DB8500 digital baseband system-on-chip and its siblings such as 16 itself, not off-chip clocks. There are four different on-chip 17 clocks - RTC (32 kHz), CPU clock (SMP TWD), PRCMU (power reset and [all …]
|
H A D | baikal,bt1-ccu-pll.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/clock/baikal,bt1-ccu-pll.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Baikal-T1 Clock Control Unit PLL 11 - Serge Semin <fancer.lancer@gmail.com> 14 Clocks Control Unit is the core of Baikal-T1 SoC System Controller 18 IP-blocks or to groups of blocks (clock domains). The transformation is done 19 by means of PLLs and gateable/non-gateable dividers embedded into the CCU. 23 2) PLLs clocks generators (PLLs) - described in this binding file. [all …]
|
/linux/Documentation/devicetree/bindings/net/can/ |
H A D | cc770.txt | 8 - compatible : should be "bosch,cc770" for the CC770 and "intc,82527" 11 - reg : should specify the chip select, address offset and size required 14 - interrupts : property with a value describing the interrupt source 19 - bosch,external-clock-frequency : frequency of the external oscillator 20 clock in Hz. Note that the internal clock frequency used by the 24 - bosch,clock-out-frequency : slock frequency in Hz on the CLKOUT pin. 25 If not specified or if the specified value is 0, the CLKOUT pin 28 - bosch,slew-rate : slew rate of the CLKOUT signal. If not specified, 31 - bosch,disconnect-rx0-input : see data sheet. 33 - bosch,disconnect-rx1-input : see data sheet. [all …]
|
/linux/sound/soc/sh/rcar/ |
H A D | adg.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // Helper routines for R-Car sound ADG. 6 #include <linux/clk-provider.h> 16 #define CLKOUT 0 macro 34 struct clk *clkout[CLKOUTMAX]; member 50 (i < adg->clkin_size) && \ 51 ((pos) = adg->clkin[i]); \ 55 (i < adg->clkout_size) && \ 56 ((pos) = adg->clkout[i]); \ 58 #define rsnd_priv_to_adg(priv) ((struct rsnd_adg *)(priv)->adg) [all …]
|
/linux/Documentation/devicetree/bindings/net/ |
H A D | realtek,rtl82xx.yaml | 1 # 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> 20 - ethernet-phy-id001c.c800 21 - ethernet-phy-id001c.c816 22 - ethernet-phy-id001c.c838 23 - ethernet-phy-id001c.c840 [all …]
|
/linux/drivers/clk/ux500/ |
H A D | u8500_of_clk.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Clock definitions for u8500 platform. 5 * Copyright (C) 2012 ST-Ericsson SA 11 #include <linux/clk-provider.h> 12 #include <linux/mfd/dbx500-prcmu.h> 16 #include "reset-prcc.h" 35 if (clkspec->args_count != 2) in ux500_twocell_get() 36 return ERR_PTR(-EINVAL); in ux500_twocell_get() 38 base = clkspec->args[0]; in ux500_twocell_get() 39 bit = clkspec->args[1]; in ux500_twocell_get() [all …]
|
/linux/drivers/clk/renesas/ |
H A D | r9a06g032-clocks.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * R9A06G032 clock driver 11 #include <linux/clk-provider.h> 24 #include <linux/soc/renesas/r9a06g032-sysctrl.h> 26 #include <dt-bindings/clock/r9a06g032-sysctrl.h> 33 * struct regbit - describe one bit in a register 35 * expressed in units of 32-bit words (not bytes), 43 * Since registers are aligned on 32-bit boundaries, the 44 * offset will be specified in 32-bit words rather than bytes. 48 * offset from bytes to 32-bit words. [all …]
|
/linux/Documentation/devicetree/bindings/clock/ti/ |
H A D | adpll.txt | 1 Binding for Texas Instruments ADPLL clock. 3 This binding uses the common clock binding[1]. It assumes a 4 register-mapped ADPLL with two to three selectable input clocks 7 [1] Documentation/devicetree/bindings/clock/clock-bindings.txt 10 - compatible : shall be one of "ti,dm814-adpll-s-clock" or 11 "ti,dm814-adpll-lj-clock" depending on the type of the ADPLL 12 - #clock-cells : from common clock binding; shall be set to 1. 13 - clocks : link phandles of parent clocks clkinp and clkinpulow, note 14 that the adpll-s-clock also has an optional clkinphif 15 - reg : address and length of the register set for controlling the ADPLL. [all …]
|
/linux/drivers/clk/ti/ |
H A D | adpll.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 #include <linux/clk-provider.h> 183 err = of_property_read_string_index(d->np, in ti_adpll_clk_get_name() 184 "clock-output-names", in ti_adpll_clk_get_name() 190 name = devm_kasprintf(d->dev, GFP_KERNEL, "%08lx.adpll.%s", in ti_adpll_clk_get_name() 191 d->pa, postfix); in ti_adpll_clk_get_name() 199 static int ti_adpll_setup_clock(struct ti_adpll_data *d, struct clk *clock, in ti_adpll_setup_clock() argument 207 d->clocks[index].clk = clock; in ti_adpll_setup_clock() 208 d->clocks[index].unregister = unregister; in ti_adpll_setup_clock() 214 dev_warn(d->dev, "clock %s con_id lookup may fail\n", in ti_adpll_setup_clock() [all …]
|
H A D | clk-814x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 #include <linux/clk-provider.h> 8 #include <dt-bindings/clock/dm814.h> 10 #include "clock.h" 65 return -ENODEV; in dm814x_adpll_early_init() 70 return -ENODEV; in dm814x_adpll_early_init() 81 "pll040clkout", /* MPU 481c5040.adpll.clkout */ 82 "pll290clkout", /* DDR 481c5290.adpll.clkout */ 90 return -ENODEV; in dm814x_adpll_enable_init_clocks() 93 struct clk *clock; in dm814x_adpll_enable_init_clocks() local [all …]
|
/linux/drivers/clk/xilinx/ |
H A D | clk-xlnx-clock-wizard.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2013 - 2021 Xilinx 14 #include <linux/clk-provider.h> 85 /* Divider limits, from UG572 Table 3-4 for Ultrascale+ */ 109 #define div_mask(width) ((1 << (width)) - 1) 111 /* Extract divider instance from clock hardware instance */ 122 * struct clk_wzrd - Clock wizard private data structure 124 * @clk_data: Clock data 127 * @clk_in1: Handle to input clock 'clk_in1' 128 * @axi_clk: Handle to input clock 's_axi_aclk' [all …]
|
/linux/Documentation/devicetree/bindings/gpio/ |
H A D | intel,ixp4xx-gpio.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/gpio/intel,ixp4xx-gpio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 15 main IXP4xx interrupt controller which has a 1-to-1 mapping for 21 GPIO 14 and 15 can be used as clock outputs rather than GPIO, 25 - Linus Walleij <linus.walleij@linaro.org> 29 const: intel,ixp4xx-gpio 34 gpio-controller: true 36 "#gpio-cells": [all …]
|
/linux/arch/arm/boot/dts/marvell/ |
H A D | dove-cubox.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 20 compatible = "gpio-leds"; 21 pinctrl-0 = <&pmx_gpio_18>; 22 pinctrl-names = "default"; 24 led-power { 27 default-state = "keep"; 31 usb_power: regulator-1 { 32 compatible = "regulator-fixed"; 33 regulator-name = "USB Power"; [all …]
|