| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/regulator/ |
| D | fan53555.txt | 4 - compatible: one of "fcs,fan53555", "fcs,fan53526", "silergy,syr827" or 6 - reg: I2C address 9 - fcs,suspend-voltage-selector: declare which of the two available 10 voltage selector registers should be used for the suspend 11 voltage. The other one is used for the runtime voltage setting 13 - vin-supply: regulator supplying the vin pin 19 regulator-name = "fan53555"; 20 regulator-min-microvolt = <1000000>; 21 regulator-max-microvolt = <1800000>; 22 vin-supply = <&parent_reg>; [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/regulator/ |
| D | fcs,fan53555.yaml | 1 # 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 …]
|
| /kernel/linux/linux-5.10/include/linux/regulator/ |
| D | driver.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * driver.h -- SoC Regulator driver support. 53 * struct regulator_ops - regulator operations. 60 * @set_voltage: Set the voltage for the regulator within the range specified. 61 * The driver should select the voltage closest to min_uV. 62 * @set_voltage_sel: Set the voltage for the regulator using the specified 63 * selector. 64 * @map_voltage: Convert a voltage into a selector 65 * @get_voltage: Return the currently configured voltage for the regulator; 66 * return -ENOTRECOVERABLE if regulator can't be read at [all …]
|
| D | consumer.h | 1 /* 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> 57 * e.g. useful in CPU voltage & frequency scaling where 90 * UNDER_VOLTAGE Regulator output is under voltage. 96 * VOLTAGE_CHANGE Regulator voltage changed. [all …]
|
| /kernel/linux/linux-6.6/include/linux/regulator/ |
| D | driver.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * driver.h -- SoC Regulator driver support. 44 /* Hardware shut down voltage outputs if condition is detected */ 62 * struct regulator_ops - regulator operations. 69 * @set_voltage: Set the voltage for the regulator within the range specified. 70 * The driver should select the voltage closest to min_uV. 71 * @set_voltage_sel: Set the voltage for the regulator using the specified 72 * selector. 73 * @map_voltage: Convert a voltage into a selector 74 * @get_voltage: Return the currently configured voltage for the regulator; [all …]
|
| D | consumer.h | 1 /* 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> 57 * e.g. useful in CPU voltage & frequency scaling where 90 * UNDER_VOLTAGE Regulator output is under voltage. 96 * VOLTAGE_CHANGE Regulator voltage changed. [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/rockchip/ |
| D | rk3368-evb-act8846.dts | 1 // 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 …]
|
| D | rk3588s-indiedroid-nova.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/pinctrl/rockchip.h> 7 #include <dt-bindings/usb/pd.h> 22 stdout-path = "serial2:1500000n8"; 25 sdio_pwrseq: sdio-pwrseq { 26 compatible = "mmc-pwrseq-simple"; 27 clock-names = "ext_clock"; 29 pinctrl-0 = <&wifi_enable_h>; [all …]
|
| D | rk3588s-rock-5a.dts | 1 // 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 …]
|
| D | rk3399-evb.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 7 #include <dt-bindings/pwm/pwm.h> 12 compatible = "rockchip,rk3399-evb", "rockchip,rk3399"; 19 compatible = "pwm-backlight"; 20 brightness-levels = < 53 default-brightness-level = <200>; 57 edp_panel: edp-panel { 58 compatible = "lg,lp079qx1-sp0v"; 60 enable-gpios = <&gpio1 RK_PB5 GPIO_ACTIVE_HIGH>; [all …]
|
| D | rk3588-nanopc-t6.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/pinctrl/rockchip.h> 12 #include <dt-bindings/usb/pd.h> 16 model = "FriendlyElec NanoPC-T6"; 17 compatible = "friendlyarm,nanopc-t6", "rockchip,rk3588"; 26 stdout-path = "serial2:1500000n8"; 30 compatible = "gpio-leds"; 32 sys_led: led-0 { [all …]
|
| 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" 16 compatible = "gpio-leds"; 17 pinctrl-names = "default"; 18 pinctrl-0 = <&module_led_pin>; 20 module_led: led-0 { 23 linux,default-trigger = "heartbeat"; 24 panic-indicator; 28 extcon_usb3: extcon-usb3 { [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/rockchip/ |
| D | rk3368-evb-act8846.dts | 1 // 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 …]
|
| D | rk3399-evb.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 7 #include <dt-bindings/pwm/pwm.h> 12 compatible = "rockchip,rk3399-evb", "rockchip,rk3399"; 15 compatible = "pwm-backlight"; 16 brightness-levels = < 49 default-brightness-level = <200>; 53 edp_panel: edp-panel { 54 compatible ="lg,lp079qx1-sp0v"; 56 enable-gpios = <&gpio1 RK_PB5 GPIO_ACTIVE_HIGH>; [all …]
|
| 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-5.10/arch/arm/boot/dts/ |
| D | rk3288-evb-act8846.dts | 1 // 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 …]
|
| D | rk3288-rock2-som.dtsi | 1 // 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 …]
|
| D | rk3288-firefly-reload-core.dtsi | 1 // 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 …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/rockchip/ |
| D | rk3288-evb-act8846.dts | 1 // 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 …]
|
| D | rk3288-rock2-som.dtsi | 1 // 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 …]
|
| D | rk3288-firefly-reload-core.dtsi | 1 // 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 …]
|
| /kernel/linux/linux-6.6/drivers/regulator/ |
| D | core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 // core.c -- Voltage/Current Regulator framework. 18 #include <linux/suspend.h> 103 if (rdev->constraints && rdev->constraints->name) in rdev_get_name() 104 return rdev->constraints->name; in rdev_get_name() 105 else if (rdev->desc->name) in rdev_get_name() 106 return rdev->desc->name; in rdev_get_name() 119 if (!rdev->constraints) { in regulator_ops_is_valid() 124 if (rdev->constraints->valid_ops_mask & ops) in regulator_ops_is_valid() 131 * regulator_lock_nested - lock a single regulator [all …]
|
| D | da9055-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0+ 85 struct da9055_regulator_info *info = regulator->info; in da9055_buck_get_mode() 88 ret = da9055_reg_read(regulator->da9055, info->mode.reg); in da9055_buck_get_mode() 92 switch ((ret & info->mode.mask) >> info->mode.shift) { in da9055_buck_get_mode() 111 struct da9055_regulator_info *info = regulator->info; in da9055_buck_set_mode() 116 val = DA9055_BUCK_MODE_SYNC << info->mode.shift; in da9055_buck_set_mode() 119 val = DA9055_BUCK_MODE_AUTO << info->mode.shift; in da9055_buck_set_mode() 122 val = DA9055_BUCK_MODE_SLEEP << info->mode.shift; in da9055_buck_set_mode() 126 return da9055_reg_update(regulator->da9055, info->mode.reg, in da9055_buck_set_mode() 127 info->mode.mask, val); in da9055_buck_set_mode() [all …]
|
| /kernel/linux/linux-5.10/drivers/regulator/ |
| D | core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 // core.c -- Voltage/Current Regulator framework. 18 #include <linux/suspend.h> 113 if (rdev->constraints && rdev->constraints->name) in rdev_get_name() 114 return rdev->constraints->name; in rdev_get_name() 115 else if (rdev->desc->name) in rdev_get_name() 116 return rdev->desc->name; in rdev_get_name() 128 if (!rdev->constraints) { in regulator_ops_is_valid() 133 if (rdev->constraints->valid_ops_mask & ops) in regulator_ops_is_valid() 140 * regulator_lock_nested - lock a single regulator [all …]
|
| D | da9055-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0+ 85 struct da9055_regulator_info *info = regulator->info; in da9055_buck_get_mode() 88 ret = da9055_reg_read(regulator->da9055, info->mode.reg); in da9055_buck_get_mode() 92 switch ((ret & info->mode.mask) >> info->mode.shift) { in da9055_buck_get_mode() 111 struct da9055_regulator_info *info = regulator->info; in da9055_buck_set_mode() 116 val = DA9055_BUCK_MODE_SYNC << info->mode.shift; in da9055_buck_set_mode() 119 val = DA9055_BUCK_MODE_AUTO << info->mode.shift; in da9055_buck_set_mode() 122 val = DA9055_BUCK_MODE_SLEEP << info->mode.shift; in da9055_buck_set_mode() 126 return da9055_reg_update(regulator->da9055, info->mode.reg, in da9055_buck_set_mode() 127 info->mode.mask, val); in da9055_buck_set_mode() [all …]
|