From patchwork Fri Mar 17 15:06:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 13179165 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8AD8AC74A5B for ; Fri, 17 Mar 2023 15:06:38 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 98EB510E264; Fri, 17 Mar 2023 15:06:37 +0000 (UTC) Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0705D10E275 for ; Fri, 17 Mar 2023 15:06:36 +0000 (UTC) Received: by mail-wm1-x336.google.com with SMTP id fm20-20020a05600c0c1400b003ead37e6588so5302499wmb.5 for ; Fri, 17 Mar 2023 08:06:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1679065594; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=gWIjQ50fIVrAQRlofNeocAQLgnxtnHwBc4uhvYE9qPQ=; b=IcFlkPTLn7yAYtfjj/3+fWGiy36sOwr8k1qzkGkwQWlc4r2L0FvimQhQIqApE0xDpI is4hF9vEaCdfj6t2i8ZZepV96J1p3lNA/1KF8ZQDJ4ma4fUHDc0RH4qiT19zi++O8k1M vVX0EUM2vHi2QrBSa/5StXUCRbqJxE0S9/BVMZU51F3/WXrLBEGiZxGxm9PXYL9TdeIe IGm6phkVrUQThyP6THCnRqABFJsuxGRTzQrFfopmPZgI+m3fncdRNr3pHSGfosu372fR IskwZCcIoxky/ALbmcdf3+m9T2EphslouLxqNH0rY6dcvSAv1zv3GLzsbaAKyCz8acpm 3s0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679065594; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=gWIjQ50fIVrAQRlofNeocAQLgnxtnHwBc4uhvYE9qPQ=; b=eHhN8TjnoTV9T6hzxTNgLEC08wqmGpgKxeeUdDWvfonbqIqlRsLGRZ0q8ABEmgpxKE dPZ3WC8Wq4loIW7HYM/PcEpdPsJ65u6cc9fPnDD1lPEqi92cx0AMi+H3hGsf7MLHvA9C POBtqJInUvPwRAQLSmR2Xr1kAY9s84a+r58KHZlHkKcwOLHtVbvKXuFBEEcVG4n93qO5 /feL8eNA0dSUMMg2tHftMwfIpnnuAWetkdbEGELw+Mj2HptkpVxZvFv8EziAIQ7CIU08 dZI1CbJzMlex6n02gVAmOrEuIx4/1Mwy9eJHl5LZF6BauxAxPMwlaClA6b4zI5MqpGyo z0ZQ== X-Gm-Message-State: AO0yUKXaapESDqtcOIJlLPgSaSLYlwsQTeVM5AF12/n6ryktFNNguJ3Z XQDybF7AcMQBksyTD2hc3k/Wxw== X-Google-Smtp-Source: AK7set//ZMCelRRmNvCpiTkkaLWE6bf8oxGkz8Z8HOhcyhzNfGJq8QxwrcJbk5EEak5v1YdsawJv0Q== X-Received: by 2002:a05:600c:3584:b0:3ed:358e:c1c2 with SMTP id p4-20020a05600c358400b003ed358ec1c2mr8650770wmq.18.1679065594350; Fri, 17 Mar 2023 08:06:34 -0700 (PDT) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:52eb:f6ff:feb3:451a]) by smtp.gmail.com with ESMTPSA id f13-20020a5d58ed000000b002c5493a17efsm2187902wrd.25.2023.03.17.08.06.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Mar 2023 08:06:34 -0700 (PDT) From: Neil Armstrong Subject: [PATCH v6 0/5] arm64: dts: qcom: add DP Controller to SM8350 & SM8450 DTS Date: Fri, 17 Mar 2023 16:06:31 +0100 Message-Id: <20230206-topic-sm8450-upstream-dp-controller-v6-0-d78313cbc41d@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAPeBFGQC/53Oy27DIBQE0F+JWJcKLo+YrPofVRc8rmMkAhY4V qvI/16SXeVVvZxZnJkHaVgjNnI5PUjFNbZYcg/67UT8ZPMVaQw9E2AgGDBNlzJHT9ttkIrR+9y WivZGw0x9yUstKWGlwJiS1sHAApIuOduQumqzn7qV7yn1cq44xu/X9OdXz1NsS6k/rycrf7b/G 105ZXTkQqrhDBi4+Ugx21reS72S58AKB1DoqAITLAATWu1RcQAVHdVC42jQGCNgh8oDqOxo8Fa IUQmOLOxQdQBVHbVwHrkDjQ6HP+i2bb8gEBgIQAIAAA== To: Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Kuogee Hsieh , Andy Gross , Bjorn Andersson , Konrad Dybcio X-Mailer: b4 0.12.1 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Neil Armstrong , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Krzysztof Kozlowski , freedreno@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Switch the QMP PHY to the newly documented USB3/DP Combo PHY bindings at [1] and add the DP controller nodes. The DP output is shared with the USB3 SuperSpeed lanes and is usually connected to an USB-C port which Altmode is controlled by the PMIC Glink infrastructure in discution at [1] & [2]. DT changes tying the DP controller to the USB-C port on the HDK boards will be sent later. Bindings dependencies merged into v6.3-rc1. [1] https://lore.kernel.org/all/20230201041853.1934355-1-quic_bjorande@quicinc.com/ [2] https://lore.kernel.org/all/20230130-topic-sm8450-upstream-pmic-glink-v2-0-71fea256474f@linaro.org/ Signed-off-by: Neil Armstrong --- Changes in v6: - Revert DP opp changes - Fix SM8450 combo PHY memory reg range - Link to v5: https://lore.kernel.org/r/20230206-topic-sm8450-upstream-dp-controller-v5-0-a27f1b26ebe8@linaro.org Changes in v5: - Add review tags - Fixed DP opp tables - Link to v4: https://lore.kernel.org/r/20230206-topic-sm8450-upstream-dp-controller-v4-0-dca33f531e0d@linaro.org Changes in v4: - Updated trailers - Fixed patch 4 compatible and reg sizes - Link to v3: https://lore.kernel.org/r/20230206-topic-sm8450-upstream-dp-controller-v3-0-636ef9e99932@linaro.org Changes in v3: - Added Reviewed-by, Tested-by tags - Used QMP PHY constants for phandle parameters - Dropped reordering of mdp ports - Added p1 dp regs address space - Link to v2: https://lore.kernel.org/r/20230206-topic-sm8450-upstream-dp-controller-v2-0-529da2203659@linaro.org Changes in v2: - fixed the bindings - cleaned up the usb_1_qmpphy & displayport-controller nodes as requested by dmitry - removed invalid mdss_dp0 change in sm8450-hdk.dts - Link to v1: https://lore.kernel.org/r/20230206-topic-sm8450-upstream-dp-controller-v1-0-f1345872ed19@linaro.org --- Neil Armstrong (5): dt-bindings: display: msm: dp-controller: document SM8450 compatible arm64: dts: qcom: sm8350: switch to combo usb3/dp phy arm64: dts: qcom: sm8350: add dp controller arm64: dts: qcom: sm8450: switch to usb3/dp combo phy arm64: dts: qcom: sm8450: add dp controller .../bindings/display/msm/dp-controller.yaml | 25 +++-- arch/arm64/boot/dts/qcom/sm8350.dtsi | 121 ++++++++++++++++----- arch/arm64/boot/dts/qcom/sm8450.dtsi | 121 ++++++++++++++++----- 3 files changed, 203 insertions(+), 64 deletions(-) --- base-commit: bf7a33dc3cca43baa4a4ecf86dcb6838fca09451 change-id: 20230206-topic-sm8450-upstream-dp-controller-20054ab280de Best regards,