devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/6] phy: rockchip-typec: fix boards that does not report cable-state.
@ 2018-03-01 15:25 Enric Balletbo i Serra
  2018-03-01 15:25 ` [PATCH v2 2/6] dt-bindings: phy-rockchip-typec: move extcon property to be optional Enric Balletbo i Serra
                   ` (4 more replies)
  0 siblings, 5 replies; 15+ messages in thread
From: Enric Balletbo i Serra @ 2018-03-01 15:25 UTC (permalink / raw)
  To: kishon, heiko
  Cc: groeck, gwendal, kernel, vicencb, Andre Przywara, Rob Herring,
	Icenowy Zheng, Shawn Lin, Rask Ingemann Lambertsen,
	Catalin Marinas, Pierre-Hugues Husson, Jacob Chen, Kever Yang,
	linux-rockchip, Will Deacon, devicetree, linux-arm-kernel,
	Jianqun Xu, Klaus Goger, linux-kernel, Mark Rutland, Chen-Yu Tsai,
	Maxime

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

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2018-03-16 10:39 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-01 15:25 [PATCH v2 0/6] phy: rockchip-typec: fix boards that does not report cable-state Enric Balletbo i Serra
2018-03-01 15:25 ` [PATCH v2 2/6] dt-bindings: phy-rockchip-typec: move extcon property to be optional Enric Balletbo i Serra
2018-03-07 19:34   ` Rob Herring
2018-03-07 19:42     ` Alexandru Stan
2018-03-01 15:25 ` [PATCH v2 3/6] arm64: dts: rockchip: enable typec-phy for rk3399-sapphire Enric Balletbo i Serra
2018-03-03 11:17   ` Vicente Bergas
2018-03-16 10:38   ` Heiko Stuebner
2018-03-01 15:25 ` [PATCH v2 4/6] arm64: dts: rockchip: enable typec-phy for rk3399-firefly Enric Balletbo i Serra
2018-03-16 10:38   ` Heiko Stuebner
2018-03-01 15:25 ` [PATCH v2 5/6] arm64: dts: rockchip: enable typec-phy1 for rk3399-puma Enric Balletbo i Serra
2018-03-02 19:49   ` klaus.goger
2018-03-16 10:39   ` Heiko Stuebner
2018-03-01 15:25 ` [PATCH v2 6/6] arm64: dts: rockchip: enable typec-phy0 for rk3399-puma-haikou Enric Balletbo i Serra
2018-03-02 19:49   ` klaus.goger
2018-03-16 10:39   ` Heiko Stuebner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).