Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp2185124rdb; Fri, 8 Dec 2023 00:06:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IGIxn1Dyq1nUp6gNJkYzDtf/G47kDO3907SYFwcKB81fXldaOewy4CO9pZAxfwSYf+JCAJw X-Received: by 2002:a17:902:e88e:b0:1d0:6ffd:adfe with SMTP id w14-20020a170902e88e00b001d06ffdadfemr3604914plg.101.1702022761292; Fri, 08 Dec 2023 00:06:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702022761; cv=none; d=google.com; s=arc-20160816; b=Fp7OrFNssjE6B+8YhV/kMfcLzF7KbAj51f/n9mCTbYbIdiO0vacdt2rFKUSl95c0RA Ur5oQFowwrgR3gKdT7/2LixiM1XGSpm5vbBLSj+QPube+6yAYEdHoGspQO49Er4l75i0 CG7Kj5hrVV54jJ5yGVe06i9rMsXJSgOjz24a1mhm6l8eGvOJ9Z8n1u066OilSEpxK6Tg aGIUOm8105NqMVol9R8sKWqyl71bLvWZyA52jLZ+q5efsYRGBBsTZqNTo/rewwXO+Orr P+QGPII47c33o0pdGopgkAQzT6XDosZl4epOyAeCU5vFARmKRdJ/WkNCx4fD9sPCLr+V CCyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:autocrypt:references:cc:to:content-language:subject :reply-to:from:user-agent:mime-version:date:message-id :dkim-signature; bh=W6opCHd4WvW95nVFpdpf5Kniwie9yCSnn9rNT1ayHF4=; fh=ThC0z8IUOizvpFg+9jzgbFPy70sEHtr2gNC8Zlc3Ds0=; b=Q+rjzM18X0qPuFWA1/XU8gCl4zUu3W3yRZkn27T8RglUalLMIYKMPX18PgPsSPk8uX Jfrm/qpaN15aXxjaoPXlY8OR9HkmUgo/hNP34e/RJmBNJG3hz+MPmJNEAcTCKjEhQlc1 cjAyOFUzimrY39RBOp9tYCInPHIEo9qu8rWxBsawsPKTV9bf+D4v7JHMlx/6vLD7hZGc zY3zqz1DmlrkIFDCwuaP8mSzVpkvJZvYdRWJ7gcVVaXiCeG22uLQ/OApTHsgT3HiVMPq Fow7wNmpvUHXxqeUIWTSFnqKAl8pg16bdaQMBJDs7ritIUtOmQowWsaCoX/P+/+3Ze2v vvkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BiLWDijD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id c2-20020a170902d90200b001d06beccdc0si1148200plz.596.2023.12.08.00.06.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 00:06:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BiLWDijD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 24E63807FD4B; Fri, 8 Dec 2023 00:05:13 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1573372AbjLHIEv (ORCPT + 99 others); Fri, 8 Dec 2023 03:04:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59430 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1573333AbjLHIEu (ORCPT ); Fri, 8 Dec 2023 03:04:50 -0500 Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 73DE51720 for ; Fri, 8 Dec 2023 00:04:55 -0800 (PST) Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-40c339d2b88so3179965e9.3 for ; Fri, 08 Dec 2023 00:04:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702022694; x=1702627494; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:organization:autocrypt :references:cc:to:content-language:subject:reply-to:from:user-agent :mime-version:date:message-id:from:to:cc:subject:date:message-id :reply-to; bh=W6opCHd4WvW95nVFpdpf5Kniwie9yCSnn9rNT1ayHF4=; b=BiLWDijDyB12v4uWo1i1xwDx0dzq7EYdsht+2mLEARGy5bzfjx+4kIorazRHfHW6fc MleDM4XJP3plk3ffbKzjSvY92kFYcuyJZZb2M0p7KQYSDOE59Hfr0zMziOezG3vzQZku AWEPqL6l+mAR0Z6SahoSvDEyr+ocnRXhFV4IUqs9tmeIFV/39oUdsUXxjziJBOBEyP89 iMCNXTwRxPxrGIJp/yCXuGeRiRf+6jlYSglIPsFp72ahYQ+t4pwcu/PU56KpXY+6Qk/g CM0C7ohFsNUTVwW30wRsdvgy1EW//PkKVQxLGOxwMgtEI6HFbPVoXgLWEEBNYR6lpOMK nbJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702022694; x=1702627494; h=content-transfer-encoding:in-reply-to:organization:autocrypt :references:cc:to:content-language:subject:reply-to:from:user-agent :mime-version:date:message-id:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=W6opCHd4WvW95nVFpdpf5Kniwie9yCSnn9rNT1ayHF4=; b=K0Rkjm7T7g5I6/X2TdgziVva5MkNQdmCqnNroLNcY5OYc2+N8N2zeOgZZRXc9LA09S ZvihgStyHMZYBhmcOaMW9EvSAS04bIRkZyyVrVnsfHwtyXj+gluoDq9qBPa+Dg1jLgHQ IlPhwPNCemUTSjEAcTuRvNWGrZogB6N88MWkxWxpSLpU9UOT0kHTYZPG4PyzLW0Z6lK5 OPWIMf4ZPiRgK1wuyNbMhkFTwjdnjYpmvvwC0ZS0TqaHN5Hrw8/+HA8Vvq5XOOs8s9fE KAq69c+EpBfK5XIM3RiR5YokiOiJC/JcwbDTK8FQ+zoHbNcxUNXgWelGzpHF/Rr2JlD6 m7Ww== X-Gm-Message-State: AOJu0YyU0jd+KSUiIRbuL7kZpah/oRJu/4IkC/4tt0iCPwGYujA//77T G8SfRvBHPgaORTf1VZ0UB8t9PA== X-Received: by 2002:a05:600c:b8d:b0:40c:3187:b022 with SMTP id fl13-20020a05600c0b8d00b0040c3187b022mr475893wmb.125.1702022693797; Fri, 08 Dec 2023 00:04:53 -0800 (PST) Received: from ?IPV6:2a01:e0a:982:cbb0:8ada:86ec:5358:ef2a? ([2a01:e0a:982:cbb0:8ada:86ec:5358:ef2a]) by smtp.gmail.com with ESMTPSA id t13-20020a05600c450d00b00405c7591b09sm2042540wmo.35.2023.12.08.00.04.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 08 Dec 2023 00:04:53 -0800 (PST) Message-ID: <886193d7-2b27-4637-8af3-8358970f7419@linaro.org> Date: Fri, 8 Dec 2023 09:04:51 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Neil Armstrong Reply-To: neil.armstrong@linaro.org Subject: Re: [PATCH 3/3] arm64: dts: qcom: sm8650: Add DisplayPort device nodes Content-Language: en-US, fr To: Konrad Dybcio , Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , Marijn Suijten , David Airlie , Daniel Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Kuogee Hsieh , Andy Gross , Bjorn Andersson 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 References: <20231207-topic-sm8650-upstream-dp-v1-0-b762c06965bb@linaro.org> <20231207-topic-sm8650-upstream-dp-v1-3-b762c06965bb@linaro.org> <44c36d3f-dacd-4ca9-b92a-5febdc5d1340@linaro.org> Autocrypt: addr=neil.armstrong@linaro.org; keydata= xsBNBE1ZBs8BCAD78xVLsXPwV/2qQx2FaO/7mhWL0Qodw8UcQJnkrWmgTFRobtTWxuRx8WWP GTjuhvbleoQ5Cxjr+v+1ARGCH46MxFP5DwauzPekwJUD5QKZlaw/bURTLmS2id5wWi3lqVH4 BVF2WzvGyyeV1o4RTCYDnZ9VLLylJ9bneEaIs/7cjCEbipGGFlfIML3sfqnIvMAxIMZrvcl9 qPV2k+KQ7q+aXavU5W+yLNn7QtXUB530Zlk/d2ETgzQ5FLYYnUDAaRl+8JUTjc0CNOTpCeik 80TZcE6f8M76Xa6yU8VcNko94Ck7iB4vj70q76P/J7kt98hklrr85/3NU3oti3nrIHmHABEB AAHNKk5laWwgQXJtc3Ryb25nIDxuZWlsLmFybXN0cm9uZ0BsaW5hcm8ub3JnPsLAkQQTAQoA OwIbIwULCQgHAwUVCgkICwUWAgMBAAIeAQIXgBYhBInsPQWERiF0UPIoSBaat7Gkz/iuBQJk Q5wSAhkBAAoJEBaat7Gkz/iuyhMIANiD94qDtUTJRfEW6GwXmtKWwl/mvqQtaTtZID2dos04 YqBbshiJbejgVJjy+HODcNUIKBB3PSLaln4ltdsV73SBcwUNdzebfKspAQunCM22Mn6FBIxQ GizsMLcP/0FX4en9NaKGfK6ZdKK6kN1GR9YffMJd2P08EO8mHowmSRe/ExAODhAs9W7XXExw UNCY4pVJyRPpEhv373vvff60bHxc1k/FF9WaPscMt7hlkbFLUs85kHtQAmr8pV5Hy9ezsSRa GzJmiVclkPc2BY592IGBXRDQ38urXeM4nfhhvqA50b/nAEXc6FzqgXqDkEIwR66/Gbp0t3+r yQzpKRyQif3OwE0ETVkGzwEIALyKDN/OGURaHBVzwjgYq+ZtifvekdrSNl8TIDH8g1xicBYp QTbPn6bbSZbdvfeQPNCcD4/EhXZuhQXMcoJsQQQnO4vwVULmPGgtGf8PVc7dxKOeta+qUh6+ SRh3vIcAUFHDT3f/Zdspz+e2E0hPV2hiSvICLk11qO6cyJE13zeNFoeY3ggrKY+IzbFomIZY 4yG6xI99NIPEVE9lNBXBKIlewIyVlkOaYvJWSV+p5gdJXOvScNN1epm5YHmf9aE2ZjnqZGoM Mtsyw18YoX9BqMFInxqYQQ3j/HpVgTSvmo5ea5qQDDUaCsaTf8UeDcwYOtgI8iL4oHcsGtUX oUk33HEAEQEAAcLAXwQYAQIACQUCTVkGzwIbDAAKCRAWmrexpM/4rrXiB/sGbkQ6itMrAIfn M7IbRuiSZS1unlySUVYu3SD6YBYnNi3G5EpbwfBNuT3H8//rVvtOFK4OD8cRYkxXRQmTvqa3 3eDIHu/zr1HMKErm+2SD6PO9umRef8V82o2oaCLvf4WeIssFjwB0b6a12opuRP7yo3E3gTCS KmbUuLv1CtxKQF+fUV1cVaTPMyT25Od+RC1K+iOR0F54oUJvJeq7fUzbn/KdlhA8XPGzwGRy 4zcsPWvwnXgfe5tk680fEKZVwOZKIEuJC3v+/yZpQzDvGYJvbyix0lHnrCzq43WefRHI5XTT QbM0WUIBIcGmq38+OgUsMYu4NzLu7uZFAcmp6h8g Organization: Linaro Developer Services In-Reply-To: <44c36d3f-dacd-4ca9-b92a-5febdc5d1340@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Fri, 08 Dec 2023 00:05:13 -0800 (PST) On 07/12/2023 20:47, Konrad Dybcio wrote: > > > On 12/7/23 17:37, Neil Armstrong wrote: >> Declare the displayport controller present on the Qualcomm SM8650 SoC >> and connected to the USB3/DP Combo PHY. >> >> Signed-off-by: Neil Armstrong >> --- > [...] > >> +                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>; > What about PIXEL1 clocks? PIXEL1 is not defined yet in the bindings, but available since SM8150... # grep -l PIXEL1 include/dt-bindings/ -R include/dt-bindings/clock/qcom,dispcc-sm8350.h include/dt-bindings/clock/qcom,sm8650-dispcc.h include/dt-bindings/clock/qcom,dispcc-sm8250.h include/dt-bindings/clock/qcom,sm8450-dispcc.h include/dt-bindings/clock/qcom,sm8550-dispcc.h include/dt-bindings/clock/qcom,dispcc-sdm845.h include/dt-bindings/clock/qcom,dispcc-sm8150.h include/dt-bindings/clock/qcom,dispcc-sc8280xp.h > > [...] > >> +                    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>; >> +                    }; >> +                }; >> +            }; >>           }; >>           dispcc: clock-controller@af00000 { >> @@ -2996,8 +3086,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 */ > I noticed that this is not in line with your mdss patch [1] > where there are only two DP INTFs available.. Unless all of > these controllers can work using some sharing/only some at > one time... So, yes there's some more eDP PHYs and MDSS Interfaces, like SM8450 and SM8550 BTW, but they are not used on the current SoC Packages, they will perhaps be used in SoC variants, but for now there's clock inputs but no physical output for those DP interfaces so they're ignored, in upstream and downstream. $ grep -l -E "DPTX[1-3]" include/dt-bindings/clock/qcom,* -R include/dt-bindings/clock/qcom,sm8450-dispcc.h include/dt-bindings/clock/qcom,sm8550-dispcc.h include/dt-bindings/clock/qcom,sm8650-dispcc.h Neil > > Konrad > > [1] https://lore.kernel.org/all/20231030-topic-sm8650-upstream-mdss-v2-5-43f1887c82b8@linaro.org/