| /kernel/linux/linux-6.6/arch/arm/boot/dts/samsung/ |
| D | exynos5422-odroid-core.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Hardkernel Odroid XU3/XU3-Lite/XU4/HC1 boards core device tree source 6 * Copyright (c) 2013-2017 Samsung Electronics Co., Ltd. 10 #include <dt-bindings/clock/samsung,s2mps11.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/gpio/gpio.h> 14 #include "exynos5422-cpus.dtsi" 27 stdout-path = "serial2:115200n8"; 31 compatible = "samsung,secure-firmware"; 35 fixed-rate-clocks { [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | exynos5422-odroid-core.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Hardkernel Odroid XU3/XU3-Lite/XU4/HC1 boards core device tree source 6 * Copyright (c) 2013-2017 Samsung Electronics Co., Ltd. 10 #include <dt-bindings/clock/samsung,s2mps11.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/gpio/gpio.h> 14 #include "exynos5422-cpus.dtsi" 23 stdout-path = "serial2:115200n8"; 27 compatible = "samsung,secure-firmware"; 31 fixed-rate-clocks { [all …]
|
| D | imx7d.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 7 #include <dt-bindings/reset/imx7-reset.h> 18 clock-frequency = <996000000>; 19 operating-points-v2 = <&cpu0_opp_table>; 20 #cooling-cells = <2>; 21 nvmem-cells = <&fuse_grade>; 22 nvmem-cell-names = "speed_grade"; 26 compatible = "arm,cortex-a7"; 29 clock-frequency = <996000000>; 30 operating-points-v2 = <&cpu0_opp_table>; [all …]
|
| D | rk3288-veyron.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include <dt-bindings/clock/rockchip,rk808.h> 9 #include <dt-bindings/input/input.h> 14 stdout-path = "serial2:115200n8"; 27 power_button: power-button { 28 compatible = "gpio-keys"; 29 pinctrl-names = "default"; 30 pinctrl-0 = <&pwr_key_l>; 36 debounce-interval = <100>; 37 wakeup-source; [all …]
|
| D | rk3229.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 11 /delete-node/ opp-table0; 14 compatible = "operating-points-v2"; 15 opp-shared; 17 opp-408000000 { 18 opp-hz = /bits/ 64 <408000000>; 19 opp-microvolt = <950000>; 20 clock-latency-ns = <40000>; 21 opp-suspend; 23 opp-600000000 { [all …]
|
| D | rk3288-tinker.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/clock/rockchip,rk808.h> 12 stdout-path = "serial2:115200n8"; 20 ext_gmac: external-gmac-clock { 21 compatible = "fixed-clock"; 22 #clock-cells = <0>; 23 clock-frequency = <125000000>; 24 clock-output-names = "ext_gmac"; 27 gpio-keys { [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/rockchip/ |
| D | rk3399-puma.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/pwm/pwm.h> 8 #include "rk3399-opp.dtsi" 12 compatible = "gpio-leds"; 13 pinctrl-names = "default"; 14 pinctrl-0 = <&module_led_pin>; 16 module_led: led-0 { 19 linux,default-trigger = "heartbeat"; 20 panic-indicator; 25 * Overwrite the opp-table for CPUB as this board uses a different [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/amlogic/ |
| D | meson-g12b-odroid-go-ultra.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-g12b-s922x.dtsi" 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/leds/common.h> 11 #include <dt-bindings/gpio/meson-g12a-gpio.h> 12 #include <dt-bindings/sound/meson-g12a-toacodec.h> 13 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 16 compatible = "hardkernel,odroid-go-ultra", "amlogic,s922x", "amlogic,g12b"; 17 model = "Hardkernel ODROID-GO-Ultra"; [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/cpufreq/ |
| D | ti-cpufreq.txt | 1 TI CPUFreq and OPP bindings 6 The ti-cpufreq driver can use revision and an efuse value from the SoC to 7 provide the OPP framework with supported hardware information. This is 8 used to determine which OPPs from the operating-points-v2 table get enabled 9 when it is parsed by the OPP framework. 12 -------------------- 14 - operating-points-v2: Phandle to the operating-points-v2 table to use. 16 In 'operating-points-v2' table: 17 - compatible: Should be 18 - 'operating-points-v2-ti-cpu' for am335x, am43xx, and dra7xx/am57xx, [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/nvidia/ |
| D | tegra124-peripherals-opp.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 emc_icc_dvfs_opp_table: opp-table-emc { 5 compatible = "operating-points-v2"; 7 opp-12750000-800 { 8 opp-microvolt = <800000 800000 1150000>; 9 opp-hz = /bits/ 64 <12750000>; 10 opp-supported-hw = <0x0003>; 13 opp-12750000-950 { 14 opp-microvolt = <950000 950000 1150000>; 15 opp-hz = /bits/ 64 <12750000>; [all …]
|
| D | tegra20-cpu-opp.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 cpu0_opp_table: opp-table-cpu0 { 5 compatible = "operating-points-v2"; 6 opp-shared; 8 opp-216000000-750 { 9 clock-latency-ns = <400000>; 10 opp-supported-hw = <0x0F 0x0003>; 11 opp-hz = /bits/ 64 <216000000>; 12 opp-suspend; 15 opp-216000000-800 { [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/nvidia/ |
| D | tegra132-peripherals-opp.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 /* EMC DVFS OPP table */ 5 emc_icc_dvfs_opp_table: opp-table-dvfs0 { 6 compatible = "operating-points-v2"; 8 opp-12750000-800 { 9 opp-microvolt = <800000 800000 1150000>; 10 opp-hz = /bits/ 64 <12750000>; 11 opp-supported-hw = <0x0003>; 14 opp-12750000-950 { 15 opp-microvolt = <950000 950000 1150000>; [all …]
|
| /kernel/linux/linux-5.10/drivers/opp/ |
| D | opp.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Generic OPP Interface 5 * Copyright (C) 2009-2010 Texas Instruments Incorporated. 26 /* Lock to allow exclusive modification to the device and opp lists */ 32 * Internal data structure organization with the OPP layer library is as 35 * |- device 1 (represents voltage domain 1) 36 * | |- opp 1 (availability, freq, voltage) 37 * | |- opp 2 .. 39 * | `- opp n .. 40 * |- device 2 (represents the next voltage domain) [all …]
|
| D | debugfs.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Generic OPP debugfs interface 5 * Copyright (C) 2015-2016 Viresh Kumar <viresh.kumar@linaro.org> 17 #include "opp.h" 23 if (dev->parent) in opp_set_dev_name() 24 snprintf(name, NAME_MAX, "%s-%s", dev_name(dev->parent), in opp_set_dev_name() 30 void opp_debug_remove_one(struct dev_pm_opp *opp) in opp_debug_remove_one() argument 32 debugfs_remove_recursive(opp->dentry); in opp_debug_remove_one() 38 struct icc_path *path = fp->private_data; in bw_name_read() 53 static void opp_debug_create_bw(struct dev_pm_opp *opp, in opp_debug_create_bw() argument [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/opp/ |
| D | operating-points-v2-ti-cpu.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/opp/operating-points-v2-ti-cpu.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: TI CPU OPP (Operating Performance Points) 12 OPP vary based on the silicon variant used. The data sheet sections 18 This document extends the operating-points-v2 binding by providing 22 - Nishanth Menon <nm@ti.com> 25 - $ref: opp-v2-base.yaml# 29 const: operating-points-v2-ti-cpu [all …]
|
| D | opp-v2.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/opp/opp-v2.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Generic OPP (Operating Performance Points) 10 - Viresh Kumar <viresh.kumar@linaro.org> 13 - $ref: opp-v2-base.yaml# 17 const: operating-points-v2 22 - | 24 * Example 1: Single cluster Dual-core ARM cortex A9, switch DVFS states [all …]
|
| /kernel/linux/linux-6.6/drivers/opp/ |
| D | opp.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Generic OPP Interface 5 * Copyright (C) 2009-2010 Texas Instruments Incorporated. 26 /* Lock to allow exclusive modification to the device and opp lists */ 31 /* OPP Config flags */ 40 * struct opp_config_data - data for set config operations 41 * @opp_table: OPP table 42 * @flags: OPP config flags 44 * This structure stores the OPP config information for each OPP table 53 * Internal data structure organization with the OPP layer library is as [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/opp/ |
| D | opp.txt | 1 Generic OPP (Operating Performance Points) Bindings 2 ---------------------------------------------------- 4 Devices work at voltage-current-frequency combinations and some implementations 10 This document contain multiple versions of OPP binding and only one of them 13 Binding 1: operating-points 16 This binding only supports voltage-frequency pairs. 19 - operating-points: An array of 2-tuples items, and each item consists 20 of frequency and voltage like <freq-kHz vol-uV>. 27 compatible = "arm,cortex-a9"; 29 next-level-cache = <&L2>; [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/freescale/ |
| D | imx8mm-phycore-som.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <dt-bindings/net/ti-dp83867.h> 11 model = "PHYTEC phyCORE-i.MX8MM"; 12 compatible = "phytec,imx8mm-phycore-som", "fsl,imx8mm"; 24 reg_vdd_3v3_s: regulator-vdd-3v3-s { 25 compatible = "regulator-fixed"; 26 regulator-always-on; 27 regulator-boot-on; 28 regulator-max-microvolt = <3300000>; 29 regulator-min-microvolt = <3300000>; [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/nxp/imx/ |
| D | imx7d.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 7 #include <dt-bindings/reset/imx7-reset.h> 18 clock-frequency = <996000000>; 19 operating-points-v2 = <&cpu0_opp_table>; 20 #cooling-cells = <2>; 21 nvmem-cells = <&fuse_grade>; 22 nvmem-cell-names = "speed_grade"; 26 compatible = "arm,cortex-a7"; 29 clock-frequency = <996000000>; 30 operating-points-v2 = <&cpu0_opp_table>; [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/rockchip/ |
| D | rk3288-veyron.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include <dt-bindings/clock/rockchip,rk808.h> 9 #include <dt-bindings/input/input.h> 18 stdout-path = "serial2:115200n8"; 31 power_button: power-button { 32 compatible = "gpio-keys"; 33 pinctrl-names = "default"; 34 pinctrl-0 = <&pwr_key_l>; 36 key-power { 40 debounce-interval = <100>; [all …]
|
| D | rk3229.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 11 /delete-node/ opp-table0; 13 cpu0_opp_table: opp-table-0 { 14 compatible = "operating-points-v2"; 15 opp-shared; 17 opp-408000000 { 18 opp-hz = /bits/ 64 <408000000>; 19 opp-microvolt = <950000>; 20 clock-latency-ns = <40000>; 21 opp-suspend; [all …]
|
| D | rk3288-tinker.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/clock/rockchip,rk808.h> 12 stdout-path = "serial2:115200n8"; 20 ext_gmac: external-gmac-clock { 21 compatible = "fixed-clock"; 22 #clock-cells = <0>; 23 clock-frequency = <125000000>; 24 clock-output-names = "ext_gmac"; 27 gpio-keys { [all …]
|
| /kernel/linux/linux-6.6/drivers/clk/tegra/ |
| D | clk-device.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 #include <linux/clk-provider.h> 33 struct device *dev = clk_dev->dev; in tegra_clock_set_pd_state() 34 struct dev_pm_opp *opp; in tegra_clock_set_pd_state() local 37 opp = dev_pm_opp_find_freq_ceil(dev, &rate); in tegra_clock_set_pd_state() 38 if (opp == ERR_PTR(-ERANGE)) { in tegra_clock_set_pd_state() 47 dev_dbg(dev, "failed to find ceil OPP for %luHz\n", rate); in tegra_clock_set_pd_state() 48 opp = dev_pm_opp_find_freq_floor(dev, &rate); in tegra_clock_set_pd_state() 51 if (IS_ERR(opp)) { in tegra_clock_set_pd_state() 52 dev_err(dev, "failed to find OPP for %luHz: %pe\n", rate, opp); in tegra_clock_set_pd_state() [all …]
|
| /kernel/linux/linux-5.10/drivers/cpufreq/ |
| D | cpufreq-dt.c | 1 // SPDX-License-Identifier: GPL-2.0-only 25 #include "cpufreq-dt.h" 41 NULL, /* Extra space for boost-attr if required */ 50 if (cpumask_test_cpu(cpu, priv->cpus)) in cpufreq_dt_find_data() 59 struct private_data *priv = policy->driver_data; in set_target() 60 unsigned long freq = policy->freq_table[index].frequency; in set_target() 62 return dev_pm_opp_set_rate(priv->cpu_dev, freq * 1000); in set_target() 66 * An earlier version of opp-v1 bindings used to name the regulator 67 * "cpu0-supply", we still need to handle that for backwards compatibility. 73 int cpu = dev->id; in find_supply_name() [all …]
|