Integrate linux-imx-kuk/mc3_usbc_otg-mode
Commit: seco-ne/kernel/linux-imx-kuk@f1f62734
dts:mc3: Add gpio-reset for usb type c high-speed switch
BCS 746-000948
--
Commit: seco-ne/kernel/linux-imx-kuk@375358ce
dts:mc3: Set usb mode of ptn5150 to DRP
Set Rp to 330uA to advertise 3A at 5V in host mode.
BCS 746-000948
--
Commit: seco-ne/kernel/linux-imx-kuk@a9a63d19
drivers:extcon:ptn5051: Add devicetree properties for usb mode and Rp
The properties can be set optionally in the devicetree. If one is set, the control reg of the ptn 5051 is adjusted accordingly via i2c at the end of the probing routine. This allows to override the initial configuration which is applied during power up.
Rp: Advertises the allowed current in host mode mode: UFP, DFP or DRP
BCS 746-000948
--
Commit: seco-ne/kernel/linux-imx-kuk@80b24df8
dts:mc3: Enable otg mode on usb-c port
After driver customizations we can use the usb-role class scheme to enable the otg mode.
BCS 746-000948
--
Commit: seco-ne/kernel/linux-imx-kuk@0de731c9
drivers:extcon:ptn5051: Change probing order
The previous probing order let to an irq: type mismatch error when deferred probing is required. This is due to the fact that some interrupt assignments already take place before probing is cancelled. Now the usb_role_switch_get function is moved before the interrupt assignments to cancel if the usb driver is not ready yet.
BCS 746-000948
--
Commit: seco-ne/kernel/linux-imx-kuk@70afadb7
extcon: ptn5150: Add usb role class support
Some usb controller drivers may not support extcon but use usb role class as it's the preferred approach, so to support usb dual role switch with usb role class, add usb role class consumer support.
Signed-off-by: Li Jun jun.li@nxp.com Reviewed-by: Krzysztof Kozlowski krzysztof.kozlowski@linaro.org Signed-off-by: Chanwoo Choi cw00.choi@samsung.com
--
Commit: seco-ne/kernel/linux-imx-kuk@00534267
extcon: ptn5150: Add queue work sync before driver release
Add device managed action to sync pending queue work, otherwise the queued work may run after the work is destroyed.
Fixes: 4ed754de2d66 ("extcon: Add support for ptn5150 extcon driver") Reviewed-by: Krzysztof Kozlowski krzysztof.kozlowski@linaro.org Signed-off-by: Li Jun jun.li@nxp.com Signed-off-by: Chanwoo Choi cw00.choi@samsung.com