drm: dp: add support to validate the modes reported by the sink

The Display Port driver might not support all the modes returned by
the sink upon reading its EDID. This can be due to a combination of
restrictions related to link rate/number of lanes/bpp/maximum pixel
clock supported by the SDM hardware. Add support to validate these
modes before passing them to display userspace system.

Change-Id: Ia1cfb8dcd293b89405718dd68fb53e6d3b000ad5
Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
diff --git a/arch/arm64/boot/dts/qcom/sdm845-sde-display.dtsi b/arch/arm64/boot/dts/qcom/sdm845-sde-display.dtsi
index 726a63f..2a907ef 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-sde-display.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845-sde-display.dtsi
@@ -412,6 +412,7 @@
 		qcom,dp-usbpd-detection = <&pmi8998_pdphy>;
 
 		qcom,aux-cfg-settings = [00 13 04 00 0a 26 0a 03 bb 03];
+		qcom,max-pclk-frequency-khz = <576000>;
 
 		qcom,core-supply-entries {
 			#address-cells = <1>;