From patchwork Tue Nov 7 10:35:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 742274 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 62B0028E29 for ; Tue, 7 Nov 2023 10:35:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="DySTqw1o" Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 181CA99 for ; Tue, 7 Nov 2023 02:35:46 -0800 (PST) Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-9dbb3d12aefso799575666b.0 for ; Tue, 07 Nov 2023 02:35:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1699353344; x=1699958144; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=zkKRn9nghMmuE3432di/HrZ3jPO+EnQVaOT7ILYUMGE=; b=DySTqw1oH4L8CxUNXzEYI69y2IpeHVSWWyppXdu2iWnJ7pUYwquPpqYe4YY7kZlDXG fr2Q9ttTdXbikQ0gHNB/zvvDSRarS48rINUV4MUB2tAMGkMCPwwohs+4X0+ywhSwr0gJ iZKlqCXxC0lw/z+t9ocM9chbUN6eAPYQ2Rbv4pUEy/uyXfNfu6NGz9CHJ1cRmuKuzqXx rMuOPak1NB2FYHO50aCZBFA8iFNmH545A2iH1lIB7bJVAF5C2SETF7vlMtqYKl7fe+IW jIpvaPSuuIXYA+e4dzu6kVcjFWW6nNVRMD03Az/m/aKCMmdC3MOurZqqjdgCjklGMdji EXCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699353344; x=1699958144; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=zkKRn9nghMmuE3432di/HrZ3jPO+EnQVaOT7ILYUMGE=; b=sZm3GJX0nppUqKMKeiU3jcMlABWaweXPNHBch+IASX1Znh7e3f4pBKWDEQ0IBaXqeu PbTAGpAiLKhNCFQwHVFXCdeYO9CeEs6jSNWEdSnRkJpgigLMXpBHMkv3B/XVt3Fcsfv0 tU9AksgGWauVmTRQmAJG5VOPQmAu7EQ1lJyJMvSylslAqNgt4PEaHUtLYH/d6BYFEEpF vxLwvaJt/5YRjxgzVHf0dCURZ55IfwNiHxWoQLUwys/uzSPXExvmGYmvcrWRfOuCE4ul oT8BuWi1hfqJJdyXFxwcBw8MwMcSyHZTW1PIIYZdaDDi4+B9D8vGxYFjUOLrwQi0afrR 665g== X-Gm-Message-State: AOJu0YwziNtGLdFQ9R+Zbk22q7LmHKHh5u9tqob9gJ19L+dSs7JSinQx FFKDqxh2VhjTmZ/c7ZB2OH6L2A== X-Google-Smtp-Source: AGHT+IGbq1apWVW+o6Ak/B4q0Y8orYYZgw7fYmEJLabNmjpjG6BX1jMi4mVWmlF/VW0RoFwzxrjn6w== X-Received: by 2002:a17:906:c141:b0:9dd:82b4:4221 with SMTP id dp1-20020a170906c14100b009dd82b44221mr9050148ejc.2.1699353344574; Tue, 07 Nov 2023 02:35:44 -0800 (PST) Received: from krzk-bin.. ([178.197.218.126]) by smtp.gmail.com with ESMTPSA id u21-20020a17090626d500b0099bd86f9248sm882998ejc.63.2023.11.07.02.35.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Nov 2023 02:35:44 -0800 (PST) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 1/3] arm64: dts: qcom: sc8180x-primus: drop sound-dai-cells from eDisplayPort Date: Tue, 7 Nov 2023 11:35:38 +0100 Message-Id: <20231107103540.27353-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Qualcomm MDSS Embedded DisplayPort bindings do not allow sound-dai-cells: sc8180x-primus.dtb: displayport-controller@ae9a000: #sound-dai-cells: False schema does not allow [[0]] Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/sc8180x.dtsi | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc8180x.dtsi b/arch/arm64/boot/dts/qcom/sc8180x.dtsi index a34f438ef2d9..73d9e8039e32 100644 --- a/arch/arm64/boot/dts/qcom/sc8180x.dtsi +++ b/arch/arm64/boot/dts/qcom/sc8180x.dtsi @@ -3117,8 +3117,6 @@ mdss_edp: displayport-controller@ae9a000 { phys = <&edp_phy>; phy-names = "dp"; - #sound-dai-cells = <0>; - operating-points-v2 = <&edp_opp_table>; power-domains = <&rpmhpd SC8180X_MMCX>; From patchwork Tue Nov 7 10:35:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 741973 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EEFBB29422 for ; Tue, 7 Nov 2023 10:35:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="NYnry1xq" Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5CC2AB0 for ; Tue, 7 Nov 2023 02:35:48 -0800 (PST) Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-53db360294fso9424883a12.3 for ; Tue, 07 Nov 2023 02:35:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1699353347; x=1699958147; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=26JQZMgRH2ZGdJDQnKgOHoSyK6KV/nQ1pLxO9+hyeDo=; b=NYnry1xqjVFMdWuxJrKQyWq/wMATuAX65QFhcJMqfvK6jvHVXGu+aVNlwqz/ToJRE2 aES8MnxIvaGrN5CejLgju5bFy+izvrNzxH/NHX+tVwtjjokdmbGRopKCCmNdAj1Yxwa5 GADHb1U5eapmxcGeD/4fNIb1sFZujcK8w2+TKkTtUpNDlor7CBuylah+9dqUkpCP5nZb pKTI18RU31309J57VQbwl/ske+oMghMGVicL1xbBILPwlBgrZNl7FMT5hODHVBjhxTT0 kXhv1gKZnhWWvokzDREIg+pdeLxVTt1ulInJqG9/kbu/BtuQnppXi1K9AtIrMblag1XD 9JkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699353347; x=1699958147; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=26JQZMgRH2ZGdJDQnKgOHoSyK6KV/nQ1pLxO9+hyeDo=; b=lTq36pwNtCRUBSNLKU9W6rIB2BMi6SeWOOryMDC3UmRDj98AlEGnMc2wmRwbBJwhkF n3j0s0SjTJAtkp4yJ/2fHLpZ85uPVLIDoSnbxht18i+2rNT0cqUtc6JRijUoenI9oOMf q2MPfPKO/UQJJyapQalkesYMipCiYvzrIB7P/SkHTdh4+0ODtGvU7in0vIYf8bOi45CO If9XkxZh5meG9xRbB/nZzbT+PzO6LeayeQaJC6Oy+YDCr9yhOKadkwPYlCkFWP53XFnr MNBqQyX3SYwKW8t8N5RTmAufJb/dVEaUmypMpRAOHqsASvAP0+Ef0rfIV2LFaBvNrtLW TAJA== X-Gm-Message-State: AOJu0Yz2Kx/2HR86a6GU67mWDAsiXnWhCdUdItVXFHhh6/gpkJlsnWa0 Vmg49OzzPnb+8qBi0LTlZ+wLmA== X-Google-Smtp-Source: AGHT+IFM91hR/JF1VyPRwL2ZrJUOHYjdQ4TGbHkDJ82JFtmJGsnTKGsxINtiAdXd+0dxILOd8po6ug== X-Received: by 2002:a17:906:9c82:b0:9ae:961a:de81 with SMTP id fj2-20020a1709069c8200b009ae961ade81mr14748645ejc.27.1699353346746; Tue, 07 Nov 2023 02:35:46 -0800 (PST) Received: from krzk-bin.. ([178.197.218.126]) by smtp.gmail.com with ESMTPSA id u21-20020a17090626d500b0099bd86f9248sm882998ejc.63.2023.11.07.02.35.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Nov 2023 02:35:46 -0800 (PST) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 2/3] arm64: dts: qcom: sc8280xp-x13s: drop sound-dai-cells from eDisplayPort Date: Tue, 7 Nov 2023 11:35:39 +0100 Message-Id: <20231107103540.27353-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231107103540.27353-1-krzysztof.kozlowski@linaro.org> References: <20231107103540.27353-1-krzysztof.kozlowski@linaro.org> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Qualcomm MDSS Embedded DisplayPort bindings do not allow sound-dai-cells: sc8280xp-lenovo-thinkpad-x13s.dtb: displayport-controller@aea0000: #sound-dai-cells: False schema does not allow [[0] Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts index f2055899ae7a..def3976bd5bb 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts +++ b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts @@ -573,6 +573,7 @@ &mdss0_dp1_out { &mdss0_dp3 { compatible = "qcom,sc8280xp-edp"; + /delete-property/ #sound-dai-cells; data-lanes = <0 1 2 3>; From patchwork Tue Nov 7 10:35:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 742273 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8D95D28E06 for ; Tue, 7 Nov 2023 10:35:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="XHPFyqoZ" Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 42974119 for ; Tue, 7 Nov 2023 02:35:50 -0800 (PST) Received: by mail-ed1-x535.google.com with SMTP id 4fb4d7f45d1cf-5446c9f3a77so4498533a12.0 for ; Tue, 07 Nov 2023 02:35:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1699353349; x=1699958149; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=7RrPqf9g6vZzcW9B3QMf8ZEkIBfqDLbMeI1GDD+TO1g=; b=XHPFyqoZj2+I7AXmweLb/Gp8LOQM58Henj8XrzxE45jgXHSVBxeQkPsUuiB11T/O2X 8qQkOATMlHO0FwO+WNMwsKYZFjXuJNKalPzvPnmYv3Mhry8WFrjMoPwbu6oOewBpjkN9 IcXJD5+gb8O2bx/JFgaGyx+wG7c4ubS64chE0Q8DOUD/cDXNPOOeZKrFZLZ6qBqf/mF5 HOd0QTrOKCbvHuVJtg/nD5//nHXX6Faj/yXZPYxwfOHWKLNfCWje9xrDsJ6yfmetmnpa 4REaSL3kdu6q/vDdJjujlFCNPnRJxp4C5sBCDC4YaLnMLFgPx4ZUNMckIE10V01LwhFn 57XA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699353349; x=1699958149; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7RrPqf9g6vZzcW9B3QMf8ZEkIBfqDLbMeI1GDD+TO1g=; b=wScHmrJGLT/8XciTywzuZobM1eB+R/yu6H53XdJCsJ5IvOEyWQ4uDXYwupoB1nSu6j VAq72EbGXO4Xzs13qkhYDB4ib2bf2P6JspwDxyQglhlW/v4Spaw5yxiNLT6/PhhV+v+v uqH0tBP9YhtVtYJWQqYf+KCBJ4FekXeD6lQcfNt1Vdd6wKA5uJP6VJ4ElAG41pasLut/ 6fAR3WDpKOah6+rsul24TYoSymYQEWVseAmm+A7gvy+WJg6X+ssAmyXdZa+8eu7ZMJ5L H1vT8ruFP/vgwQ9ghs268/9+SsvF5Q8QsC4nMmtl3mHrETIKO6Vv0PPToAQnR5njSdRL 5Jvg== X-Gm-Message-State: AOJu0Ywd0LFrf+SMq79BMqIr3pZbadQ97RO+IMXMhUOJb/HzCLAUwUCB LXpZu8+DijApx93/MlHYptv3UQ== X-Google-Smtp-Source: AGHT+IHgBuwwDy0kLA8vjtnt2Po255HyzaI87LRZNoYTmqYcCe60gxNsiaYSoPz7l5WzxwxGpI8sew== X-Received: by 2002:a17:907:7fa9:b0:9bf:d70b:986a with SMTP id qk41-20020a1709077fa900b009bfd70b986amr17238224ejc.13.1699353348764; Tue, 07 Nov 2023 02:35:48 -0800 (PST) Received: from krzk-bin.. ([178.197.218.126]) by smtp.gmail.com with ESMTPSA id u21-20020a17090626d500b0099bd86f9248sm882998ejc.63.2023.11.07.02.35.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Nov 2023 02:35:48 -0800 (PST) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 3/3] arm64: dts: qcom: sm8350: move DPU opp-table to its node Date: Tue, 7 Nov 2023 11:35:40 +0100 Message-Id: <20231107103540.27353-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231107103540.27353-1-krzysztof.kozlowski@linaro.org> References: <20231107103540.27353-1-krzysztof.kozlowski@linaro.org> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 The Qualcomm MDSS bindings expect that DPU opp-table is defined within DPU node: sm8350-hdk.dtb: display-subsystem@ae00000: Unevaluated properties are not allowed ('opp-table' was unexpected) Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/sm8350.dtsi | 58 ++++++++++++++-------------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8350.dtsi b/arch/arm64/boot/dts/qcom/sm8350.dtsi index 6424a3ebdf5b..d1a28cd0ffc5 100644 --- a/arch/arm64/boot/dts/qcom/sm8350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8350.dtsi @@ -2438,35 +2438,6 @@ mdss: display-subsystem@ae00000 { #size-cells = <2>; ranges; - dpu_opp_table: opp-table { - compatible = "operating-points-v2"; - - /* TODO: opp-200000000 should work with - * &rpmhpd_opp_low_svs, but one some of - * sm8350_hdk boards reboot using this - * opp. - */ - opp-200000000 { - opp-hz = /bits/ 64 <200000000>; - required-opps = <&rpmhpd_opp_svs>; - }; - - opp-300000000 { - opp-hz = /bits/ 64 <300000000>; - required-opps = <&rpmhpd_opp_svs>; - }; - - opp-345000000 { - opp-hz = /bits/ 64 <345000000>; - required-opps = <&rpmhpd_opp_svs_l1>; - }; - - opp-460000000 { - opp-hz = /bits/ 64 <460000000>; - required-opps = <&rpmhpd_opp_nom>; - }; - }; - mdss_mdp: display-controller@ae01000 { compatible = "qcom,sm8350-dpu"; reg = <0 0x0ae01000 0 0x8f000>, @@ -2495,6 +2466,35 @@ mdss_mdp: display-controller@ae01000 { interrupt-parent = <&mdss>; interrupts = <0>; + dpu_opp_table: opp-table { + compatible = "operating-points-v2"; + + /* TODO: opp-200000000 should work with + * &rpmhpd_opp_low_svs, but one some of + * sm8350_hdk boards reboot using this + * opp. + */ + opp-200000000 { + opp-hz = /bits/ 64 <200000000>; + required-opps = <&rpmhpd_opp_svs>; + }; + + opp-300000000 { + opp-hz = /bits/ 64 <300000000>; + required-opps = <&rpmhpd_opp_svs>; + }; + + opp-345000000 { + opp-hz = /bits/ 64 <345000000>; + required-opps = <&rpmhpd_opp_svs_l1>; + }; + + opp-460000000 { + opp-hz = /bits/ 64 <460000000>; + required-opps = <&rpmhpd_opp_nom>; + }; + }; + ports { #address-cells = <1>; #size-cells = <0>;