/linux-6.12.1/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 …]
|
D | exynos4212.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 23 #address-cells = <1>; 24 #size-cells = <0>; 26 cpu-map { 39 compatible = "arm,cortex-a9"; 42 clock-names = "cpu"; 43 operating-points-v2 = <&cpu0_opp_table>; 44 #cooling-cells = <2>; /* min followed by max */ 49 compatible = "arm,cortex-a9"; 52 clock-names = "cpu"; [all …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/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 …]
|
D | tegra30-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-51000000-800 { 9 clock-latency-ns = <100000>; 10 opp-supported-hw = <0x1F 0x31FE>; 11 opp-hz = /bits/ 64 <51000000>; 14 opp-51000000-850 { 15 clock-latency-ns = <100000>; [all …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/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 */ 41 * struct opp_config_data - data for set config operations 42 * @opp_table: OPP table 43 * @flags: OPP config flags 45 * This structure stores the OPP config information for each OPP table 54 * struct dev_pm_opp_icc_bw - Interconnect bandwidth values [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> 18 #include "opp.h" 24 if (dev->parent) in opp_set_dev_name() 25 snprintf(name, NAME_MAX, "%s-%s", dev_name(dev->parent), in opp_set_dev_name() 31 void opp_debug_remove_one(struct dev_pm_opp *opp) in opp_debug_remove_one() argument 33 debugfs_remove_recursive(opp->dentry); in opp_debug_remove_one() 39 struct icc_path *path = fp->private_data; in bw_name_read() 56 static void opp_debug_create_bw(struct dev_pm_opp *opp, in opp_debug_create_bw() argument [all …]
|
D | of.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Generic OPP OF helpers 5 * Copyright (C) 2009-2010 Texas Instruments Incorporated. 22 #include "opp.h" 24 /* OPP tables with uninitialized required OPPs, protected by opp_table_lock */ 28 * Returns opp descriptor node for a device node, caller must 34 /* "operating-points-v2" can be an array for power domain providers */ in _opp_of_get_opp_desc_node() 35 return of_parse_phandle(np, "operating-points-v2", index); in _opp_of_get_opp_desc_node() 38 /* Returns opp descriptor node for a device, caller must do of_node_put() */ 41 return _opp_of_get_opp_desc_node(dev->of_node, 0); in dev_pm_opp_of_get_opp_desc_node() [all …]
|
/linux-6.12.1/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 - Dhruva Gole <d-gole@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 …]
|
D | opp-v2-base.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/opp/opp-v2-base.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Generic OPP (Operating Performance Points) Common Properties 10 - Viresh Kumar <viresh.kumar@linaro.org> 13 Devices work at voltage-current-frequency combinations and some implementations 25 pattern: '^opp-table(-[a-z0-9]+)?$' 27 opp-shared: 29 Indicates that device nodes using this OPP Table Node's phandle switch [all …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/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 | 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 …]
|
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 …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/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. 71 struct device_node *np __free(device_node) = of_node_get(dev->of_node); in find_supply_name() [all …]
|
/linux-6.12.1/drivers/gpu/drm/panthor/ |
D | panthor_devfreq.c | 1 // SPDX-License-Identifier: GPL-2.0 or MIT 16 * struct panthor_devfreq - Device frequency management 52 last = pdevfreq->time_last_update; in panthor_devfreq_update_utilization() 54 if (pdevfreq->last_busy_state) in panthor_devfreq_update_utilization() 55 pdevfreq->busy_time += ktime_sub(now, last); in panthor_devfreq_update_utilization() 57 pdevfreq->idle_time += ktime_sub(now, last); in panthor_devfreq_update_utilization() 59 pdevfreq->time_last_update = now; in panthor_devfreq_update_utilization() 65 struct dev_pm_opp *opp; in panthor_devfreq_target() local 67 opp = devfreq_recommended_opp(dev, freq, flags); in panthor_devfreq_target() 68 if (IS_ERR(opp)) in panthor_devfreq_target() [all …]
|
/linux-6.12.1/arch/arm/boot/dts/ti/omap/ |
D | am33xx.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ 8 #include <dt-bindings/bus/ti-sysc.h> 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/pinctrl/am33xx.h> 11 #include <dt-bindings/clock/am3.h> 15 interrupt-parent = <&intc>; 16 #address-cells = <1>; 17 #size-cells = <1>; 30 d-can0 = &dcan0; [all …]
|
/linux-6.12.1/arch/arm64/boot/dts/rockchip/ |
D | rk3588j.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include "rk3588-extra.dtsi" 10 cluster0_opp_table: opp-table-cluster0 { 11 compatible = "operating-points-v2"; 12 opp-shared; 14 opp-1416000000 { 15 opp-hz = /bits/ 64 <1416000000>; 16 opp-microvolt = <750000 750000 950000>; 17 clock-latency-ns = <40000>; 18 opp-suspend; [all …]
|
D | rk3568-mecsbc.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 4 #include <dt-bindings/gpio/gpio.h> 5 #include <dt-bindings/leds/common.h> 6 #include <dt-bindings/pinctrl/rockchip.h> 7 #include <dt-bindings/pwm/pwm.h> 20 stdout-path = "serial2:1500000n8"; 23 tas2562-sound { 24 compatible = "simple-audio-card"; 25 simple-audio-card,format = "i2s"; [all …]
|
/linux-6.12.1/arch/arm64/boot/dts/qcom/ |
D | sdm630.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 7 #include <dt-bindings/clock/qcom,gcc-sdm660.h> 8 #include <dt-bindings/clock/qcom,gpucc-sdm660.h> 9 #include <dt-bindings/clock/qcom,mmcc-sdm660.h> 10 #include <dt-bindings/clock/qcom,rpmcc.h> 11 #include <dt-bindings/firmware/qcom,scm.h> 12 #include <dt-bindings/interconnect/qcom,sdm660.h> 13 #include <dt-bindings/power/qcom-rpmpd.h> 14 #include <dt-bindings/gpio/gpio.h> 15 #include <dt-bindings/interrupt-controller/arm-gic.h> [all …]
|