Received: by 10.213.65.68 with SMTP id h4csp838235imn; Wed, 14 Mar 2018 01:19:15 -0700 (PDT) X-Google-Smtp-Source: AG47ELvXJHydWafV0hjJfzUsXgduxcCeZrPB0sf8p5WOiVg/XMjClCnv88tV286mbHIXAcNiAqht X-Received: by 10.167.128.194 with SMTP id a2mr3506147pfn.186.1521015555013; Wed, 14 Mar 2018 01:19:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521015554; cv=none; d=google.com; s=arc-20160816; b=ENhThBaFcZsWHH9Xweayj+QEpWY79LlpB8Pt13+FrYl5W97vRE3bd0Rd9XJpI61Gmj btuAHmTm7aIBrMtyy5AEG+pKtyLCZn9msLR0RZxmJs2ZcNzZ6+/0SL1KGIfPmAjreAyJ +ADjp8RN/bCtciorOTc9LLhwlMwQF2ncOhqYMceG1YIcZ6tLkQmRjoFDVxDeSe0YLLeL Zo0muYZbM1DqRNEcpmagdn7Qh8Upd2U/eOC8PhHYds9IMb6vDXvxFo/BerxW+YG7h57q sa7u0ks82riy7E/ry0mxdlXNIRCCs84ApyINE+M1tfmSAxQiLi2B1VUrYeQzNyTYMdrm ZOfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=83e5NUHL4LS8P9RqKdflDfMWQzi0c8QjajWRiY/eV1A=; b=N8GuNzXzSUvCDas7b2Xu4yJkJzfJztc1wGo2x+KVxtEYDFFCTp+bXySxMAH8Vw2dr+ v5E12trD87SobvBYWxT/FqXxBeAJTsABNG5u2hkOa9NzP7joRnHFJsiEax63YHwQQsWT x/4yMR/shbteyzXgkM7YbpR2VbnQR/eDaPZlxhWkXeqJ4LWa1yhotLKBwU6k0t96Hh73 guHMbyhsKrRRx9lNoBq3W/hDZFUn92MBACpA6h5BZ5g1opGTk/8W7N8wT36XEene3h+g r3+vdB5gkpbLALRRTXfJ2rNnLcV5R3B/GLJ9qzW8HD4m11qDbjVe8U3zUNjIC3Svye8/ rFzA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z22-v6si224489plo.28.2018.03.14.01.19.00; Wed, 14 Mar 2018 01:19:14 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932708AbeCNIOx convert rfc822-to-8bit (ORCPT + 99 others); Wed, 14 Mar 2018 04:14:53 -0400 Received: from gloria.sntech.de ([95.129.55.99]:42070 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932567AbeCNIOt (ORCPT ); Wed, 14 Mar 2018 04:14:49 -0400 Received: from ip9234b5ec.dynamic.kabel-deutschland.de ([146.52.181.236] helo=diego.localnet) by gloria.sntech.de with esmtpsa (TLS1.1:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1ew1Ya-0003EQ-A1; Wed, 14 Mar 2018 09:14:44 +0100 From: Heiko =?ISO-8859-1?Q?St=FCbner?= To: Enric Balletbo i Serra , kishon@ti.com Cc: groeck@chromium.org, gwendal@chromium.org, kernel@collabora.com, vicencb@gmail.com, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v2 1/6] phy: rockchip-typec: fall back to working in host-mode if extcon is missing. Date: Wed, 14 Mar 2018 09:14:43 +0100 Message-ID: <20019382.PXhIOVQJGo@diego> In-Reply-To: <20180301152515.20940-2-enric.balletbo@collabora.com> References: <20180301152515.20940-1-enric.balletbo@collabora.com> <20180301152515.20940-2-enric.balletbo@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT Content-Type: text/plain; charset="iso-8859-1" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Kishon, Am Donnerstag, 1. M?rz 2018, 16:25:10 CET schrieb Enric Balletbo i Serra: > Right now the rockchip type-c phy does fail probing when no extcon is > detected. Some boards get the cable-state via the extcon interface and > have this supported, other boards seem to use the fusb302 chip or > another but the driver currently does not seem to utilize the extcon > interface to report the cable-state. And, other, just connect the type-c > to a standard USB-A port so use no controller at all. A missing extcon > shouldn't fail to probe, instead, should just fall back to working in > host-mode if it cannot get the extcon. > > Fixes: c301b327aea898af ("arm64: dts: rockchip: add usb3-phy otg-port > support for rk3399") Reported-by: Vicente Bergas > Signed-off-by: Enric Balletbo i Serra Reviewed-by: Heiko Stuebner I did revert the original commit mentioned in the fixes tag for 4.16-rc but it would nevertheless be really cool if these 2 patches (code + binding) could make it into your tree for 4.17 :-) And ideally also with the other 5 patches from Enric starting at [PATCH v3 1/6] phy: rockchip-typec: deprecate some DT properties for various register fields. from 2018-02-16. Thanks Heiko