From patchwork Tue Oct 10 10:46:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caleb Connolly X-Patchwork-Id: 13415178 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 92349CD80A3 for ; Tue, 10 Oct 2023 10:47:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230237AbjJJKrF (ORCPT ); Tue, 10 Oct 2023 06:47:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39828 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229945AbjJJKrF (ORCPT ); Tue, 10 Oct 2023 06:47:05 -0400 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5438D9E for ; Tue, 10 Oct 2023 03:47:02 -0700 (PDT) Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-40651a72807so53227945e9.1 for ; Tue, 10 Oct 2023 03:47:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1696934821; x=1697539621; darn=vger.kernel.org; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=Gq1BYoY0fEgX7YMzga5nr/sZhevfBzjj86K1zkzaKh0=; b=sPiF3p5guXGIr+Ne6Z77Xt3XTQAX3NZhegj5HBJBDgXPG5Y2ftVB6QgpkLBgvDSYev 8aO7PrBnUSyqHY/ldwZ1Z8uG4sDHLCL3jWRsO7dxVTsGP+qG/yO+Rbxc508sbhECoh2I KlKEWq4rCMq8fYpmoTTAv+X00dS6Cvy96sHFbu95SwR8/r4xn/WVVw+V+PpjpyXEQOHg 7KOqu1Pny5hNq15aIjOOLXUn0gJ91/kdPMH0TdU8E0FTyYe+4lXGAr32JEdkC8nRcm8Z luAgFb0nzWNROuI1TjcXSpxdamVHOKgzZ+e38eK41lM2rwwIo55isRua96MyiEK+jxV/ MM8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696934821; x=1697539621; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Gq1BYoY0fEgX7YMzga5nr/sZhevfBzjj86K1zkzaKh0=; b=tI1Pf1I5EFNTTZrhW0EdijKV/9DyUmoA/YXde3XCJ4EBuRYkxagl5rBkA5OSsYaCj6 /FDQ3nNXIcdob2TpgA7Y8NHtJXv9YuEfsVi28meD6ZAAyL0WqPfdw1wEIv1STP7/qmcZ z1LcvFulYWG7WU8TfY//IkavyM8rKm3+uik67x/mGNIZxiDSJ7aBQUCCSSc6wWTHCz0t KuSkgZ8MKfppT6Sycf+gkiW9k3IL21VNF7IsZO1IVzLKxJO8H1OO6To2NvuKspBsmJgV TPHbdIr9zxxCveQDrJ9f5sCgQB2EkolcJHUPzqz+i9gsC3p3+4wEgcVgJqxSyQqsfuq0 Rn5A== X-Gm-Message-State: AOJu0YwKEtq5hKK9KDPVwnFbOfQCovA8b/OKcQ9qSXJkx0abKSc/8zwt eMn3TWEcAqccqviL1J1/MZW5QA== X-Google-Smtp-Source: AGHT+IGb3B9BhnFU58qupYbMtpSWUS5mfaVGu5BpQm6+XWvyJe+bvBx/EGxe8tPG/RqPTM4sHEHZEw== X-Received: by 2002:a05:600c:2946:b0:405:4daa:6e3d with SMTP id n6-20020a05600c294600b004054daa6e3dmr15662827wmd.39.1696934820737; Tue, 10 Oct 2023 03:47:00 -0700 (PDT) Received: from lion.localdomain (host-2-99-112-229.as13285.net. [2.99.112.229]) by smtp.gmail.com with ESMTPSA id q5-20020a7bce85000000b0040596352951sm16134857wmj.5.2023.10.10.03.47.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Oct 2023 03:47:00 -0700 (PDT) From: Caleb Connolly Date: Tue, 10 Oct 2023 11:46:58 +0100 Subject: [PATCH] arm64: dts: qcom: qrb4210-rb2: don't force usb peripheral mode MIME-Version: 1.0 Message-Id: <20231010-caleb-rb2-host-mode-v1-1-b057d443cd62@linaro.org> X-B4-Tracking: v=1; b=H4sIAKErJWUC/x2NQQrCMBAAv1L27EISKxa/Ih42ycYEYiK7VYTSv zd4nIFhNlCWwgq3aQPhb9HS2wB7miBkak/GEgeDM+5sjTUYqLJH8Q5z1xVfPTLOlC4xLQtfHcE oPSmjF2ohj7Z9ah3yLZzK77+6P/b9AAie87N6AAAA To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Vladimir Zapolskiy , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Caleb Connolly X-Mailer: b4 0.13-dev-46309 X-Developer-Signature: v=1; a=openpgp-sha256; l=876; i=caleb.connolly@linaro.org; h=from:subject:message-id; bh=HJi6LkHa8+ZIeTakG3fyqvNsTnEKTCGu/fzarKLGhlg=; b=owGbwMvMwCFYaeA6f6eBkTjjabUkhlRV7cVp+dvzhWN0pkfbds1hfDazoDziqX3Um8Ov7K0KG oyjZN91lLIwCHIwyIopsoifWGbZtPayvcb2BRdg5rAygQxh4OIUgIks+MjIsP50VOPqkKfKdtL3 733/quX6o0ws5s2Bs1pnpC/y26q/b2P4n2Ncf1dd7PJ6p393D02pKFa79PnRXhXW+xO7XnFeutL Cyg8A X-Developer-Key: i=caleb.connolly@linaro.org; a=openpgp; fpr=83B24DA7FE145076BC38BB250CD904EB673A7C47 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The rb2 only has a single USB controller, it can be switched between a type-c port and an internal USB hub via a DIP switch. Until dynamic role switching is available it's preferable to put the USB controller in host mode so that the type-A ports and ethernet are available. Signed-off-by: Caleb Connolly Reviewed-by: Bryan O'Donoghue Reviewed-by: Konrad Dybcio Reviewed-by: Vladimir Zapolskiy --- base-commit: 6465e260f48790807eef06b583b38ca9789b6072 // Caleb (they/them) --- arch/arm64/boot/dts/qcom/qrb4210-rb2.dts | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts b/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts index a7278a9472ed..9738c0dacd58 100644 --- a/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts +++ b/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts @@ -518,7 +518,6 @@ &usb { &usb_dwc3 { maximum-speed = "super-speed"; - dr_mode = "peripheral"; }; &usb_hsphy {