From patchwork Wed Jun 7 08:05:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 690488 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 65775C77B7A for ; Wed, 7 Jun 2023 08:05:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239463AbjFGIFm (ORCPT ); Wed, 7 Jun 2023 04:05:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50946 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239091AbjFGIFR (ORCPT ); Wed, 7 Jun 2023 04:05:17 -0400 Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70C6B10EA for ; Wed, 7 Jun 2023 01:05:14 -0700 (PDT) Received: by mail-wr1-x42e.google.com with SMTP id ffacd0b85a97d-30aeee7c8a0so228564f8f.1 for ; Wed, 07 Jun 2023 01:05:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686125113; x=1688717113; 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=NM0R8urzzNx7/U/EWs+VO9ol8E23jRS6ix/l2ppndlw=; b=iWeMW6Wi9Q+949S/SQPL21npohA06TPT8E2VTVspKj9rbAyOWZZ5no5jWhscUm64x2 gqWkD2uyVGcX7Ff4aJqNNggPdaSqdMfd1/38MxT5BWdFNUppzcT0V/sLQC27X5OdLX/T u4E/q1AmgAObO+FYC2jM5jwCuExcQL/VCwLXf8TEeAvtom7JuTDHt0wm/xqcmF4egXRI /8MUoaIeRKMKLWV0Vuc8X1C/h2KK9Ksg4uMSoCN1TeWdPc0+vX6R1Ojz+3qM/uTLav1Y K8QSD6ygJaHrxiGQ/Z204cfmX7pwQho8M9+5NpwfgoUsKQWDMCplHq2zgstwS9JmBeGy 5GfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686125113; x=1688717113; 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=NM0R8urzzNx7/U/EWs+VO9ol8E23jRS6ix/l2ppndlw=; b=L6LFpw55vj3G06uUu3K6pQQ7+5k4R4S0ubOH5l7r1RW0USI8BgOEQM83dLn8KrUtYJ SoDMG0jRWjyMgoNesGpGQuLSuY3bmYbWF+SYeACMSWcsrxv6rLbRAIyApPuwQMR184Ub QCrMgupU99fe9/JJ0+ZNc44CQnQ9ntnLiI70CQv8WSdfUl4aexIO2Sc3dpOv7gUZZHH6 Qojxb9zk+waBw2LqfYWcJOM2o6O9veVvsBmpRIjavCdWw1Vh4SRlouzJQPx0nmVVQQGu 60hiaKyOhDLXshzO35DwMXI3Ksb2jpM+ZQ6tPWMsHp50Cbz5FC6ju6N4Ug7f1u8K2m2R C0qw== X-Gm-Message-State: AC+VfDy3nf+lDh3B5npwUNbmaeX5Ict7mYW5m6X5JmE8MEryZgxir2ZW zr/4jSriLYYcVsA+8+KKoXDinw== X-Google-Smtp-Source: ACHHUZ7CPwXdYITfhzf0Q8pbZLFS/Rz6/JNOHiK5RnEp/WNHa2JbqcVR6MGh2cITnjhqTvNsBpsJqw== X-Received: by 2002:a5d:4943:0:b0:30a:e589:68a5 with SMTP id r3-20020a5d4943000000b0030ae58968a5mr3951361wrs.29.1686125112924; Wed, 07 Jun 2023 01:05:12 -0700 (PDT) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:8261:5fff:fe11:bdda]) by smtp.gmail.com with ESMTPSA id h8-20020adfe988000000b0030ae5a0516csm14706269wrm.17.2023.06.07.01.05.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Jun 2023 01:05:12 -0700 (PDT) From: Neil Armstrong Date: Wed, 07 Jun 2023 10:05:05 +0200 Subject: [PATCH v2 6/8] arm64: dts: qcom: sm8550: add ports subnodes in usb/dp qmpphy node MIME-Version: 1.0 Message-Id: <20230601-topic-sm8550-upstream-type-c-v2-6-3bbdf37575c3@linaro.org> References: <20230601-topic-sm8550-upstream-type-c-v2-0-3bbdf37575c3@linaro.org> In-Reply-To: <20230601-topic-sm8550-upstream-type-c-v2-0-3bbdf37575c3@linaro.org> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Andy Gross , Bjorn Andersson , Konrad Dybcio , Heikki Krogerus , Greg Kroah-Hartman Cc: Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-usb@vger.kernel.org, Neil Armstrong X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1083; i=neil.armstrong@linaro.org; h=from:subject:message-id; bh=BkC0Jwx2QyfHEOewEqYxvy0hZhtFX6P/om7OzNUurFk=; b=owEBbQKS/ZANAwAKAXfc29rIyEnRAcsmYgBkgDovIz3MyRZcSVOlZAM03jlffaCfwCFmDW+Zreid 8l7qOWyJAjMEAAEKAB0WIQQ9U8YmyFYF/h30LIt33NvayMhJ0QUCZIA6LwAKCRB33NvayMhJ0diREA CEqL1XZ2NSNj5yvbhcM04yJt1uFWVMeGSFTfy99qcllphGF2UCFLd+C93fdM8Fnj2Oyl9HQYLayJHU Gg7sJqb3UYzCuWQx0bzHm2gfRIXeOt8i6ya+WJmqOINq9Hjyt9a5I/poBXjqGTI5b/YD11g+W0DrTF 8gvHWoSmv6jznD6D0jBdMkwqlCrww2MhbAzjwoG91f7GPAcePWv5TRW1cnKUjHBuwGE3DwkNwp/wr/ 583TdrUDKHU/EDk7dqyPkSoeDknOPFN3MasxomdzpBCqPr5De4pfumRNvT7ftMLsPzX/wbak3d3iAw wm6HBW7JUnNRqftOROQBSaeRcJl+aseeSvomsWuBZNEjdH/Wc55Ay6tOcN7yc4XK7QVxPd7N1hn4KM 6nKVK3i8z2xlzriWbq/JY+X1yI3i+xau3WGSN1ngO6uNoelnhE9ziysUSdd88Oz/gZS/9CMYgrJ/Ng bhTcUQZsCEaDDaV9bAm3r1MxIMxb5v/z4Sj37LEypOkh8XopD/d1e0qJeKewUMEwqgUSpDwFG/E7s5 n3slmLVZ5BHpNe8XXuisNPQgScBQa9Tr48TEuHK++hGHPsv2N2jZsSYoGXuinDboOgbu/GLIda30x8 faXILuoq3Ok4gOcCSsslweGX/3ywog+9qfHPzWNzIwicXOWwwCA7SQyuCzFQ== X-Developer-Key: i=neil.armstrong@linaro.org; a=openpgp; fpr=89EC3D058446217450F22848169AB7B1A4CFF8AE Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Add the USB3+DP Combo QMP PHY port subnodes in the SM8550 SoC DTSI to avoid duplication in the devices DTs. Reviewed-by: Konrad Dybcio Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/qcom/sm8550.dtsi | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8550.dtsi b/arch/arm64/boot/dts/qcom/sm8550.dtsi index b41b3981b3ce..ca2280041f83 100644 --- a/arch/arm64/boot/dts/qcom/sm8550.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8550.dtsi @@ -2838,6 +2838,32 @@ usb_dp_qmpphy: phy@88e8000 { #phy-cells = <1>; status = "disabled"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + usb_dp_qmpphy_out: endpoint { + }; + }; + + port@1 { + reg = <1>; + + usb_dp_qmpphy_usb_ss_in: endpoint { + }; + }; + + port@2 { + reg = <2>; + + usb_dp_qmpphy_dp_in: endpoint { + }; + }; + }; }; usb_1: usb@a6f8800 {