From patchwork Thu Jun 1 10:09:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 13263344 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 D7B9FC77B7E for ; Thu, 1 Jun 2023 10:10:10 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E606C10E53E; Thu, 1 Jun 2023 10:10:08 +0000 (UTC) Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by gabe.freedesktop.org (Postfix) with ESMTPS id B7E0F10E53B for ; Thu, 1 Jun 2023 10:10:05 +0000 (UTC) Received: by mail-wr1-x42a.google.com with SMTP id ffacd0b85a97d-30c4c1fd511so71351f8f.1 for ; Thu, 01 Jun 2023 03:10:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685614203; x=1688206203; 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=4hM3UpU4FHsZR3ujTD4pG4KYkhz/mexEq2D+ziSUPKA=; b=wm0YX/FCvbKlhU8+yx/ex0SXt+VVm9oGs34CkMJgcsUos/ksIQds0jbU/2zfqJdNMt B1q+sI1TqnYVnzmPYirTEpd4EYzOe+2ajmG0xIlETpmHWTkrGv7/1bL4/mIupyl0zYMD 7DZkQ9loj/ET7NJHVN7pd6l+TaDNDIDS6wfKdKO8v+MA2lM9c2XYyaEwAfKApDvTmm6r MOEnvqmzG9Gbpj/CSNvftIdqq1AoqGSyUYNvaJewpt+0sprqYWtSwd67YkqhsL+wkvNt XWgRnHXQh2c88A8ZAI39Pk03HhtDHcOOoHlwFwo8pazb+G0LCsXZDv6zpBCgxGls89Vq SJcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685614203; x=1688206203; 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=4hM3UpU4FHsZR3ujTD4pG4KYkhz/mexEq2D+ziSUPKA=; b=W9YvTYErVxqy/6d5DJ8e05+MEVZrWIqdnlb8OTWW/PvDSGaBtSqRxDEheHZUULlXwb CLssVxhqr/RaVr5Eg9chqYK7lnjLGpL+1e02mXb/PLTwPH5PnlbsLPg/HiTqnwy8bQbL zPBwNUIh+2NzUNP/ZIKlMDivuMEWZwCZnwDWdf/O7cbcv5bm1lewamW15merTnwZxrwm OJekLqZF3eo8HwPhGFT3Jq4HAFMN9GfjlkVii7tlj5fGJWNR2yQk6Y3rQ9iaRyknfhMW IkQtm5dlhjoIvt1asP0g6Ll1+ClLiS+EdYuVhJmqhw2WoqPxF+gsbPdRX0HP9WHWBZw2 /bJg== X-Gm-Message-State: AC+VfDyplJY+VSI3V3MfF7Ey27We2i2NOu5Acaa2JZpfxDWhZ2YOYgbp zcORndQkh5PnbzjbstKvnK5d5A== X-Google-Smtp-Source: ACHHUZ69Bbf6Z3INj/J+PwXGLRxzxffkhFi1gLwovYKWHvCS3FLJST4uEj1nucW5+Z4m4vb6CSO5MA== X-Received: by 2002:a5d:60d1:0:b0:309:5029:b075 with SMTP id x17-20020a5d60d1000000b003095029b075mr1497452wrt.13.1685614203474; Thu, 01 Jun 2023 03:10:03 -0700 (PDT) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:8261:5fff:fe11:bdda]) by smtp.gmail.com with ESMTPSA id u6-20020adfeb46000000b0030ae53550f5sm9683845wrn.51.2023.06.01.03.10.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Jun 2023 03:10:03 -0700 (PDT) From: Neil Armstrong Date: Thu, 01 Jun 2023 12:09:47 +0200 Subject: [PATCH v2 1/3] dt-bindings: display: msm: dp-controller: document SM8550 compatible MIME-Version: 1.0 Message-Id: <20230601-topic-sm8550-upstream-dp-v2-1-e8778109c757@linaro.org> References: <20230601-topic-sm8550-upstream-dp-v2-0-e8778109c757@linaro.org> In-Reply-To: <20230601-topic-sm8550-upstream-dp-v2-0-e8778109c757@linaro.org> To: Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , Marijn Suijten , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Kuogee Hsieh , Andy Gross , Bjorn Andersson , Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=876; i=neil.armstrong@linaro.org; h=from:subject:message-id; bh=DRIkrQLx11ml/or6ze6+hR4V0lPSP/PMoO7uVnzdRFc=; b=owEBbQKS/ZANAwAKAXfc29rIyEnRAcsmYgBkeG54qg4wI0MlQbpeCkfXkCVcdBiCMuVoAT0SMQ1N 59LRRxeJAjMEAAEKAB0WIQQ9U8YmyFYF/h30LIt33NvayMhJ0QUCZHhueAAKCRB33NvayMhJ0afpD/ 9uWKQsA/VKfHHE76RHNW3PPQDOjVTLJ9jcBX1WePnao/vNYlw9XuVl/GTt2p8YhPZSHBIYU/T7ukFf lI2nbrdnYJFFikTpvDhyQvT68mZ00mTXDDakUxVB/nLwzjlAOGTUc9FbDNAifNACgVjIs+/woS4FWK 1GLiWtPat8FaGPKQyhtnuOXTyrs1Adzidf0B5HfxDIT/ydsvX35TAVcfnl36MHTVF4ElAByV122Dnj 7VTFiTw1ibXKN2Si6b482wou3s8hTuz64t4dKF1FmIF86b+OfJ2rr4ilpM6tCVId06IvjyYts7mZZc rd1DKtP+PTq2wM6hBWGrXe03vezEBp6/E+13CrqX0Rhu6CSNxyiLBm76ucWC/4oHwE6vz1zmt4LgEr HXeJg5KAPE1AFp7MmZGeJVdXe3CPDlSEXJkxvH0QQ8RXuHUdKfphFvi9b2oHX+tgEXIdVySCpSHo46 8ihW6AMow+htUomkVYCNm8Gv+ZRvAOlG8Wn0/1s0oFk0fFENrBYvJNBecKqu/FLhGYdGQ7qurHcpF3 B8DeUX2KQW6yDCvfHJ4NCcF0PG4aXOEGr+Sn8OxGA36hL63GfVQkeZ0nRpNYds81DRKMgPkW2VRdLc 1lrLzNM2ztNi4RGed6RJ+gv/M5bd3VdkW0SY6Tph/gKTD4D9SuZ351pRlYQQ== X-Developer-Key: i=neil.armstrong@linaro.org; a=openpgp; fpr=89EC3D058446217450F22848169AB7B1A4CFF8AE 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" The SM8550 & SM8350 SoC shares the same DP TX IP version, use the SM8350 compatible as fallback for SM8550. Acked-by: Krzysztof Kozlowski Signed-off-by: Neil Armstrong --- 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 f0c2237d5f82..7a7cf3fb3e6d 100644 --- a/Documentation/devicetree/bindings/display/msm/dp-controller.yaml +++ b/Documentation/devicetree/bindings/display/msm/dp-controller.yaml @@ -29,6 +29,7 @@ properties: - items: - enum: - qcom,sm8450-dp + - qcom,sm8550-dp - const: qcom,sm8350-dp reg: From patchwork Thu Jun 1 10:09:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 13263345 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 DE6EDC77B7E for ; Thu, 1 Jun 2023 10:10:14 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 52A6B10E227; Thu, 1 Jun 2023 10:10:11 +0000 (UTC) Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by gabe.freedesktop.org (Postfix) with ESMTPS id 610E710E246 for ; Thu, 1 Jun 2023 10:10:06 +0000 (UTC) Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-4f3a9ad31dbso725647e87.0 for ; Thu, 01 Jun 2023 03:10:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685614204; x=1688206204; 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=sY1We4qYQqoWhZd32M3qvVq9EFogwk8bUgcdgefUaYg=; b=RIyPaMt0j2FCUZjMmBjUlH0p6Dct9E7GEV69C8HaRd0iRVA6dsE6J16zCkI/lKleo0 WkSqo4XyFGJDi1BqPX9NMYcPwqbE1BCodgv0QriY7ZF4sPmINygF20H8quVtffciZNRD jzZYnmzkQ07G7xNxxaqruu2BEjagNjkf84sm2Kf3yVgKUsr5t3X9Kza0NqoxjLtENPjd 6Qw7Boqvhlkx1R2GF/WVCphCK9fYVr7+TyoXP3M6KR9YWtL/EJ/A+rensy7dx1/6CBVo j9PXjj2N24QhqDMW6cMDh1vqE9cDfG286IkNEYNYrCysbOaj2cM13FhHKYfR/FpMRHPw rFvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685614204; x=1688206204; 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=sY1We4qYQqoWhZd32M3qvVq9EFogwk8bUgcdgefUaYg=; b=TVeag1aB7Eh2FUtEG3yJ38RgSNzH1IHbBDISCrf4/BULH/afdlBscIwGfmtCWPDyXj z/9kICf9EY9u6DsWUCnNgRfVogjZ0G2umW2Zl25NCSO0uHokSo5DQz3ntSUXvr1Hi//g K1LbkWGNmXfxNnEbXTblBf61e1qOJYnC3rYE4UKLgV6R/QrrnPwJYiagYPdLZwjZPPbX pRL+0lI2cQi28ezNtwXTYH3Sy8VEOO6wcQSlPtpeDEUFgeJLvyGKwqk27KGdjTHzTX4q 1Hdhgw57SoUvavuH9K4FYmX2l8wO/Lt8lXy9eztx9cYlgKK08VBdUXB/CT9feO4/bXwn XRhw== X-Gm-Message-State: AC+VfDy+0PsHmpxVhaTv8FCK5rs4PmsBOWKJjBE0Hgeh6Tgth9MnRATS ZjUVDA+3Mr1SjuZ6GifOrqt//Q== X-Google-Smtp-Source: ACHHUZ65TRjKIjH36XsJnqcWHxy3HM0YdUpsaedx5ubl2+mAXMVmYvzVt/Gt2BmsypY9M2Hz+tReuA== X-Received: by 2002:ac2:424f:0:b0:4f3:baf9:8f93 with SMTP id m15-20020ac2424f000000b004f3baf98f93mr1055227lfl.3.1685614204494; Thu, 01 Jun 2023 03:10:04 -0700 (PDT) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:8261:5fff:fe11:bdda]) by smtp.gmail.com with ESMTPSA id u6-20020adfeb46000000b0030ae53550f5sm9683845wrn.51.2023.06.01.03.10.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Jun 2023 03:10:04 -0700 (PDT) From: Neil Armstrong Date: Thu, 01 Jun 2023 12:09:48 +0200 Subject: [PATCH v2 2/3] arm64: dts: qcom: sm8550: fix low_svs RPMhPD labels MIME-Version: 1.0 Message-Id: <20230601-topic-sm8550-upstream-dp-v2-2-e8778109c757@linaro.org> References: <20230601-topic-sm8550-upstream-dp-v2-0-e8778109c757@linaro.org> In-Reply-To: <20230601-topic-sm8550-upstream-dp-v2-0-e8778109c757@linaro.org> To: Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , Marijn Suijten , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Kuogee Hsieh , Andy Gross , Bjorn Andersson , Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1076; i=neil.armstrong@linaro.org; h=from:subject:message-id; bh=BYB/JqR4EQKAABvrcd/B6Yg5ojwBRjwkuwpOgjg+m3k=; b=owEBbQKS/ZANAwAKAXfc29rIyEnRAcsmYgBkeG54bhNVdQN6AtyD+AxffdNrLX6hlWEkxTXj8vsE qBWbcHqJAjMEAAEKAB0WIQQ9U8YmyFYF/h30LIt33NvayMhJ0QUCZHhueAAKCRB33NvayMhJ0VxxEA Ch5pApwPR/p754sUMBx/sMt4sn6pnr2AeyXiUzb2+MaN3Fwcpo9IjzSvoT67PglpF5yQps4Yia+AEH JNS69njWUnGW+kJij07YFhspaofhY/9xX7aH7fmQ/npXitQ2h7mmglTQVZ6RiJ2Z/cuPm71RpU0cW/ 52r4m1nxpE9gcFKZD7MOFDtI53+xNsCQkTkvCkpl8E5uPC1uucg4+K2/P6VQt09UJ6c55ik/v9b1Jq 85BsH8E9oXH6hJc4I+4RFUCeSopEeNCNAD3LFTQ8Azg1boLV9fNV2n1YAZoQDyktxT8K1mfqwtidTW uPZkLSRoWMWzkrBASVujWhR6mqLjHGK4meVeMIopppxaQxSmmHg5qUdgwJliVfY3Na/YqyYQHtQ64H NSQsrI+0J/Tzfe8Etd8adpkTXX6PCtAoQVIf3zeu4xyF9zt9ds2HdxYozqnq6mWdm+cg7+DX4XV2Ly POMtvSv+QPf633NEJO9l1Rs0TkTQGx7WInmITN11liIbnpL7lEdV8KwAJVdMDZFEJP1A9qPM5NPNhY 8FdZXleXL0CAKy7axagK/uQjH6mhdI3WciatBGgVbKCON9CCQJcutT8vN/uBe2YwsRHdExFAP+mEIY S2eO4xSplMyEpps+kcqYPXw5qXKhT5R0OgeEcLsVltgnRDw98oOY+OJzwFAA== X-Developer-Key: i=neil.armstrong@linaro.org; a=openpgp; fpr=89EC3D058446217450F22848169AB7B1A4CFF8AE 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, freedreno@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" "low" was written "lov", fix this. Fixes: 99d33ee61cb0 ("arm64: dts: qcom: sm8550: Add missing RPMhPD OPP levels") Signed-off-by: Neil Armstrong Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm8550.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8550.dtsi b/arch/arm64/boot/dts/qcom/sm8550.dtsi index 75cd374943eb..972df1ef86ee 100644 --- a/arch/arm64/boot/dts/qcom/sm8550.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8550.dtsi @@ -3649,15 +3649,15 @@ rpmhpd_opp_min_svs: opp-48 { opp-level = ; }; - rpmhpd_opp_lov_svs_d2: opp-52 { + rpmhpd_opp_low_svs_d2: opp-52 { opp-level = ; }; - rpmhpd_opp_lov_svs_d1: opp-56 { + rpmhpd_opp_low_svs_d1: opp-56 { opp-level = ; }; - rpmhpd_opp_lov_svs_d0: opp-60 { + rpmhpd_opp_low_svs_d0: opp-60 { opp-level = ; }; From patchwork Thu Jun 1 10:09:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 13263346 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 B8C88C77B7E for ; Thu, 1 Jun 2023 10:10:17 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0E6B710E544; Thu, 1 Jun 2023 10:10:11 +0000 (UTC) Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by gabe.freedesktop.org (Postfix) with ESMTPS id 78EC510E231 for ; Thu, 1 Jun 2023 10:10:07 +0000 (UTC) Received: by mail-wr1-x42f.google.com with SMTP id ffacd0b85a97d-30aebe2602fso595218f8f.3 for ; Thu, 01 Jun 2023 03:10:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685614206; x=1688206206; 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=LWxp0A9f2AiWgsptaHzRYn+xtrjX1untDQt897ukbeo=; b=FGN4yf8vO6rSoOhK+YgxrkiSxKHiemjriGFwdAd5TDCNmbvGBa8ThMt9g8N/rpbRM3 YrVj3ZJNsI2Wcw/UJfWf3AGv8TaNde5ygEZbFXcheF24dNxYdzJEwOj7WJNKFfUbciwh vVuVIflfsW6q2+Qmi4xs2COiEhBKTjh/R2xXhsbmKjUe/kmgMmyrZbLqFIxg83uuDI19 m+2moSBbp4OcpcxxoSFvYvJVJpOw3tqz6BYB0hG/ne4ZS/gl+iXZg6gpY8a6CcYMZO9x 1rde4tRYQB8bXShIkX8ZWrnJj0lx0asR4MMPFGcTJI6lNhhRTAkREASr6mIuCgBsaAuE 5JDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685614206; x=1688206206; 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=LWxp0A9f2AiWgsptaHzRYn+xtrjX1untDQt897ukbeo=; b=Fvsl67fYMwiOPJXJPJG4za1Cfn891K8kzrqzkYZ/Jl0yWVzAtOUjIoFXHe7WDh5YYy KH/ORD8HDV+y3+KvJ4JrfKzhNkVtCoew9QWtkSqlUtzJGmXZOQH180xsqyHwkyjPrxvM nMFi9K71sFp8tVRKY2ix6Z2i7JRAWNRgiJOtKrBJjFVOAhnuGRZUZQw/xFhTx6v3IIqy D9TTKazWPGS7Get7xiw0r6w5O2WN5vSgqjDNz0zm4ZTPQ6PuwaAvdHHRm7ehuPHKq9T4 Gx7sx93mSVzSKYPfNIexQOXznr2sK8EtDCOp/iWY0qd74/geHADTu51jcDEoleYH6xJK 7X+w== X-Gm-Message-State: AC+VfDz/fPwPuiz/9fPnKH3odyV/pDMoIg/GnzlDZ0VJDM7Sg1J1eX6G WRjsZUXiQKH3xnaoh/bXccArxw== X-Google-Smtp-Source: ACHHUZ6PuPvRFM4x7RgsdaqAmP+TvO3TLIBf8vCnY0dKibuhnRyroSV1F/q6L7/QqckOpnOLJFBlpw== X-Received: by 2002:a5d:6ac6:0:b0:306:340c:4737 with SMTP id u6-20020a5d6ac6000000b00306340c4737mr1368606wrw.67.1685614205707; Thu, 01 Jun 2023 03:10:05 -0700 (PDT) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:8261:5fff:fe11:bdda]) by smtp.gmail.com with ESMTPSA id u6-20020adfeb46000000b0030ae53550f5sm9683845wrn.51.2023.06.01.03.10.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Jun 2023 03:10:05 -0700 (PDT) From: Neil Armstrong Date: Thu, 01 Jun 2023 12:09:49 +0200 Subject: [PATCH v2 3/3] arm64: dts: qcom: sm8550: add display port nodes MIME-Version: 1.0 Message-Id: <20230601-topic-sm8550-upstream-dp-v2-3-e8778109c757@linaro.org> References: <20230601-topic-sm8550-upstream-dp-v2-0-e8778109c757@linaro.org> In-Reply-To: <20230601-topic-sm8550-upstream-dp-v2-0-e8778109c757@linaro.org> To: Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , Marijn Suijten , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Kuogee Hsieh , Andy Gross , Bjorn Andersson , Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=3472; i=neil.armstrong@linaro.org; h=from:subject:message-id; bh=OT9fRI9abb+RycwRAR3WBnAhUBfEPjR/71I2pAue+x4=; b=owEBbQKS/ZANAwAKAXfc29rIyEnRAcsmYgBkeG55GGM70ikTcpzNAy/RJEFi9T6jCl4yqxQItF7a MmdlIyKJAjMEAAEKAB0WIQQ9U8YmyFYF/h30LIt33NvayMhJ0QUCZHhueQAKCRB33NvayMhJ0WGgD/ 0XBJQ+tQcudmmAhj9u4vB2qN/i0fy4zbHTRGOEyfoD9LpsjVtC2o041JXqfXS5U1r6mmCA57owr+nc pj2Dusa51mO97Xg8Q+5J1sYkXhli7N9z7G4qFgGl4hvPs/SOpvf/6Uz0VdhC9YyATqRkRWDFJQwBjZ uV09oQ2VgdZPgHSDv5xEIpptEiFT/lpJPAvPzTZMvpW0Ix5Qu16AqwmUQR8qR/A/nczkUzyMI6aP+N vJK8+/7PxBgt2089IayEDCCstntgu7bS6XSVBaOiE5fCuaOevq2o5MnOpfEAjPLpPAVlfER1+JVXgH RjHAB39+3IDOghF3hL49d2v/QKztCdOvDBzkvhqeA6IZLrgL6GDWgyLz6EAj59kzPUV1k6PERgUEeY p4v4fUCeW0TYGXB6L4rNRjkbJrc2/cTU8ZYwhf93+N0/3s2ZdW/pVOVY0//C3DaJsk37MglvLh5497 /GG2hxuCRg9G/H/Ub4ri/ksY6+26Tb9r2wFWCacaxfBe7U3yAC4KYy/nR1P9+s6/dgoKh1+Z+itp6r yDGwTjRSUDaB3wGvsDJFOHo2yKAB3uF9ZjBTQBJii9lSZF6TdEJ+VIukmpf0iliUbmj1NMneDeGOB6 OEAD0Xo3C/IJwti8ES5bjkd9I1Wzjgsxq8UdQH37hP2DxaSm0DmGyxC0KrCQ== X-Developer-Key: i=neil.armstrong@linaro.org; a=openpgp; fpr=89EC3D058446217450F22848169AB7B1A4CFF8AE 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, freedreno@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Add the Display Port controller subnode to the MDSS node. Reviewed-by: Konrad Dybcio Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/qcom/sm8550.dtsi | 89 +++++++++++++++++++++++++++++++++++- 1 file changed, 87 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8550.dtsi b/arch/arm64/boot/dts/qcom/sm8550.dtsi index 972df1ef86ee..b41b3981b3ce 100644 --- a/arch/arm64/boot/dts/qcom/sm8550.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8550.dtsi @@ -2495,6 +2495,13 @@ dpu_intf2_out: endpoint { remote-endpoint = <&mdss_dsi1_in>; }; }; + + port@2 { + reg = <2>; + dpu_intf0_out: endpoint { + remote-endpoint = <&mdss_dp0_in>; + }; + }; }; mdp_opp_table: opp-table { @@ -2522,6 +2529,84 @@ opp-514000000 { }; }; + mdss_dp0: displayport-controller@ae90000 { + compatible = "qcom,sm8550-dp", "qcom,sm8350-dp"; + reg = <0 0xae90000 0 0x200>, + <0 0xae90200 0 0x200>, + <0 0xae90400 0 0xc00>, + <0 0xae91000 0 0x400>, + <0 0xae91400 0 0x400>; + interrupt-parent = <&mdss>; + interrupts = <12>; + clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>, + <&dispcc DISP_CC_MDSS_DPTX0_AUX_CLK>, + <&dispcc DISP_CC_MDSS_DPTX0_LINK_CLK>, + <&dispcc DISP_CC_MDSS_DPTX0_LINK_INTF_CLK>, + <&dispcc DISP_CC_MDSS_DPTX0_PIXEL0_CLK>; + clock-names = "core_iface", + "core_aux", + "ctrl_link", + "ctrl_link_iface", + "stream_pixel"; + + assigned-clocks = <&dispcc DISP_CC_MDSS_DPTX0_LINK_CLK_SRC>, + <&dispcc DISP_CC_MDSS_DPTX0_PIXEL0_CLK_SRC>; + assigned-clock-parents = <&usb_dp_qmpphy QMP_USB43DP_DP_LINK_CLK>, + <&usb_dp_qmpphy QMP_USB43DP_DP_VCO_DIV_CLK>; + + phys = <&usb_dp_qmpphy QMP_USB43DP_DP_PHY>; + phy-names = "dp"; + + #sound-dai-cells = <0>; + + operating-points-v2 = <&dp_opp_table>; + power-domains = <&rpmhpd SM8550_MMCX>; + + status = "disabled"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + mdss_dp0_in: endpoint { + remote-endpoint = <&dpu_intf0_out>; + }; + }; + + port@1 { + reg = <1>; + mdss_dp0_out: endpoint { + }; + }; + }; + + dp_opp_table: opp-table { + compatible = "operating-points-v2"; + + opp-162000000 { + opp-hz = /bits/ 64 <162000000>; + required-opps = <&rpmhpd_opp_low_svs_d1>; + }; + + opp-270000000 { + opp-hz = /bits/ 64 <270000000>; + required-opps = <&rpmhpd_opp_low_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,sm8550-dsi-ctrl", "qcom,mdss-dsi-ctrl"; reg = <0 0x0ae94000 0 0x400>; @@ -2705,8 +2790,8 @@ dispcc: clock-controller@af00000 { <&mdss_dsi0_phy 1>, <&mdss_dsi1_phy 0>, <&mdss_dsi1_phy 1>, - <0>, /* dp0 */ - <0>, + <&usb_dp_qmpphy QMP_USB43DP_DP_LINK_CLK>, + <&usb_dp_qmpphy QMP_USB43DP_DP_VCO_DIV_CLK>, <0>, /* dp1 */ <0>, <0>, /* dp2 */