Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1010574yba; Fri, 26 Apr 2019 12:28:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqwJYZyhwO0qNIXQWl2bTBAJvxLRnrDzheRGw6eTB9eiEZgxgAnL32Ze0E5V7uLbixFN2tNW X-Received: by 2002:a62:1d0d:: with SMTP id d13mr48710235pfd.96.1556306888896; Fri, 26 Apr 2019 12:28:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556306888; cv=none; d=google.com; s=arc-20160816; b=a3ZKaw1jX/iWc45ULTNCiVvOXNuUKuytdb4ZymzMMUmBKRP7CyrcGfB5i5Hg9XrtiN aImjt8WBTrwoVZKgCRiGgunNN2EU6qLN61FouWRISMKDVKQAM9nKbzvXQiyQb1rYqXGs neqVEH02AKEBKCsLzs9NRhsvIdbBFAB53Xh6Zsvwg1q+ayE9fYa8UOpMAD9XKIoIJ0bV 8JFcaTrKAl0rFGfSId4GryYaY6ynwNRVp9Z8fPMcsuk1W+N9lTWUGqWEX9RyoihV3ST0 LEOGEPvBDycmahogfQ+Gj7SyOZydDWKCXqSht0d8/jkXtVvrQmS0NswV954T6QlFB5Il BZjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=mwowdy6RxcIfo5VZP17XmfCJbXzkjZk8D299ZkieanA=; b=sCK9r8plsHibrtg4dIwnz0joUy1YGd43tWOTqqjLg3kcOlcdZyinUrkyZ3D+O2VPRz ZCdFKUeSlbpFLRO/+8przbADBfd/y5MFhFWaGST5EcSeid4Ha3nn3mBIN8tZIudGwtYL 1DMiV7zjwgitQlkF1AHHRAPzE/Y8zVtu1oCjGL0KmBMaArfewDZAgyv0YtnONRD5RKvU f8gHE6rgzVvEL4i8xkAQyW//H8m6s70ePbXJWjsVq4dfPBPgUlIKcLrZNwvN371Ln4Fu 78I2+Jga6rRriLoj0EFyVxC6ziHxZUf+lPPi8U7wg3eFGCzpFQ2njRG3LlglIH0feSML xD6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=JRWbDVH7; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g13si10072989pgi.59.2019.04.26.12.27.52; Fri, 26 Apr 2019 12:28: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=@gmail.com header.s=20161025 header.b=JRWbDVH7; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726472AbfDZT0q (ORCPT + 99 others); Fri, 26 Apr 2019 15:26:46 -0400 Received: from mail-qt1-f196.google.com ([209.85.160.196]:46313 "EHLO mail-qt1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726310AbfDZT0q (ORCPT ); Fri, 26 Apr 2019 15:26:46 -0400 Received: by mail-qt1-f196.google.com with SMTP id w26so5325518qto.13; Fri, 26 Apr 2019 12:26:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=mwowdy6RxcIfo5VZP17XmfCJbXzkjZk8D299ZkieanA=; b=JRWbDVH79miedIVZxyvu4165tlqAYsZdtcmoHRcch0RZo1B69SqP94rAl6yBUaOcqd /DBpfRaGzd6GofAa4K3fo6/WpHcxIfqRFz0vVJwBUvLeaTc+i3G1f9ML+HdZeu4p+fyC R2CnsKLjkgqqnGRUEDpdHSc51gf/POdQADHJkXWpj7mHmzE3ITKVZfrpj8cz9Sd3PUsI xzh5tbsJ2+MAmUC+ewgKrlr0hZYP4aAqWjFc4n9lmDAf7q+rvyPz6aRooRmoLSmtcG5D ucHMC2drzx+hlndz9GPtYRkFT59DMwiMRwi/6D/UGPtOCBkfv+oSZwQc12silPTi9gyS i8ZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=mwowdy6RxcIfo5VZP17XmfCJbXzkjZk8D299ZkieanA=; b=udaD9QkD4o/NlG2cQG3W+8HWG3cj07rVVNAQKBWPxVyqXNUYSqy8udCSFprwYDteBh Ky8qR0vBQH4+EIsdkC5CQt2tym9R162N1a0HE8/hGRSnOetNS3KKosmUsjgqUQUymBIl WlNe3VMum4IwWFkRIxxQcB3WfcuEhBPXx6HFkI8LLZ7F+hufF9AySiAo23TesoAfOJo2 vftkMhBDqC+/ulQxDb2GSHH00gwYNeCcVonqllHFY01I/HrQ/Q4VJ4nLT+p8DbZfR7H/ qU1+4ThqL+T+g9gzQ/Pm3XIAHHvRUtxn+itZnS1o0sQ/m6K/D+gsE4eWA4B4SFnfmVc6 6q1w== X-Gm-Message-State: APjAAAV2aOZmK5ZiVM7thABJR7klNqjYJl8SX+wMVPc2iFzD6PQyXD0t m8pBl25L5TOmPeaoBltZhZP3/7wGY9T7WpfEm1I= X-Received: by 2002:ac8:317b:: with SMTP id h56mr14227724qtb.22.1556306805534; Fri, 26 Apr 2019 12:26:45 -0700 (PDT) MIME-Version: 1.0 References: <20190426191025.16131-1-bjorn.andersson@linaro.org> In-Reply-To: <20190426191025.16131-1-bjorn.andersson@linaro.org> From: Jeffrey Hugo Date: Fri, 26 Apr 2019 13:26:34 -0600 Message-ID: Subject: Re: [PATCH] arm64: dts: qcom: sdm845-mtp: Make USB1 peripheral To: Bjorn Andersson Cc: Andy Gross , David Brown , Rob Herring , Mark Rutland , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, lkml Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 26, 2019 at 1:10 PM Bjorn Andersson wrote: > > The MTP is a "mobile reference device", as such the default operation is > to use fastboot to boot/flash software onto it and the common case is > thereby that we boot with a USB cable connected downstream from a PC or > a hub. And without support for the PMI8998 charger block VBUS will not > be driven by the device. > > Switch to peripheral until we can enable OTG. > > Signed-off-by: Bjorn Andersson Makes sense to me. Reviewed-by: Jeffrey Hugo > --- > arch/arm64/boot/dts/qcom/sdm845-mtp.dts | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/arm64/boot/dts/qcom/sdm845-mtp.dts b/arch/arm64/boot/dts/qcom/sdm845-mtp.dts > index 02b8357c8ce8..2e78638eb73b 100644 > --- a/arch/arm64/boot/dts/qcom/sdm845-mtp.dts > +++ b/arch/arm64/boot/dts/qcom/sdm845-mtp.dts > @@ -404,8 +404,8 @@ > }; > > &usb_1_dwc3 { > - /* Until we have Type C hooked up we'll force this as host. */ > - dr_mode = "host"; > + /* Until we have Type C hooked up we'll force this as peripheral. */ > + dr_mode = "peripheral"; > }; > > &usb_1_hsphy { > -- > 2.18.0 >