brintos

brintos / linux-shallow public Read only

0
0
Text · 3.5 KiB · c79b2d4 Raw
144 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/display/msm/qcom,sm7150-dpu.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Qualcomm SM7150 Display Processing Unit (DPU)8 9maintainers:10  - Danila Tikhonov <danila@jiaxyga.com>11 12$ref: /schemas/display/msm/dpu-common.yaml#13 14properties:15  compatible:16    const: qcom,sm7150-dpu17 18  reg:19    items:20      - description: Address offset and size for mdp register set21      - description: Address offset and size for vbif register set22 23  reg-names:24    items:25      - const: mdp26      - const: vbif27 28  clocks:29    items:30      - description: Display hf axi clock31      - description: Display ahb clock32      - description: Display rotator clock33      - description: Display lut clock34      - description: Display core clock35      - description: Display vsync clock36 37  clock-names:38    items:39      - const: bus40      - const: iface41      - const: rot42      - const: lut43      - const: core44      - const: vsync45 46required:47  - compatible48  - reg49  - reg-names50  - clocks51  - clock-names52 53unevaluatedProperties: false54 55examples:56  - |57    #include <dt-bindings/interrupt-controller/arm-gic.h>58    #include <dt-bindings/power/qcom,rpmhpd.h>59 60    display-controller@ae01000 {61        compatible = "qcom,sm7150-dpu";62        reg = <0x0ae01000 0x8f000>,63              <0x0aeb0000 0x2008>;64        reg-names = "mdp", "vbif";65 66        clocks = <&gcc_disp_hf_axi_clk>,67                 <&dispcc_mdss_ahb_clk>,68                 <&dispcc_mdss_rot_clk>,69                 <&dispcc_mdss_mdp_lut_clk>,70                 <&dispcc_mdss_mdp_clk>,71                 <&dispcc_mdss_vsync_clk>;72        clock-names = "bus",73                      "iface",74                      "rot",75                      "lut",76                      "core",77                      "vsync";78 79        assigned-clocks = <&dispcc_mdss_vsync_clk>;80        assigned-clock-rates = <19200000>;81 82        operating-points-v2 = <&mdp_opp_table>;83        power-domains = <&rpmhpd RPMHPD_CX>;84 85        interrupt-parent = <&mdss>;86        interrupts = <0>;87 88        ports {89            #address-cells = <1>;90            #size-cells = <0>;91 92            port@0 {93                reg = <0>;94                dpu_intf1_out: endpoint {95                    remote-endpoint = <&mdss_dsi0_in>;96                };97            };98 99            port@1 {100                reg = <1>;101                dpu_intf2_out: endpoint {102                    remote-endpoint = <&mdss_dsi1_in>;103                };104            };105 106            port@2 {107                reg = <2>;108                dpu_intf0_out: endpoint {109                    remote-endpoint = <&dp_in>;110                };111            };112        };113 114        mdp_opp_table: opp-table {115            compatible = "operating-points-v2";116 117            opp-19200000 {118                opp-hz = /bits/ 64 <19200000>;119                required-opps = <&rpmhpd_opp_min_svs>;120            };121 122            opp-200000000 {123                opp-hz = /bits/ 64 <200000000>;124                required-opps = <&rpmhpd_opp_low_svs>;125            };126 127            opp-300000000 {128                opp-hz = /bits/ 64 <300000000>;129                required-opps = <&rpmhpd_opp_svs>;130            };131 132            opp-344000000 {133                opp-hz = /bits/ 64 <344000000>;134                required-opps = <&rpmhpd_opp_svs_l1>;135            };136 137            opp-430000000 {138                opp-hz = /bits/ 64 <430000000>;139                required-opps = <&rpmhpd_opp_nom>;140            };141        };142    };143...144