From patchwork Fri Apr 26 19:10:25 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 162966 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp1102521jan; Fri, 26 Apr 2019 12:10:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqyW/VTH4nnJQsk0FdfR3g/7NtuBV1bK9/uKsB+7QvMTrV664SWogRQ3TLLk+bltxdoBgXFV X-Received: by 2002:a65:6149:: with SMTP id o9mr45695836pgv.254.1556305831632; Fri, 26 Apr 2019 12:10:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556305831; cv=none; d=google.com; s=arc-20160816; b=bowv6Po7JeMH3I/qRrl4E5UXsjq9lkFZo3mL4rkFsja92YywTdMbSYfWuL64m/SBB4 iZFEfwY/SaFjxH429E4l9Xe+5guTpUeQkjkJ2TQyoh8G+pl3YvOwLsw0ow5TnRMFfuxB 11awJGhYCogW7pSAHChprpvOjQJN9HjmLB86/R0EJ9g5VW1hEyV5JWNffq+VoDcAhbkN Eq2BHZPdT/UgKZ3/gwAz/JAnffNzPmAKFclkFaa+RbQXQb2oede0OCa/D5s5TTQcv2Ae 0axwirhFLyPyRTkHQOMSD2eHfSMwVip3MvgA6GyyyqChRP6FZgRwwRHULsWFyX8sA9/a icwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=Y8S2A6WXZNvlhMWa89wGivKsQq9SUrDku6Mk5QHcZ0k=; b=nKblPXqozA6Omy8aDlWyiNyfqqXLwKue/wm63GUxIOcv6q8M8mFAA8rPdITorjVUQ2 xFE8BuoHIcESMf6exFnNhze0+WOz04ljjRC2R7ucqkxTz9bUwBdaEB3MCQEtNN0KqUQJ 5o+5gGrOEOB5ufACJK5vEh7MKB2WsKj8MuOvhNp/9qVL1mglLg96OvQZ00X72Az/Big9 Mhp1GtkTCivSykqgj6rQm2HKYLpcEZZ0djtP18EjmKLRk4WaBObAnkAGzCOnGlQfZ8Om 9es/Z6yQ/7uHgXUFWANmoThiKk7PYJvA48Wf7S+q0Yk9iWKbWRW6jZfqmMaC9aXjS4Co swJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="R1gmH/Zx"; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 h1si15342572pgk.39.2019.04.26.12.10.31; Fri, 26 Apr 2019 12:10:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-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="R1gmH/Zx"; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S1726359AbfDZTKa (ORCPT + 15 others); Fri, 26 Apr 2019 15:10:30 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:39228 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726341AbfDZTKa (ORCPT ); Fri, 26 Apr 2019 15:10:30 -0400 Received: by mail-pf1-f193.google.com with SMTP id i17so2163206pfo.6 for ; Fri, 26 Apr 2019 12:10:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=Y8S2A6WXZNvlhMWa89wGivKsQq9SUrDku6Mk5QHcZ0k=; b=R1gmH/ZxBO4rQ+SwZKbB/D6Pswm8MWbLKuzntzruMkmU5d6CspFV+GTc937KY3ON9E JaZTRsjAJdjsCXraOt3wBjRzfnNqPdIQJDU/l0mChcUSmKHq8p0qjCdLAwyNxmM1FaqX tf4PqaRiEleoEHOnW1d9v0ToADxV/d0l0OZhjKoageRYjAFvTeXLCU/glsSSxOGHe1OJ +mxSv/vI5jS2XntLd14zDJCeBmhGCjMzTwSyYW2ji+MuE417SWKm8jiBQVZ4iMkPvbq9 xAMpemCr4LD1WEFYFQluvYJrAlLGAPm54eawpHnv3G7yHT18y/SGEzUh3+9Bf1HaDS41 qo6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=Y8S2A6WXZNvlhMWa89wGivKsQq9SUrDku6Mk5QHcZ0k=; b=P+EkiSddMpq2Fk8fCx2l3Iqts8zqUBccjNI62e3bE3dhbSsJ4Stu4wTjP+L1KMMMyD aK3g7gYjsSgaqKXRc+JGwG61u7Tns//r/POgh5AzFbnjigjVC6nhe5qBSjq7g8iGoSOy mZ20bOJRfuvPgzBqMYl/9Mu+TSPRGINTXPqCk4oJYultZ/YZkQKaP5ytScknTlNPM4lC g2woZSlen99vfwF5UV3FCzwclCRXBoqzkSFiuukueBzZOSL86BSRbZr0w/gbP9i8j1I4 eeHxQ6qHLPcg0Q+AYgkxrsXCUTAJEHT6Ox6A67IKkJMNCaA5x7yF4jKSKpzIoIXTtleh cv6w== X-Gm-Message-State: APjAAAXhhAoKz5t1b/1NgoN4FTK8aEW0noKRgrWz7gnHi3q13LFI0R1x k5pLc6bcxytJuZms4Sa2ST75Ng== X-Received: by 2002:a63:5b24:: with SMTP id p36mr43712198pgb.84.1556305829298; Fri, 26 Apr 2019 12:10:29 -0700 (PDT) Received: from localhost.localdomain (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id s3sm19961727pgi.74.2019.04.26.12.10.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Apr 2019 12:10:28 -0700 (PDT) From: Bjorn Andersson To: Andy Gross , David Brown Cc: Rob Herring , Mark Rutland , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] arm64: dts: qcom: sdm845-mtp: Make USB1 peripheral Date: Fri, 26 Apr 2019 12:10:25 -0700 Message-Id: <20190426191025.16131-1-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.18.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org 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 --- arch/arm64/boot/dts/qcom/sdm845-mtp.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.18.0 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 {