资料介绍
Table of Contents
ADP150 Regulator Fixed Voltage Linux Driver
Supported Devices
Evaluation Boards
Reference Circuits
Description
The fixed regulator voltage driver can be used to control these chips. Please connect the ENable switch pin to any available GPIO port on your CPU. This driver adapts to voltage and current regulator framework in Linux kernel.
Configuration
Software configurable features
Source Code
Status
Files
Function | File |
---|---|
driver | drivers/regulator/fixed.c |
include | include/linux/regulator/fixed.h |
Example platform device initialization
The default platform info defined in bf537-stamp board file is for ad122. If you want to customize this driver for other switch only regulator, you should revise the platform information accordingly.
- Define device supply name exported by the adp_switch driver.
- Define regulator init data of this supply.
- Add new userspace consumer platform device for this supply.
Adding Linux driver support
Enable generic GPIO lib in kernel option.
Device Drivers ---> [*] GPIO Support --->
Select voltage and current regulator framework support and enable adp_switch driver. Don't forget to select userspace regulator consumer driver as a module. adp_switch driver is initialized after userspace consumer driver, if both are built into kernel.
Device Drivers ---> [*] Voltage and Current Regulator Support ---> <*> Fixed voltage regulator support <*> Userspace regulator consumer support
Hardware configuration
Driver testing
Check regulator driver initialization information at kernel booting.
regulator: core version 0.5 regulator: adp122: 2500 mV
Check if adp122 is probed properly.
root:/> ls sys/class/regulator/ regulator.0 root:/> ls sys/class/regulator/regulator.0/ device name power subsystem uevent microvolts num_users state type root:/> cat sys/class/regulator/regulator.0/name adp122 root:/> cat sys/class/regulator/regulator.0/type voltage root:/> cat sys/class/regulator/regulator.0/microvolts 2500000 root:/> cat sys/class/regulator/regulator.0/state disabled root:/> cat sys/class/regulator/regulator.0/num_users 0
Insert user space consumer driver module and check usability.
root:/> modprobe userspace-consumer root:/> ls sys/devices/platform/reg-userspace-consumer.0/ driver power microamps_requested_adp122 state modalias subsystem name uevent root:/> cat sys/devices/platform/reg-userspace-consumer.0/name adp122 root:/> cat sys/devices/platform/reg-userspace-consumer.0/state disabled root:/> echo enabled > sys/devices/platform/reg-userspace-consumer.0/state root:/> cat sys/devices/platform/reg-userspace-consumer.0/state enabled
More Information
- AD5398稳压器电流宿DAC Linux驱动程序
- ADP1710/ADP1711:150 mA,低压差,CMOS线性稳压器数据表
- ADP5589输入键盘和GPIO Linux驱动程序
- 数字电位器Linux驱动程序
- ADP5588 GPIO Linux驱动程序
- ADP5520/01 MFD Linux驱动程序
- ADP5588输入键盘和GPIO Linux驱动程序
- UG-054:设立ADP150评估委员会
- ADP165/ADP166:超低静态电流、 150 mA LDO稳压器
- ADP150:超低噪声、150mA CMOS线性调节器
- ADP160/ADP161/ADP162/ADP163: 超低静态电流、150 mACMOS线性稳压器数据手册
- Linux驱动程序缺陷检测研究 9次下载
- Linux系统网络驱动程序的编写 0次下载
- 超低噪声150毫安CMOS线性稳压器ADP150数据表 5次下载
- 第9章 Linux驱动程序设计 3次下载
- 开关稳压器与线性稳压器的区别 676次阅读
- 线性稳压器的分类及特点 559次阅读
- 浅谈电压稳压器的关键参数 1110次阅读
- 什么是电压稳压器?电压稳压器的工作概况 1910次阅读
- 了解稳压器的工作原理 2096次阅读
- 使用标准稳压器产生极低电压 1591次阅读
- 关于开关稳压器的问题解答 1572次阅读
- 如何写一个Linux设备驱动程序 4314次阅读
- 米尔科技LINUX设备驱动程序教程 1967次阅读
- 嵌入式Linux内核的驱动程序开发是怎样的 1415次阅读
- 用降压型稳压器或线性稳压器电源时值来会为负载供电 984次阅读
- 什么是三端稳压器 三端稳压器原理及类型 2.3w次阅读
- 基于Linux2.6.30开发DS18B20的驱动程序的类型和文件操作接口函数详解 1377次阅读
- 可动态安装的Linux设备驱动程序 957次阅读
- 针对LDO(低压稳压器)十个基础问题详解 1.2w次阅读
下载排行
本周
- 1电子电路原理第七版PDF电子教材免费下载
- 0.00 MB | 1491次下载 | 免费
- 2单片机典型实例介绍
- 18.19 MB | 95次下载 | 1 积分
- 3S7-200PLC编程实例详细资料
- 1.17 MB | 27次下载 | 1 积分
- 4笔记本电脑主板的元件识别和讲解说明
- 4.28 MB | 18次下载 | 4 积分
- 5开关电源原理及各功能电路详解
- 0.38 MB | 11次下载 | 免费
- 6100W短波放大电路图
- 0.05 MB | 4次下载 | 3 积分
- 7基于单片机和 SG3525的程控开关电源设计
- 0.23 MB | 4次下载 | 免费
- 8基于AT89C2051/4051单片机编程器的实验
- 0.11 MB | 4次下载 | 免费
本月
- 1OrCAD10.5下载OrCAD10.5中文版软件
- 0.00 MB | 234313次下载 | 免费
- 2PADS 9.0 2009最新版 -下载
- 0.00 MB | 66304次下载 | 免费
- 3protel99下载protel99软件下载(中文版)
- 0.00 MB | 51209次下载 | 免费
- 4LabView 8.0 专业版下载 (3CD完整版)
- 0.00 MB | 51043次下载 | 免费
- 5555集成电路应用800例(新编版)
- 0.00 MB | 33562次下载 | 免费
- 6接口电路图大全
- 未知 | 30320次下载 | 免费
- 7Multisim 10下载Multisim 10 中文版
- 0.00 MB | 28588次下载 | 免费
- 8开关电源设计实例指南
- 未知 | 21539次下载 | 免费
总榜
- 1matlab软件下载入口
- 未知 | 935053次下载 | 免费
- 2protel99se软件下载(可英文版转中文版)
- 78.1 MB | 537793次下载 | 免费
- 3MATLAB 7.1 下载 (含软件介绍)
- 未知 | 420026次下载 | 免费
- 4OrCAD10.5下载OrCAD10.5中文版软件
- 0.00 MB | 234313次下载 | 免费
- 5Altium DXP2002下载入口
- 未知 | 233046次下载 | 免费
- 6电路仿真软件multisim 10.0免费下载
- 340992 | 191183次下载 | 免费
- 7十天学会AVR单片机与C语言视频教程 下载
- 158M | 183277次下载 | 免费
- 8proe5.0野火版下载(中文版免费下载)
- 未知 | 138039次下载 | 免费
评论
查看更多