/linux/Documentation/devicetree/bindings/regulator/ |
H A D | nxp,pca9450-regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/regulator/nxp,pca9450-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Robin Gong <yibin.gong@nxp.com> 18 https://www.nxp.com/docs/en/data-sheet/PCA9450DS.pdf 21 https://www.nxp.com/docs/en/data-sheet/PF9453_SDS.pdf 31 - nxp,pca9450a 32 - nxp,pca9450b 33 - nxp,pca9450c [all …]
|
H A D | microchip,mcp16502.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: MCP16502 - High-Performance PMIC 10 - Andrei Simion <andrei.simion@microchip.com> 15 requiring Dynamic Voltage Scaling (DVS) with the use 16 of High-Performance mode (HPM). 22 lpm-gpios: 26 suspend-to-ram, keeping the PMIC into HIBERNATE mode. 31 lvin-supply: [all …]
|
/linux/arch/arm64/boot/dts/freescale/ |
H A D | imx8mm-kontron-sl.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 10 compatible = "kontron,imx8mm-sl", "fsl,imx8mm"; 23 stdout-path = &uart3; 28 cpu-supply = <®_vdd_arm>; 32 cpu-supply = <®_vdd_arm>; 36 cpu-supply = <®_vdd_arm>; 40 cpu-supply = <®_vdd_arm>; 44 operating-points-v2 = <&ddrc_opp_table>; 46 ddrc_opp_table: opp-table { 47 compatible = "operating-points-v2"; [all …]
|
H A D | imx8mp-icore-mx8mp.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 9 compatible = "engicam,icore-mx8mp", "fsl,imx8mp"; 13 cpu-supply = <&buck2>; 17 cpu-supply = <&buck2>; 21 cpu-supply = <&buck2>; 25 cpu-supply = <&buck2>; 29 clock-frequency = <100000>; 30 pinctrl-names = "default"; 31 pinctrl-0 = <&pinctrl_i2c1>; 36 interrupt-parent = <&gpio3>; [all …]
|
H A D | imx8mp-debix-som-a.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 9 #include <dt-bindings/leds/common.h> 13 compatible = "polyhex,imx8mp-debix-som-a", "fsl,imx8mp"; 15 reg_usdhc2_vmmc: regulator-usdhc2 { 16 compatible = "regulator-fixed"; 17 pinctrl-names = "default"; 18 pinctrl-0 = <&pinctrl_reg_usdhc2_vmmc>; 19 regulator-name = "VSD_3V3"; 20 regulator-min-microvolt = <3300000>; 21 regulator-max-microvolt = <3300000>; [all …]
|
H A D | imx8mp-phycore-som.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 7 #include <dt-bindings/net/ti-dp83867.h> 11 model = "PHYTEC phyCORE-i.MX8MP"; 12 compatible = "phytec,imx8mp-phycore-som", "fsl,imx8mp"; 24 reg_vdd_io: regulator-vdd-io { 25 compatible = "regulator-fixed"; 26 regulator-always-on; 27 regulator-boot-on; 28 regulator-max-microvolt = <3300000>; 29 regulator-min-microvolt = <3300000>; [all …]
|
H A D | imx8mp-tqma8mpql.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 3 * Copyright 2021-2025 TQ-Systems GmbH <linux@ew.tq-group.com>, 4 * D-82229 Seefeld, Germany. 11 model = "TQ-Systems i.MX8MPlus TQMa8MPxL"; 12 compatible = "tq,imx8mp-tqma8mpql", "fsl,imx8mp"; 19 reg_usdhc2_vqmmc: regulator-usdhc2-vqmmc { 20 compatible = "regulator-gpio"; 21 pinctrl-names = "default"; 22 pinctrl-0 = <&pinctrl_reg_usdhc2_vqmmc>; 23 regulator-name = "V_SD2"; [all …]
|
H A D | imx8mm-evkb.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Copyright 2019-2020 NXP 6 /dts-v1/; 8 #include "imx8mm-evk.dtsi" 12 compatible = "fsl,imx8mm-evkb", "fsl,imx8mm"; 16 /delete-node/ pmic@4b; 21 pinctrl-0 = <&pinctrl_pmic>; 22 pinctrl-names = "default"; 23 interrupt-parent = <&gpio1>; 29 regulator-name = "BUCK1"; [all …]
|
H A D | imx8mn-evk.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 9 #include "imx8mn-evk.dtsi" 10 #include <dt-bindings/interrupt-controller/irq.h> 14 compatible = "fsl,imx8mn-evk", "fsl,imx8mn"; 18 cpu-supply = <&buck2>; 22 cpu-supply = <&buck2>; 26 cpu-supply = <&buck2>; 30 cpu-supply = <&buck2>; 37 pinctrl-names = "default"; [all …]
|
H A D | imx8mp-tx8p-ml81.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 3 * Copyright (C) 2020 Lothar Waßmann <LW@KARO-electronics.de> 11 regulator-3v3-etn { 12 compatible = "regulator-fixed"; 14 enable-active-high; 15 pinctrl-0 = <&pinctrl_reg_3v3_etn>; 16 pinctrl-names = "default"; 17 regulator-always-on; 18 regulator-boot-on; 19 regulator-max-microvolt = <3300000>; [all …]
|
H A D | imx8mn-tqma8mqnl.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) 3 * Copyright 2020-2021 TQ-Systems GmbH 9 model = "TQ-Systems i.MX8MN TQMa8MxNL"; 10 compatible = "tq,imx8mn-tqma8mqnl", "fsl,imx8mn"; 18 /* e-MMC IO, needed for HS modes */ 19 reg_vcc1v8: regulator-vcc1v8 { 20 compatible = "regulator-fixed"; 21 regulator-name = "TQMA8MXNL_VCC1V8"; 22 regulator-min-microvolt = <1800000>; 23 regulator-max-microvolt = <1800000>; [all …]
|
H A D | imx8mm-tqma8mqml.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) 3 * Copyright 2020-2021 TQ-Systems GmbH 6 #include <dt-bindings/phy/phy-imx8-pcie.h> 10 model = "TQ-Systems GmbH i.MX8MM TQMa8MxML"; 11 compatible = "tq,imx8mm-tqma8mqml", "fsl,imx8mm"; 19 /* e-MMC IO, needed for HS modes */ 20 reg_vcc1v8: regulator-vcc1v8 { 21 compatible = "regulator-fixed"; 22 regulator-name = "TQMA8MXML_VCC1V8"; 23 regulator-min-microvolt = <1800000>; [all …]
|
H A D | imx8mp-beacon-som.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 18 reg_wl_bt: regulator-wifi-bt { 19 compatible = "regulator-fixed"; 20 pinctrl-names = "default"; 21 pinctrl-0 = <&pinctrl_reg_wl_bt>; 22 regulator-name = "wl-bt-pow-dwn"; 23 regulator-min-microvolt = <3300000>; 24 regulator-max-microvolt = <3300000>; 26 startup-delay-us = <70000>; 27 regulator-always-on; [all …]
|
H A D | imx8mp-var-som.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 10 #include <dt-bindings/phy/phy-imx8-pcie.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/usb/pd.h> 16 model = "Variscite VAR-SOM-MX8M Plus module"; 19 stdout-path = &uart2; 22 gpio-leds { 23 compatible = "gpio-leds"; 25 led-0 { [all …]
|
H A D | imx8mp-debix-model-a.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/leds/common.h> 11 #include <dt-bindings/usb/pd.h> 17 compatible = "polyhex,imx8mp-debix-model-a", "polyhex,imx8mp-debix", "fsl,imx8mp"; 20 stdout-path = &uart2; 23 hdmi-connector { 24 compatible = "hdmi-connector"; 30 remote-endpoint = <&hdmi_tx_out>; [all …]
|
H A D | imx8mm-verdin.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 6 #include <dt-bindings/phy/phy-imx8-pcie.h> 7 #include <dt-bindings/pwm/pwm.h> 9 #include "imx8mm-overdrive.dtsi" 13 stdout-path = &uart1; 23 compatible = "fixed-clock"; 24 #clock-cells = <0>; 25 clock-frequency = <40000000>; 28 gpio-keys { 29 compatible = "gpio-keys"; [all …]
|
H A D | imx8mp-skov-reva.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 4 #include "imx8mp-nominal.dtsi" 6 #include <dt-bindings/leds/common.h> 27 compatible = "pwm-backlight"; 28 pinctrl-0 = <&pinctrl_backlight>; 30 power-supply = <®_24v>; 31 enable-gpios = <&gpio4 24 GPIO_ACTIVE_HIGH>; 32 brightness-levels = <0 255>; 33 num-interpolated-steps = <17>; 34 default-brightness-level = <8>; [all …]
|
H A D | imx8mp-venice-gw74xx.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/linux-event-codes.h> 10 #include <dt-bindings/leds/common.h> 11 #include <dt-bindings/phy/phy-imx8-pcie.h> 12 #include <dt-bindings/net/ti-dp83867.h> 18 compatible = "gateworks,imx8mp-gw74xx", "fsl,imx8mp"; 33 stdout-path = &uart2; 42 pinctrl-names = "default"; [all …]
|
H A D | imx8mp-dhcom-som.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2021-2022 Marek Vasut <marex@denx.de> 10 compatible = "dh,imx8mp-dhcom-som", "fsl,imx8mp"; 22 /* Memory size 512 MiB..8 GiB will be filled by U-Boot */ 26 reg_eth_vio: regulator-eth-vio { 27 compatible = "regulator-fixed"; 29 regulator-always-on; 30 regulator-boot-on; 31 regulator-min-microvolt = <3300000>; 32 regulator-max-microvolt = <3300000>; [all …]
|
H A D | imx8mp-kontron-osm-s.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 6 #include <dt-bindings/interrupt-controller/irq.h> 10 model = "Kontron OSM-S i.MX8MP"; 11 compatible = "kontron,imx8mp-osm-s", "fsl,imx8mp"; 29 stdout-path = &uart3; 32 reg_usb1_vbus: regulator-usb1-vbus { 33 compatible = "regulator-fixed"; 34 pinctrl-names = "default"; 35 pinctrl-0 = <&pinctrl_reg_usb1_vbus>; 37 enable-active-high; [all …]
|
H A D | imx8mp-phycore-fpsc.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) 6 #include <dt-bindings/net/ti-dp83867.h> 10 compatible = "phytec,imx8mp-phycore-fpsc", "fsl,imx8mp"; 11 model = "PHYTEC phyCORE-i.MX8MP FPSC"; 23 reg_usdhc2_vmmc: regulator-usdhc2 { 24 compatible = "regulator-fixed"; 25 off-on-delay-us = <12000>; 26 pinctrl-0 = <&pinctrl_reg_usdhc2_vmmc>; 27 pinctrl-names = "default"; 28 regulator-max-microvolt = <3300000>; [all …]
|
H A D | imx8mp-data-modul-edm-sbc.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include <dt-bindings/net/qca-ar803x.h> 9 #include <dt-bindings/phy/phy-imx8-pcie.h> 14 compatible = "dmo,imx8mp-data-modul-edm-sbc", "fsl,imx8mp"; 22 stdout-path = &uart3; 32 compatible = "pwm-backlight"; 33 pinctrl-names = "default"; 34 pinctrl-0 = <&pinctrl_panel_backlight>; 35 brightness-levels = <0 1 10 20 30 40 50 60 70 75 80 90 100>; [all …]
|
H A D | imx8mp-toradex-smarc.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 4 #include <dt-bindings/phy/phy-imx8-pcie.h> 5 #include <dt-bindings/net/ti-dp83867.h> 26 stdout-path = &uart4; 30 compatible = "gpio-usb-b-connector", "usb-b-connector"; 31 pinctrl-names = "default"; 32 pinctrl-0 = <&pinctrl_usb0_id>; 33 id-gpios = <&gpio5 2 GPIO_ACTIVE_HIGH>; 35 self-powered; 37 vbus-supply = <®_usb0_vbus>; [all …]
|
/linux/drivers/regulator/ |
H A D | pf9453-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0 30 const struct pf9453_dvs_config dvs; member 216 .max_register = PF9453_MAX_REG - 1, 222 * BUCK2RAM[1:0] BUCK2 DVS ramp rate setting 253 int ret = -EINVAL; in pf9453_pmic_write() 257 /* If not updating entire register, perform a read-mod-write */ in pf9453_pmic_write() 263 ret = regmap_read(pf9453->regmap, reg, &rxBuf); in pf9453_pmic_write() 265 dev_err(pf9453->dev, "Read reg=%0x error!\n", reg); in pf9453_pmic_write() 273 ret = regmap_raw_write(pf9453->regmap, PF9453_REG_LOCK, &key, 1U); in pf9453_pmic_write() 275 dev_err(pf9453->dev, "Write reg=%0x error!\n", reg); in pf9453_pmic_write() [all …]
|
H A D | pca9450-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0 20 #include <dt-bindings/regulator/nxp,pca9450-regulator.h> 36 const struct pc9450_dvs_config dvs; member 63 .max_register = PCA9450_MAX_REGISTER - 1, 69 * BUCK1RAM[1:0] BUCK1 DVS ramp rate setting 117 if (pca9450->sd_vsel_fixed_low) in pca9450_ldo5_get_reg_voltage_sel() 120 if (pca9450->sd_vsel_gpio && !gpiod_get_value(pca9450->sd_vsel_gpio)) in pca9450_ldo5_get_reg_voltage_sel() 123 return rdev->desc->vsel_reg; in pca9450_ldo5_get_reg_voltage_sel() 131 ret = regmap_read(rdev->regmap, pca9450_ldo5_get_reg_voltage_sel(rdev), &val); in pca9450_ldo5_get_voltage_sel_regmap() 135 val &= rdev->desc->vsel_mask; in pca9450_ldo5_get_voltage_sel_regmap() [all …]
|