From patchwork Sat Dec 9 23:21:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 752033 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="P6L07Sln" Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [IPv6:2a00:1450:4864:20::236]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 36D57193 for ; Sat, 9 Dec 2023 15:21:41 -0800 (PST) Received: by mail-lj1-x236.google.com with SMTP id 38308e7fff4ca-2ca0715f0faso44716821fa.0 for ; Sat, 09 Dec 2023 15:21:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702164099; x=1702768899; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=3GZgKuZu+RtdOCNxwqqoLLGadbIzwEY8PzUJoUplRZg=; b=P6L07SlnEgChUfUwO4R6S/pANaQtN2mqJWRRI6fQSYF7fbzsUKCQWlo62wYnWXEMEg gQfyad8NpdLkv6uA1mG+U70gViz0p8aIATua4cqsMggrMrGn4yJWI7YHvy3o943YcCdB /5NfDKa7h0wgSfj1O5UVuFqZLwsQyB7vXplY7SDCnt6irz9VNuCbtIZb+5qNWsFkhKtv D5l5Y24lMVH61EqhqvIQTEuEVKzMHkFlmCeQZMNL6IFB19iHaneWjIqNjACoytgH3LZt yhMe3gjPNR6f5cckdgk2LtLGnHwSbSTlA6jAEBBxJBw241h58HXMOlf71FDL2SAT2mB0 NP+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702164099; x=1702768899; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=3GZgKuZu+RtdOCNxwqqoLLGadbIzwEY8PzUJoUplRZg=; b=CLWXe3hcjCCxnMYUqIg8lyVvt1dQYaWsyI6obHgAiSaSUOi5pWj4d6C/F/y/dtkpF1 w1PO8t01+rz9FLNx60W3bMst4hb91L0iGrGkeQwcTeKFswFV3zLBh/UIikfWFAv6Q+8d Gxa9fX8fgLgVUKoAL+0+7f8hoW9RW6gQ/ym6Q2/sQbJSSaeSYveoMNHrdHZPuEOLWELF YjcnZ/QQwiSTOo+I+ug8nP55/sJwI+BRh/Lm2WtwSFDx2g91MaipU1MiVrglRSNf1l07 IZIhkRExrIkvl3GXiVZHMgdsHnjs4psx0A5050OjGk26FtFakjwSez3DQLe6J1/lDtB/ 9eKw== X-Gm-Message-State: AOJu0Yws7qfco8iEYnpWOci7cFHWvhJWbPVQwiMjK6G3q/CP1MocAZN1 J9t1zJpNFyeyW7zTr34ogpNfXQ== X-Google-Smtp-Source: AGHT+IEYSsMk9cOndMCGOckOeg7OcH8sDXc9AxxmkfBY4lvASvw2U6bIWjPnfGmMGFoIvrwOAtRbbg== X-Received: by 2002:a2e:b013:0:b0:2c9:f4c5:7f1f with SMTP id y19-20020a2eb013000000b002c9f4c57f1fmr764271ljk.74.1702164099406; Sat, 09 Dec 2023 15:21:39 -0800 (PST) Received: from umbar.unikie.fi ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id z18-20020a2ebe12000000b002c9f59f1748sm685258ljq.7.2023.12.09.15.21.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Dec 2023 15:21:38 -0800 (PST) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Clark , Sean Paul , Abhinav Kumar , Marijn Suijten , Rob Herring , Krzysztof Kozlowski Cc: Stephen Boyd , David Airlie , Daniel Vetter , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org Subject: [PATCH 7/9] arm64: dts: qcom: sm8150: add USB-C ports to the USB+DP QMP PHY Date: Sun, 10 Dec 2023 02:21:30 +0300 Message-Id: <20231209232132.3580045-8-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231209232132.3580045-1-dmitry.baryshkov@linaro.org> References: <20231209232132.3580045-1-dmitry.baryshkov@linaro.org> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Expand Combo USB+DP QMP PHY device node with the OF ports required to support USB-C / DisplayPort switching. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sm8150.dtsi | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi index ea7c92c0e405..38423a9f8408 100644 --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi @@ -3447,6 +3447,29 @@ usb_1_qmpphy: phy@88e8000 { #phy-cells = <1>; status = "disabled"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + usb_1_qmpphy_out: endpoint {}; + }; + + port@1 { + reg = <1>; + + usb_1_qmpphy_usb_ss_in: endpoint { + }; + }; + + port@2 { + reg = <2>; + + usb_1_qmpphy_dp_in: endpoint {}; + }; + }; }; usb_2_qmpphy: phy@88eb000 {