資料介紹

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穩(wěn)壓器電流宿DAC Linux驅動程序
- ADP1710/ADP1711:150 mA,低壓差,CMOS線性穩(wěn)壓器數據表
- ADP5589輸入鍵盤和GPIO Linux驅動程序
- 數字電位器Linux驅動程序
- ADP5588 GPIO Linux驅動程序
- ADP5520/01 MFD Linux驅動程序
- ADP5588輸入鍵盤和GPIO Linux驅動程序
- UG-054:設立ADP150評估委員會
- ADP165/ADP166:超低靜態(tài)電流、 150 mA LDO穩(wěn)壓器
- ADP150:超低噪聲、150mA CMOS線性調節(jié)器
- ADP160/ADP161/ADP162/ADP163: 超低靜態(tài)電流、150 mACMOS線性穩(wěn)壓器數據手冊
- Linux驅動程序缺陷檢測研究 9次下載
- Linux系統(tǒng)網絡驅動程序的編寫 0次下載
- 超低噪聲150毫安CMOS線性穩(wěn)壓器ADP150數據表 5次下載
- 第9章 Linux驅動程序設計 3次下載
- 開關穩(wěn)壓器與線性穩(wěn)壓器的區(qū)別 2.9k次閱讀
- 線性穩(wěn)壓器的分類及特點 1.8k次閱讀
- 淺談電壓穩(wěn)壓器的關鍵參數 2.8k次閱讀
- 什么是電壓穩(wěn)壓器?電壓穩(wěn)壓器的工作概況 4.1k次閱讀
- 了解穩(wěn)壓器的工作原理 3.4k次閱讀
- 同步降壓DC/ DC穩(wěn)壓器ADP2325的主要特性及應用 3.9k次閱讀
- 如何寫一個Linux設備驅動程序 5.5k次閱讀
- 米爾科技LINUX設備驅動程序教程 2.7k次閱讀
- 嵌入式Linux內核的驅動程序開發(fā)是怎樣的 1.9k次閱讀
- 用降壓型穩(wěn)壓器或線性穩(wěn)壓器電源時值來會為負載供電 1.5k次閱讀
- 基于嵌入式Linux內核的系統(tǒng)設備驅動程序開發(fā)設計 1.5k次閱讀
- 什么是三端穩(wěn)壓器 三端穩(wěn)壓器原理及類型 2.5w次閱讀
- 基于Linux2.6.30開發(fā)DS18B20的驅動程序的類型和文件操作接口函數詳解 1.8k次閱讀
- 可動態(tài)安裝的Linux設備驅動程序 1.2k次閱讀
- 針對LDO(低壓穩(wěn)壓器)十個基礎問題詳解 1.3w次閱讀
下載排行
本周
- 1新一代網絡可視化(NPB 2.0)
- 3.40 MB | 1次下載 | 免費
- 2MDD品牌三極管MMBT3906數據手冊
- 2.33 MB | 次下載 | 免費
- 3MDD品牌三極管S9012數據手冊
- 2.62 MB | 次下載 | 免費
- 4聯(lián)想flex2-14D/15D說明書
- 4.92 MB | 次下載 | 免費
- 5收音環(huán)繞擴音機 AVR-1507手冊
- 2.50 MB | 次下載 | 免費
- 624Pin Type-C連接器設計報告
- 1.06 MB | 次下載 | 免費
- 7MS1000TA 超聲波測量模擬前端芯片技術手冊
- 0.60 MB | 次下載 | 免費
- 8MS1022高精度時間測量(TDC)電路數據手冊
- 1.81 MB | 次下載 | 免費
本月
- 1愛華AIWA HS-J202維修手冊
- 3.34 MB | 37次下載 | 免費
- 2PC5502負載均流控制電路數據手冊
- 1.63 MB | 23次下載 | 免費
- 3NB-IoT芯片廠商的資料說明
- 0.31 MB | 22次下載 | 1 積分
- 4H110主板CPU PWM芯片ISL95858HRZ-T核心供電電路圖資料
- 0.63 MB | 6次下載 | 1 積分
- 5UWB653Pro USB口測距通信定位模塊規(guī)格書
- 838.47 KB | 5次下載 | 免費
- 6技嘉H110主板IT8628E_BX IO電路圖資料
- 2.61 MB | 4次下載 | 1 積分
- 7蘇泊爾DCL6907(即CHK-S007)單芯片電磁爐原理圖資料
- 0.04 MB | 4次下載 | 1 積分
- 8100W準諧振反激式恒流電源電路圖資料
- 0.09 MB | 2次下載 | 1 積分
總榜
- 1matlab軟件下載入口
- 未知 | 935137次下載 | 10 積分
- 2開源硬件-PMP21529.1-4 開關降壓/升壓雙向直流/直流轉換器 PCB layout 設計
- 1.48MB | 420064次下載 | 10 積分
- 3Altium DXP2002下載入口
- 未知 | 233089次下載 | 10 積分
- 4電路仿真軟件multisim 10.0免費下載
- 340992 | 191439次下載 | 10 積分
- 5十天學會AVR單片機與C語言視頻教程 下載
- 158M | 183353次下載 | 10 積分
- 6labview8.5下載
- 未知 | 81602次下載 | 10 積分
- 7Keil工具MDK-Arm免費下載
- 0.02 MB | 73822次下載 | 10 積分
- 8LabVIEW 8.6下載
- 未知 | 65991次下載 | 10 積分
電子發(fā)燒友App





創(chuàng)作
發(fā)文章
發(fā)帖
提問
發(fā)資料
發(fā)視頻
上傳資料賺積分
評論