| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/regulator/ |
| H A D | max1586-regulator.txt | 1 Maxim MAX1586 voltage regulator 4 - compatible: must be "maxim,max1586" 5 - reg: I2C slave address, usually 0x14 6 - v3-gain: integer specifying the V3 gain as per datasheet 8 - any required generic properties defined in regulator.txt 16 v3-gain = <1000000>; 19 vcc_core: v3 { 20 regulator-name = "vcc_core"; 21 regulator-compatible = "Output_V3"; 22 regulator-min-microvolt = <1000000>; [all …]
|
| H A D | max8660.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/regulator/max8660.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Maxim MAX8660 voltage regulator 10 - Daniel Mack <zonque@gmail.com> 14 pattern: "pmic@[0-9a-f]{1,2}" 17 - maxim,max8660 18 - maxim,max8661 27 "regulator-.+": [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/boot/dts/ |
| H A D | imx28-evk.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 5 /dts-v1/; 10 compatible = "fsl,imx28-evk", "fsl,imx28"; 18 reg_3p3v: regulator-3p3v { 19 compatible = "regulator-fixed"; 20 regulator-name = "3P3V"; 21 regulator-min-microvolt = <3300000>; 22 regulator-max-microvolt = <3300000>; 23 regulator-always-on; 26 reg_vddio_sd0: regulator-vddio-sd0 { [all …]
|
| H A D | tegra30-colibri.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 15 nvidia,ddc-i2c-bus = <&hdmi_ddc>; 16 nvidia,hpd-gpio = 18 pll-supply = <®_1v8_avdd_hdmi_pll>; 19 vdd-supply = <®_3v3_avdd_hdmi>; 24 pinctrl-names = "default"; 25 pinctrl-0 = <&state_default>; 28 /* Analogue Audio (On-module) */ 29 clk1-out-pw4 { 34 nvidia,enable-input = <TEGRA_PIN_DISABLE>; [all …]
|
| H A D | tegra30-apalis-v1.1.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 16 avdd-pexa-supply = <&vdd2_reg>; 17 avdd-pexb-supply = <&vdd2_reg>; 18 avdd-pex-pll-supply = <&vdd2_reg>; 19 avdd-plle-supply = <&ldo6_reg>; 20 hvdd-pex-supply = <®_module_3v3>; 21 vddio-pex-ctl-supply = <®_module_3v3>; 22 vdd-pexa-supply = <&vdd2_reg>; 23 vdd-pexb-supply = <&vdd2_reg>; 27 nvidia,num-lanes = <4>; [all …]
|
| H A D | tegra30-apalis.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 15 avdd-pexa-supply = <&vdd2_reg>; 16 avdd-pexb-supply = <&vdd2_reg>; 17 avdd-pex-pll-supply = <&vdd2_reg>; 18 avdd-plle-supply = <&ldo6_reg>; 19 hvdd-pex-supply = <®_module_3v3>; 20 vddio-pex-ctl-supply = <®_module_3v3>; 21 vdd-pexa-supply = <&vdd2_reg>; 22 vdd-pexb-supply = <&vdd2_reg>; 26 nvidia,num-lanes = <4>; [all …]
|
| H A D | imx7-colibri.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 3 * Copyright 2016-2020 Toradex 8 compatible = "pwm-backlight"; 9 pinctrl-names = "default"; 10 pinctrl-0 = <&pinctrl_gpio_bl_on>; 12 enable-gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>; 15 reg_module_3v3: regulator-module-3v3 { 16 compatible = "regulator-fixed"; 17 regulator-name = "+V3.3"; 18 regulator-min-microvolt = <3300000>; [all …]
|
| H A D | imx7d-sdb.dts | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 5 /dts-v1/; 11 compatible = "fsl,imx7d-sdb", "fsl,imx7d"; 14 stdout-path = &uart1; 22 gpio-keys { 23 compatible = "gpio-keys"; 24 pinctrl-names = "default"; 25 pinctrl-0 = <&pinctrl_gpio_keys>; 27 volume-up { 31 wakeup-source; [all …]
|
| H A D | imx6ul-phytec-segin.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 8 model = "PHYTEC phyBOARD-Segin i.MX6 UltraLite"; 9 compatible = "phytec,imx6ul-pbacd-10", "phytec,imx6ul-pcl063", "fsl,imx6ul"; 16 reg_sound_1v8: regulator-1v8 { 17 compatible = "regulator-fixed"; 18 regulator-name = "i2s-audio-1v8"; 19 regulator-min-microvolt = <1800000>; 20 regulator-max-microvolt = <1800000>; 24 reg_sound_3v3: regulator-3v3 { 25 compatible = "regulator-fixed"; [all …]
|
| H A D | sun8i-s3-pinecube.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR X11) 6 /dts-v1/; 7 #include "sun8i-v3.dtsi" 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 13 compatible = "pine64,pinecube", "sochip,s3", "allwinner,sun8i-v3"; 20 stdout-path = "serial0:115200n8"; 24 compatible = "gpio-leds"; 38 compatible = "regulator-fixed"; 39 regulator-name = "vcc5v0"; [all …]
|
| H A D | vf-colibri.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 3 * Copyright 2014-2020 Toradex 14 compatible = "pwm-backlight"; 15 pinctrl-names = "default"; 16 pinctrl-0 = <&pinctrl_gpio_bl_on>; 18 enable-gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>; 22 reg_module_3v3: regulator-module-3v3 { 23 compatible = "regulator-fixed"; 24 regulator-name = "+V3.3"; 25 regulator-min-microvolt = <3300000>; [all …]
|
| H A D | pxa300-raumfeld-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 #include <dt-bindings/gpio/gpio.h> 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/interrupt-controller/irq.h> 10 hw-revision = <0>; 14 stdout-path = &ffuart; 22 reg_3v3: regulator-3v3 { 23 compatible = "regulator-fixed"; 24 regulator-name = "3v3-fixed-supply"; 25 regulator-min-microvolt = <3300000>; [all …]
|
| H A D | imx6sx-nitrogen6sx.dts | 1 // SPDX-License-Identifier: GPL-2.0 OR X11 6 /dts-v1/; 12 compatible = "boundary,imx6sx-nitrogen6sx", "fsl,imx6sx"; 19 backlight-lvds { 20 compatible = "pwm-backlight"; 22 brightness-levels = <0 4 8 16 32 64 128 255>; 23 default-brightness-level = <6>; 24 power-supply = <®_3p3v>; 27 reg_1p8v: regulator-1p8v { 28 compatible = "regulator-fixed"; [all …]
|
| H A D | imx6qdl-colibri.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 3 * Copyright 2014-2022 Toradex 8 #include <dt-bindings/gpio/gpio.h> 15 compatible = "pwm-backlight"; 16 pinctrl-names = "default"; 17 pinctrl-0 = <&pinctrl_gpio_bl_on>; 19 enable-gpios = <&gpio3 26 GPIO_ACTIVE_HIGH>; /* Colibri BL_ON */ 23 reg_module_3v3: regulator-module-3v3 { 24 compatible = "regulator-fixed"; 25 regulator-name = "+V3.3"; [all …]
|
| H A D | imx7d-nitrogen7.dts | 1 // SPDX-License-Identifier: GPL-2.0 OR X11 6 /dts-v1/; 12 compatible = "boundary,imx7d-nitrogen7", "fsl,imx7d"; 19 backlight-j9 { 20 compatible = "gpio-backlight"; 21 pinctrl-names = "default"; 22 pinctrl-0 = <&pinctrl_backlight_j9>; 24 default-on; 27 backlight_lcd: backlight-j20 { 28 compatible = "pwm-backlight"; [all …]
|
| H A D | imx6qdl-prti6q.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/input.h> 11 stdout-path = &uart4; 14 reg_3v3: regulator-3v3 { 15 compatible = "regulator-fixed"; 16 regulator-name = "3v3"; 17 regulator-min-microvolt = <3300000>; 18 regulator-max-microvolt = <3300000>; 21 reg_usb_h1_vbus: regulator-h1-vbus { [all …]
|
| H A D | imx6sx-sdb.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 /dts-v1/; 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/input/input.h> 13 compatible = "fsl,imx6sx-sdb", "fsl,imx6sx"; 16 stdout-path = &uart1; 24 backlight_display: backlight-display { 25 compatible = "pwm-backlight"; 27 brightness-levels = <0 4 8 16 32 64 128 255>; 28 default-brightness-level = <6>; [all …]
|
| H A D | imx23-evk.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 5 /dts-v1/; 10 compatible = "fsl,imx23-evk", "fsl,imx23"; 17 reg_vddio_sd0: regulator-vddio-sd0 { 18 compatible = "regulator-fixed"; 19 regulator-name = "vddio-sd0"; 20 regulator-min-microvolt = <3300000>; 21 regulator-max-microvolt = <3300000>; 25 reg_lcd_3v3: regulator-lcd-3v3 { 26 compatible = "regulator-fixed"; [all …]
|
| H A D | imx6ull-colibri.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 15 compatible = "pwm-backlight"; 16 pinctrl-names = "default"; 17 pinctrl-0 = <&pinctrl_gpio_bl_on>; 18 enable-gpios = <&gpio1 11 GPIO_ACTIVE_HIGH>; 22 reg_module_3v3: regulator-module-3v3 { 23 compatible = "regulator-fixed"; 24 regulator-always-on; 25 regulator-name = "+V3.3"; 26 regulator-min-microvolt = <3300000>; [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm64/boot/dts/allwinner/ |
| H A D | sun50i-h6-pine-h64.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 /dts-v1/; 6 #include "sun50i-h6.dtsi" 7 #include "sun50i-h6-cpu-opp.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 13 compatible = "pine64,pine-h64", "allwinner,sun50i-h6"; 22 stdout-path = "serial0:115200n8"; 26 #clock-cells = <0>; 27 compatible = "fixed-clock"; 28 clock-frequency = <32768>; [all …]
|
| H A D | sun50i-h5-nanopi-neo2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 /dts-v1/; 5 #include "sun50i-h5.dtsi" 7 #include <dt-bindings/gpio/gpio.h> 11 compatible = "friendlyarm,nanopi-neo2", "allwinner,sun50i-h5"; 19 stdout-path = "serial0:115200n8"; 23 compatible = "gpio-leds"; 28 default-state = "on"; 37 reg_gmac_3v3: gmac-3v3 { 38 compatible = "regulator-fixed"; [all …]
|
| 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 …]
|
| /OK3568_Linux_fs/kernel/include/linux/regulator/ |
| H A D | max1586.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * max1586.h -- Voltage regulation for the Maxim 1586 11 #include <linux/regulator/machine.h> 23 * max1586_subdev_data - regulator data 24 * @id: regulator Id (either MAX1586_V3 or MAX1586_V6) 25 * @name: regulator cute name (example for V3: "vcc_core") 26 * @platform_data: regulator init data (constraints, supplies, ...) 35 * max1586_platform_data - platform data for max1586 37 * @subdevs: regulator used 38 * At most, there will be a regulator for V3 and one for V6 voltages. [all …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/dts/ |
| H A D | tegra30-apalis.dts | 1 /dts-v1/; 10 stdout-path = &uarta; 35 pcie-controller@00003000 { 37 avdd-pexa-supply = <&vdd2_reg>; 38 vdd-pexa-supply = <&vdd2_reg>; 39 avdd-pexb-supply = <&vdd2_reg>; 40 vdd-pexb-supply = <&vdd2_reg>; 41 avdd-pex-pll-supply = <&vdd2_reg>; 42 avdd-plle-supply = <&ldo6_reg>; 43 vddio-pex-ctl-supply = <&sys_3v3_reg>; [all …]
|
| /OK3568_Linux_fs/kernel/drivers/regulator/ |
| H A D | max1586.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * max1586.c -- Voltage and current regulation for the Maxim 1586 11 #include <linux/regulator/driver.h> 13 #include <linux/regulator/max1586.h> 15 #include <linux/regulator/of_regulator.h> 32 /* min/max V3 voltage */ 44 * As regulator framework doesn't accept voltages to be 0V, we use 1uV. 49 * V3 voltage 51 * set V3 to 0.700V + (x & 0x1f) * 0.025V 60 return max1586->v3_curr_sel; in max1586_v3_get_voltage_sel() [all …]
|