Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp7136213ybi; Wed, 5 Jun 2019 11:52:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqxMXa7ExotgJRllMTK3b+/yZqBqk1tfErIqPGejkWv/Gg6r77v51BTexIMlMuev5O2B6zc8 X-Received: by 2002:a63:1316:: with SMTP id i22mr250706pgl.274.1559760728839; Wed, 05 Jun 2019 11:52:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559760728; cv=none; d=google.com; s=arc-20160816; b=ezedixQVY7bL3vAN1Z9Prm9XU8G7eN8qi/H3kFnYi9tfbKlkZ2bhUaC0SRwdtr8csy gbH29MwonBLzIF2KEqQglb/qeetHBPXSzzGVucaW2ZUt9n80ACUXpRt4telPkqS5cyMU henm3pwHGd5xLI1/6Nr5n+vMaAWXyomUaSCoo7HTd63bNdb1yz9XJJE808CEXtj3+dOn FeFyW4TYzZxxmDWwMHKtYXNNCIUZ3HGejU6d1vREvm17P0m8jpVdh3WaLYQsDuanjxq6 6cyfBfRIX8HRM4CNXp//YR4c6V5atf4VHE8YmVFMBNtjpVc+RaN/qTln2nbiSXiqStVW iIcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=8vNfSakOSIaeYkNSrJu0oYtoS/2sVqhVE+XWuJ5wXUA=; b=vjVvH5waGi9mpamDfI21B8OrcbmVJbPvN1shFIlYK99KNP/5OSxP24+dxaiCHXpKDR zdh6RlI7ANF67E6aD0kVFz2tiV0GNzc719vvdhbU+Vv2lQaH7h/MQgloo/rPnubWwmiO Ogu9P2XY5Yd/Ox6i19KteR13bMao01vQOKKKL0g3nkTi0KWmxo9dv2lAQ7sK8kE0BSad gnu3W7nBbBVovWrmRxL6BK0YHJZlS74o6YGdTu3NQiTuaMFs7W0HHXwYg8eTDVSbcpfO D44Oaa+m7Klf0ecI+e438Y/v1TaVmsDBWRr81yUrSb4PbaZTpOzN195salw+R62XZ60v sH4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=y1tiV2V5; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j17si31888945pfn.226.2019.06.05.11.51.52; Wed, 05 Jun 2019 11:52:08 -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=@linaro.org header.s=google header.b=y1tiV2V5; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726633AbfFESuj (ORCPT + 99 others); Wed, 5 Jun 2019 14:50:39 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:38415 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726461AbfFESuj (ORCPT ); Wed, 5 Jun 2019 14:50:39 -0400 Received: by mail-wr1-f67.google.com with SMTP id d18so20533872wrs.5 for ; Wed, 05 Jun 2019 11:50:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=8vNfSakOSIaeYkNSrJu0oYtoS/2sVqhVE+XWuJ5wXUA=; b=y1tiV2V5sXR3finGbj6PBB105VryHTKBqz6Fi26P7OokmguArILT6hR/brsN28qt7i 2YxLaKNSfPqK9Jgn9/mMlkG4G+VOFZMqs+hA+U8FgWjwjngGWP4rNePL/0vsUE434Dgn /Bn7FXIBYtkEalGH5AJa0lDnpJPu1hXWV49rQm3uniXffz5UuCgRVRv3rpp95FBovRuc TrtRVDgL0i/GhVFoakUZgwUjlM2oFg4FSVYnXAoBj1vvd9IBL5ntUsaPF+P6e0Brnn1p nRB62Fr54pp9/t8HlVU+70QokwHFqnp1HnCFL1MeIYtD/oVdHuObfQXi5WNbGN/zqzEx gArQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=8vNfSakOSIaeYkNSrJu0oYtoS/2sVqhVE+XWuJ5wXUA=; b=iYpxP6tFChNCFlFxaagmeNnQXvBQFG3wg80IAibxiVSfiRxrtLSzW50fD0fc8B6qZp rmM0w52ts/2xn8EG4ORNYrXSk7MzXcO5THaq5wiXjkwvzHMtBVPQyEk/axrYreoe0/1Z tk40eq+lVs8rhGW/84Kpq0bUeUrQav0+fvSOV3/DazKWJideaNANu3uzrhOjq57tHMSU PsO8E4kInDTvKKU7UtrbNAE92f/XIZIIL+TYx6SYIwRe6CFWOwH0mY1gUS8i/bav/NL+ uYzkjxfLF08Umy6ZeWIW/xnQuhLcCRYmTIIbeq9EYdjCJ8JTO3MGj0EvTGSMTdzwuss5 ftlA== X-Gm-Message-State: APjAAAUlVYgnZrp8cIaVZ5VjNQZlFdJUcogTPIBSf3fPC/7Kmo1rMF4c wCIC/DMDZnzV5T052cqAzMVmpg== X-Received: by 2002:adf:cc85:: with SMTP id p5mr11577692wrj.47.1559760637352; Wed, 05 Jun 2019 11:50:37 -0700 (PDT) Received: from dell ([2.27.167.43]) by smtp.gmail.com with ESMTPSA id v15sm13443547wrt.25.2019.06.05.11.50.36 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 05 Jun 2019 11:50:36 -0700 (PDT) Date: Wed, 5 Jun 2019 19:50:35 +0100 From: Lee Jones To: Jeffrey Hugo Cc: Bjorn Andersson , balbi@kernel.org, wsa+renesas@sang-engineering.com, gregkh@linuxfoundation.org, linus.walleij@linaro.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, david.brown@linaro.org, alokc@codeaurora.org, kramasub@codeaurora.org, linux-i2c@vger.kernel.org, linux-gpio@vger.kernel.org, linux-arm-msm@vger.kernel.org, andy.gross@linaro.org, jlhugo@gmail.com, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 7/8] usb: dwc3: qcom: Start USB in 'host mode' on the SDM845 Message-ID: <20190605185035.GV4797@dell> References: <20190604104455.8877-1-lee.jones@linaro.org> <20190604104455.8877-7-lee.jones@linaro.org> <20190605070029.GN22737@tuxbook-pro> <20190605083454.GO4797@dell> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 05 Jun 2019, Jeffrey Hugo wrote: > On 6/5/2019 2:34 AM, Lee Jones wrote: > > On Wed, 05 Jun 2019, Bjorn Andersson wrote: > > > > > On Tue 04 Jun 03:44 PDT 2019, Lee Jones wrote: > > > > > > > When booting with Device Tree, the current default boot configuration > > > > table option, the request to boot via 'host mode' comes from the > > > > "dr_mode" property. > > > > > > This has been the default on the MTP, but this is changing as this is > > > causing issues when connected downstream from a hub (the typical > > > development case for the primary USB port of a phone like device) and > > > more importantly we don't have support for the PMIC blocks that control > > > VBUS. > > > > My point is not about which mode is currently chosen. It's more about > > the capability of choosing which mode is appropriate for a given > > system via DT. > > > > > Once these issues are resolved the dr_mode would be "otg". > > > > OTG doesn't work on this H/W, so we need to specify "host" mode. > > How have you made that determination? I enabled OTG and plugged in all of the things. -- Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog