/linux/Documentation/devicetree/bindings/regulator/ |
H A D | fixed-regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/regulator/fixed-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Fixed Voltage regulators 10 - Liam Girdwood <lgirdwood@gmail.com> 11 - Mark Brown <broonie@kernel.org> 14 Any property defined as part of the core regulator binding, defined in 15 regulator.yaml, can also be used. However a fixed voltage regulator is 16 expected to have the regulator-min-microvolt and regulator-max-microvolt [all …]
|
/linux/arch/arm64/boot/dts/rockchip/ |
H A D | rk3588-turing-rk1.dtsi | 1 // 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 …]
|
H A D | rk3588-ok3588-c.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 4 #include "rk3588-fet3588-c.dtsi" 7 model = "Forlinx OK3588-C Board"; 8 compatible = "forlinx,ok3588-c", "forlinx,fet3588-c", "rockchip,rk3588"; 16 adc-keys-0 { 17 compatible = "adc-keys"; 18 io-channels = <&saradc 0>; 19 io-channel-names = "buttons"; 20 keyup-threshold-microvolt = <1800000>; [all …]
|
H A D | rk3588-fet3588-c.dtsi | 1 // 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 …]
|
H A D | rk3588-toybrick-x0.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/pinctrl/rockchip.h> 15 model = "Rockchip Toybrick TB-RK3588X Board"; 16 compatible = "rockchip,rk3588-toybrick-x0", "rockchip,rk3588"; 23 stdout-path = "serial2:1500000n8"; 26 adc-keys { 27 compatible = "adc-keys"; [all …]
|
H A D | rk3588-edgeble-neu6a-common.dtsi | 1 // 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: regulator-vcc12v-dcin { [all …]
|
H A D | rk3588s-coolpi-4b.dts | 1 // 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> 14 #include <dt-bindings/soc/rockchip,vop2.h> 19 compatible = "coolpi,pi-4b", "rockchip,rk3588s"; 27 analog-sound { 28 compatible = "audio-graph-card"; [all …]
|
H A D | rk3588s-rock-5c.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/leds/common.h> 10 #include <dt-bindings/pinctrl/rockchip.h> 11 #include <dt-bindings/soc/rockchip,vop2.h> 16 compatible = "radxa,rock-5c", "rockchip,rk3588s"; 25 stdout-path = "serial2:1500000n8"; 28 analog-sound { 29 compatible = "audio-graph-card"; [all …]
|
H A D | rk3588s-odroid-m2.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> 8 #include <dt-bindings/soc/rockchip,vop2.h> 9 #include <dt-bindings/usb/pd.h> 13 model = "Hardkernel ODROID-M2"; 14 compatible = "hardkernel,odroid-m2", "rockchip,rk3588s"; 23 stdout-path = "serial2:1500000n8"; [all …]
|
H A D | rk3588s-nanopi-r6.dtsi | 1 // 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> 8 #include <dt-bindings/soc/rockchip,vop2.h> 19 stdout-path = "serial2:1500000n8"; 22 adc-keys { 23 compatible = "adc-keys"; 24 io-channels = <&saradc 0>; [all …]
|
H A D | rk3588s-khadas-edge2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/input/input.h> 7 #include <dt-bindings/pinctrl/rockchip.h> 8 #include <dt-bindings/leds/common.h> 21 stdout-path = "serial2:1500000n8"; 24 adc-keys { 25 compatible = "adc-keys"; 26 io-channels = <&saradc 1>; [all …]
|
H A D | rk3588-coolpi-cm5.dtsi | 1 // 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 …]
|
H A D | rk3588-friendlyelec-cm3588.dtsi | 1 // 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 …]
|
H A D | rk3588-armsom-lm7.dtsi | 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> 17 stdout-path = "serial2:1500000n8"; 20 vcc5v0_sys: regulator-vcc5v0-sys { 21 compatible = "regulator-fixed"; 22 regulator-name = "vcc5v0_sys"; 23 regulator-always-on; 24 regulator-boot-on; [all …]
|
H A 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> 8 #include <dt-bindings/soc/rockchip,vop2.h> 13 compatible = "radxa,rock-5a", "rockchip,rk3588s"; 21 analog-sound { 22 compatible = "audio-graph-card"; 23 label = "rk3588-es8316"; [all …]
|
H A D | rk3588-h96-max-v58.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/input/input.h> 7 #include <dt-bindings/leds/common.h> 8 #include <dt-bindings/soc/rockchip,vop2.h> 13 compatible = "haochuangyi,h96-max-v58", "rockchip,rk3588"; 20 adc-keys { 21 compatible = "adc-keys"; 22 io-channels = <&saradc 1>; [all …]
|
/linux/drivers/regulator/ |
H A D | scmi-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // System Control and Management Interface (SCMI) based regulator driver 5 // Copyright (C) 2020-2021 ARM Ltd. 7 // Implements a regulator driver on top of the SCMI Voltage Protocol. 12 // capabilities and configurability of this regulator device are much more 13 // limited than the ones usually available on a standard physical regulator. 15 // The supported SCMI regulator ops are restricted to the bare minimum: 17 // - 'status_ops': enable/disable/is_enabled 18 // - 'voltage_ops': get_voltage_sel/set_voltage_sel 21 // Each SCMI regulator instance is associated, through the means of a proper DT [all …]
|
H A D | fixed.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * fixed.c 10 * Roger Quadros <ext-roger.quadros@nokia.com> 13 * non-controllable regulators, as well as for allowing testing on 24 #include <linux/regulator/driver.h> 25 #include <linux/regulator/fixed.h> 29 #include <linux/regulator/of_regulator.h> 30 #include <linux/regulator/machine.h> 55 ret = clk_prepare_enable(priv->enable_clock); in reg_clock_enable() 59 priv->enable_counter++; in reg_clock_enable() [all …]
|
/linux/arch/arm64/boot/dts/mediatek/ |
H A D | mt8188-geralt.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 5 /dts-v1/; 6 #include <dt-bindings/gpio/gpio.h> 24 backlight_lcd0: backlight-lcd0 { 25 compatible = "pwm-backlight"; 26 brightness-levels = <0 1023>; 27 default-brightness-level = <576>; 28 enable-gpios = <&pio 1 GPIO_ACTIVE_HIGH>; 29 num-interpolated-steps = <1023>; 30 power-supply = <&ppvar_sys>; [all …]
|
H A D | mt8390-genio-common.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 4 * Author: Chris Chen <chris-qj.chen@mediatek.com> 9 * Louis-Alexis Eyraud <louisalexis.eyraud@collabora.com> 14 #include <dt-bindings/gpio/gpio.h> 15 #include <dt-bindings/input/input.h> 16 #include <dt-bindings/interrupt-controller/irq.h> 17 #include <dt-bindings/pinctrl/mediatek,mt8188-pinfunc.h> 18 #include <dt-bindings/regulator/mediatek,mt6360-regulator.h> 19 #include <dt-bindings/spmi/spmi.h> 20 #include <dt-bindings/usb/pd.h> [all …]
|
H A D | mt8395-radxa-nio-12l.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/pinctrl/mt8195-pinfunc.h> 13 #include <dt-bindings/regulator/mediatek,mt6360-regulator.h> 14 #include <dt-bindings/spmi/spmi.h> 15 #include <dt-bindings/usb/pd.h> 19 chassis-type = "embedded"; 20 compatible = "radxa,nio-12l", "mediatek,mt8395", "mediatek,mt8195"; 36 stdout-path = "serial0:921600n8"; [all …]
|
H A D | mt8395-genio-1200-evk.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 7 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/interrupt-controller/irq.h> 14 #include <dt-bindings/pinctrl/mt8195-pinfunc.h> 15 #include <dt-bindings/regulator/mediatek,mt6360-regulator.h> 16 #include <dt-bindings/spmi/spmi.h> 17 #include <dt-bindings/usb/pd.h> 20 model = "MediaTek Genio 1200 EVK-P1V2-EMMC"; [all …]
|
H A D | mt8195-cherry.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/spmi/spmi.h> 25 backlight_lcd0: backlight-lcd0 { 26 compatible = "pwm-backlight"; 27 brightness-levels = <0 1023>; 28 default-brightness-level = <576>; 29 enable-gpios = <&pio 82 GPIO_ACTIVE_HIGH>; 30 num-interpolated-steps = <1023>; 32 power-supply = <&ppvar_sys>; [all …]
|
/linux/Documentation/driver-api/ |
H A D | regulator.rst | 1 .. Copyright 2007-2008 Wolfson Microelectronics 8 Voltage and current regulator API 20 The intention is to allow systems to dynamically control regulator power 27 ``Documentation/power/regulator``. 30 -------- 32 The regulator API uses a number of terms which may not be familiar: 34 Regulator 42 Electronic device which consumes power provided by a regulator. These 43 may either be static, requiring only a fixed supply, or dynamic, 44 requiring active management of the regulator at runtime. [all …]
|
/linux/arch/arm64/boot/dts/allwinner/ |
H A D | sun50i-a64-orangepi-win.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 // Copyright (C) 2017-2018 Samuel Holland <samuel@sholland.org> 5 /dts-v1/; 7 #include "sun50i-a64.dtsi" 8 #include "sun50i-a64-cpu-opp.dtsi" 10 #include <dt-bindings/gpio/gpio.h> 14 compatible = "xunlong,orangepi-win", "allwinner,sun50i-a64"; 26 stdout-path = "serial0:115200n8"; 29 hdmi-connector { 30 compatible = "hdmi-connector"; [all …]
|