From patchwork Thu Feb 1 23:55:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 768957 Received: from mail-lf1-f42.google.com (mail-lf1-f42.google.com [209.85.167.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C7DA3481A5 for ; Thu, 1 Feb 2024 23:55:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706831720; cv=none; b=SSeR75JwyzO1O3VvYm9Ep9LQczjaZ8VcRdH+dOh9w4NJNSbIuCPg1Bn1vJgZE04AxXAEBrO0q5tSO4W89zlw+uq3ita+OfPFqdBeirgfi0rZcvrbslq1E0nJ0tI1/+soh/NWb/9r9FLTlN4hmrR17uc4KQrMd+vRDGGC/mJTQbY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706831720; c=relaxed/simple; bh=TSZ6sVvVq/7rSkCh4KijYcLg5W1SfP4Ts0Hhg6UuxlA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=s0ktuudwiucPB4sgvnlds8RznyRzhhgLWBXc/zUR/m/Zm7cCuz46qu24BirwmIJnP6EGUv9MkC6gH6aZ1MaHb7Irv91ZFaABKKbz5O+PXNboXEPwxazmXjQvr/3KhYsFdXT3mgPUFo79dN7gfbbX5bE+5jntJnshouqAHNLXe2w= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=N0rgbQCW; arc=none smtp.client-ip=209.85.167.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="N0rgbQCW" Received: by mail-lf1-f42.google.com with SMTP id 2adb3069b0e04-51120e285f6so1841329e87.2 for ; Thu, 01 Feb 2024 15:55:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706831717; x=1707436517; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=89GyQnZOmqXGQ7q+2rssbbMFi5MST3tXfHQsqlea/s4=; b=N0rgbQCWlMlgq8w79TcAnFxUwhFdNPgIa/KiHnZvMMyqQtfqLPBqeMrYiOmCtpanIy B5K8JwkJflu0oLjLB040R7dXmtnvYb0o3p/3z7wtxCtq/w6wJD7gYvVpogBuJFzHiDqq SK7kec+HKhI2QVaCAcj6UBQaI6oBQs9HsUffyE18QPTcW7Qm6MB6bK7DfTZrYNy45P68 82Y+FGmujsEn4YcJ2UY0m5aya1ttWAKc8IHh66tbhPu7b+jDoH0q9MbXJJunnTHdzrkg CSYX3lcmIBU6dIwPHC8y5hP/Ud3Htk27UVSltAQgSV4kyiTlRvracEtQ4DvG/QWfWfIk xGGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706831717; x=1707436517; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=89GyQnZOmqXGQ7q+2rssbbMFi5MST3tXfHQsqlea/s4=; b=AJqsFSm34eKX6yk3dG81+apspYY+vy1f2k4D03Rn0qLStKKccbvHNJ2zDN2KZW2uqn Bhk1czFEUewsn2ubKUAmZRbI1Wu7nedD9dmUIfk5TgT6hCs3XuzOTP4YvTPO+VN0YrkA +wXYcaR7FJpqgdANrUuyOrB2rech2WjQ5pI0n8/K8FlwroGH8UKHobqAG7O095LHe28N 5DiXkYedMF7R3WIQbkx2lvuf43b5uIgIZ/AJTxVIgl46hOC+eJMiqOlV+8j4ZP5GckGy A6t9oaLoAfc09XZm84FO9Sg44L4LnSCt9h47l9fNb0+Qtlk/UdSRuAKOvj8UyOC6ehXA 8f4A== X-Gm-Message-State: AOJu0YyeHceJDQic2A0sqi+YheFQhw3teXEUr/fssR+Qoew9B1MgHYsu xE2XYqtBqmVWFnH6Hnr42yu/VdHdJ8JY1fGLN08vcO637l0mZ7j4C1E4Wz6QOTc= X-Google-Smtp-Source: AGHT+IGHnMj43LZDjbVliFtL4KsRdnl2Sv7xG1IjA7xA6O0sB4HuiM+2JyjBcSBJhZHeK2IK8shnGA== X-Received: by 2002:ac2:4550:0:b0:50e:7b5e:b64b with SMTP id j16-20020ac24550000000b0050e7b5eb64bmr2966710lfm.49.1706831716935; Thu, 01 Feb 2024 15:55:16 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCUwDRtkQtWWeBICKhHG0gKDREj5nlcC53Lf8pdVv8A+9GcAUsdqOkzs8rPG8Xyxzfvg5nkV6wk5d1Dc9YXi4qEWDMAFpVELjELsEw/KFqF2m/2xJPNg0ZR387+wTbdUY/Vbwj9+2kKtS4g0nzL95e955RmjWP9Y4+74FzmzpMXMwWJ0DPWoUAoCbaMsq+XTEYgf2UdL2+q33RqynWSscSXRxn2hnoA71A4qeuiYGGl/onnLGosdKmw0yUmU9rvo2zUqrTlfx6VJYG84uP+IoYs4jYP1uAKvSar0K9GSK9Wgg5xKyVXGWmPCLT+W0qraHkDfOyr2iU1AM6mcbpg9qKc3A3WCKYieY6+zsHvlN6hqZc9d+7FZeu2WhC753J1y+Xbv/vkbwnm8TGZjHPn5tIghq8yOgsbdGZ206A2siA2qdUKdcK0s Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id u13-20020ac24c2d000000b0050eacc0c80bsm106754lfq.131.2024.02.01.15.55.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 15:55:16 -0800 (PST) From: Dmitry Baryshkov Date: Fri, 02 Feb 2024 01:55:09 +0200 Subject: [PATCH v2 2/4] dt-bindings: usb: qcom,pmic-typec: add support for the PM4125 block Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240202-pm4125-typec-v2-2-12771d85700d@linaro.org> References: <20240202-pm4125-typec-v2-0-12771d85700d@linaro.org> In-Reply-To: <20240202-pm4125-typec-v2-0-12771d85700d@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Wesley Cheng , Bryan O'Donoghue , Greg Kroah-Hartman Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-usb@vger.kernel.org X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=1110; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=TSZ6sVvVq/7rSkCh4KijYcLg5W1SfP4Ts0Hhg6UuxlA=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBlvC9iQN6HkpflJVs89ewpVk9H9roQCKeZyUi3/ rLtENXga6CJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZbwvYgAKCRCLPIo+Aiko 1RbWB/9VkS/i+gHlpxdh4tfBrjzuad42RO6cpdsdnXqtMdpVm7zCYEiGl8aHZu4EuOSab6QD+C+ xoiaGqUmnD7PmQlt4I5jo9GIACdtAx2H3XeSrFScLovH0TvtOv9ZLqlhEIKwWSi1HoslU7768nE 2VyR40i6GV8C0qMTIU2q/HLV2tRjvmyoSizUVXC1m3Lj7SNDV4icImebvnATg71mquMLAjdQ/Mt bfKMqew9ZiGfkC4Gi5FNJL5zB8DvC0eVzs79kmy5Ix7inUi8Q4sgBgRxONzG6T5442KqzwjuymY LLnYVW7UjNrOwS3MC9xbXyQySfE4cc4b8mPXfe2OYZ+rvG+S X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A The PM4125 PMIC has the same Type-C register block as the PMI632. Likewise it doesn't support USB Power Delivery. Define the compatible for the TypeC block found on PM4125, using PMI632 as a compatible. Signed-off-by: Dmitry Baryshkov --- Documentation/devicetree/bindings/usb/qcom,pmic-typec.yaml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/usb/qcom,pmic-typec.yaml b/Documentation/devicetree/bindings/usb/qcom,pmic-typec.yaml index 6c0c6b337693..5527a4bc9388 100644 --- a/Documentation/devicetree/bindings/usb/qcom,pmic-typec.yaml +++ b/Documentation/devicetree/bindings/usb/qcom,pmic-typec.yaml @@ -14,9 +14,15 @@ description: properties: compatible: - enum: - - qcom,pmi632-typec - - qcom,pm8150b-typec + oneOf: + - enum: + - qcom,pmi632-typec + - qcom,pm8150b-typec + - items: + - enum: + - qcom,pm4125-typec + - const: qcom,pmi632-typec + connector: type: object From patchwork Thu Feb 1 23:55:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 768956 Received: from mail-lf1-f46.google.com (mail-lf1-f46.google.com [209.85.167.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4AF23481C4 for ; Thu, 1 Feb 2024 23:55:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706831722; cv=none; b=ShWKbDxduppzcTLNnBwI/G1jnFCLhkkwksRnNNQmLDTg+XwjIkwkUjvxZ20tcFQ/+8HcxLLowDpu4b0m9M50sZv37bMLp40r+/uxDCKqP+0Ge8zpL8pABF3En6M/BK4oPGUakUhdp0vHuulzGX8lFlh0pl0Y/cmb4aQk01wcVFY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706831722; c=relaxed/simple; bh=83gYrzQudk78eyKHtCcC6T6p4vOvmjk2orjuBLLUm0A=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=UFwdrb2xKMrEOrvqR8Da7r+uz8Ilv4dxtmPOCpF1uZ7x61sF0RqTsiWrEfvS+EQpXRz35MjRUozBULHLkoyayStcfdY51GcoaN711MMPQnrS7BBEMWUMjOxSW8gpZ/WnmNzj4o5qM/fYjoY1fhVVOHBAX4dXXphekHuQnTAd+eo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=xzT0Xm6z; arc=none smtp.client-ip=209.85.167.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="xzT0Xm6z" Received: by mail-lf1-f46.google.com with SMTP id 2adb3069b0e04-5101f2dfdadso2297964e87.2 for ; Thu, 01 Feb 2024 15:55:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706831718; x=1707436518; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=woT6Fq4hECPiCieMSUBXYBSHMFciLNE7+9YNtI+agvk=; b=xzT0Xm6zAwCz0zLCgaxs5Dz2QKJCKZRUEr3pCLfz2JBvT9JscdTgBVMIocDvCw9BCf E1wfFglMqgxpskeEhrxaRFt5Xp912GFGiihwGuShK7JTc1M8omwkVN7NGIdvxSJpb2e3 ZCWEuAzZXSiQq67oZ930rAWv0jL6l0qKsXc/DZXF5zsAVwQhITDpNHziQPB7PFdmRP9Q fc9UtAOInWFYb8Ph9x0SQH1NuOmC7au9ax1EseB0/Z49jLD4nLCwKXL6UvOAPlU4jGeK W/VER3sF+ZnyEMlAdZVjSIpezgs7BYUeDxT59GxnoR/wrkx3NLxshzfVHvCDFpHDYiF6 HIxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706831718; x=1707436518; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=woT6Fq4hECPiCieMSUBXYBSHMFciLNE7+9YNtI+agvk=; b=LLWf1TmU6j3hijFBW74WUTc0Zr8n2uhyPc5wpNaf3PpIAALk3MjbVn42/VRqlkUkLk eM1TatHd6GtlyE9Mim+mk+Yn8hG/kAx15aeoXQov093tNXLwvt7K50fuwuQjOzMItHXV PY8biQIS/89/SykYXOw5khSjPlx6OwwpVKDxYE0+6PYnE3hU4epukih+TRucF2YOvZJc 5L0u0ieTXxb5z/r4KIEYoja+zdNETEdN6ChTsq/ne3KNZ9pmz6OstlS83sIEp1Pt9q3l HbMKfwdoUJP4lWbKX0S0k97/cGsuPpx3s8NzPimbc381/0yU/C3SFIdUbU+8ag4sS+Wq C9fw== X-Gm-Message-State: AOJu0YwIIGuTRFP/1ecbZ87GNjO3WtPOUf6C/47MtPndwzswx5mnXU60 NRINWfPfkqgmtVoK90e7Beg+M+xwAUJexBHI6EmG3OojISKBzGXXNLVafOj6fVk= X-Google-Smtp-Source: AGHT+IEin6/Zmwt0mBfhfuvMkurbWVOl/u7f/0ITHpW0VBOltCVTbjTeO/aHnIlOgt2rsVLn/2bBkQ== X-Received: by 2002:ac2:43b3:0:b0:50e:5a25:efbf with SMTP id t19-20020ac243b3000000b0050e5a25efbfmr242714lfl.42.1706831718409; Thu, 01 Feb 2024 15:55:18 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCUIsC5rkplcN4XV46vNbaQqRHz+NYYD0sAR4cWas699qkz64W55dnCFWidYN2OdcdzUx6H4uysL1Wz514KvXaoOKzWDiUNGVjKRbxU+tSbn7iA+NhqwCU9SgZ/vxPHEjf3C/WDmfkAxwbvEVL/sThGJ19ms/T2i2pB4kmBWttSDhMWfgkI98qp/6AIlxq8IbG6H5JZU+JotJqVfpGm1FiErt+tXzWuYooL5izApkZX998W65dc7i1Fyq7bM3L8V/pnwvMa2ZgpOlDavixAho3iRLwaRukObPFEouYW5m06KdyImbOMp5zI75bOTjvFAcxZ3RYQs1Et+bKQXPg4ZBial6ntt8bgPQxdjfiiGZsPb2FGCF6N2tYBheUvlUvzgLU55iuwGCJ5OvYJgoJHJT9fje7gsJhBGsh3DEEqKxxW4X0R+FnzJ Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id u13-20020ac24c2d000000b0050eacc0c80bsm106754lfq.131.2024.02.01.15.55.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 15:55:18 -0800 (PST) From: Dmitry Baryshkov Date: Fri, 02 Feb 2024 01:55:11 +0200 Subject: [PATCH v2 4/4] arm64: dts: qcom: qrb2210-rb1: enable USB-C port handling Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240202-pm4125-typec-v2-4-12771d85700d@linaro.org> References: <20240202-pm4125-typec-v2-0-12771d85700d@linaro.org> In-Reply-To: <20240202-pm4125-typec-v2-0-12771d85700d@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Wesley Cheng , Bryan O'Donoghue , Greg Kroah-Hartman Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-usb@vger.kernel.org X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=3368; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=83gYrzQudk78eyKHtCcC6T6p4vOvmjk2orjuBLLUm0A=; b=owGbwMvMwMXYbdNlx6SpcZXxtFoSQ+oe/aSLhhon9yy4wdbJybmtPbe7I2zbPFsGDuvYdcfmx vwUnsLYyWjMwsDIxSArpsjiU9AyNWZTctiHHVPrYQaxMoFMYeDiFICJ2Mqx/xXkUOe7tIupTnhO 5OdCpoXTJ505k7SpSvpxXNymqSf3ZDUyrQvaL1N6da2B/LRZrF+qv2QXVyWEvvJmu7Lyas2VhEd r3C6u9Si8Gyf/il3d8qkM75zYjtMlbFnv5h8O8qmfsLxUtP2v4eHlP7w21Ft4RFfpcqaaXQw8KC p4P239P5dbfF1nW7Z/dLUpX/D5oKL4A/kXl5R/p7nr32uyirII175gcb1t2cobLtWbt++4cFPTk uGpb5sGk0BDk+fz4Bfz1eTDW7zZ97B8dQu2b/7dXKghz1Zi8PxWfPzNJpPHb7gy/FfnNfi31Mop 2jKUWC6yjr0/d+LU5Mnf9dlNwgr1NHXK2uT7z9uacWUCAA== X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A Plug in USB-C related bits and pieces to enable USB role switching and USB-C orientation handling for the Qualcomm RB1 board. Reviewed-by: Konrad Dybcio Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/qcm2290.dtsi | 42 ++++++++++++++++++++++ arch/arm64/boot/dts/qcom/qrb2210-rb1.dts | 60 +++++++++++++++++++++++++++----- 2 files changed, 94 insertions(+), 8 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/qcm2290.dtsi b/arch/arm64/boot/dts/qcom/qcm2290.dtsi index 0911fb08ed63..6e9a92556423 100644 --- a/arch/arm64/boot/dts/qcom/qcm2290.dtsi +++ b/arch/arm64/boot/dts/qcom/qcm2290.dtsi @@ -689,8 +689,29 @@ usb_qmpphy: phy@1615000 { clock-output-names = "usb3_phy_pipe_clk_src"; #phy-cells = <0>; + orientation-switch; status = "disabled"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + usb_qmpphy_out: endpoint { + }; + }; + + port@1 { + reg = <1>; + + usb_qmpphy_usb_ss_in: endpoint { + remote-endpoint = <&usb_dwc3_ss>; + }; + }; + }; }; system_noc: interconnect@1880000 { @@ -1373,6 +1394,27 @@ usb_dwc3: usb@4e00000 { snps,usb3_lpm_capable; maximum-speed = "super-speed"; dr_mode = "otg"; + usb-role-switch; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + usb_dwc3_hs: endpoint { + }; + }; + + port@1 { + reg = <1>; + + usb_dwc3_ss: endpoint { + remote-endpoint = <&usb_qmpphy_usb_ss_in>; + }; + }; + }; }; }; diff --git a/arch/arm64/boot/dts/qcom/qrb2210-rb1.dts b/arch/arm64/boot/dts/qcom/qrb2210-rb1.dts index 64b2ab286279..00fcc01326ff 100644 --- a/arch/arm64/boot/dts/qcom/qrb2210-rb1.dts +++ b/arch/arm64/boot/dts/qcom/qrb2210-rb1.dts @@ -244,6 +244,46 @@ &pm4125_resin { status = "okay"; }; +&pm4125_typec { + status = "okay"; + + connector { + compatible = "usb-c-connector"; + + power-role = "dual"; + data-role = "dual"; + self-powered; + + typec-power-opmode = "default"; + pd-disable; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + pm4125_hs_in: endpoint { + remote-endpoint = <&usb_dwc3_hs>; + }; + }; + + port@1 { + reg = <1>; + pm4125_ss_in: endpoint { + remote-endpoint = <&usb_qmpphy_out>; + }; + }; + }; + }; +}; + +&pm4125_vbus { + regulator-min-microamp = <500000>; + regulator-max-microamp = <500000>; + status = "okay"; +}; + &qupv3_id_0 { status = "okay"; }; @@ -517,14 +557,8 @@ &usb { status = "okay"; }; -&usb_qmpphy { - vdda-phy-supply = <&pm4125_l12>; - vdda-pll-supply = <&pm4125_l13>; - status = "okay"; -}; - -&usb_dwc3 { - dr_mode = "host"; +&usb_dwc3_hs { + remote-endpoint = <&pm4125_hs_in>; }; &usb_hsphy { @@ -534,6 +568,16 @@ &usb_hsphy { status = "okay"; }; +&usb_qmpphy { + vdda-phy-supply = <&pm4125_l12>; + vdda-pll-supply = <&pm4125_l13>; + status = "okay"; +}; + +&usb_qmpphy_out { + remote-endpoint = <&pm4125_ss_in>; +}; + &wifi { vdd-0.8-cx-mx-supply = <&pm4125_l7>; vdd-1.8-xo-supply = <&pm4125_l13>;