From patchwork Thu Mar 9 09:18:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 13167102 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 3B069C6FD1F for ; Thu, 9 Mar 2023 09:19:07 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 738F210E7BB; Thu, 9 Mar 2023 09:19:06 +0000 (UTC) Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by gabe.freedesktop.org (Postfix) with ESMTPS id EEC5910E7BC for ; Thu, 9 Mar 2023 09:19:04 +0000 (UTC) Received: by mail-wm1-x330.google.com with SMTP id m25-20020a7bcb99000000b003e7842b75f2so744457wmi.3 for ; Thu, 09 Mar 2023 01:19:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678353543; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=LusevUH+SRkUXslUQ5vOufYX7haQVeFO1OhyQy8vqF0=; b=DUttmBslMVfOiKE3J4udI8ShvJc34pEqiXtTgUE+SHjQgB3rKA9bN6BI2rrqqhoDMz IIMf18QHVfKBx8fBkg/lgBN3bDREoRnUm50vELswc4quXMnGO1zyyej2+vq7Mx2JsQvY iJZgE6wPaHjC3q+tN5sskwja4v9jbpglTcDFgZljeS7N9PRKW+Vy4saipk2D/IOOpoPh jw8T+50hIC2/kIIUscVIP3XjKeKl2dBnb55sz+VsXJ/k7qn5IBG4BKkLIVMlU3Yyv+v8 Z9oScWlQkbXY8q5C7fPuE6OzmSsL8u7yH6uJNEZf4BJnD0e+oh67KSrSh2H0JTopj5+4 oQvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678353543; 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=LusevUH+SRkUXslUQ5vOufYX7haQVeFO1OhyQy8vqF0=; b=b0/7AjP3+UlqHoylw1eaz8o1zidLMXq54YZ0ql13Ov7dkFV7JY4oo0uMIFfFyrY7lF uPlRrfw3jkGR32glFsc0lKz+PkOj/JzhfBs25bEsdfhj0MrT0DeQ+Liz7jwCa3GCyQ+n FKUJVI/XGiGAPqaGEi537ZBB1M477Q030sa5qSf7IR3Ay9XPflcTcpV8BPDGBwN9aBZJ wtSow2mBHmFK70Bjf+Qin2/XnhOh66CPXGXYED/pvdCHFn6u3Qn0f+G8kq5YaSpAp2Jl Yyi1elzh4IFIu9Xx7ASjhDZ6S7IbENujGhyjgxqpHELo243kYSKCEufo7rGnydXmdatU 6MwQ== X-Gm-Message-State: AO0yUKXF5zfsFlwNS9PA8vy64EI5a6AgRz7+6ncL0U9Pw/v77pi5nyPV V6pydSNdh9O9LzZ42z8QeWQijQ== X-Google-Smtp-Source: AK7set+4o48cfbThwFEajvH+tETOf6lLG/fUBCI1TvKH5P1isYlgRMCZtRozAAq7XRjzRgLJf3CyXw== X-Received: by 2002:a05:600c:4ecb:b0:3eb:3148:a1b7 with SMTP id g11-20020a05600c4ecb00b003eb3148a1b7mr18522092wmq.12.1678353543380; Thu, 09 Mar 2023 01:19:03 -0800 (PST) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:8261:5fff:fe11:bdda]) by smtp.gmail.com with ESMTPSA id o8-20020a05600c4fc800b003ebfc075eaasm2177066wmq.16.2023.03.09.01.19.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Mar 2023 01:19:03 -0800 (PST) From: Neil Armstrong Subject: [PATCH v4 0/5] arm64: dts: qcom: add DP Controller to SM8350 & SM8450 DTS Date: Thu, 09 Mar 2023 10:18:59 +0100 Message-Id: <20230206-topic-sm8450-upstream-dp-controller-v4-0-dca33f531e0d@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAIOkCWQC/53OsW7DMAwE0F8JNJcFTVmulan/UWSQLToWoEgG5 RgpAv97lWxFp2a8G97dXRWWwEUdD3clvIUScqqhfTuocXbpzBB8zYqQNBJ2sOYljFAufWsQrkt Zhd0F/AJjTqvkGFmAEE3rBurRs6rS4ArDIC6Nc7XSNcZaLsJTuD2nv041z6GsWb6fT7bm0f5vd GsAYWp0a/oPYt/YzxiSk/ye5aweAxu9gFJFDVnviFB35i+qX0B1RTvd8WTZWqvpF7rv+w8/25A ulgEAAA== 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 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: fe15c26ee26efa11741a7b632e9f23b01aca4cc6 change-id: 20230206-topic-sm8450-upstream-dp-controller-20054ab280de Best regards,