首页 > 其他分享 >Android Qcom USB Driver学习(十三)

Android Qcom USB Driver学习(十三)

时间:2024-08-29 18:03:57浏览次数:5  
标签:USB Driver Charge Qcom PD Quick Partner Type

DPM Device Policy Manager

deals with the USB Power Delivery resources used by one or more ports on the basis of the local device policy

the basis of the local device policy.

OPM OS Policy Manager

operating Software that interfaces with the PPM

PPM Platform Policy Manager

Hardware/firmware that manages all the USB Type-C connectors on the platform

LPM Local Policy Manger

Hardware/firmware that manages an individual USB Type-C connector.

TCP Typec-c PortController

What is Programmable Power Supply (PPS) Fast Charging?

PPS:Programmable Power Supply

PPS’ main advantage over other standards is its capability to lower conversion loss during charging. This means that less heat is generated, which lengthens the device battery’s lifespan.

USB-C Power Delivery

USB-C Power Delivery (PD) is a fast charging technology, supported by certain iOS/Apple® and Android™/Google™/Samsung® devices, that delivers much higher levels of power than standard charging. With up to 100W of power available, USB-C PD can even charge larger devices, like tablets and laptops. All you need is the right wall charger and USB-C cable – and leave those heavy laptop power cables at home.

PPS and PD protocols work together where the former can renegotiate non-standard currents and voltages between the device and the charger.

Qualcomm® Quick Charge

This technology powers your devices faster than conventional charging, allowing you to spend less time connected to outlets. As one of the most widely used of the fast charging technologies, Quick Charge is already in many of your favorite smartphones. If your smartphone is Quick Charge 3.0-compatible, you can charge up to 80% in just 35 minutes.Quick Charge 4+ is expected to work with USB Power Delivery, enabling Quick Charge accessories to fast charge a wider array of devices. On the other hand, Quick Charge 5 is the latest in Quick Charge standards and can recharge smartphones up to 50% in just 5 minutes.

USB Charging Type Identification

Typec_legacy_cable: SDP/CDP/DCP/Float/OCP  
    BC1.2 Primary/Secondary detect
Typec_nolegacy_cable: PPS/PD/QC  
	if PPS or PD 
		Typec Partner Type
	else
		if PD Failed or Legacy Cable
			if USB DCP + TYPEC 3A
				Typec Partner Type(DCP MAX 1.5A)
			else
				if USB DCP
					if QC Failed
						USB Partner Type DCP
					else
						USB Partner Type QC
				else 
					USB Partner Type Legacy
		else
			None Partner Type

Qcom Charger Basic Process

SBL

UEFI

ADSP

标签:USB,Driver,Charge,Qcom,PD,Quick,Partner,Type
From: https://www.cnblogs.com/linhaostudy/p/18387333

相关文章

  • Android Qcom USB Driver学习(十二)
    keypad在suspend的过程中导致Android无法进入suspend的问题,导致整体功耗过高,其实是主机都没有进入睡眠,通过以下打log的方式最终定位到问题,pmicvbus输出的时候会有reverseboost所以pmic侧的功耗也会有增加,当pmic电量低的时候会触发uvlo导致vbus上的电断开,需要需要的话,我们可以降......
  • Qcom高通平台抓取wifi fw/driver + sniffer log
    抓取WLANDRIVER+WLANFW3日志进入开发者模式打开启动WLAN详细日志记录功能操作完之后,日志会保存在/data/vendor/wifi目录下adbpull出来压缩wifi.zip//WCNSS_qcom_cfg.ini#Firmwarelogmode#Validvaluesare0,1,2#0=Disable,1=WMI,2=DIAGgEnablefwlog=1orgEn......
  • linux下UsbMon-WireShark之USB协议抓取分析
    usbmon配置使用usbmon抓包分的,是需要内核开启CONFIG_USB_MON=m,重新编译内核,编译ko:makeARCH=arm64CROSS_COMPILE=aarch64-himix100-linux-CONFIG_USB_MON=mM=./drivers/usb/modules设备挂载debugfs,加载ko:mount-tdebugfsdebugfs/sys/kernel/debug/insmod......
  • Windows下使用Wireshark分析USB通信
    WireShark中对USB数据捕获可以监视与主机连接的usb数据.usb设备是三段地址描述,例如1.15.1,第一个是总线,第二个是设备地址,第三个是端口.USB数据抓包分析这些是鼠标的数据包包抓包内容键盘数据包,按下一个键后抓到的数据包,查询usb标准,对照后是a。......
  • USB设置之间通信
    在电脑上连接的USB设备之间,通常不能直接通信。USB(通用串行总线)是一种主从结构的总线系统,其中只有一个USB主机(通常是电脑),而其他连接的设备都作为从机。在这种结构中,设备之间的通信必须通过USB主机进行转发,即设备不能直接与其他设备交换数据或信号。USB主机负责控制和管理所有连接......
  • Q: USB无线网卡搜不到路由器WiFi,但也能搜索到少部分信号。
    原因分析:一般在路由器的配置的无线信道是自动,路由器的2.4G频段有13个左右交叠的信道。由于USB无线网卡的设置信道区间可能不在无线信道范围内,导致无线网卡搜索不到对应wifi。解决问题:鼠标右键点击任务栏上的网络图标,点击“打开网络和Internet设置”,在弹出的设置窗口左边选择......
  • Android Qcom USB Driver学习(十一)
    基于TI的FirmwareUpdate固件升级的流程分析usbapplictionlayers的数据USBProtocolPackage①/②maptocheckpasswordcorrectPackageFormat:Byte[0]=ReportIdByte[1]=ValidLength(0x21=33)Byte[2]=BSLCoreCommands(0x11RXPassword)Byte[3]=Val......
  • USB 逻辑分析仪分析丢包怎么分析(lecroy USB 逻辑分析仪)
    使用LeCroyUSB逻辑分析仪分析USB数据传输中的丢包现象,通常涉及以下步骤:1.设置触发条件在LeCroyUSB逻辑分析仪中,设置适当的触发条件来捕获数据包丢失的场景。常见的触发条件可以包括:特定的PID(PacketIdentifier)值,如DATA0或DATA1。错误类型,如CRCError(循环冗余......
  • 基于深度学习网络的USB摄像头实时视频采集与水果识别matlab仿真
    1.算法运行效果图预览(完整程序运行后无水印) 将usb摄像头对准一个播放不同水果图片的显示器,然后进行识别,识别结果如下:  本课题中,使用的USB摄像头为:   2.算法运行软件版本matlab2022a 3.部分核心程序(完整版代码包含详细中文注释和操作步骤视频) 程......
  • USB入门系列(二)USB事务处理(上)
    USB事务处理(上)​ USB的事务处理分为三个阶段,这三个阶段的作用分别和can的标准帧很像。令牌阶段(包含了本次数据的类型信息)数据阶段(包含了本次数据的数据信息)握手阶段(包含传输是否成功的状态信息)​ 而每个阶段都由同步字段+信息包+EOP组成。令牌阶段的信息包又叫做令牌......