Received: by 10.213.65.68 with SMTP id h4csp186841imn; Thu, 15 Mar 2018 23:01:42 -0700 (PDT) X-Google-Smtp-Source: AG47ELvILJdhH/Q92Yav03iDbV/mKrF8EMngKxxMo5HeM3l3/QB4gjLZw8LGRFkZZ3vogoIvpYv8 X-Received: by 2002:a17:902:6bc6:: with SMTP id m6-v6mr752598plt.112.1521180102523; Thu, 15 Mar 2018 23:01:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521180102; cv=none; d=google.com; s=arc-20160816; b=diBo68Digeq1G+CmbYBVSn9v/mEaJsCCvNLzi7k/W93R/DgRUWtIE9Ae3QF1zpbnVB nplZwTHxIXmSNz6Dx9uF2ZfcVWcF2tQ0UB2tUVqF3QFWar/HWtXdSPt0XEL+x5gP3XXl jMF01d1u3HdhTP4dh8dM370NztfxDkY14msBj3u5gX0fx9GeCGgKiQpb9y2e5vf+AnOS piibQeC3uW00sQPtARGvjAbbhubuDGpbN17gsxQ0MyfiK/u8kQ4jdT+PWl03goRUCTft b/IvYL1rEihaxJ0Vci9m2X5Fc1i9Gvqsha4+Vwc1gehsDmbmlTfvkw6l+VczjA5CDtK7 tqNQ== 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:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject:dkim-signature:arc-authentication-results; bh=3iwITdrFXQ7aJzFea0Igy7dmFdRnCkA8+JQbnbCWw5g=; b=JQXRfCY+fz4AqsoZT7fO6eg2NTEL8Z06ANu3+QKcWlwAh3w6Xh/z7qfPGeGKJ+8nyE ylg4v9x5MrnvimJtjSJ9HQABuny+ZQPYN2/z+AbUMOB64x0viTginwxMydHnTidU5nIa AH4oUna0XnFAZQ625+BLb9bbiKXCVXom0MmzWrBoCKeckOP2xEkxGgaldDhxhMxNa+zx bItafKzixbkB7eJbYX8F1elNS0IjZu/+O/2KSJ65bWj3ZVz+8T5e1j+FybLunUV+iANv 0aFPYmYNjkRzW6s7OPfzK/FAjSH7CqpebIfR+diYlFjSDDdHqw45804pELfdXJq8Nsq8 gcgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=GkuYWft4; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e16si4427040pgq.596.2018.03.15.23.01.27; Thu, 15 Mar 2018 23:01:42 -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; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=GkuYWft4; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751343AbeCPGAd (ORCPT + 99 others); Fri, 16 Mar 2018 02:00:33 -0400 Received: from lelnx194.ext.ti.com ([198.47.27.80]:17176 "EHLO lelnx194.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750806AbeCPGAc (ORCPT ); Fri, 16 Mar 2018 02:00:32 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by lelnx194.ext.ti.com (8.15.1/8.15.1) with ESMTP id w2G603pP008851; Fri, 16 Mar 2018 01:00:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1521180003; bh=8JouWzuQ6Jim7qiwJQC1O8NEevlbwYNA1KiGEuvWXvI=; h=Subject:To:References:CC:From:Date:In-Reply-To; b=GkuYWft4XwG4SKzbR03WlwJROoCfYuF8zpo1zzfsqdaM3HzaZFmd/bfFcW9gR5iRZ PRzCzIp4VJOOtV64SbpD0umQq/idrahxTYa5EEPdlIw1XVmI4b/npKYGNr74Svbz0J 8pPthOl5AGrRo10LeLpGnXFDiV5hx342YpJVG4VM= Received: from DLEE112.ent.ti.com (dlee112.ent.ti.com [157.170.170.23]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w2G60272003298; Fri, 16 Mar 2018 01:00:03 -0500 Received: from DLEE109.ent.ti.com (157.170.170.41) by DLEE112.ent.ti.com (157.170.170.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.35; Fri, 16 Mar 2018 01:00:02 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE109.ent.ti.com (157.170.170.41) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1261.35 via Frontend Transport; Fri, 16 Mar 2018 01:00:02 -0500 Received: from [172.24.190.233] (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w2G5xxYG011780; Fri, 16 Mar 2018 01:00:00 -0500 Subject: Re: [PATCH v2 1/6] phy: rockchip-typec: fall back to working in host-mode if extcon is missing. To: =?UTF-8?Q?Heiko_St=c3=bcbner?= , Enric Balletbo i Serra References: <20180301152515.20940-1-enric.balletbo@collabora.com> <20180301152515.20940-2-enric.balletbo@collabora.com> <20019382.PXhIOVQJGo@diego> CC: , , , , , , From: Kishon Vijay Abraham I Message-ID: <32f24fca-7d89-6edf-26a4-8dc7d1d1ea31@ti.com> Date: Fri, 16 Mar 2018 11:29:59 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <20019382.PXhIOVQJGo@diego> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 8bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wednesday 14 March 2018 01:44 PM, Heiko St?bner wrote: > 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. merged now, thanks! -Kishon