From patchwork Fri Mar 29 07:45:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 13610268 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 4AD7FCD1288 for ; Fri, 29 Mar 2024 07:47:21 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6F33489364; Fri, 29 Mar 2024 07:47:19 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=fairphone.com header.i=@fairphone.com header.b="ByOgAKKo"; dkim-atps=neutral Received: from mail-ej1-f53.google.com (mail-ej1-f53.google.com [209.85.218.53]) by gabe.freedesktop.org (Postfix) with ESMTPS id D556C11256B for ; Fri, 29 Mar 2024 07:47:00 +0000 (UTC) Received: by mail-ej1-f53.google.com with SMTP id a640c23a62f3a-a4a387ff7acso213130866b.2 for ; Fri, 29 Mar 2024 00:47:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1711698357; x=1712303157; darn=lists.freedesktop.org; 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=ktUevP6u8w4KHYW86f+K8GcdXFfL/uIUgZtZWzBIQhc=; b=ByOgAKKoI17PIXQkYCuJ6Lv2MBvgMnna/WJs8v7GfOWiJAjcS7UogYxbWk2vH9MLZX lzqJrTIUahY1O8T8FEjVz3dMAv3VgpTRScqcobgiIHQC662XwJ9Yp9S4bvVV8u/jvk5N pkyrdtjGqX10EtSPdXAmWYNAty/I4+yOrQ2wdyX5atvtRtXSYeKfYl0cLxKagh5G5rkV kCQZ7sKTLpV4+PsV/Gq/mQlvOBa1DaPU+JegXaUQZ4oH+hak0nolDJ+BUZqmBsFh9t6S dHSuQzOG+5hXhqTVC9ah7SAph0zM2yy72nNVDjNYyaro6p4fLbVsXG+ymhnJu9p2pCLc M0aA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711698357; x=1712303157; 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=ktUevP6u8w4KHYW86f+K8GcdXFfL/uIUgZtZWzBIQhc=; b=YbIvNGRRt9oGIAXQkfKIPnPgbhqyDBaJwAjPwVnleu6OTzc1J7TH2tUPvUSr+BN5Qn JMc4fX9+OvIS9zCV9yXckxFxgNIY7VN4kKabLfPaCxbqNVnHJmx24t0XU765BgBZAb6b +p5o5uI6m/r+B0qzLiTA17H/QHZik+Qa1KiH67LYA3dE4Y2UNlCHPSf5+tFf3r2Oat9+ a7lCFevm9ER3XcrIgy2pk65n02bJazwn0cbewrFf5kROp3evrJ/tJf5DkyUFRyKbTLVe SSl2Oz1eNqfcPHvbymgYUSq6CQGB7dXpFSCklOWIvMREmwIoPp6LHinFpy/FppctKfuM PNMA== X-Forwarded-Encrypted: i=1; AJvYcCWyH7K+OsvkKfgxadudx6OMAHLeTJsA9UXx/4B1fs7SWUA+O3PR5BMtFZPSyJJzCgya6RFF/xiEkiffNp6meAgEtXMy6DAbqvQ+7ckjLRP5 X-Gm-Message-State: AOJu0YyQSmr2VWzc0V10+xocnIMyNl5KR5BK3xwHcQNJZuxrWfO62kTM JRldaEUcCOEPU1uluLzrI+5nXdPMPxwyKegH8BV2k8Yvx9AlZUBa4+Ya3RpfzTE= X-Google-Smtp-Source: AGHT+IFa6363X6GOmkR4BsEQwG0xCUHGlbVBpxaeQsPeMOww1hYOuly/ejvvRwJqZ9obHOITNtL4iQ== X-Received: by 2002:a17:906:5053:b0:a4e:2a62:7eb6 with SMTP id e19-20020a170906505300b00a4e2a627eb6mr863656ejk.51.1711698357114; Fri, 29 Mar 2024 00:45:57 -0700 (PDT) Received: from otso.luca.vpn.lucaweiss.eu (144-178-202-138.static.ef-service.nl. [144.178.202.138]) by smtp.gmail.com with ESMTPSA id l9-20020a1709060cc900b00a4e24d259edsm1382737ejh.167.2024.03.29.00.45.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Mar 2024 00:45:56 -0700 (PDT) From: Luca Weiss Date: Fri, 29 Mar 2024 08:45:54 +0100 Subject: [PATCH v2 1/3] dt-bindings: display: msm: dp-controller: document SM6350 compatible MIME-Version: 1.0 Message-Id: <20240329-sm6350-dp-v2-1-e46dceb32ef5@fairphone.com> References: <20240329-sm6350-dp-v2-0-e46dceb32ef5@fairphone.com> In-Reply-To: <20240329-sm6350-dp-v2-0-e46dceb32ef5@fairphone.com> To: Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , Marijn Suijten , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Kuogee Hsieh , Krishna Manikandan , Bjorn Andersson , Konrad Dybcio Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Luca Weiss X-Mailer: b4 0.13.0 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: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Add the compatible string for the DisplayPort controller on SM6350 which is compatible with the one on SM8350. Acked-by: Rob Herring Signed-off-by: Luca Weiss --- Documentation/devicetree/bindings/display/msm/dp-controller.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/display/msm/dp-controller.yaml b/Documentation/devicetree/bindings/display/msm/dp-controller.yaml index ae53cbfb2193..97993feda193 100644 --- a/Documentation/devicetree/bindings/display/msm/dp-controller.yaml +++ b/Documentation/devicetree/bindings/display/msm/dp-controller.yaml @@ -29,6 +29,7 @@ properties: - qcom,sm8650-dp - items: - enum: + - qcom,sm6350-dp - qcom,sm8150-dp - qcom,sm8250-dp - qcom,sm8450-dp From patchwork Fri Mar 29 07:45:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 13610269 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 58811CD1288 for ; Fri, 29 Mar 2024 07:47:28 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8B1A1112571; Fri, 29 Mar 2024 07:47:26 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=fairphone.com header.i=@fairphone.com header.b="gXDaqmA9"; dkim-atps=neutral Received: from mail-lf1-f50.google.com (mail-lf1-f50.google.com [209.85.167.50]) by gabe.freedesktop.org (Postfix) with ESMTPS id AD23E112572 for ; Fri, 29 Mar 2024 07:47:01 +0000 (UTC) Received: by mail-lf1-f50.google.com with SMTP id 2adb3069b0e04-515cd2ae7aeso603872e87.0 for ; Fri, 29 Mar 2024 00:47:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1711698358; x=1712303158; darn=lists.freedesktop.org; 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=4McqOYY3UTRJyQ2CjaqCL8nyfMiP9YKrs8lnA2q8yiE=; b=gXDaqmA9quiZp+ruPAMGnI1hoJMmVf1Uhv3vmcXui1gptk+fz1TzaJpCOT6ABSyipZ FBGMdupgESxudLwz8pjWizjdh/PLdKiKJaglBYYllauezBcP1vEu1GE9i+4cgGu7CWIq Ln34oZAcqlkEb38fVqIq7zo0M2vleCCh+5GyvQnWhvWcBLhjaA05HZ3Dnn8Y9j3NYzTv 4LrPFw1tjyT+CWTrbEmRZF7qaPRGhuW/9oUkE+kGAz/vEbgY5I/ChVz/FLqQWTDnOwLe p2WI3xEsB4KZgSX+MXqNX38EL2cKv7OADWUr1baZBM0tdAcsHWOBMImzekhFrZN72gWo IcPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711698358; x=1712303158; 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=4McqOYY3UTRJyQ2CjaqCL8nyfMiP9YKrs8lnA2q8yiE=; b=mX/YQq3hY0GGCzFpZKGaVCj/b3jQICjGEmmkNcnZyU39Mz88XLw26/aTF9LctuFHon IcCL0IhVUzJ6u5NshOyOgz2fWnYB+4YdTcZlGa5Z5kRO/vr6sT5khFEfzJEne/o3hzR5 XWEur7EE0gjzzjGeanmJOjlQG8PKi9+RHATe8r/HEsHMwqfAQFRa6HdwuQjJ5Yadf0E/ VBtUuC7COcoDoJQ9sVVW/GviFsBbCOsQpiJMqtH1EEvhyvd8SWPRLpln+L7p7R0scgi2 6PUIdWpjGAIxXYxYx2nzI001n4oTc35Tk2sgvpVFBB0TqAjZA6XUyTIlDfNhvZ6ws1UH NCHg== X-Forwarded-Encrypted: i=1; AJvYcCWXeW2bDTHcoys7pdsDj25JhKoOA5l28hTcCysLUepJKP0p5ovGan/hKRtIiz/hkFYpm5ePPo+tXkUOSp+APTEL6klRray/oNEUhOIw23Jr X-Gm-Message-State: AOJu0YxpxPb9WLnqsA92XoYZf9cBvVNvqu7lYTK0woTlBCHDdL0BVHF6 oUeMC0arQ3Ca+QpoyYm70YnBBbFYRE6AThEMqxLk8smY1ambOgk3f/l+T8bSygE= X-Google-Smtp-Source: AGHT+IGr9SjS2/x9Bg3Cg9sAk0T6zHFzcOeMV4fzLJHUxJzzp46Etz1DP0Mivc1g9nSdBVgZiLJLTg== X-Received: by 2002:a19:2d06:0:b0:513:d8e3:fe3d with SMTP id k6-20020a192d06000000b00513d8e3fe3dmr976784lfj.26.1711698358274; Fri, 29 Mar 2024 00:45:58 -0700 (PDT) Received: from otso.luca.vpn.lucaweiss.eu (144-178-202-138.static.ef-service.nl. [144.178.202.138]) by smtp.gmail.com with ESMTPSA id l9-20020a1709060cc900b00a4e24d259edsm1382737ejh.167.2024.03.29.00.45.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Mar 2024 00:45:57 -0700 (PDT) From: Luca Weiss Date: Fri, 29 Mar 2024 08:45:55 +0100 Subject: [PATCH v2 2/3] dt-bindings: display: msm: sm6350-mdss: document DP controller subnode MIME-Version: 1.0 Message-Id: <20240329-sm6350-dp-v2-2-e46dceb32ef5@fairphone.com> References: <20240329-sm6350-dp-v2-0-e46dceb32ef5@fairphone.com> In-Reply-To: <20240329-sm6350-dp-v2-0-e46dceb32ef5@fairphone.com> To: Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , Marijn Suijten , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Kuogee Hsieh , Krishna Manikandan , Bjorn Andersson , Konrad Dybcio Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Luca Weiss X-Mailer: b4 0.13.0 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: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Document the displayport controller subnode of the SM6350 MDSS. Signed-off-by: Luca Weiss Reviewed-by: Krzysztof Kozlowski --- .../devicetree/bindings/display/msm/qcom,sm6350-mdss.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Documentation/devicetree/bindings/display/msm/qcom,sm6350-mdss.yaml b/Documentation/devicetree/bindings/display/msm/qcom,sm6350-mdss.yaml index c9ba1fae8042..bba666bdffe5 100644 --- a/Documentation/devicetree/bindings/display/msm/qcom,sm6350-mdss.yaml +++ b/Documentation/devicetree/bindings/display/msm/qcom,sm6350-mdss.yaml @@ -53,6 +53,15 @@ patternProperties: compatible: const: qcom,sm6350-dpu + "^displayport-controller@[0-9a-f]+$": + type: object + additionalProperties: true + + properties: + compatible: + contains: + const: qcom,sm6350-dp + "^dsi@[0-9a-f]+$": type: object additionalProperties: true From patchwork Fri Mar 29 07:45:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 13610267 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 B8D61C6FD1F for ; Fri, 29 Mar 2024 07:47:11 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id F350311256F; Fri, 29 Mar 2024 07:47:10 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=fairphone.com header.i=@fairphone.com header.b="p3Aol2CU"; dkim-atps=neutral Received: from mail-ej1-f47.google.com (mail-ej1-f47.google.com [209.85.218.47]) by gabe.freedesktop.org (Postfix) with ESMTPS id DCF1711256F for ; Fri, 29 Mar 2024 07:47:00 +0000 (UTC) Received: by mail-ej1-f47.google.com with SMTP id a640c23a62f3a-a466fc8fcccso223318766b.1 for ; Fri, 29 Mar 2024 00:47:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1711698359; x=1712303159; darn=lists.freedesktop.org; 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=lcotkK4GO99SFGIIH8jXD+5kvmn1tNTmHBz7CWYrF30=; b=p3Aol2CUSQHqatj9gl57fvXtN0E9hU72flfa20XWIaw/B+6UXQUAYjlfXPSbwhzZoQ oG5wHy9z27aoEFTm3cykh7BUyAjHKE911ehGG0oawpPJAzxDRSufFNrE2W838h1OgGgL Gw4aQFLBGyxhSFjgcBzH+pqWTHjsnl4KhNwHY8kKJjSe2W/Nj1Egy0wo2xEGMjKvZbQn KFn1yO0Nzww3y2ghQFE46dynrON90xuTRRCA+9SXQ9ONMZvPu+77YSAgyAdvV64OYi0A mtlUpPV/qXNzahof87U671fLh/h69WQUqGaabm1pvrhNjpXxykKW5Swm88p9va03LRuJ kw7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711698359; x=1712303159; 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=lcotkK4GO99SFGIIH8jXD+5kvmn1tNTmHBz7CWYrF30=; b=Asty79iUjkkg1Sp+ANYui9+61axZ08zcO4Bwko0JVV4TzPlu0ZIK3nFYXs4fB9e8tK qSWOrItKcDo3s/U4ewSnZ0RZ89fJKE0qK1E57ggabq4IhtJ945G0tmUkvnPIVPSBZ9Vw B62k52jTckEpdOtzvowi+rhAYDiFq7m7xPmPPIu9KDCM8OnB7QHKVgzrNwAhS6itA2Gi 1u6mCuXqDWsa3o8bttEPFRIUz0QPBpCiZupF1PYCUFAEQ5Kpxo37d//jov3/VA7cpnV+ 9lT5ExGJc66ekTMs8Ue7qJWvAu8jLUnKRjY+GUQzbNuw7gISL0eN2wn6Kkd5cO/2ORp6 f5Bw== X-Forwarded-Encrypted: i=1; AJvYcCXD+0bcvSlwfwoFEJHzKlKgOmB8mL464KGfUc2B1fRVyUxgkhlVZDyDl8pE3teFGFXYfrdFnlDzVMHvXPVN7HB1i6gl2WSLiveg/2y89ROR X-Gm-Message-State: AOJu0YyU3b2qLkfypkcTspA/HxC5oeggkmusfAUEhzioKWCrYMpGTsr3 ZvfHT3WRCCLWfVdy2LDx9MLK75pXgQN9za9V+7ZUNN+bzIahixnc2uk/7HFi3q4= X-Google-Smtp-Source: AGHT+IE24627ppy3W0EYA3xkVYAvPY4pdoTFgJaCVO/S+vc52RfohmJ4tnXqThQoPHfY+9NaDMJ7Ng== X-Received: by 2002:a17:906:a88a:b0:a47:5265:9aac with SMTP id ha10-20020a170906a88a00b00a4752659aacmr859536ejb.55.1711698359536; Fri, 29 Mar 2024 00:45:59 -0700 (PDT) Received: from otso.luca.vpn.lucaweiss.eu (144-178-202-138.static.ef-service.nl. [144.178.202.138]) by smtp.gmail.com with ESMTPSA id l9-20020a1709060cc900b00a4e24d259edsm1382737ejh.167.2024.03.29.00.45.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Mar 2024 00:45:58 -0700 (PDT) From: Luca Weiss Date: Fri, 29 Mar 2024 08:45:56 +0100 Subject: [PATCH v2 3/3] arm64: dts: qcom: sm6350: Add DisplayPort controller MIME-Version: 1.0 Message-Id: <20240329-sm6350-dp-v2-3-e46dceb32ef5@fairphone.com> References: <20240329-sm6350-dp-v2-0-e46dceb32ef5@fairphone.com> In-Reply-To: <20240329-sm6350-dp-v2-0-e46dceb32ef5@fairphone.com> To: Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , Marijn Suijten , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Kuogee Hsieh , Krishna Manikandan , Bjorn Andersson , Konrad Dybcio Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Luca Weiss X-Mailer: b4 0.13.0 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: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Add the node for the DisplayPort controller found on the SM6350 SoC. Reviewed-by: Dmitry Baryshkov Signed-off-by: Luca Weiss Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm6350.dtsi | 88 ++++++++++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6350.dtsi b/arch/arm64/boot/dts/qcom/sm6350.dtsi index 24bcec3366ef..d7cf4b5ceea6 100644 --- a/arch/arm64/boot/dts/qcom/sm6350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6350.dtsi @@ -2033,6 +2033,14 @@ dpu_intf1_out: endpoint { remote-endpoint = <&mdss_dsi0_in>; }; }; + + port@2 { + reg = <2>; + + dpu_intf0_out: endpoint { + remote-endpoint = <&mdss_dp_in>; + }; + }; }; mdp_opp_table: opp-table { @@ -2070,6 +2078,86 @@ opp-560000000 { }; }; + mdss_dp: displayport-controller@ae90000 { + compatible = "qcom,sm6350-dp", "qcom,sm8350-dp"; + reg = <0 0xae90000 0 0x200>, + <0 0xae90200 0 0x200>, + <0 0xae90400 0 0x600>, + <0 0xae91000 0 0x400>, + <0 0xae91400 0 0x400>; + interrupt-parent = <&mdss>; + interrupts = <12>; + clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>, + <&dispcc DISP_CC_MDSS_DP_AUX_CLK>, + <&dispcc DISP_CC_MDSS_DP_LINK_CLK>, + <&dispcc DISP_CC_MDSS_DP_LINK_INTF_CLK>, + <&dispcc DISP_CC_MDSS_DP_PIXEL_CLK>; + clock-names = "core_iface", + "core_aux", + "ctrl_link", + "ctrl_link_iface", + "stream_pixel"; + + assigned-clocks = <&dispcc DISP_CC_MDSS_DP_LINK_CLK_SRC>, + <&dispcc DISP_CC_MDSS_DP_PIXEL_CLK_SRC>; + assigned-clock-parents = <&usb_1_qmpphy QMP_USB43DP_DP_LINK_CLK>, + <&usb_1_qmpphy QMP_USB43DP_DP_VCO_DIV_CLK>; + + phys = <&usb_1_qmpphy QMP_USB43DP_DP_PHY>; + phy-names = "dp"; + + #sound-dai-cells = <0>; + + operating-points-v2 = <&dp_opp_table>; + power-domains = <&rpmhpd SM6350_CX>; + + status = "disabled"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + mdss_dp_in: endpoint { + remote-endpoint = <&dpu_intf0_out>; + }; + }; + + port@1 { + reg = <1>; + + mdss_dp_out: endpoint { + }; + }; + }; + + dp_opp_table: opp-table { + compatible = "operating-points-v2"; + + opp-160000000 { + opp-hz = /bits/ 64 <160000000>; + required-opps = <&rpmhpd_opp_low_svs>; + }; + + opp-270000000 { + opp-hz = /bits/ 64 <270000000>; + required-opps = <&rpmhpd_opp_svs>; + }; + + opp-540000000 { + opp-hz = /bits/ 64 <540000000>; + required-opps = <&rpmhpd_opp_svs_l1>; + }; + + opp-810000000 { + opp-hz = /bits/ 64 <810000000>; + required-opps = <&rpmhpd_opp_nom>; + }; + }; + }; + mdss_dsi0: dsi@ae94000 { compatible = "qcom,sm6350-dsi-ctrl", "qcom,mdss-dsi-ctrl"; reg = <0 0x0ae94000 0 0x400>;