LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-24-2018, 07:59 AM   #1
ashok kumar reddy
LQ Newbie
 
Registered: Jun 2006
Posts: 3

Rep: Reputation: 0
Enable Regulator using GPIO


Hi,

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 = <1800000>;
regulatot-max-microvolt = <1800000>;
enable-active-high;
status = "ok"
}
but i dont see any GPIO toggling happening on gpio23.

if i use gpio directly from sysfs without using in device tree i can see gpio toggling.

Is something i am missing to specify in device tree to enable regulator?

Thanks,
Ashok
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ktechlab: Can't find voltage regulator in components. PoleStar Linux - Newbie 3 08-20-2012 02:40 AM
GPIO access on a Fujitsu Mini-ITX Industrial Mainboard, PCI Driver for GPIO mechatrix Linux - Embedded & Single-board computer 3 11-20-2011 03:57 PM
Using GPIO (from kernel GPIO support) in MY application DannyGilbert Linux - Kernel 2 03-16-2009 07:52 AM
bandwith dynamic regulator jcrcabre Linux - Software 2 05-12-2004 03:40 AM
PSU Voltage Regulator Leviathan Linux - Hardware 1 10-16-2003 10:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration