Home
last modified time | relevance | path

Searched +full:suspend +full:- +full:voltage +full:- +full:selector (Results 1 – 25 of 90) sorted by relevance

1234

/linux-6.12.1/Documentation/devicetree/bindings/regulator/
Dfcs,fan53555.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Heiko Stuebner <heiko@sntech.de>
13 - $ref: regulator.yaml#
18 - enum:
19 - fcs,fan53555
20 - fcs,fan53526
21 - rockchip,rk8600
22 - rockchip,rk8602
[all …]
/linux-6.12.1/include/linux/regulator/
Ddriver.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * driver.h -- SoC Regulator driver support.
44 /* Hardware shut down voltage outputs if condition is detected */
57 * struct regulator_ops - regulator operations.
64 * @set_voltage: Set the voltage for the regulator within the range specified.
65 * The driver should select the voltage closest to min_uV.
66 * @set_voltage_sel: Set the voltage for the regulator using the specified
67 * selector.
68 * @map_voltage: Convert a voltage into a selector
69 * @get_voltage: Return the currently configured voltage for the regulator;
[all …]
Dconsumer.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * consumer.h -- SoC Regulator consumer support.
12 * Features:-
13 * o Voltage and current level control.
19 * Dynamic Regulator operating Mode Switching (DRMS) - allows regulators
20 * to use most efficient operating mode depending upon voltage and load and
35 #include <linux/suspend.h>
58 * e.g. useful in CPU voltage & frequency scaling where
91 * UNDER_VOLTAGE Regulator output is under voltage.
112 * struct pre_voltage_change_data - Data sent with PRE_VOLTAGE_CHANGE event
[all …]
/linux-6.12.1/arch/arm64/boot/dts/rockchip/
Drk3368-evb-act8846.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2015 Caesar Wang <wxt@rock-chips.com>
6 /dts-v1/;
7 #include "rk3368-evb.dtsi"
11 compatible = "rockchip,rk3368-evb-act8846", "rockchip,rk3368";
15 clock-frequency = <400000>;
20 fcs,suspend-voltage-selector = <1>;
21 regulator-name = "vdd_cpu";
22 regulator-min-microvolt = <850000>;
23 regulator-max-microvolt = <1350000>;
[all …]
Drk3588-fet3588-c.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
9 compatible = "forlinx,fet3588-c", "rockchip,rk3588";
16 stdout-path = "serial2:1500000n8";
20 compatible = "gpio-leds";
21 pinctrl-names = "default";
22 pinctrl-0 = <&led_rgb_b>;
24 io-led {
[all …]
Drk3588-turing-rk1.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 * Based on RK3588-EVB1 devicetree
11 /dts-v1/;
12 #include <dt-bindings/gpio/gpio.h>
13 #include <dt-bindings/pinctrl/rockchip.h>
24 fan: pwm-fan {
25 compatible = "pwm-fan";
26 cooling-levels = <0 25 95 145 195 255>;
27 fan-supply = <&vcc5v0_sys>;
28 pinctrl-names = "default";
[all …]
Drk3588-friendlyelec-cm3588.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
9 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/leds/common.h>
13 #include <dt-bindings/pinctrl/rockchip.h>
26 stdout-path = "serial2:1500000n8";
30 compatible = "gpio-leds";
32 led_sys: led-0 {
36 linux,default-trigger = "heartbeat";
37 pinctrl-names = "default";
[all …]
Drk3588-coolpi-cm5.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 /dts-v1/;
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/pwm/pwm.h>
11 #include <dt-bindings/pinctrl/rockchip.h>
15 compatible = "coolpi,pi-cm5", "rockchip,rk3588";
24 analog-sound {
25 compatible = "audio-graph-card";
27 label = "rk3588-es8316";
36 stdout-path = "serial2:1500000n8";
[all …]
Drk3588-tiger.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/leds/common.h>
8 #include <dt-bindings/pinctrl/rockchip.h>
12 compatible = "tsd,rk3588-tiger", "rockchip,rk3588";
19 emmc_pwrseq: emmc-pwrseq {
20 compatible = "mmc-pwrseq-emmc";
21 pinctrl-0 = <&emmc_reset>;
22 pinctrl-names = "default";
23 reset-gpios = <&gpio2 RK_PA3 GPIO_ACTIVE_HIGH>;
[all …]
Drk3588s-nanopi-r6s.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 /dts-v1/;
5 #include <dt-bindings/pinctrl/rockchip.h>
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/input.h>
12 compatible = "friendlyarm,nanopi-r6s", "rockchip,rk3588s";
21 stdout-path = "serial2:1500000n8";
24 adc-keys {
25 compatible = "adc-keys";
26 io-channels = <&saradc 0>;
[all …]
Drk3588s-rock-5a.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 /dts-v1/;
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/leds/common.h>
7 #include <dt-bindings/pinctrl/rockchip.h>
12 compatible = "radxa,rock-5a", "rockchip,rk3588s";
20 analog-sound {
21 compatible = "audio-graph-card";
22 label = "rk3588-es8316";
35 stdout-path = "serial2:1500000n8";
[all …]
Drk3588s-orangepi-5.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 /dts-v1/;
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/leds/common.h>
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/pinctrl/rockchip.h>
9 #include <dt-bindings/usb/pd.h>
14 compatible = "xunlong,orangepi-5", "rockchip,rk3588s";
22 stdout-path = "serial2:1500000n8";
25 adc-keys {
[all …]
Drk3588-edgeble-neu6a-common.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/leds/common.h>
14 gpio-leds {
15 compatible = "gpio-leds";
17 led_user: led-0 {
21 linux,default-trigger = "heartbeat";
22 pinctrl-names = "default";
23 pinctrl-0 = <&led_user_en>;
27 vcc12v_dcin: vcc12v-dcin-regulator {
[all …]
Drk3566-powkiddy-rgb30.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 /dts-v1/;
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/linux-event-codes.h>
7 #include <dt-bindings/pinctrl/rockchip.h>
8 #include "rk3566-powkiddy-rk2023.dtsi"
16 assigned-clocks = <&pmucru CLK_RTC_32K>, <&cru PLL_GPLL>,
18 assigned-clock-rates = <32768>, <1200000000>,
24 compatible = "powkiddy,rgb30-panel";
27 pinctrl-names = "default";
[all …]
Drk3566-powkiddy-rk2023.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 /dts-v1/;
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/linux-event-codes.h>
7 #include <dt-bindings/pinctrl/rockchip.h>
8 #include "rk3566-powkiddy-rk2023.dtsi"
16 assigned-clocks = <&pmucru CLK_RTC_32K>, <&cru PLL_GPLL>,
18 assigned-clock-rates = <32768>, <1200000000>,
24 compatible = "powkiddy,rk2023-panel", "newvision,nv3051d";
27 pinctrl-names = "default";
[all …]
Drk3399-evb.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
7 #include <dt-bindings/pwm/pwm.h>
8 #include "rk3399-base.dtsi"
12 compatible = "rockchip,rk3399-evb", "rockchip,rk3399";
20 compatible = "pwm-backlight";
21 brightness-levels = <
54 default-brightness-level = <200>;
58 edp_panel: edp-panel {
59 compatible = "lg,lp079qx1-sp0v";
[all …]
Drk3588s-indiedroid-nova.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 /dts-v1/;
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/linux-event-codes.h>
7 #include <dt-bindings/pinctrl/rockchip.h>
8 #include <dt-bindings/usb/pd.h>
15 adc-keys-0 {
16 compatible = "adc-keys";
17 io-channel-names = "buttons";
18 io-channels = <&saradc 0>;
[all …]
Drk3588s-coolpi-4b.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
5 * https://cool-pi.com/topic/130/coolpi-4b-product-spec-introduction
9 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/leds/common.h>
13 #include <dt-bindings/pinctrl/rockchip.h>
18 compatible = "coolpi,pi-4b", "rockchip,rk3588s";
26 analog-sound {
27 compatible = "audio-graph-card";
29 label = "rk3588-es8316";
[all …]
Drk3566-powkiddy-rgb10max3.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 /dts-v1/;
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/linux-event-codes.h>
7 #include <dt-bindings/pinctrl/rockchip.h>
8 #include "rk3566-powkiddy-rk2023.dtsi"
16 compatible = "realtek,rtl8723ds-bt";
20 assigned-clocks = <&pmucru CLK_RTC_32K>, <&cru PLL_GPLL>,
22 assigned-clock-rates = <32768>, <1200000000>,
28 compatible = "powkiddy,rgb10max3-panel";
[all …]
Drk3588-jaguar.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/input/input.h>
9 #include <dt-bindings/leds/common.h>
10 #include <dt-bindings/pinctrl/rockchip.h>
11 #include <dt-bindings/usb/pd.h>
15 model = "Theobroma Systems RK3588-SBC Jaguar";
16 compatible = "tsd,rk3588-jaguar", "rockchip,rk3588";
18 adc-keys {
[all …]
Drk3588s-odroid-m2.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 /dts-v1/;
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/leds/common.h>
7 #include <dt-bindings/pinctrl/rockchip.h>
8 #include <dt-bindings/usb/pd.h>
12 model = "Hardkernel ODROID-M2";
13 compatible = "hardkernel,odroid-m2", "rockchip,rk3588s";
22 stdout-path = "serial2:1500000n8";
26 compatible = "gpio-leds";
[all …]
/linux-6.12.1/arch/arm/boot/dts/rockchip/
Drk3288-evb-act8846.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 /dts-v1/;
4 #include "rk3288-evb.dtsi"
8 compatible = "rockchip,rk3288-evb-act8846", "rockchip,rk3288";
10 vcc_lcd: vcc-lcd {
11 compatible = "regulator-fixed";
12 enable-active-high;
14 pinctrl-names = "default";
15 pinctrl-0 = <&lcd_en>;
16 regulator-name = "vcc_lcd";
[all …]
Drk3288-rock2-som.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 #include <dt-bindings/pwm/pwm.h>
12 emmc_pwrseq: emmc-pwrseq {
13 compatible = "mmc-pwrseq-emmc";
14 pinctrl-0 = <&emmc_reset>;
15 pinctrl-names = "default";
16 reset-gpios = <&gpio3 RK_PB1 GPIO_ACTIVE_LOW>;
19 ext_gmac: external-gmac-clock {
20 compatible = "fixed-clock";
21 #clock-cells = <0>;
[all …]
Drk3288-firefly-reload-core.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 #include <dt-bindings/input/input.h>
16 ext_gmac: external-gmac-clock {
17 compatible = "fixed-clock";
18 #clock-cells = <0>;
19 clock-frequency = <125000000>;
20 clock-output-names = "ext_gmac";
24 vcc_flash: flash-regulator {
25 compatible = "regulator-fixed";
26 regulator-name = "vcc_flash";
[all …]
/linux-6.12.1/drivers/regulator/
Dcore.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 // core.c -- Voltage/Current Regulator framework.
18 #include <linux/suspend.h>
105 if (rdev->constraints && rdev->constraints->name) in rdev_get_name()
106 return rdev->constraints->name; in rdev_get_name()
107 else if (rdev->desc->name) in rdev_get_name()
108 return rdev->desc->name; in rdev_get_name()
121 if (!rdev->constraints) { in regulator_ops_is_valid()
126 if (rdev->constraints->valid_ops_mask & ops) in regulator_ops_is_valid()
133 * regulator_lock_nested - lock a single regulator
[all …]

1234