gpio regulator

  • Enable Regulator using GPIOLinuxQuestions

    Apr 24, 2018 · I want to use GPIO to enable regulator in device tree as shown below. gpio_reg gpio_reg {compatible = "regulator-fixed" regulator-name = "gpio_reg" gpio = <&tlmm_pinmux 23 0> regulator-min-microvolt = <> regulatot-max-microvolt = <> enable-active-high status = "ok"} but i dont see any GPIO toggling happening on gpio23. if i

  • linux/gpio-regulator.c at master · torvalds/linux · GitHub

    linux / drivers / regulator / gpio-regulator.c Go to file Go to file T Go to line L Copy path Copy permalink . Cannot retrieve contributors at this time. 375 lines (316 sloc) 9.47 KB Raw Blame Open with Desktop View raw View blame // SPDX-License-Identifier GPL-2.0-or-later /*

  • regulator gpio properly check return value of of_get

    Nov 10, 2016 · regulator gpio properly check return value of of_get_named_gpio. Message ID. [email protected] ( mailing list archive) State. New, archived.

  • Linux-Kernel Archive Re [PATCH 1/2] regulator gpio

    On Tue, 16 Oct 2012, Mark Brown wrote > On Mon, Oct 15, 2012 at 02 16 59PM 0100, Lee Jones wrote > > Here we provide the GPIO Regulator driver with Device Tree capability, so > > that when a platform is booting with DT instead of platform data we can > > still make full use of it. > Not looked at the patch yet but patch 2 doesn't seem to have appeared? Has it arrived yet?

  • PINCTRL (PIN CONTROL) subsystem — The Linux Kernel

    It is inspired by the clk, GPIO and regulator subsystems, so devices will request their mux setting, but it’s also possible to request a single pin for e.g. GPIO. Definitions FUNCTIONS can be switched in and out by a driver residing with the pin control subsystem in the drivers/pinctrl/* directory of the kernel.

  • voltage regulatorPowering a device through GPIO

    Aug 04, 2015 · The answer to "Will this GPIO provide a less reliable power source" than a regulator is Yes, but just how reliable it needs to be is dependent on the load. If your load is switching, then there will be noise on the GPIO source (because it has a relatively high resistance). This noise is generated by the changes in current (due to things

  • defining 3 regulators controlled by same GPIO pin in linux

    Oct 14, 2016 · The regulator core seems capable of enabling multiple regulators by just one GPIO. It's the fixed regulator driver that is using GPIO resource control that's the road block. This is discussed in this Linux ARM kernel thread.

  • gpio/regulator Allow nonexclusive GPIO accessPatchwork

    Oct 11, 2018 · Hi Linus, On 16 35, Linus Walleij wrote > This allows nonexclusive (simultaneous) access to a single > GPIO line for the fixed regulator enable line. This happens > when several regulators use the same GPIO for enabling and > disabling a regulator, and all need a handle on their GPIO > descriptor. > > This solution with a special flag is not entirely elegant > and should

  • [PATCH] media ov8856 ignore gpio and regulator for

    From Bingbu Cao To [email protected], [email protected], [email protected] Cc [email protected], [email protected], [email protected], [email protected], [email protected] Subject [PATCH] media ov8856 ignore gpio and regulator for ov8856 with ACPI Date Tue, 6 Jul

  • media ov8856 ignore gpio and regulator for ov8856 with

    Jul 06, 2021 · media ov8856 ignore gpio and regulator for ov8856 with ACPI expand. Commit Message. Bingbu Cao July 6, 2021, 9 18 a.m. UTC. For ov8856 working with ACPI, it does not depend on the reset gpio and regulator to do reset and power control, so should get the gpio and regulator for non-ACPI cases only, otherwise it will break ov8856 with ACPI.

  • 3v3 Power at Raspberry Pi GPIO Pinout

    3v3 Power. Physical/Board pin 1. The 3v3 supply pin on the early Raspberry Pi had a maximum available current of about 50 mA. Enough to power a couple of LEDs or a microprocessor, but not much more. All Raspberry Pi since the Model B can provide quite a bit more, up to 500mA to remain on the safe side, thanks to a switching regulator.

  • Learn about voltage regulation, GPIO, and ESD · VectorNav

    Furthermore, the requirements for capacitors and inductors to smooth and stabilize the output generally requires more components and board space than a linear regulator. However, switching regulators often operate at efficiencies of 80-90&percnt, making them ideal for large voltage drops. General Purpose Input/Output (GPIO)

  • Jetson TX2 Platform Adaptation and Bring-Up

    The Jetson P2597 carrier board has a GPIO expander. Some of the pins on the GPIO expander are used as a GPIO regulator. One such usage is to enable vbus-2-supply which is powered using vdd_usb2_5v GPIO regulator. If your custom board does not have the vdd_usb2_5v supply, the xhci driver enumeration fails on the target system. To solve this

  • ESP32, GPIO pins and associated functions. I/O, PWM, RTC

    The ESP32 is a micro-controller which has WiFi and Bluetooth connectivity (BLE, BT4.0 and Bluetooth Smart) as well as a GPIO. The pins are multi-function, ie it is possible to define its use by programming. I/O, PWM, RTC, I2C, SPI, ADC, DAC. You may have noticed that development boards have a more limited number of pins.

  • Linux-Kernel Archive Re [PATCH 1/2] regulator gpio

    Re [PATCH 1/2] regulator gpio-regulator Allow use of GPIOcontrolled regulators though DT From Lee Jones Date Tue Oct 16 201204 01 05 EST Next message Lee Jones "[PATCH 1/1] Documentation Describe Device Tree bindings for GPIO Regulator driver" Previous message Kamezawa Hiroyuki "Re [PATCH v4 06/14] memcg kmem controller infrastructure"

  • GPIO Mappings — The Linux Kernel documentation

    GPIO line names are not guaranteed to be globally unique, so the first match found will be used. GPIO_LOOKUP() is just a shortcut to GPIO_LOOKUP_IDX() where idx = 0. A lookup table can then be defined as follows, with an empty entry defining its end. The ‘dev_id’ field of the table is the identifier of the device that will make use of these

  • LKML Mark Brown Applied "regulator Convert gpio

    May 23, 2019 · From Mark Brown <> Subject Applied "regulator Convert gpio-regulator to json-schema" to the regulator tree Date Thu, 23 May 2019 14 49 00 0100 (BST)

  • AM335X GPIO not set high from device treeProcessors

    Jul 13, 2021 · Dear Ti e2E community, Am using ti sdk 8 am335x & I am enabling gpio2 24 as active high, as this pin is required for wifi enabling #if 1 wlan_en_reg [email protected] {compatible = "regulator-fixed" regulator-name = "wlan-en-regulator"

  • gpio-regulator.txtDocumentation/devicetree/bindings

    if there are no states, then use a fixed regulator Optional properties enable-gpio GPIO to use to enable/disable the regulator.gpios GPIO group used to control voltage.gpios-states gpios pin's initial states array. 0 LOW, 1 HIGH.

  • Use voltage regulator instead of zener to protect GPIO

    Use voltage regulator instead of zener to protect GPIO. I've read several articles about protecting 3.3v GPIOs from unregulated over voltage, all of which involve using a zener diode, a diode for reverse protection and resistors in some fashion. example 1 example 2. What I'm wondering is why I couldn't instead use a voltage regulator and get

  • gpio-regulator.c source code [linux/drivers/regulator/gpio

    MODULE_DESCRIPTION ( "gpio voltage regulator" ) 381. MODULE_LICENSE ( "GPL" ) 382. MODULE_ALIAS ( "platform gpio-regulator" ) 383. Generated on 2019-Mar-29 from project linux revision v5.1-rc2. Powered by Code Browser 2.1. Generator usage only permitted with license.

  • [v6,3/5] drm/panel-simple Support for delays between GPIO

    Jun 12, 2021 · Some panels datasheets may specify a delay between the enable GPIO and the regulator. Support this in panel-simple. Signed-off-by Rajeev Nandan Reviewed-by Douglas Anderson --- Changes in v4 New Changes in v5 Update description (Douglas)Warn if "power_to_enable" or "disable_to_power_off" is non-zero and panel->enable_gpio

  • Fixed regulator without GPIOJetson AGX XavierNVIDIA

    May 14, 2021 · the GPIO and fixed regulator in device-tree should match the hardware design. Hi, As I said that “the GPIO and fixed regulator in device-tree should match the hardware design.” I cannot just pick any GPIO and put it there. I checked devkit schematic, there is NO GPIO for enable/disable the power of fan. The fan’s power is VDD_5V which is

  • LKML Rajeev Nandan [v8 3/6] drm/panel-simple Support

    Jun 26, 2021 · Subject. [v8 3/6] drm/panel-simple Support for delays between GPIO & regulator. Date. Sat, 26 Jun 2021 22 21 05 0530. share 0. Some panels datasheets may specify a delay between the enable GPIO and. the regulator. Support this in panel-simple. Signed-off-by Rajeev Nandan .

  • [v8,3/6] drm/panel-simple Support for delays between GPIO

    Jun 26, 2021 · Some panels datasheets may specify a delay between the enable GPIO and the regulator. Support this in panel-simple. Signed-off-by Rajeev Nandan Reviewed-by Douglas Anderson --- (no changes since v6) Changes in v4 New Changes in v5 Update description (Douglas)Warn if "power_to_enable" or

  • Linux-Kernel Archive [PATCH] regulator gpio-regulator

    config REGULATOR_GPIO tristate "GPIO regulator support" depends on GENERIC_GPIO help This driver provides support for regulators that can be controlled via gpios.-- 1.7.2.3--To unsubscribe from this list send the line "unsubscribe linux-kernel" in the body of a message to [email protected]

  • NVIDIA Jetson Linux Developer Guide Platform Adaptation

    The device tree’s fixed-regulators node follows the conventions of the regulator.txt, fixed-regulator.txt, and gpio.txt kernel documents. The node’s properties are • compatible If a regulator chip contains multiple regulators, and if the chip's binding contains a child node that describes each regulator, then this property indicates

  • General Purpose Input/Output (GPIO)

    Apr 24, 2017 · Digi Embedded Yocto provides the example application gpio_sysfs_test for accessing the GPIOs via sysfs thorugh the package dey-examples-gpio-sysfs. The gpio_sysfs_test application configures an input pin (preferably a push button) and output pin (preferably an LED) and toggles the output on each press of the push button. It also configures the

  • Re [PATCH] HID i2c-hid add reset gpio propertyRob

    From Rob Herring To Brian Norris Cc Lin Huang

  • [4/5] regulator Use gpio_is_validPatchwork

    On Tue, Oct 07, 2014 at 01 01 06PM 0100, Mark Brown wrote > On Mon, Oct 06, 2014 at 10 17 14PM 0200, Markus Pargmann wrote > > Use gpio_is_valid instead of custom check. > > Patches per driver please, this isn't just a mechanical transformation. Okay, but you mean just patches 4 and 5 and not patch 2 right? Thanks, Markus

  • DIY Long Lasting Voltage Regulator Circuit for Raspberry

    But if you connect more USB devices and use the GPIO pins, the power bank will drain off quickly. In this post, I will tell you how i made my own power supply unit using a Lithium Polymer battery and a voltage regulator. About Our SponsorUTSource. To start with,