Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp995309yba; Fri, 26 Apr 2019 12:11:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqxbnm3APCespVZHsOrUYvbHiU2hbxgha0Grd7ANAwoAQYu1BtiPRQjW6jkzX3hMXPu76wnV X-Received: by 2002:a63:2b03:: with SMTP id r3mr44333084pgr.105.1556305896190; Fri, 26 Apr 2019 12:11:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556305896; cv=none; d=google.com; s=arc-20160816; b=Nxu4AzNyek7fHTGDCJKWe2iHL4iFA+OzB+cvD73Tvd3iytUHSsMFkW87l1h5iETPy3 Tyu/39y8U5p6X4DhfS0otkDBJx3sPGU7/Ov46zEIcYiHd2ytfPc1N+QJ3ww9uYM4nK/6 lrSFU0ZWd/rgYRHlKeEKrdY2vXpHOqdPGxOgiLOOwfz43I7ZDUYFqy7NFnjMnYTiz7qa g9OeY75JI3+GjOeRZLA9A9AM2UlxzLHkOHTKartYBT92aoev9XMIi3Ra2FJI/slc8ko1 1AZgnghbulZHqsOesEO2v0ghftAMMdovlSUnJtIhZ1Cz/FdTNeEEyEO/OTUoXy/3U50u Jxlw== 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=fOuj68xx6OwRRgre+P1OCYEYTRT2mzTOPrjI7Scxc5qRERRTbghucx7qfEkSS40/yZ mJ70d9h3ctBxEyHeF1b80NfepKAePgqanI25BQ4o6OoEhVUleJ9Rh/o6LX2urokzm7t/ Vv4YJW1gPyT4Il3QiwtKHBG008uFBcuiLn184yYZYs9oE90VfSQWp8eYSbyUXhl8bf2o RvB8UuOcFAURvbFKKI4ffVw3KoOAm29K46e8yevkYQ/F4/fmGpTaO7Cs/H5XscyFVcE0 j4hg6zu0fcXCE2jSOSTWZtT8u8nEIHYTux29DqjVD59Oz8CJzCaTPHweZyfd9+Xff3PH nDlg== 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-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 t18si26233153plo.113.2019.04.26.12.11.20; Fri, 26 Apr 2019 12:11:36 -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="R1gmH/Zx"; 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 S1726400AbfDZTKa (ORCPT + 99 others); Fri, 26 Apr 2019 15:10:30 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:45506 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726353AbfDZTKa (ORCPT ); Fri, 26 Apr 2019 15:10:30 -0400 Received: by mail-pf1-f196.google.com with SMTP id e24so2147700pfi.12 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=EJiLvadG9HYXB/QfZQDSWDU6+HjyX3hJFIrRo4CU9cyx2U/qSH1cOn4QTGCwziA64o kzqjbHva5uxZuyyAA113gZxaIXOwDQMHo4Z2vO5NEU2fhskSTiQs6mvtAw9drEieR5FB gBu6aJZc+RCkBRaWqJmFlnof8mtf3uivcfCuDZbVEJFs5GCgH/plskJONy2wPICKFbMf LMqJVYwpUFbXvVJTsxyH0kldOT5KsTloTnHrVr9pCTVOXwIgLmLc3+Bs6RWMYjF22ReR 5Mt95ad1zb/JNUyZ2GkBhv7RMSVQTKOVHJ6XsRGvLu1PIjSJUX/UacsyddWG5wxlDWHG AmzA== X-Gm-Message-State: APjAAAUlleyCz38R+ZVpsQSUm/zF6UpCSPANjPQfPxWUaBNnnSm9iJ9D vi+hWjEcIOPspt/zl4bGiCD5gQ== 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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(-) 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