From patchwork Wed May 3 13:10:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 678872 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 6D291C7EE2C for ; Wed, 3 May 2023 13:10:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230080AbjECNKq (ORCPT ); Wed, 3 May 2023 09:10:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36086 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230060AbjECNKn (ORCPT ); Wed, 3 May 2023 09:10:43 -0400 Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F67D59D1 for ; Wed, 3 May 2023 06:10:42 -0700 (PDT) Received: by mail-wr1-x431.google.com with SMTP id ffacd0b85a97d-3063208beedso2865562f8f.1 for ; Wed, 03 May 2023 06:10:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683119440; x=1685711440; 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=RRRCfBO6zriGG0nKdP8d0t75xCVvsaU1mz5Nyygo3mM=; b=is33I0lzOV2ICPraJ/KD3Yp3FRiAGD3WAWupEEYMkppZu2jq3twhkt0Id0GGIBZ1/X 9yvp49PCEiFuWlyFQ3e2/EEYD4pFbUWRmssVJNcTA4aoqqsOYpwmNg5Ozy9z6TcUrmJ+ AAvyVo7Qcg79Dpo9BYn0vIrXCSQMETEkyOBk532f71Sl3v6gxOaojAteQ4OePTmc+N5E It2K9sag5ObfzDbN5MhCcDHS1wl6tz0i1ADh6HBqedHciPZjxRuNbo9GhTvJn/uDieJw RFhHFA6dF/G67o4gm4tprsB6u5LdbjlGML6e94c9aGeWAiP4eLHxhYE0TRlc/l8snFYd ffcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683119440; x=1685711440; 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=RRRCfBO6zriGG0nKdP8d0t75xCVvsaU1mz5Nyygo3mM=; b=kd6/JwRAhsNwJtDPJsigPv3wUo6UjWVK/jWLfeXs7Bk1SHGL9EyYq/FYymIdt7QbKX kXfU/Rjzh8Tdt5gPbRHXU29g+1mx3UvUVIZdbRxCuseO5vaN0MIxbNg3YLc8kmQOKWgO mXkRBYukJYC635ITKpXcCmcfMQSMRlBahdMhm1M8P7ChrZAbkO2VFeDZAFrNtHZwe0ht a6k/jAbebWeUggUh1DrecDBw9p4JsN3DdpNSSID5xASc2qtr7EpIvM7QT5jge3U+53Py g7Ibq9kMVLe7j/tSbOL3I17AzfLdvn2F1TqBKrQzC7s7uaHYYFa5T1iD1MkeZtZVW8BZ e8Eg== X-Gm-Message-State: AC+VfDwo67nqRVToY8RcRBRpHIyaps0FQ6ClUXKKsGaanTHDPkXtDuPG /KKKP69ML/jA4JZjP44yGm6AtrlTBfViF6iYXewiXA== X-Google-Smtp-Source: ACHHUZ7YmNOQEeoWBoM+1c9TP4UZ3Rx8cmIbiP17RQtewUwL1cusQ6+rLY8NMFOXveXIxheZ36BMIQ== X-Received: by 2002:adf:fed0:0:b0:306:4162:ebbe with SMTP id q16-20020adffed0000000b003064162ebbemr18177wrs.49.1683119440626; Wed, 03 May 2023 06:10:40 -0700 (PDT) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:8261:5fff:fe11:bdda]) by smtp.gmail.com with ESMTPSA id c10-20020adffb0a000000b00306344eaebfsm5413479wrr.28.2023.05.03.06.10.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 May 2023 06:10:40 -0700 (PDT) From: Neil Armstrong Date: Wed, 03 May 2023 15:10:34 +0200 Subject: [PATCH 2/6] arm64: dts: qcom: sm8450: add ports subnodes in usb1 qmpphy node MIME-Version: 1.0 Message-Id: <20230503-topic-sm8450-graphics-dp-next-v1-2-d1ee9397f2a6@linaro.org> References: <20230503-topic-sm8450-graphics-dp-next-v1-0-d1ee9397f2a6@linaro.org> In-Reply-To: <20230503-topic-sm8450-graphics-dp-next-v1-0-d1ee9397f2a6@linaro.org> To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Catalin Marinas , Will Deacon Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Neil Armstrong X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1093; i=neil.armstrong@linaro.org; h=from:subject:message-id; bh=2NeDm2a5PIonvEq6H3mDXLNkkIBuy9fp6P7lG0yr9FI=; b=owEBbQKS/ZANAwAKAXfc29rIyEnRAcsmYgBkUl1L7oVPDuhz64aBwhRYqvYFZ/tJifAQJ05Otmdq 0luezMuJAjMEAAEKAB0WIQQ9U8YmyFYF/h30LIt33NvayMhJ0QUCZFJdSwAKCRB33NvayMhJ0ZOHEA CXPa4vVJ/HlRdJPFG7o6Vw7pajeL/SvZ5L5NyQMnXyqjRNSQiqXsOPmod7yKQtcgZe0OwIZK1RgzOI ZPkO9lJ24ACNbJuWe1E+ghe3OSXOT5eQJ2YQdU0E1pcTYnPaLpZSvtQ6mSRyHnnB3dax87q4ALJ2hQ YYeyv3wmpvNtFuKHflWb4waUDmsqbnC2CRaw+k9XCSmIChycT/XYz5R+ACVK/4iTZLqNFL1U8+uJo6 +dxZX6Zx6Gt5nHXB9KtIcBr4GvmEqp2FkqZFJX4QlvSCpcHSA856ISgrial9Zlytt/ddF+vmai49m4 r7Ed+dzOF2fX6sC1YH596PhgJTYaKp7bMspLxITnsnFObPhXpF5rjOKp57MLNsnSLneQay4sNZcQx+ vHs8s4EDjgfktcXuodEhs3BvlbKKI4830WM6/s7+Iu0HxeT/PIUTQRg6g194LT4yEvRKn3A3d1ppP7 bpAeA6FsgRTMc0PbVdn+QRQ2BpktYuOsI1RVvz/5EpVthhSLVJRU3zbMhVriv50IJDt3lAAS5Oxycm Pop88J8rpy/KVUt0oFA5PpCVonnlMCvmr4x2JjtHxm7AB4ndfPr6A1eb8pLC+if4f9MVHC3VWz2DVJ obb/OBzutgisK4+aE4iUZXZBfiJO5m1wGHbnAVhvwNpFtBHs5oARt2uZri0g== X-Developer-Key: i=neil.armstrong@linaro.org; a=openpgp; fpr=89EC3D058446217450F22848169AB7B1A4CFF8AE Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add the USB3+DP Combo QMP PHY port subnodes in the SM8450 SoC DTSI to avoid duplication in the devices DTs. Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/qcom/sm8450.dtsi | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8450.dtsi b/arch/arm64/boot/dts/qcom/sm8450.dtsi index 595533aeafc4..207afd48788f 100644 --- a/arch/arm64/boot/dts/qcom/sm8450.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi @@ -2044,6 +2044,32 @@ 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 { + #address-cells = <1>; + #size-cells = <0>; + reg = <1>; + + usb_1_qmpphy_usb_ss_in: endpoint@0 { + reg = <0>; + }; + + usb_1_qmpphy_dp_in: endpoint@1 { + reg = <1>; + }; + }; + }; }; remoteproc_slpi: remoteproc@2400000 {