/linux/Documentation/devicetree/bindings/regulator/ |
H A 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 …]
|
/linux/arch/arm64/boot/dts/rockchip/ |
H A 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 …]
|
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 | rk3399-evb.dts | 1 // 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 …]
|
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 | rk3566-powkiddy-rgb30.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/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 …]
|
H A D | rk3566-powkiddy-rk2023.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/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 …]
|
H A D | rk3566-powkiddy-rgb10max3.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/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 …]
|
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 | rk3399-sapphire.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include "dt-bindings/pwm/pwm.h" 7 #include "dt-bindings/input/input.h" 11 compatible = "rockchip,rk3399-sapphire", "rockchip,rk3399"; 20 stdout-path = "serial2:1500000n8"; 23 clkin_gmac: external-gmac-clock { 24 compatible = "fixed-clock"; 25 clock-frequency = <125000000>; 26 clock-output-names = "clkin_gmac"; 27 #clock-cells = <0>; [all …]
|
H A D | rk3399-puma.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/pwm/pwm.h> 17 compatible = "gpio-leds"; 18 pinctrl-names = "default"; 19 pinctrl-0 = <&module_led_pin>; 21 module_led: led-0 { 24 linux,default-trigger = "heartbeat"; 25 panic-indicator; 29 extcon_usb3: extcon-usb3 { 30 compatible = "linux,extcon-usb-gpio"; [all …]
|
H A D | rk3588s-gameforce-ace.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/linux-event-codes.h> 7 #include <dt-bindings/leds/common.h> 8 #include <dt-bindings/pinctrl/rockchip.h> 9 #include <dt-bindings/pwm/pwm.h> 10 #include <dt-bindings/thermal/thermal.h> 11 #include <dt-bindings/usb/pd.h> 16 chassis-type = "handset"; [all …]
|
H A D | rk3399-rock960.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include <dt-bindings/interrupt-controller/irq.h> 18 sdio_pwrseq: sdio-pwrseq { 19 compatible = "mmc-pwrseq-simple"; 21 clock-names = "ext_clock"; 22 pinctrl-names = "default"; 23 pinctrl-0 = <&wifi_enable_h>; 24 reset-gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>; 27 vcc12v_dcin: regulator-vcc12v-dcin { 28 compatible = "regulator-fixed"; [all …]
|
H A D | rk3399-leez-p710.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 7 #include <dt-bindings/input/linux-event-codes.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/pwm/pwm.h> 24 stdout-path = "serial2:1500000n8"; 27 clkin_gmac: external-gmac-clock { 28 compatible = "fixed-clock"; 29 clock-frequency = <125000000>; 30 clock-output-names = "clkin_gmac"; [all …]
|
H A D | rk3588-nanopc-t6.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/pinctrl/rockchip.h> 13 #include <dt-bindings/soc/rockchip,vop2.h> 14 #include <dt-bindings/usb/pd.h> 18 model = "FriendlyElec NanoPC-T6"; 19 compatible = "friendlyarm,nanopc-t6", "rockchip,rk3588"; 26 adc-keys-0 { [all …]
|
H A D | rk3399-nanopi4.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * RK3399-based FriendlyElec boards device tree source 14 /dts-v1/; 15 #include <dt-bindings/input/linux-event-codes.h> 27 stdout-path = "serial2:1500000n8"; 30 clkin_gmac: external-gmac-clock { 31 compatible = "fixed-clock"; 32 clock-frequency = <125000000>; 33 clock-output-names = "clkin_gmac"; 34 #clock-cells = <0>; [all …]
|
H A D | rk3399-hugsun-x99.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 /dts-v1/; 3 #include <dt-bindings/pwm/pwm.h> 4 #include <dt-bindings/input/input.h> 5 #include <dt-bindings/interrupt-controller/irq.h> 20 stdout-path = "serial2:1500000n8"; 23 clkin_gmac: external-gmac-clock { 24 compatible = "fixed-clock"; 25 clock-frequency = <125000000>; 26 clock-output-names = "clkin_gmac"; [all …]
|
H A D | rk3399-rock-4c-plus.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 9 #include <dt-bindings/leds/common.h> 10 #include "rk3399-t.dtsi" 14 compatible = "radxa,rock-4c-plus", "rockchip,rk3399"; 23 stdout-path = "serial2:1500000n8"; 26 clkin_gmac: external-gmac-clock { 27 compatible = "fixed-clock"; 28 clock-frequency = <125000000>; 29 clock-output-names = "clkin_gmac"; [all …]
|
H A D | rk3399-pinephone-pro.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 9 * https://files.pine64.org/doc/PinePhonePro/PinephonePro-Schematic-V1.0-20211127.pdf 12 /dts-v1/; 13 #include <dt-bindings/input/gpio-keys.h> 14 #include <dt-bindings/input/linux-event-codes.h> 15 #include <dt-bindings/leds/common.h> 16 #include "rk3399-s.dtsi" 20 compatible = "pine64,pinephone-pro", "rockchip,rk3399"; 21 chassis-type = "handset"; 30 stdout-path = "serial2:115200n8"; [all …]
|
H A D | rk3399-rock-pi-4.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include <dt-bindings/input/linux-event-codes.h> 8 #include <dt-bindings/leds/common.h> 9 #include <dt-bindings/pwm/pwm.h> 19 stdout-path = "serial2:1500000n8"; 22 clkin_gmac: external-gmac-clock { 23 compatible = "fixed-clock"; 24 clock-frequency = <125000000>; 25 clock-output-names = "clkin_gmac"; 26 #clock-cells = <0>; [all …]
|
H A D | rk3399-pinebook-pro.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 9 #include <dt-bindings/input/gpio-keys.h> 10 #include <dt-bindings/input/linux-event-codes.h> 11 #include <dt-bindings/pwm/pwm.h> 12 #include <dt-bindings/usb/pd.h> 13 #include <dt-bindings/leds/common.h> 18 compatible = "pine64,pinebook-pro", "rockchip,rk3399"; 19 chassis-type = "laptop"; 28 stdout-path = "serial2:1500000n8"; [all …]
|
/linux/drivers/regulator/ |
H A D | core.c | 1 // 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 …]
|
H A D | da9055-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0+ 84 const struct da9055_regulator_info *info = regulator->info; in da9055_buck_get_mode() 87 ret = da9055_reg_read(regulator->da9055, info->mode.reg); in da9055_buck_get_mode() 91 switch ((ret & info->mode.mask) >> info->mode.shift) { in da9055_buck_get_mode() 110 const struct da9055_regulator_info *info = regulator->info; in da9055_buck_set_mode() 115 val = DA9055_BUCK_MODE_SYNC << info->mode.shift; in da9055_buck_set_mode() 118 val = DA9055_BUCK_MODE_AUTO << info->mode.shift; in da9055_buck_set_mode() 121 val = DA9055_BUCK_MODE_SLEEP << info->mode.shift; in da9055_buck_set_mode() 125 return da9055_reg_update(regulator->da9055, info->mode.reg, in da9055_buck_set_mode() 126 info->mode.mask, val); in da9055_buck_set_mode() [all …]
|
/linux/include/linux/regulator/ |
H A 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> 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/drivers/clk/tegra/ |
H A D | clk-dfll.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * clk-dfll.c - Tegra DFLL clock source common code 5 * Copyright (C) 2012-2019 NVIDIA Corporation. All rights reserved. 12 * "CL-DVFS". To try to avoid confusion, this code refers to them 16 * supply voltage noise. Tegra124 uses it to clock the fast CPU 18 * DFLL can be operated in either open-loop mode or closed-loop mode. 19 * In open-loop mode, the DFLL generates an output clock appropriate 20 * to the supply voltage. In closed-loop mode, when configured with a 21 * target frequency, the DFLL minimizes supply voltage while 27 * performance-measurement code and any code that relies on the CPU [all …]
|