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: 10919613 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E7E4814B6 for ; Fri, 26 Apr 2019 19:19:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CEBAB28DDC for ; Fri, 26 Apr 2019 19:19:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BF9B728DE1; Fri, 26 Apr 2019 19:19:09 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9BD8E28DDC for ; Fri, 26 Apr 2019 19:19:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726359AbfDZTKa (ORCPT ); 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-Google-Smtp-Source: APXvYqx/qdOd9uMfMytAMcG/EP15ey83nrXBGEti/B8E6Zz5cgKwP/sGvYxO0Sqf22Ft68Y0zyvC6Q== 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 X-Virus-Scanned: ClamAV using ClamSMTP 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 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 {