From patchwork Fri Mar 17 09:12:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 664791 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 EDCB0C74A5B for ; Fri, 17 Mar 2023 09:12:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230018AbjCQJMy (ORCPT ); Fri, 17 Mar 2023 05:12:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229962AbjCQJMx (ORCPT ); Fri, 17 Mar 2023 05:12:53 -0400 Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E6D7012F36 for ; Fri, 17 Mar 2023 02:12:50 -0700 (PDT) Received: by mail-wm1-x336.google.com with SMTP id p16so2859821wmq.5 for ; Fri, 17 Mar 2023 02:12:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1679044369; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=7c9JjlZJtBSyylkTITjEuLXDkbRdXKeg/7F2Np4VoK4=; b=xn4ySr462E77WN6Cn3meWVkqicL5GPL6OoJR8/j08mehD3RwTkhDZlBARcVLYaKX0a OqVYYbUHFWKbeirhwfIKeGE7dhDH9vGnz4/6WaBarvZlBHs1yBsP2YZoOQnODh6j/kg8 8KmbrijJg/2Afsv7lOMAJMTqd7XgybPtnUHD1ZUQKxFcaUXiE9XkLTeIQAZYdQymQiqC buhLPWDH6lFEJEWiAoBwogvjVoJgH+DK3Ta0qhHIiLGO0pLJWit9MUc7HDwSLjLjLKOt gXKq+dfIb6BsVlIALLkm0Cyr3goXmVV+JRCQDwDAH0I3KkGfXWOBSx0cmP9WAXytWV9x rTkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679044369; 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=7c9JjlZJtBSyylkTITjEuLXDkbRdXKeg/7F2Np4VoK4=; b=dggnpBmj1V7u/mFDKbe7td9dI8Pos3piPa24NP1hyy1LxL1WwxZhpbsYjXXDDY6PRL bAFTtqdT1SL7WYPxEfv6z+M/rdiKxX7Yg8VhHPeYWpRBdERpCTMH8k/PI7O43zK8VlWq B4QLqOOQuaY5baVbo5N3Ysyu614V9Ub4avV5wB8swvQ05jxExOIX+OMJ4edM2adU9yIL SyZOE2PBxt3TTPk06DP+LzfbZj2LkZYkymxq3TSsHUXwG4yzuvObnEbdnXc4v8y5o6H3 FL1c4QAK/yIqdjRr8eu7rGJQ3EX3PTU+RiGVnfszz5wcIalXOD37i/zicScOmwK3eUxv 5W9g== X-Gm-Message-State: AO0yUKX4NfxAVyuq7h21ctI09dn1g1tUibjoyIFpQwHuAxyXb2ENSecg LbT+1XdHzpfynpVn/rxgXMEztw== X-Google-Smtp-Source: AK7set9wS82lmwxJ2FaGmXLBW3ZcVfgDdtvU2c/fw/pgl2hG50W8e3fNXMlvw97WzyU99JYiYl65iw== X-Received: by 2002:a05:600c:46d3:b0:3e2:a9e:4eaa with SMTP id q19-20020a05600c46d300b003e20a9e4eaamr24281346wmo.35.1679044369379; Fri, 17 Mar 2023 02:12:49 -0700 (PDT) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:52eb:f6ff:feb3:451a]) by smtp.gmail.com with ESMTPSA id j10-20020a5d464a000000b002cea8f07813sm1467976wrs.81.2023.03.17.02.12.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Mar 2023 02:12:49 -0700 (PDT) From: Neil Armstrong Subject: [PATCH v5 0/5] arm64: dts: qcom: add DP Controller to SM8350 & SM8450 DTS Date: Fri, 17 Mar 2023 10:12:46 +0100 Message-Id: <20230206-topic-sm8450-upstream-dp-controller-v5-0-a27f1b26ebe8@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAA4vFGQC/53OwW7DIBAE0F+JOHcrvIBreup/VD1gWMdIBKzFs VpF/veS3Kqc6uPM4c3cRCWOVMX76SaYtlhjyS2Yl5Pws8tnghhaFihRSZQ9rGWJHupl0EbCdak rk7tAWMCXvHJJiRhQSqPdiIMMJJo0ukowsst+bla+ptTKhWmK34/pz6+W51jXwj+PJ1t3b/83u nUgYeqUNsMbUujsR4rZcXktfBb3gQ0PoNhQgzY4RKl684yqA6hqaK96mixZaxU+ofoAqhsavFN qMqojGf6g+77/AiRA6YnrAQAA 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 Cc: linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Neil Armstrong , Krzysztof Kozlowski X-Mailer: b4 0.12.1 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org 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 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 | 116 +++++++++++++++----- arch/arm64/boot/dts/qcom/sm8450.dtsi | 121 ++++++++++++++++----- 3 files changed, 198 insertions(+), 64 deletions(-) --- base-commit: 6f72958a49f68553f2b6ff713e8c8e51a34c1e1e change-id: 20230206-topic-sm8450-upstream-dp-controller-20054ab280de Best regards,