Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

arm64: dts: qcom: sm8550: add display port nodes

Add the Display Port controller subnode to the MDSS node.

Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230601-topic-sm8550-upstream-dp-v4-2-ac2c6899d22c@linaro.org

authored by

Neil Armstrong and committed by
Bjorn Andersson
66adfbc4 bbde65f9

+87 -2
+87 -2
arch/arm64/boot/dts/qcom/sm8550.dtsi
··· 2486 2486 remote-endpoint = <&mdss_dsi1_in>; 2487 2487 }; 2488 2488 }; 2489 + 2490 + port@2 { 2491 + reg = <2>; 2492 + dpu_intf0_out: endpoint { 2493 + remote-endpoint = <&mdss_dp0_in>; 2494 + }; 2495 + }; 2489 2496 }; 2490 2497 2491 2498 mdp_opp_table: opp-table { ··· 2515 2508 2516 2509 opp-514000000 { 2517 2510 opp-hz = /bits/ 64 <514000000>; 2511 + required-opps = <&rpmhpd_opp_nom>; 2512 + }; 2513 + }; 2514 + }; 2515 + 2516 + mdss_dp0: displayport-controller@ae90000 { 2517 + compatible = "qcom,sm8550-dp", "qcom,sm8350-dp"; 2518 + reg = <0 0xae90000 0 0x200>, 2519 + <0 0xae90200 0 0x200>, 2520 + <0 0xae90400 0 0xc00>, 2521 + <0 0xae91000 0 0x400>, 2522 + <0 0xae91400 0 0x400>; 2523 + interrupt-parent = <&mdss>; 2524 + interrupts = <12>; 2525 + clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>, 2526 + <&dispcc DISP_CC_MDSS_DPTX0_AUX_CLK>, 2527 + <&dispcc DISP_CC_MDSS_DPTX0_LINK_CLK>, 2528 + <&dispcc DISP_CC_MDSS_DPTX0_LINK_INTF_CLK>, 2529 + <&dispcc DISP_CC_MDSS_DPTX0_PIXEL0_CLK>; 2530 + clock-names = "core_iface", 2531 + "core_aux", 2532 + "ctrl_link", 2533 + "ctrl_link_iface", 2534 + "stream_pixel"; 2535 + 2536 + assigned-clocks = <&dispcc DISP_CC_MDSS_DPTX0_LINK_CLK_SRC>, 2537 + <&dispcc DISP_CC_MDSS_DPTX0_PIXEL0_CLK_SRC>; 2538 + assigned-clock-parents = <&usb_dp_qmpphy QMP_USB43DP_DP_LINK_CLK>, 2539 + <&usb_dp_qmpphy QMP_USB43DP_DP_VCO_DIV_CLK>; 2540 + 2541 + phys = <&usb_dp_qmpphy QMP_USB43DP_DP_PHY>; 2542 + phy-names = "dp"; 2543 + 2544 + #sound-dai-cells = <0>; 2545 + 2546 + operating-points-v2 = <&dp_opp_table>; 2547 + power-domains = <&rpmhpd SM8550_MMCX>; 2548 + 2549 + status = "disabled"; 2550 + 2551 + ports { 2552 + #address-cells = <1>; 2553 + #size-cells = <0>; 2554 + 2555 + port@0 { 2556 + reg = <0>; 2557 + mdss_dp0_in: endpoint { 2558 + remote-endpoint = <&dpu_intf0_out>; 2559 + }; 2560 + }; 2561 + 2562 + port@1 { 2563 + reg = <1>; 2564 + mdss_dp0_out: endpoint { 2565 + }; 2566 + }; 2567 + }; 2568 + 2569 + dp_opp_table: opp-table { 2570 + compatible = "operating-points-v2"; 2571 + 2572 + opp-162000000 { 2573 + opp-hz = /bits/ 64 <162000000>; 2574 + required-opps = <&rpmhpd_opp_low_svs_d1>; 2575 + }; 2576 + 2577 + opp-270000000 { 2578 + opp-hz = /bits/ 64 <270000000>; 2579 + required-opps = <&rpmhpd_opp_low_svs>; 2580 + }; 2581 + 2582 + opp-540000000 { 2583 + opp-hz = /bits/ 64 <540000000>; 2584 + required-opps = <&rpmhpd_opp_svs_l1>; 2585 + }; 2586 + 2587 + opp-810000000 { 2588 + opp-hz = /bits/ 64 <810000000>; 2518 2589 required-opps = <&rpmhpd_opp_nom>; 2519 2590 }; 2520 2591 }; ··· 2781 2696 <&mdss_dsi0_phy 1>, 2782 2697 <&mdss_dsi1_phy 0>, 2783 2698 <&mdss_dsi1_phy 1>, 2784 - <0>, /* dp0 */ 2785 - <0>, 2699 + <&usb_dp_qmpphy QMP_USB43DP_DP_LINK_CLK>, 2700 + <&usb_dp_qmpphy QMP_USB43DP_DP_VCO_DIV_CLK>, 2786 2701 <0>, /* dp1 */ 2787 2702 <0>, 2788 2703 <0>, /* dp2 */