Android Qcom USB Driver学习(十三)

该系列文章总目录链接与各部分简介: Android Qcom USB Driver学习(零)
Android Qcom USB Driver学习(八)
Android Qcom USB Driver学习(九)

UCSI USB Type-C Connector System Software Interface Specification

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

Android Qcom USB Driver学习(十三)_第1张图片

UEFI

Android Qcom USB Driver学习(十三)_第2张图片

ADSP

Android Qcom USB Driver学习(十三)_第3张图片

Kernel

adsp-loader.c     subsystem_get("adsp")   reload adsp

Android Qcom USB Driver学习(十三)
Android Qcom USB Driver学习(十三)
Android Qcom USB Driver学习(十三)
Android Qcom USB Driver学习(十三)
Android Qcom USB Driver学习(十三)
Android Qcom USB Driver学习(十三)
Android Qcom USB Driver学习(十三)
Android Qcom USB Driver学习(十三)
Android Qcom USB Driver学习(十三)
Android Qcom USB Driver学习(十三)

你可能感兴趣的:(Android_USB,usb,usci)