lkml.org 
[lkml]   [2018]   [Mar]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/6] phy: rockchip-typec: fix boards that does not report cable-state.
Date
Hi,

Commit c301b327aea898af ("arm64: dts: rockchip: add usb3-phy otg-port
support for rk3399") introduced a regression on some rk3399 boards,
and break USB. While some boards have support to report cable-state via
extcon interface, other boards does not support. This patch series
tries to fix this.

First and second patch makes extcon optional, the following patches
enables the typec phyter for others rk3399 boards. It has been tested on
Samsung Chromebook Plus and Sapphire but not on the other boards, so I'll
appreciate if someone can test it.

Best regards,
Enric

Changes in v2:
- [1/6] Keep the error handling of extcon (Heiko Stubner)
- [2/6] Rewrite the justification as suggested by Heiko Stuebner.

Enric Balletbo i Serra (6):
phy: rockchip-typec: fall back to working in host-mode if extcon is
missing.
dt-bindings: phy-rockchip-typec: move extcon property to be optional.
arm64: dts: rockchip: enable typec-phy for rk3399-sapphire.
arm64: dts: rockchip: enable typec-phy for rk3399-firefly.
arm64: dts: rockchip: enable typec-phy1 for rk3399-puma.
arm64: dts: rockchip: enable typec-phy0 for rk3399-puma-haikou.

.../devicetree/bindings/phy/phy-rockchip-typec.txt | 2 ++
arch/arm64/boot/dts/rockchip/rk3399-firefly.dts | 8 ++++++++
arch/arm64/boot/dts/rockchip/rk3399-puma-haikou.dts | 4 ++++
arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi | 4 ++++
arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtsi | 8 ++++++++
drivers/phy/rockchip/phy-rockchip-typec.c | 13 ++++++++++---
6 files changed, 36 insertions(+), 3 deletions(-)

--
2.16.1

\
 
 \ /
  Last update: 2018-03-01 16:26    [W:0.253 / U:4.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site