power: qpnp_smb2: add support to detect USB port type
Add support to detect USB port type(typeC/micro USB) and
report it using power_supply property. Use the typeC/uUSB
bit to detect the connector type, this is configured by
the PBS during PON.
As this is now done dynamically, remove the documentation
of DT property (qcom,micro-usb) used to explicitly specify
the connector type.
Change-Id: I43022627a4025471e98ea923525da2fcd854efe9
Signed-off-by:
Ashay Jaiswal <ashayj@codeaurora.org>
Loading
Please register or sign in to comment