From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966915AbeCAJYo (ORCPT ); Thu, 1 Mar 2018 04:24:44 -0500 Received: from bhuna.collabora.co.uk ([46.235.227.227]:38474 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965026AbeCAJYg (ORCPT ); Thu, 1 Mar 2018 04:24:36 -0500 From: Enric Balletbo i Serra To: kishon@ti.com, heiko@sntech.de Cc: groeck@chromium.org, gwendal@chromium.org, kernel@collabora.com, vicencb@gmail.com, Andre Przywara , Rob Herring , Icenowy Zheng , Shawn Lin , Rask Ingemann Lambertsen , Catalin Marinas , Pierre-Hugues Husson , Corentin Labbe , Jacob Chen , Kever Yang , linux-rockchip@lists.infradead.org, Will Deacon , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jianqun Xu , Klaus Goger , linux-kernel@vger.kernel.org, Heinrich Schuchardt , Mark Rutland , Chen-Yu Tsai , Maxime Ripard Subject: [PATCH 0/6] phy: rockchip-typec: fix boards that does not report cable-state. Date: Thu, 1 Mar 2018 10:24:14 +0100 Message-Id: <20180301092420.1191-1-enric.balletbo@collabora.com> X-Mailer: git-send-email 2.16.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 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. Documentation/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 | 9 ++++++--- 6 files changed, 32 insertions(+), 3 deletions(-) -- 2.16.1 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Enric Balletbo i Serra Subject: [PATCH 0/6] phy: rockchip-typec: fix boards that does not report cable-state. Date: Thu, 1 Mar 2018 10:24:14 +0100 Message-ID: <20180301092420.1191-1-enric.balletbo@collabora.com> Return-path: Sender: linux-kernel-owner@vger.kernel.org To: kishon@ti.com, heiko@sntech.de Cc: groeck@chromium.org, gwendal@chromium.org, kernel@collabora.com, vicencb@gmail.com, Andre Przywara , Rob Herring , Icenowy Zheng , Shawn Lin , Rask Ingemann Lambertsen , Catalin Marinas , Pierre-Hugues Husson , Corentin Labbe , Jacob Chen , Kever Yang , linux-rockchip@lists.infradead.org, Will Deacon , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jianqun Xu , Klaus Goger , linux-kernel@vger.kernel.org, Heinrich Schuchardt List-Id: devicetree@vger.kernel.org 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 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. Documentation/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 | 9 ++++++--- 6 files changed, 32 insertions(+), 3 deletions(-) -- 2.16.1 From mboxrd@z Thu Jan 1 00:00:00 1970 From: enric.balletbo@collabora.com (Enric Balletbo i Serra) Date: Thu, 1 Mar 2018 10:24:14 +0100 Subject: [PATCH 0/6] phy: rockchip-typec: fix boards that does not report cable-state. Message-ID: <20180301092420.1191-1-enric.balletbo@collabora.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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 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. Documentation/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 | 9 ++++++--- 6 files changed, 32 insertions(+), 3 deletions(-) -- 2.16.1