| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/ |
| D | motorcomm,yt8xxx.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Frank Sae <frank.sae@motor-comm.com> 13 - $ref: ethernet-phy.yaml# 18 - ethernet-phy-id4f51.e91a 19 - ethernet-phy-id4f51.e91b 21 rx-internal-delay-ps: 24 internal delay (phy-mode is 'rgmii-id' or 'rgmii-rxid') in pico-seconds. 30 tx-internal-delay-ps: [all …]
|
| /kernel/linux/linux-5.10/arch/arm/kernel/ |
| D | smp_twd.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include <linux/clk.h> 28 static struct clk *twd_clk; 37 static int twd_shutdown(struct clock_event_device *clk) in twd_shutdown() argument 43 static int twd_set_oneshot(struct clock_event_device *clk) in twd_set_oneshot() argument 51 static int twd_set_periodic(struct clock_event_device *clk) in twd_set_periodic() argument 57 writel_relaxed(DIV_ROUND_CLOSEST(twd_timer_rate, HZ), in twd_set_periodic() 94 struct clock_event_device *clk = raw_cpu_ptr(twd_evt); in twd_timer_stop() local 96 twd_shutdown(clk); in twd_timer_stop() 97 disable_percpu_irq(clk->irq); in twd_timer_stop() [all …]
|
| /kernel/linux/linux-6.6/arch/arm/kernel/ |
| D | smp_twd.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include <linux/clk.h> 28 static struct clk *twd_clk; 37 static int twd_shutdown(struct clock_event_device *clk) in twd_shutdown() argument 43 static int twd_set_oneshot(struct clock_event_device *clk) in twd_set_oneshot() argument 51 static int twd_set_periodic(struct clock_event_device *clk) in twd_set_periodic() argument 57 writel_relaxed(DIV_ROUND_CLOSEST(twd_timer_rate, HZ), in twd_set_periodic() 94 struct clock_event_device *clk = raw_cpu_ptr(twd_evt); in twd_timer_stop() local 96 twd_shutdown(clk); in twd_timer_stop() 97 disable_percpu_irq(clk->irq); in twd_timer_stop() [all …]
|
| /kernel/linux/linux-5.10/drivers/cpufreq/ |
| D | s3c24xx-cpufreq.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2006-2008 Simtec Electronics 7 * S3C24XX CPU Frequency scaling 18 #include <linux/clk.h> 24 #include <linux/soc/samsung/s3c-cpufreq-core.h> 25 #include <linux/soc/samsung/s3c-pm.h> 30 /* note, cpufreq support deals in kHz, no Hz */ 39 static struct clk *_clk_mpll; 40 static struct clk *_clk_xtal; 41 static struct clk *clk_fclk; [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/freescale/ |
| D | imx8mq-evk.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 4 * Copyright (C) 2017-2018 Pengutronix, Lucas Stach <kernel@pengutronix.de> 7 /dts-v1/; 13 compatible = "fsl,imx8mq-evk", "fsl,imx8mq"; 16 stdout-path = &uart1; 24 pcie0_refclk: pcie0-refclk { 25 compatible = "fixed-clock"; 26 #clock-cells = <0>; 27 clock-frequency = <100000000>; 30 reg_usdhc2_vmmc: regulator-vsd-3v3 { [all …]
|
| D | imx8mm-var-som.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 10 model = "Variscite VAR-SOM-MX8MM module"; 11 compatible = "variscite,var-som-mx8mm", "fsl,imx8mm"; 14 stdout-path = &uart4; 22 reg_eth_phy: regulator-eth-phy { 23 compatible = "regulator-fixed"; 24 pinctrl-names = "default"; 25 pinctrl-0 = <&pinctrl_reg_eth_phy>; 26 regulator-name = "eth_phy_pwr"; 27 regulator-min-microvolt = <3300000>; [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/zte/ |
| D | zx296718.dtsi | 5 * This file is dual-licensed: you can use it either under the terms 40 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 44 #include <dt-bindings/input/input.h> 45 #include <dt-bindings/interrupt-controller/arm-gic.h> 46 #include <dt-bindings/gpio/gpio.h> 47 #include <dt-bindings/clock/zx296718-clock.h> 51 #address-cells = <1>; 52 #size-cells = <1>; 53 interrupt-parent = <&gic>; 67 #address-cells = <2>; [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/freescale/ |
| D | imx8mq-evk.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 4 * Copyright (C) 2017-2018 Pengutronix, Lucas Stach <kernel@pengutronix.de> 7 /dts-v1/; 13 compatible = "fsl,imx8mq-evk", "fsl,imx8mq"; 16 stdout-path = &uart1; 24 pcie0_refclk: pcie0-refclk { 25 compatible = "fixed-clock"; 26 #clock-cells = <0>; 27 clock-frequency = <100000000>; 30 reg_pcie1: regulator-pcie { [all …]
|
| D | imx8mm-var-som.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 10 model = "Variscite VAR-SOM-MX8MM module"; 11 compatible = "variscite,var-som-mx8mm", "fsl,imx8mm"; 14 stdout-path = &uart4; 22 reg_eth_phy: regulator-eth-phy { 23 compatible = "regulator-fixed"; 24 pinctrl-names = "default"; 25 pinctrl-0 = <&pinctrl_reg_eth_phy>; 26 regulator-name = "eth_phy_pwr"; 27 regulator-min-microvolt = <3300000>; [all …]
|
| D | imx8mq.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 * Copyright (C) 2017-2018 Pengutronix, Lucas Stach <kernel@pengutronix.de> 7 #include <dt-bindings/clock/imx8mq-clock.h> 8 #include <dt-bindings/power/imx8mq-power.h> 9 #include <dt-bindings/reset/imx8mq-reset.h> 10 #include <dt-bindings/gpio/gpio.h> 11 #include "dt-bindings/input/input.h" 12 #include <dt-bindings/interrupt-controller/arm-gic.h> 13 #include <dt-bindings/thermal/thermal.h> 14 #include <dt-bindings/interconnect/imx8mq.h> [all …]
|
| D | imx8mm-innocomm-wb15.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include <dt-bindings/phy/phy-imx8-pcie.h> 10 reg_modem: regulator-modem { 11 compatible = "regulator-fixed"; 12 pinctrl-names = "default"; 13 pinctrl-0 = <&pinctrl_modem_regulator>; 14 regulator-min-microvolt = <3300000>; 15 regulator-max-microvolt = <3300000>; 16 regulator-name = "epdev_on"; 18 enable-active-high; [all …]
|
| D | imx8mn-beacon-som.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 14 compatible = "mmc-pwrseq-simple"; 15 pinctrl-names = "default"; 16 pinctrl-0 = <&pinctrl_usdhc1_gpio>; 17 reset-gpios = <&gpio2 10 GPIO_ACTIVE_LOW>; 19 clock-names = "ext_clock"; 20 post-power-on-delay-ms = <80>; 30 cpu-supply = <&buck2_reg>; 34 cpu-supply = <&buck2_reg>; 38 cpu-supply = <&buck2_reg>; [all …]
|
| /kernel/linux/linux-6.6/drivers/devfreq/ |
| D | rk3399_dmc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Author: Lin Huang <hl@rock-chips.com> 7 #include <linux/arm-smccc.h> 9 #include <linux/clk.h> 12 #include <linux/devfreq-event.h> 44 struct clk *dmc_clk; 74 unsigned long old_clk_rate = dmcfreq->rate; in rk3399_dmcfreq_target() 92 if (dmcfreq->rate == target_rate) in rk3399_dmcfreq_target() 95 mutex_lock(&dmcfreq->lock); in rk3399_dmcfreq_target() 98 * Ensure power-domain transitions don't interfere with ARM Trusted in rk3399_dmcfreq_target() [all …]
|
| /kernel/linux/linux-5.10/drivers/opp/ |
| D | ti-opp-supply.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2016-2017 Texas Instruments Incorporated - https://www.ti.com/ 5 * Dave Gerlach <d-gerlach@ti.com> 11 #include <linux/clk.h> 25 * struct ti_opp_supply_optimum_voltage_table - optimized voltage table 35 * struct ti_opp_supply_data - OMAP specific opp supply data 49 * struct ti_opp_supply_of_data - device tree match data 52 * @efuse_voltage_uv: Are the efuse entries in micro-volts? if not, assume 53 * milli-volts. 64 * _store_optimized_voltages() - store optimized voltages [all …]
|
| /kernel/linux/linux-5.10/drivers/clocksource/ |
| D | mps2-timer.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include <linux/clk.h> 51 writel_relaxed(val, to_mps2_clkevt(c)->reg + offset); in clockevent_mps2_writel() 72 u32 clock_count_per_tick = to_mps2_clkevt(ce)->clock_count_per_tick; in mps2_timer_set_periodic() 84 u32 status = readl_relaxed(ce->reg + TIMER_INT); in mps2_timer_interrupt() 91 writel_relaxed(1, ce->reg + TIMER_INT); in mps2_timer_interrupt() 93 ce->clkevt.event_handler(&ce->clkevt); in mps2_timer_interrupt() 101 struct clk *clk = NULL; in mps2_clockevent_init() local 105 const char *name = "mps2-clkevt"; in mps2_clockevent_init() 107 ret = of_property_read_u32(np, "clock-frequency", &rate); in mps2_clockevent_init() [all …]
|
| /kernel/linux/linux-6.6/drivers/clocksource/ |
| D | mps2-timer.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include <linux/clk.h> 51 writel_relaxed(val, to_mps2_clkevt(c)->reg + offset); in clockevent_mps2_writel() 72 u32 clock_count_per_tick = to_mps2_clkevt(ce)->clock_count_per_tick; in mps2_timer_set_periodic() 84 u32 status = readl_relaxed(ce->reg + TIMER_INT); in mps2_timer_interrupt() 91 writel_relaxed(1, ce->reg + TIMER_INT); in mps2_timer_interrupt() 93 ce->clkevt.event_handler(&ce->clkevt); in mps2_timer_interrupt() 101 struct clk *clk = NULL; in mps2_clockevent_init() local 105 const char *name = "mps2-clkevt"; in mps2_clockevent_init() 107 ret = of_property_read_u32(np, "clock-frequency", &rate); in mps2_clockevent_init() [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/rockchip/ |
| D | rk3328-orangepi-r1-plus-lts.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 6 * Copyright (c) 2021-2023 Tianling Shen <cnsztl@gmail.com> 9 /dts-v1/; 10 #include "rk3328-orangepi-r1-plus.dts" 14 compatible = "xunlong,orangepi-r1-plus-lts", "rockchip,rk3328"; 18 /delete-property/ tx_delay; 19 /delete-property/ rx_delay; 21 phy-handle = <&yt8531c>; 22 phy-mode = "rgmii-id"; 25 /delete-node/ ethernet-phy@1; [all …]
|
| D | rk3328-nanopi-r2c.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 6 * Copyright (c) 2021-2023 Tianling Shen <cnsztl@gmail.com> 9 /dts-v1/; 10 #include "rk3328-nanopi-r2s.dts" 14 compatible = "friendlyarm,nanopi-r2c", "rockchip,rk3328"; 18 phy-handle = <&yt8521s>; 23 /delete-node/ ethernet-phy@1; 25 yt8521s: ethernet-phy@3 { 26 compatible = "ethernet-phy-ieee802.3-c22"; 29 motorcomm,clk-out-frequency-hz = <125000000>; [all …]
|
| /kernel/linux/linux-5.10/drivers/clk/analogbits/ |
| D | wrpll-cln28hpc.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2018-2019 SiFive, Inc. 16 * pre-determined set of performance points. 19 * - Analog Bits "Wide Range PLL Datasheet", version 2015.10.01 20 * - SiFive FU540-C000 Manual v1p0, Chapter 7 "Clocking and Reset" 21 * https://static.dev.sifive.com/FU540-C000-v1.0.pdf 28 #include <linux/clk/analogbits-wrpll-cln28hpc.h> 30 /* MIN_INPUT_FREQ: minimum input clock frequency, in Hz (Fref_min) */ 33 /* MAX_INPUT_FREQ: maximum input clock frequency, in Hz (Fref_max) */ 36 /* MIN_POST_DIVIDE_REF_FREQ: minimum post-divider reference frequency, in Hz */ [all …]
|
| /kernel/linux/linux-6.6/drivers/clk/analogbits/ |
| D | wrpll-cln28hpc.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2018-2019 SiFive, Inc. 16 * pre-determined set of performance points. 19 * - Analog Bits "Wide Range PLL Datasheet", version 2015.10.01 20 * - SiFive FU540-C000 Manual v1p0, Chapter 7 "Clocking and Reset" 21 * https://static.dev.sifive.com/FU540-C000-v1.0.pdf 32 #include <linux/clk/analogbits-wrpll-cln28hpc.h> 34 /* MIN_INPUT_FREQ: minimum input clock frequency, in Hz (Fref_min) */ 37 /* MAX_INPUT_FREQ: maximum input clock frequency, in Hz (Fref_max) */ 40 /* MIN_POST_DIVIDE_REF_FREQ: minimum post-divider reference frequency, in Hz */ [all …]
|
| /kernel/linux/linux-6.6/sound/soc/sh/rcar/ |
| D | adg.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // Helper routines for R-Car sound ADG. 6 #include <linux/clk-provider.h> 33 struct clk *clkin[CLKINMAX]; 34 struct clk *clkout[CLKOUTMAX]; 35 struct clk *null_clk; 50 (i < adg->clkin_size) && \ 51 ((pos) = adg->clkin[i]); \ 55 (i < adg->clkout_size) && \ 56 ((pos) = adg->clkout[i]); \ [all …]
|
| /kernel/linux/linux-5.10/drivers/i2c/busses/ |
| D | i2c-digicolor.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include <linux/clk.h> 50 struct clk *clk; member 51 unsigned int frequency; member 73 writeb_relaxed(cmd | II_COMMAND_GO, i2c->regs + II_COMMAND); in dc_i2c_cmd() 78 u8 addr = (msg->addr & 0x7f) << 1; in dc_i2c_addr_cmd() 80 if (msg->flags & I2C_M_RD) in dc_i2c_addr_cmd() 88 writeb_relaxed(data, i2c->regs + II_DATA); in dc_i2c_data() 99 dc_i2c_write_byte(i2c, i2c->msg->buf[i2c->msgbuf_ptr++]); in dc_i2c_write_buf() 104 bool last = (i2c->msgbuf_ptr + 1 == i2c->msg->len); in dc_i2c_next_read() [all …]
|
| /kernel/linux/linux-6.6/drivers/i2c/busses/ |
| D | i2c-digicolor.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include <linux/clk.h> 50 struct clk *clk; member 51 unsigned int frequency; member 73 writeb_relaxed(cmd | II_COMMAND_GO, i2c->regs + II_COMMAND); in dc_i2c_cmd() 78 u8 addr = (msg->addr & 0x7f) << 1; in dc_i2c_addr_cmd() 80 if (msg->flags & I2C_M_RD) in dc_i2c_addr_cmd() 88 writeb_relaxed(data, i2c->regs + II_DATA); in dc_i2c_data() 99 dc_i2c_write_byte(i2c, i2c->msg->buf[i2c->msgbuf_ptr++]); in dc_i2c_write_buf() 104 bool last = (i2c->msgbuf_ptr + 1 == i2c->msg->len); in dc_i2c_next_read() [all …]
|
| /kernel/linux/linux-5.10/drivers/clk/ |
| D | clk-si570.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Copyright (C) 2011 - 2013 Xilinx Inc. 13 #include <linux/clk.h> 14 #include <linux/clk-provider.h> 57 * @max_freq: Maximum frequency for this device 58 * @fxtal: Factory xtal frequency 62 * @frequency: Current output frequency 74 u64 frequency; member 85 * si570_get_divs() - Read clock dividers from HW 101 err = regmap_bulk_read(data->regmap, SI570_REG_HS_N1 + data->div_offset, in si570_get_divs() [all …]
|
| /kernel/linux/linux-6.6/drivers/clk/ |
| D | clk-si570.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Copyright (C) 2011 - 2021 Xilinx Inc. 13 #include <linux/clk.h> 14 #include <linux/clk-provider.h> 57 * @max_freq: Maximum frequency for this device 58 * @fxtal: Factory xtal frequency 62 * @frequency: Current output frequency 74 u64 frequency; member 85 * si570_get_divs() - Read clock dividers from HW 101 err = regmap_bulk_read(data->regmap, SI570_REG_HS_N1 + data->div_offset, in si570_get_divs() [all …]
|