/* Run-time specific power supply configuration */structpower_supply_config{structdevice_node*of_node;structfwnode_handle*fwnode;/* Driver private data */void*drv_data;char**supplied_to;size_t num_supplicants;};/* Description of power supply */structpower_supply_desc{constchar*name;enumpower_...
POWER_SUPPLY_TYPE_USB,/* Standard Downstream Port */POWER_SUPPLY_TYPE_USB_DCP,/* Dedicated Charging Port */POWER_SUPPLY_TYPE_USB_CDP,/* Charging Downstream Port */POWER_SUPPLY_TYPE_USB_ACA,/* Accessory Charger Adapters */}; PSY属性 power supply class将所有可能PSY属性,以枚举型变量形式抽象出...
< 备用电池 By: jixuan 2021年6月15日POWER_SUPPLY_TYPE_MAINS, POWER_SUPPLY_TYPE_USB,/* Standard Downstream Port */POWER_SUPPLY_TYPE_USB_DCP,/* Dedicated Charging Port */POWER_SUPPLY_TYPE_USB_CDP,/* Charging Downstream Port */POWER_SUPPLY_TYPE_USB_ACA,/* Accessory Charger Adapters */POWER...
POWER_SUPPLY_TYPE_USB/POWER_SUPPLY_TYPE_USB_DCP /POWER_SUPPLY_TYPE_USB_CDP/POWER_SUPPLY_TYPE_USB_ACA,USB类型的供电,不同点在于充电电流的限制,由USB Battery Charge Spec规定,具体可参考USB组织的规范,或者参考这个链接(http://www.cash.idv.tw/wordpress/?p=8334,由于是台湾博客,被和谐了,呵呵呵!感兴...
* 具体可参考USB组织的规范,或者参考博客:http://www.cash.idv.tw/wordpress/?p=8334*/POWER_SUPPLY_TYPE_USB,/*Standard Downstream Port*/POWER_SUPPLY_TYPE_USB_DCP,/*Dedicated Charging Port*/POWER_SUPPLY_TYPE_USB_CDP,/*Charging Downstream Port*/POWER_SUPPLY_TYPE_USB_ACA,/*Accessory Charger Adapte...
POWER_SUPPLY_STATUS_UNKNOWN= 0,POWER_SUPPLY_STATUS_CHARGING,POWER_SUPPLY_STATUS_DISCHARGING,POWER_SUPPLY_STATUS_NOT_CHARGING, POWER_SUPPLY_STATUS_FULL } enum{POWER_SUPPLY_CHARGE_TYPE_UNKNOWN= 0,POWER_SUPPLY_CHARGE_TYPE_NONE,POWER_SUPPLY_CHARGE_TYPE_TRICKLE,POWER_SUPPLY_CHARGE_TYPE_FAST} ...
例如,如果使用同一 根USB Type-CTM 线缆将移动电源连接笔记本电脑,移动电源就可以自动从充电切换到放电。其他特性还包括可编程电 源(Programmable Power Supply ,PPS )功能,支持在供电时提供固定电压(5V、9V、15V 、20V )或可编程值,以此 精确控制充电应用,实现最高效率。例如,在为锂电池充电时,最初使用恒定电流...
Dexter Galvin
Below figures show some examples of USB Type-C applications and related Richtek power management ICs : Figure 2. Figure 2 shows a typical USB-PD adapter charging solution, where the adapter power supply provides an adjustable USB bus voltage 5V, 9V, 15V or 20V based on the request of th...
USB-C also allows for bidirectional power; hence a peripheral device can be charged, and the same device can also supply power to a host device. This eliminates many proprietary power adapters and many types of USB cables, ultimately reducing the maze of wires surrounding today's devices. ...