/Zephyr-latest/dts/bindings/regulator/ |
D | regulator-gpio.yaml | 2 # SPDX-License-Identifier: Apache-2.0 5 GPIO-controlled voltage of regulators 8 vccq_sd0: regulator-vccq-sd0 { 9 compatible = "regulator-gpio"; 11 regulator-name = "SD0 VccQ"; 12 regulator-min-microvolt = <1800000>; 13 regulator-max-microvolt = <3300000>; 15 enable-gpios = <&gpio5 3 GPIO_ACTIVE_HIGH>; 20 regulator-boot-on; 23 In the above example, three GPIO pins are used for controlling the regulator: [all …]
|
D | regulator-fixed.yaml | 1 # Copyright 2019-2020 Peter Bigot Consulting, LLC 3 # SPDX-License-Identifier: Apache-2.0 8 - name: base.yaml 9 - name: regulator.yaml 10 property-allowlist: 11 - regulator-name 12 - regulator-boot-on 13 - regulator-always-on 14 - regulator-min-microvolt 15 - regulator-max-microvolt [all …]
|
D | nordic,npm1300-regulator.yaml | 2 # SPDX-License-Identifier: Apache-2.0 16 compatible = "nordic,npm1300-regulator"; 33 compatible: "nordic,npm1300-regulator" 38 dvs-gpios: 39 type: phandle-array 47 The effect of the mode change is defined by the enable-gpios 48 and pwm_gpios fields for each of the regulator blocks. 50 child-binding: 52 - name: regulator.yaml 53 property-allowlist: [all …]
|
D | nordic,npm2100-regulator.yaml | 2 # SPDX-License-Identifier: Apache-2.0 16 compatible = "nordic,npm2100-regulator"; 27 compatible: "nordic,npm2100-regulator" 32 dvs-gpios: 33 type: phandle-array 39 The effect of the mode change is defined by the mode-gpios 40 fields for each of the regulator blocks. 42 child-binding: 44 - name: regulator.yaml 45 property-allowlist: [all …]
|
/Zephyr-latest/boards/shields/npm6001_ek/ |
D | npm6001_ek.overlay | 3 * SPDX-License-Identifier: Apache-2.0 11 npm6001_ek_gpio: gpio-controller { 12 compatible = "nordic,npm6001-gpio"; 13 gpio-controller; 14 #gpio-cells = <2>; 19 compatible = "nordic,npm6001-wdt"; 23 compatible = "nordic,npm6001-regulator"; 28 regulator-min-microvolt = <1800000>; 29 regulator-max-microvolt = <3300000>; 33 regulator-min-microvolt = <700000>; [all …]
|
/Zephyr-latest/samples/shields/npm6001_ek/doc/ |
D | index.rst | 1 .. zephyr:code-sample:: npm6001_ek 13 - Regulators (BUCK0/1/2/3 and LDO0/1) 14 - GPIO 15 - Watchdog 24 :alt: nRF52840DK + nPM6001-EK wiring example 27 nRF52840DK + nPM6001-EK wiring example 35 .. zephyr-app-commands:: 36 :zephyr-app: samples/shields/npm6001_ek 48 The ``npm6001`` shell interface provides the ``regulator`` subcommand to test 52 .. code-block:: bash [all …]
|
/Zephyr-latest/boards/shields/npm1300_ek/ |
D | npm1300_ek.overlay | 3 * SPDX-License-Identifier: Apache-2.0 6 #include <dt-bindings/regulator/npm1300.h> 7 #include <zephyr/dt-bindings/input/input-event-codes.h> 14 npm1300_ek_gpio: gpio-controller { 15 compatible = "nordic,npm1300-gpio"; 16 gpio-controller; 17 #gpio-cells = <2>; 22 compatible = "nordic,npm1300-regulator"; 26 regulator-min-microvolt = <1000000>; 27 regulator-max-microvolt = <3300000>; [all …]
|
/Zephyr-latest/boards/m5stack/m5stack_core2/ |
D | m5stack_core2_procpu.dts | 4 * SPDX-License-Identifier: Apache-2.0 6 /dts-v1/; 9 #include "m5stack_core2-pinctrl.dtsi" 12 #include <zephyr/dt-bindings/display/ili9xxx.h> 13 #include <zephyr/dt-bindings/regulator/axp192.h> 21 pwr-led = &pwr_led; 22 uart-0 = &uart0; 23 i2c-0 = &i2c0; 33 zephyr,shell-uart = &uart0; 36 zephyr,code-partition = &slot0_partition; [all …]
|
/Zephyr-latest/boards/renesas/rcar_h3ulcb/ |
D | rcar_h3ulcb_r8a77951_a57.dts | 4 * SPDX-License-Identifier: Apache-2.0 8 /dts-v1/; 11 #include <zephyr/dt-bindings/gpio/gpio.h> 12 #include "rcar_h3ulcb_r8a77951_a57-pinctrl.dtsi" 20 zephyr,shell-uart = &scif2; 24 device_type = "mmio-sram"; 33 vcc_sd0: regulator-vcc-sd0 { 34 compatible = "regulator-fixed"; 36 regulator-name = "SD0 Vcc"; 37 regulator-min-microvolt = <3300000>; [all …]
|
/Zephyr-latest/tests/drivers/regulator/fixed/dts/bindings/ |
D | test-regulator-fixed.yaml | 2 # SPDX-License-Identifier: Apache-2.0 6 tests/drivers/regulator/fixed test in Zephyr. 8 compatible: "test-regulator-fixed" 11 check-gpios: 12 type: phandle-array 15 Identity of a GPIO that is shorted to the GPIO identified in the test 16 regulator enable-gpios property. This is used to confirm that signal's 20 of the flags cell in the regulator's enable-gpios property, and the
|
/Zephyr-latest/boards/seco/stm32f3_seco_d23/ |
D | stm32f3_seco_d23.dts | 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 9 #include <st/f3/stm32f302v(b-c)tx-pinctrl.dtsi> 12 model = "SECO SBC-3.5-PX30 board (STM32F302VCT6)"; 13 compatible = "seco,stm32f3-d23"; 17 zephyr,code-partition = &slot0_partition; 18 zephyr,shell-uart = &usart1; 25 compatible = "gpio-leds"; 28 label = "LED-1"; 32 label = "LED-2"; [all …]
|
/Zephyr-latest/drivers/regulator/ |
D | Kconfig | 2 # SPDX-License-Identifier: Apache-2.0 4 menuconfig REGULATOR config 5 bool "Regulator drivers" 9 if REGULATOR 12 bool "Thread-safe reference counting" 16 When enabled, regulator reference counting is thread-safe. 19 bool "Regulator shell" 22 Enable regulator shell framework, for interacting with regulators via 25 module = REGULATOR 26 module-str = regulator [all …]
|
/Zephyr-latest/dts/arm/renesas/smartbond/ |
D | da1469x.dtsi | 3 * SPDX-License-Identifier: Apache-2.0 6 #include <arm/armv8-m.dtsi> 9 #include <zephyr/dt-bindings/gpio/gpio.h> 10 #include <zephyr/dt-bindings/adc/smartbond-adc.h> 11 #include <zephyr/dt-bindings/pinctrl/smartbond-pinctrl.h> 12 #include <zephyr/dt-bindings/dma/dma_smartbond.h> 17 zephyr,flash-controller = &flash_controller; 21 compatible = "zephyr,lvgl-pointer-input"; 25 #address-cells = <1>; 26 #size-cells = <0>; [all …]
|
/Zephyr-latest/dts/arm64/renesas/ |
D | rcar_gen3_ca57.dtsi | 2 * Device Tree Source for the R-Car H3/M3 (R8A77951/R8A77961) SoC 6 * SPDX-License-Identifier: Apache-2.0 8 #include <arm64/armv8-a.dtsi> 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 10 #include <zephyr/dt-bindings/clock/renesas_cpg_mssr.h> 11 #include <zephyr/dt-bindings/clock/r8a7795_cpg_mssr.h> 14 #address-cells = <2>; 15 #size-cells = <2>; 18 compatible = "arm,psci-1.0", "arm,psci-0.2", "arm,psci"; 23 compatible = "arm,armv8-timer"; [all …]
|
/Zephyr-latest/boards/m5stack/m5stickc_plus/ |
D | m5stickc_plus_procpu.dts | 4 * SPDX-License-Identifier: Apache-2.0 6 /dts-v1/; 9 #include "m5stickc_plus-pinctrl.dtsi" 10 #include <zephyr/dt-bindings/input/input-event-codes.h> 11 #include <zephyr/dt-bindings/regulator/axp192.h> 12 #include <zephyr/dt-bindings/mipi_dbi/mipi_dbi.h> 17 compatible = "m5stack,m5stickc-plus"; 23 uart-0 = &uart0; 24 i2c-0 = &i2c0; 33 zephyr,shell-uart = &uart0; [all …]
|
/Zephyr-latest/boards/seeed/xiao_ble/ |
D | xiao_ble_nrf52840_sense.dts | 2 * Copyright (c) 2022-2023 Marcin Niestroj 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 9 #include <zephyr/dt-bindings/i2c/i2c.h> 10 #include <zephyr/dt-bindings/gpio/nordic-nrf-gpio.h> 14 compatible = "seeed,xiao-ble", "seeed,xiao-ble-sense"; 16 msm261d3526hicpm-c-en { 17 compatible = "regulator-fixed"; 18 enable-gpios = <&gpio1 10 (NRF_GPIO_DRIVE_S0H1 | GPIO_ACTIVE_HIGH)>; 19 regulator-name = "MSM261D3526HICPM-C-EN"; [all …]
|
/Zephyr-latest/boards/silabs/dev_kits/sltb010a/ |
D | thunderboard.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/dt-bindings/input/input-event-codes.h> 11 zephyr,bt-c2h-uart = &usart1; 13 zephyr,shell-uart = &usart1; 14 zephyr,uart-pipe = &usart1; 20 compatible = "gpio-leds"; 28 compatible = "gpio-keys"; 36 wake_up_trigger: gpio-wake-up { 37 compatible = "silabs,gecko-wake-up-trigger"; 43 compatible = "regulator-fixed"; [all …]
|
/Zephyr-latest/boards/silabs/dev_kits/xg27_dk2602a/ |
D | thunderboard.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/dt-bindings/input/input-event-codes.h> 11 zephyr,bt-c2h-uart = &usart1; 13 zephyr,shell-uart = &usart1; 14 zephyr,uart-pipe = &usart1; 20 compatible = "gpio-leds"; 28 compatible = "gpio-keys"; 36 wake_up_trigger: gpio-wake-up { 37 compatible = "silabs,gecko-wake-up-trigger"; 43 compatible = "regulator-fixed"; [all …]
|
/Zephyr-latest/dts/bindings/base/ |
D | power.yaml | 2 # SPDX-License-Identifier: Apache-2.0 7 supply-gpios: 8 type: phandle-array 10 GPIO specifier that controls power to the device. 16 Contrast with vin-supply. 18 vin-supply: 21 Reference to the regulator that controls power to the device. 22 The referenced devicetree node must have a regulator compatible. 25 by a shared regulator. The supply state is dependent on the 26 request status of all devices fed by the regulator. [all …]
|
/Zephyr-latest/boards/nordic/thingy52/ |
D | thingy52_nrf52832.dts | 6 * SPDX-License-Identifier: Apache-2.0 9 /dts-v1/; 11 #include "thingy52_nrf52832-pinctrl.dtsi" 12 #include <zephyr/dt-bindings/input/input-event-codes.h> 16 compatible = "nordic,thingy52-nrf52832"; 20 zephyr,shell-uart = &uart0; 21 zephyr,bt-mon-uart = &uart0; 22 zephyr,bt-c2h-uart = &uart0; 25 zephyr,code-partition = &slot0_partition; 39 compatible = "gpio-leds"; [all …]
|
/Zephyr-latest/boards/particle/boron/ |
D | particle_boron.dts | 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 9 #include <zephyr/dt-bindings/gpio/gpio.h> 11 #include "particle_boron-pinctrl.dtsi" 19 vctl1-gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; 21 * single inverter gate -- requires a definition below, 23 vctl2-gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>; 27 en_buff_pwr: enable-buff-pwr { 28 compatible = "regulator-fixed"; 29 regulator-name = "en_buff_pwr"; [all …]
|
/Zephyr-latest/samples/shields/npm6001_ek/src/ |
D | main.c | 3 * SPDX-License-Identifier: Apache-2.0 9 #include <zephyr/drivers/gpio.h> 10 #include <zephyr/drivers/regulator.h> 12 #include <zephyr/dt-bindings/gpio/nordic-npm6001-gpio.h> 13 #include <zephyr/dt-bindings/regulator/npm6001.h> 25 static const struct device *const gpio = DEVICE_DT_GET_ONE(nordic_npm6001_gpio); variable 49 if (!device_is_ready(gpio)) { in main() 50 printk("nPM6001 GPIO device not ready\n"); in main() 62 printk("nPM6001 %s regulator device not ready\n", in main() 93 shell_error(sh, "Invalid regulator: %s", argv[1]); in cmd_regulator_voltages() [all …]
|
/Zephyr-latest/boards/ezurio/bt610/ |
D | bt610.dts | 5 * SPDX-License-Identifier: Apache-2.0 8 /dts-v1/; 10 #include "bt610-pinctrl.dtsi" 11 #include <zephyr/dt-bindings/input/input-event-codes.h> 19 zephyr,shell-uart = &uart0; 20 zephyr,uart-mcumgr = &uart0; 21 zephyr,bt-mon-uart = &uart0; 22 zephyr,bt-c2h-uart = &uart0; 25 zephyr,code-partition = &slot0_partition; 30 compatible = "gpio-leds"; [all …]
|
/Zephyr-latest/samples/shields/npm1300_ek/doc/ |
D | index.rst | 1 .. zephyr:code-sample:: npm1300_ek 13 - Regulators (BUCK1/2, LDO1/2) 14 - GPIO 29 .. zephyr-app-commands:: 30 :zephyr-app: samples/shields/npm1300_ek 36 flashed, you should boot into the shell interface. The ``regulator`` command is 42 The ``regulator`` shell interface provides several subcommand to test 45 .. code-block:: bash 48 regulator vlist BUCK1 53 .. code-block:: bash [all …]
|
/Zephyr-latest/boards/atmarktechno/degu_evk/ |
D | degu_evk.dts | 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 9 #include "degu_evk-pinctrl.dtsi" 10 #include <zephyr/dt-bindings/input/input-event-codes.h> 14 compatible = "nordic,pca10056-dk"; 19 zephyr,code-partition = &slot0_partition; 24 compatible = "gpio-leds"; 44 compatible = "gpio-keys"; 62 en-3v3-switch { 63 compatible = "regulator-fixed"; [all …]
|