SDM670 display subsystem support
Subsystems (6)
cover SDM670 display subsystem support
This series adds support for the display subsystem on the Snapdragon
670. It is based on an earlier patch a few versions back, which had missing device tree bindings and device tree changes.
There is a separate IOMMU patch which adds the MDSS compatible to a workaround.
Richard Acayan (6):
dt-bindings: display/msm: dsi-controller-main: add SDM670 compatible
dt-bindings: display/msm: sdm845-dpu: Describe SDM670
dt-bindings: display: msm: Add SDM670 MDSS
drm/msm: mdss: add support for SDM670
drm/msm/dpu: Add hw revision 4.1 (SDM670)
arm64: dts: qcom: sdm670: add display subsystem
.../display/msm/dsi-controller-main.yaml | 1 + .../display/msm/qcom,sdm670-mdss.yaml | 280 +++++++++++++++++ .../bindings/display/msm/qcom,sdm845-dpu.yaml | 4 +- arch/arm64/boot/dts/qcom/sdm670.dtsi | 294 ++++++++++++++++++ .../msm/disp/dpu1/catalog/dpu_4_1_sdm670.h | 105 +++++++ .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 6 + .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h | 1 + drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 1 + drivers/gpu/drm/msm/msm_mdss.c | 7 + 9 files changed, 698 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/display/msm/qcom,sdm670-mdss.yaml create mode 100644 drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_4_1_sdm670.h
Signature · 1 line
2.42.0
PATCH 1/6 dt-bindings: display/msm: dsi-controller-main: add SDM670 compatible
The SDM670 has DSI ports. Add the compatible for the controller.
--- .../devicetree/bindings/display/msm/dsi-controller-main.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml +1 -0
@@ -25,6 +25,7 @@ properties: - qcom,sc7180-dsi-ctrl - qcom,sc7280-dsi-ctrl - qcom,sdm660-dsi-ctrl + - qcom,sdm670-dsi-ctrl - qcom,sdm845-dsi-ctrl - qcom,sm6115-dsi-ctrl - qcom,sm6125-dsi-ctrl
Signature · 1 line
2.42.0
Re: [PATCH 1/6] dt-bindings: display/msm: dsi-controller-main: add SDM670 compatible
Quoted 7 lines · Richard Acayan
The SDM670 has DSI ports. Add the compatible for the controller.
Signed-off-by Richard Acayan <[email protected]>--- .../devicetree/bindings/display/msm/dsi-controller-main.yaml | 1 + 1 file changed, 1 insertion(+)
PATCH 2/6 dt-bindings: display/msm: sdm845-dpu: Describe SDM670
In reply to Richard AcayanThe SDM670 display controller has the same requirements as the SDM845 display controller, despite having distinct properties as described in the catalog. Add the compatible for SDM670 to the SDM845 controller.
--- .../devicetree/bindings/display/msm/qcom,sdm845-dpu.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/display/msm/qcom,sdm845-dpu.yaml +3 -1
@@ -13,7 +13,9 @@ $ref: /schemas/display/msm/dpu-common.yaml# properties: compatible: - const: qcom,sdm845-dpu + enum: + - qcom,sdm670-dpu + - qcom,sdm845-dpu reg: items:
Signature · 1 line
2.42.0
Re: [PATCH 2/6] dt-bindings: display/msm: sdm845-dpu: Describe SDM670
Quoted 9 lines · Richard Acayan
The SDM670 display controller has the same requirements as the SDM845 display controller, despite having distinct properties as described in the catalog. Add the compatible for SDM670 to the SDM845 controller.
Signed-off-by Richard Acayan <[email protected]>--- .../devicetree/bindings/display/msm/qcom,sdm845-dpu.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
PATCH 3/6 dt-bindings: display: msm: Add SDM670 MDSS
In reply to Richard AcayanAdd documentation for the SDM670 display subsystem, adapted from the SDM845 and SM6125 documentation.
--- .../display/msm/qcom,sdm670-mdss.yaml | 280 ++++++++++++++++++ 1 file changed, 280 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/msm/qcom,sdm670-mdss.yaml
Documentation/devicetree/bindings/display/msm/qcom,sdm670-mdss.yaml new file +280 -0
@@ -0,0 +1,280 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/msm/qcom,sdm670-mdss.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm SDM670 Display MDSS + +maintainers: + - Richard Acayan <[email protected]> + +description: + SDM670 MSM Mobile Display Subsystem (MDSS), which encapsulates sub-blocks + like DPU display controller, DSI and DP interfaces etc. + +$ref: /schemas/display/msm/mdss-common.yaml# + +properties: + compatible: + const: qcom,sdm670-mdss + + clocks: + items: + - description: Display AHB clock from gcc + - description: Display core clock + + clock-names: + items: + - const: iface + - const: core + + iommus: + maxItems: 2 + + interconnects: + maxItems: 2 + + interconnect-names: + maxItems: 2 + +patternProperties: + "^display-controller@[0-9a-f]+$": + type: object + properties: + compatible: + const: qcom,sdm670-dpu + + "^displayport-controller@[0-9a-f]+$": + type: object + properties: + compatible: + const: qcom,sdm670-dp + + "^dsi@[0-9a-f]+$": + type: object + properties: + compatible: + items: + - const: qcom,sdm670-dsi-ctrl + - const: qcom,mdss-dsi-ctrl + + "^phy@[0-9a-f]+$": + type: object + properties: + compatible: + const: qcom,dsi-phy-10nm + +required: + - compatible + +unevaluatedProperties: false + +examples: + - | + #include <dt-bindings/clock/qcom,dispcc-sdm845.h> + #include <dt-bindings/clock/qcom,gcc-sdm845.h> + #include <dt-bindings/clock/qcom,rpmh.h> + #include <dt-bindings/interrupt-controller/arm-gic.h> + #include <dt-bindings/power/qcom-rpmpd.h> + + display-subsystem@ae00000 { + compatible = "qcom,sdm670-mdss"; + reg = <0x0ae00000 0x1000>; + reg-names = "mdss"; + power-domains = <&dispcc MDSS_GDSC>; + + clocks = <&gcc GCC_DISP_AHB_CLK>, + <&dispcc DISP_CC_MDSS_MDP_CLK>; + clock-names = "iface", "core"; + + interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>; + interrupt-controller; + #interrupt-cells = <1>; + + iommus = <&apps_smmu 0x880 0x8>, + <&apps_smmu 0xc80 0x8>; + + #address-cells = <1>; + #size-cells = <1>; + ranges; + + display-controller@ae01000 { + compatible = "qcom,sdm670-dpu"; + reg = <0x0ae01000 0x8f000>, + <0x0aeb0000 0x2008>; + reg-names = "mdp", "vbif"; + + clocks = <&gcc GCC_DISP_AXI_CLK>, + <&dispcc DISP_CC_MDSS_AHB_CLK>, + <&dispcc DISP_CC_MDSS_AXI_CLK>, + <&dispcc DISP_CC_MDSS_MDP_CLK>, + <&dispcc DISP_CC_MDSS_VSYNC_CLK>; + clock-names = "gcc-bus", "iface", "bus", "core", "vsync"; + + interrupt-parent = <&mdss>; + interrupts = <0>; + power-domains = <&rpmhpd SDM670_CX>; + operating-points-v2 = <&mdp_opp_table>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + dpu_intf1_out: endpoint { + remote-endpoint = <&mdss_dsi0_in>; + }; + }; + + port@1 { + reg = <1>; + dpu_intf2_out: endpoint { + remote-endpoint = <&mdss_dsi1_in>; + }; + }; + }; + }; + + dsi@ae94000 { + compatible = "qcom,sdm670-dsi-ctrl", "qcom,mdss-dsi-ctrl"; + reg = <0x0ae94000 0x400>; + reg-names = "dsi_ctrl"; + + interrupt-parent = <&mdss>; + interrupts = <4>; + + clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK>, + <&dispcc DISP_CC_MDSS_BYTE0_INTF_CLK>, + <&dispcc DISP_CC_MDSS_PCLK0_CLK>, + <&dispcc DISP_CC_MDSS_ESC0_CLK>, + <&dispcc DISP_CC_MDSS_AHB_CLK>, + <&dispcc DISP_CC_MDSS_AXI_CLK>; + clock-names = "byte", + "byte_intf", + "pixel", + "core", + "iface", + "bus"; + assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>, + <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>; + assigned-clock-parents = <&mdss_dsi0_phy 0>, <&mdss_dsi0_phy 1>; + + operating-points-v2 = <&dsi_opp_table>; + power-domains = <&rpmhpd SDM670_CX>; + + phys = <&mdss_dsi0_phy>; + phy-names = "dsi"; + + #address-cells = <1>; + #size-cells = <0>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + mdss_dsi0_in: endpoint { + remote-endpoint = <&dpu_intf1_out>; + }; + }; + + port@1 { + reg = <1>; + mdss_dsi0_out: endpoint { + }; + }; + }; + }; + + mdss_dsi0_phy: phy@ae94400 { + compatible = "qcom,dsi-phy-10nm"; + reg = <0x0ae94400 0x200>, + <0x0ae94600 0x280>, + <0x0ae94a00 0x1e0>; + reg-names = "dsi_phy", + "dsi_phy_lane", + "dsi_pll"; + + #clock-cells = <1>; + #phy-cells = <0>; + + clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>, + <&rpmhcc RPMH_CXO_CLK>; + clock-names = "iface", "ref"; + vdds-supply = <&vreg_dsi_phy>; + }; + + dsi@ae96000 { + compatible = "qcom,sdm670-dsi-ctrl", "qcom,mdss-dsi-ctrl"; + reg = <0x0ae96000 0x400>; + reg-names = "dsi_ctrl"; + + interrupt-parent = <&mdss>; + interrupts = <5>; + + clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK>, + <&dispcc DISP_CC_MDSS_BYTE1_INTF_CLK>, + <&dispcc DISP_CC_MDSS_PCLK1_CLK>, + <&dispcc DISP_CC_MDSS_ESC1_CLK>, + <&dispcc DISP_CC_MDSS_AHB_CLK>, + <&dispcc DISP_CC_MDSS_AXI_CLK>; + clock-names = "byte", + "byte_intf", + "pixel", + "core", + "iface", + "bus"; + assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK_SRC>, + <&dispcc DISP_CC_MDSS_PCLK1_CLK_SRC>; + assigned-clock-parents = <&dsi1_phy 0>, <&dsi1_phy 1>; + + operating-points-v2 = <&dsi_opp_table>; + power-domains = <&rpmhpd SDM670_CX>; + + phys = <&dsi1_phy>; + phy-names = "dsi"; + + #address-cells = <1>; + #size-cells = <0>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + dsi1_in: endpoint { + remote-endpoint = <&dpu_intf2_out>; + }; + }; + + port@1 { + reg = <1>; + dsi1_out: endpoint { + }; + }; + }; + }; + + mdss_dsi1_phy: phy@ae96400 { + compatible = "qcom,dsi-phy-10nm"; + reg = <0x0ae96400 0x200>, + <0x0ae96600 0x280>, + <0x0ae96a00 0x10e>; + reg-names = "dsi_phy", + "dsi_phy_lane", + "dsi_pll"; + + #clock-cells = <1>; + #phy-cells = <0>; + + clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>, + <&rpmhcc RPMH_CXO_CLK>; + clock-names = "iface", "ref"; + vdds-supply = <&vreg_dsi_phy>; + }; + }; +...
Signature · 1 line
2.42.0
Rob Herring
maintainerRe: [PATCH 3/6] dt-bindings: display: msm: Add SDM670 MDSS
Quoted 9 lines · Richard Acayan
Add documentation for the SDM670 display subsystem, adapted from the SDM845 and SM6125 documentation.
Signed-off-by Richard Acayan <[email protected]>--- .../display/msm/qcom,sdm670-mdss.yaml | 280 ++++++++++++++++++ 1 file changed, 280 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/msm/qcom,sdm670-mdss.yaml
My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' on your patch (DT_CHECKER_FLAGS is new in v5.13):
yamllint warnings/errors:
dtschema/dtc warnings/errors:
Documentation/devicetree/bindings/display/msm/qcom,sdm670-mdss.example.dts:198.43-200.27: Warning (graph_endpoint): /example-0/display-subsystem@ae00000/dsi@ae96000/ports/port@0/endpoint: graph connection to node '/example-0/display-subsystem@ae00000/display-controller@ae01000/ports/port@1/endpoint' is not bidirectional
doc reference errors (make refcheckdocs):
See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/[email protected]
The base for the series is generally the latest rc1. A different dependency should be noted in *this* patch.
If you already ran 'make dt_binding_check' and didn't see the above error(s), then make sure 'yamllint' is installed and dt-schema is up to date:
pip3 install dtschema --upgrade
Please check and re-submit after running the above command yourself. Note that DT_SCHEMA_FILES can be set to your schema file to speed up checking your schema. However, it must be unset to test all examples with your schema.
Rob Herring
maintainerRe: [PATCH 3/6] dt-bindings: display: msm: Add SDM670 MDSS
In reply to Richard AcayanQuoted 48 lines · Richard Acayan
Add documentation for the SDM670 display subsystem, adapted from the SDM845 and SM6125 documentation.
Signed-off-by Richard Acayan <[email protected]>--- .../display/msm/qcom,sdm670-mdss.yaml | 280 ++++++++++++++++++ 1 file changed, 280 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/msm/qcom,sdm670-mdss.yamlDocumentation/devicetree/bindings/display/msm/qcom,sdm670-mdss.yaml new file +33
-0@@ -0,0 +1,280 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/msm/qcom,sdm670-mdss.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm SDM670 Display MDSS + +maintainers: + - Richard Acayan <[email protected]> + +description: + SDM670 MSM Mobile Display Subsystem (MDSS), which encapsulates sub-blocks + like DPU display controller, DSI and DP interfaces etc. + +$ref: /schemas/display/msm/mdss-common.yaml# + +properties: + compatible: + const: qcom,sdm670-mdss + + clocks: + items: + - description: Display AHB clock from gcc + - description: Display core clock + + clock-names: + items: + - const: iface + - const: core + + iommus: + maxItems: 2
Documentation/devicetree/bindings/display/msm/qcom,sdm670-mdss.yaml line 43
Quoted 10 lines
Documentation/devicetree/bindings/display/msm/qcom,sdm670-mdss.yaml new file +10
-0+ + interconnects: + maxItems: 2 + + interconnect-names: + maxItems: 2 + +patternProperties: + "^display-controller@[0-9a-f]+$": + type: object
additionalProperties: true
Same for the rest. I've sent a patch doing this for all the existing ones.
Quoted 7 lines
Documentation/devicetree/bindings/display/msm/qcom,sdm670-mdss.yaml new file +7
-0+ properties: + compatible: + const: qcom,sdm670-dpu + + "^displayport-controller@[0-9a-f]+$": + type: object + properties:
Documentation/devicetree/bindings/display/msm/qcom,sdm670-mdss.yaml line 60
Quoted 10 lines
Documentation/devicetree/bindings/display/msm/qcom,sdm670-mdss.yaml new file +10
-0+ compatible: + const: qcom,sdm670-dp + + "^dsi@[0-9a-f]+$": + type: object + properties: + compatible: + items: + - const: qcom,sdm670-dsi-ctrl + - const: qcom,mdss-dsi-ctrl
No need to be exact here because the full schema will be. Just contains is fine here:
compatible
contains:
const: qcom,sdm670-dsi-ctrl
Quoted 12 lines
Documentation/devicetree/bindings/display/msm/qcom,sdm670-mdss.yaml new file +12
-0+ + "^phy@[0-9a-f]+$": + type: object + properties: + compatible: + const: qcom,dsi-phy-10nm + +required: + - compatible + +unevaluatedProperties: false +
PATCH 4/6 drm/msm: mdss: add support for SDM670
In reply to Richard AcayanAdd support for the MDSS block on the SDM670 platform.
--- drivers/gpu/drm/msm/msm_mdss.c | 7 +++++++ 1 file changed, 7 insertions(+)
drivers/gpu/drm/msm/msm_mdss.c +7 -0
@@ -551,6 +551,12 @@ static const struct msm_mdss_data sc8280xp_data = { .macrotile_mode = 1, }; +static const struct msm_mdss_data sdm670_data = { + .ubwc_enc_version =UBWC_2_0 , + .ubwc_dec_version =UBWC_2_0 , + .highest_bank_bit =1 , +}; +static const struct msm_mdss_data sdm845_data = { .ubwc_enc_version =UBWC_2_0 , .ubwc_dec_version =UBWC_2_0 ,
@@ -609,6 +615,7 @@ static const struct of_device_id mdss_dt_match[] = { { .compatible = "qcom,mdss" }, { .compatible = "qcom,msm8998-mdss", .data = &msm8998_data }, { .compatible = "qcom,qcm2290-mdss", .data = &qcm2290_data }, + { .compatible = "qcom,sdm670-mdss", .data = &sdm670_data }, { .compatible = "qcom,sdm845-mdss", .data = &sdm845_data }, { .compatible = "qcom,sc7180-mdss", .data = &sc7180_data }, { .compatible = "qcom,sc7280-mdss", .data = &sc7280_data },
Signature · 1 line
2.42.0
PATCH 5/6 drm/msm/dpu: Add hw revision 4.1 (SDM670)
In reply to Richard AcayanThe Snapdragon 670 uses similar clocks (with one frequency added) to the Snapdragon 845 but reports DPU revision 4.1. Add support for this DPU with configuration from the Pixel 3a downstream kernel.
Since revision 4.0 is SDM845, reuse some configuration from its catalog entry.
--- .../msm/disp/dpu1/catalog/dpu_4_1_sdm670.h | 105 ++++++++++++++++++ .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 6 + .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h | 1 + drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 1 + 4 files changed, 113 insertions(+) create mode 100644 drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_4_1_sdm670.h
drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_4_1_sdm670.h new file +105 -0
@@ -0,0 +1,105 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* +* Copyright (c) 2015-2018, The Linux Foundation. All rights reserved. +* Copyright (c) 2022. Qualcomm Innovation Center, Inc. All rights reserved. +* Copyright (c) 2023, Richard Acayan. All rights reserved. +*/ + +#ifndef _DPU_4_1_SDM670_H +#define _DPU_4_1_SDM670_H + +static const struct dpu_mdp_cfg sdm670_mdp = { + .name ="top_0" , + .base =0x0 , .len =0x45c , + .features =BIT (DPU_MDP_AUDIO_SELECT ), + .clk_ctrls = { + [DPU_CLK_CTRL_VIG0 ] = { .reg_off =0x2ac , .bit_off =0 }, + [DPU_CLK_CTRL_VIG1 ] = { .reg_off =0x2b4 , .bit_off =0 }, + [DPU_CLK_CTRL_DMA0 ] = { .reg_off =0x2ac , .bit_off =8 }, + [DPU_CLK_CTRL_DMA1 ] = { .reg_off =0x2b4 , .bit_off =8 }, + [DPU_CLK_CTRL_DMA2 ] = { .reg_off =0x2bc , .bit_off =8 }, + }, +}; + +static const struct dpu_sspp_cfg sdm670_sspp[] = { + { + .name ="sspp_0" , .id =SSPP_VIG0 , + .base =0x4000 , .len =0x1c8 , + .features =VIG_SDM845_MASK_SDMA , + .sblk = &sdm670_vig_sblk_0, + .xin_id =0 , + .type =SSPP_TYPE_VIG , + .clk_ctrl =DPU_CLK_CTRL_VIG0 , + }, { + .name ="sspp_1" , .id =SSPP_VIG1 , + .base =0x6000 , .len =0x1c8 , + .features =VIG_SDM845_MASK_SDMA , + .sblk = &sdm670_vig_sblk_1, + .xin_id =4 , + .type =SSPP_TYPE_VIG , + .clk_ctrl =DPU_CLK_CTRL_VIG0 , + }, { + .name ="sspp_8" , .id =SSPP_DMA0 , + .base =0x24000 , .len =0x1c8 , + .features =DMA_SDM845_MASK_SDMA , + .sblk = &sdm845_dma_sblk_0, + .xin_id =1 , + .type =SSPP_TYPE_DMA , + .clk_ctrl =DPU_CLK_CTRL_DMA0 , + }, { + .name ="sspp_9" , .id =SSPP_DMA1 , + .base =0x26000 , .len =0x1c8 , + .features =DMA_CURSOR_SDM845_MASK_SDMA , + .sblk = &sdm845_dma_sblk_1, + .xin_id =5 , + .type =SSPP_TYPE_DMA , + .clk_ctrl =DPU_CLK_CTRL_DMA1 , + }, { + .name ="sspp_10" , .id =SSPP_DMA2 , + .base =0x28000 , .len =0x1c8 , + .features =DMA_CURSOR_SDM845_MASK_SDMA , + .sblk = &sdm845_dma_sblk_2, + .xin_id =9 , + .type =SSPP_TYPE_DMA , + .clk_ctrl =DPU_CLK_CTRL_DMA2 , + }, +}; + +static struct dpu_dsc_cfg sdm670_dsc[] = { + { + .name ="dsc_0" , .id =DSC_0 , + .base =0x80000 , .len =0x140 , + }, + { + .name ="dsc_1" , .id =DSC_1 , + .base =0x80400 , .len =0x140 , + }, +}; + +static struct dpu_mdss_version sdm670_mdss_ver = { + .core_major_ver =4 , + .core_minor_ver =1 , +}; + +const struct dpu_mdss_cfg dpu_sdm670_cfg = { + .mdss_ver = &sdm670_mdss_ver, + .caps = &sdm845_dpu_caps, + .mdp = &sdm670_mdp, + .ctl_count =ARRAY_SIZE (sdm845_ctl), + .ctl = sdm845_ctl, + .sspp_count =ARRAY_SIZE (sdm670_sspp), + .sspp = sdm670_sspp, + .mixer_count =ARRAY_SIZE (sdm845_lm), + .mixer = sdm845_lm, + .pingpong_count =ARRAY_SIZE (sdm845_pp), + .pingpong = sdm845_pp, + .dsc_count =ARRAY_SIZE (sdm670_dsc), + .dsc = sdm670_dsc, + .intf_count =ARRAY_SIZE (sdm845_intf), + .intf = sdm845_intf, + .vbif_count =ARRAY_SIZE (sdm845_vbif), + .vbif = sdm845_vbif, + .perf = &sdm845_perf_data, +}; + +#endif
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c +6 -0
@@ -313,6 +313,11 @@ static const struct dpu_rotation_cfg dpu_rot_sc7280_cfg_v2 = { .rot_format_list = rotation_v2_formats, }; +static const struct dpu_sspp_sub_blks sdm670_vig_sblk_0 = +_VIG_SBLK (4 ,DPU_SSPP_SCALER_QSEED3 ); +static const struct dpu_sspp_sub_blks sdm670_vig_sblk_1 = +_VIG_SBLK (5 ,DPU_SSPP_SCALER_QSEED3 ); +static const struct dpu_sspp_sub_blks sdm845_vig_sblk_0 =_VIG_SBLK (5 ,DPU_SSPP_SCALER_QSEED3 ); static const struct dpu_sspp_sub_blks sdm845_vig_sblk_1 =
@@ -655,6 +660,7 @@ static const struct dpu_qos_lut_entry sc7180_qos_nrt[] = {#include "catalog/dpu_3_0_msm8998.h" #include "catalog/dpu_4_0_sdm845.h" +#include "catalog/dpu_4_1_sdm670.h" #include "catalog/dpu_5_0_sm8150.h" #include "catalog/dpu_5_1_sc8180x.h"
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h +1 -0
@@ -831,6 +831,7 @@ struct dpu_mdss_cfg {extern const struct dpu_mdss_cfg dpu_msm8998_cfg;extern const struct dpu_mdss_cfg dpu_sdm845_cfg; +extern const struct dpu_mdss_cfg dpu_sdm670_cfg;extern const struct dpu_mdss_cfg dpu_sm8150_cfg;extern const struct dpu_mdss_cfg dpu_sc8180x_cfg;extern const struct dpu_mdss_cfg dpu_sm8250_cfg;
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c +1 -0
@@ -1362,6 +1362,7 @@ static const struct dev_pm_ops dpu_pm_ops = {static const struct of_device_id dpu_dt_match[] = { { .compatible ="qcom,msm8998-dpu" , .data = &dpu_msm8998_cfg, }, { .compatible ="qcom,qcm2290-dpu" , .data = &dpu_qcm2290_cfg, }, + { .compatible ="qcom,sdm670-dpu" , .data = &dpu_sdm670_cfg, }, { .compatible ="qcom,sdm845-dpu" , .data = &dpu_sdm845_cfg, }, { .compatible ="qcom,sc7180-dpu" , .data = &dpu_sc7180_cfg, }, { .compatible ="qcom,sc7280-dpu" , .data = &dpu_sc7280_cfg, },
Signature · 1 line
2.42.0
Re: [PATCH 5/6] drm/msm/dpu: Add hw revision 4.1 (SDM670)
Quoted 29 lines · Richard Acayan
The Snapdragon 670 uses similar clocks (with one frequency added) to the Snapdragon 845 but reports DPU revision 4.1. Add support for this DPU with configuration from the Pixel 3a downstream kernel.
Since revision 4.0 is SDM845, reuse some configuration from its catalog entry.
Signed-off-by Richard Acayan <[email protected]>--- .../msm/disp/dpu1/catalog/dpu_4_1_sdm670.h | 105 ++++++++++++++++++ .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 6 + .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h | 1 + drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 1 + 4 files changed, 113 insertions(+) create mode 100644 drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_4_1_sdm670.hdrivers/gpu/drm/msm/disp/dpu1/catalog/dpu_4_1_sdm670.h new file +6
-0@@ -0,0 +1,105 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* +* Copyright (c) 2015-2018, The Linux Foundation. All rights reserved. +* Copyright (c) 2022. Qualcomm Innovation Center, Inc. All rights reserved. +* Copyright (c) 2023, Richard Acayan. All rights reserved. +*/
drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_4_1_sdm670.h line 16
Quoted 10 lines
drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_4_1_sdm670.h new file +10
-0+ +#ifndef _DPU_4_1_SDM670_H +#define _DPU_4_1_SDM670_H + +static const struct dpu_mdp_cfg sdm670_mdp = { + .name = "top_0", + .base = 0x0, .len = 0x45c, + .features = BIT(DPU_MDP_AUDIO_SELECT), + .clk_ctrls = { + [DPU_CLK_CTRL_VIG0] = { .reg_off = 0x2ac, .bit_off = 0},
space before the closing curly bracket, please
[...]
drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_4_1_sdm670.h line 18
Quoted 2 lines
drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_4_1_sdm670.h new file +2
-0+ +static struct dpu_dsc_cfg sdm670_dsc[] = {
const
Konrad
Re: [PATCH 5/6] drm/msm/dpu: Add hw revision 4.1 (SDM670)
In reply to Richard AcayanQuoted 86 lines · Richard Acayan
The Snapdragon 670 uses similar clocks (with one frequency added) to the Snapdragon 845 but reports DPU revision 4.1. Add support for this DPU with configuration from the Pixel 3a downstream kernel.
Since revision 4.0 is SDM845, reuse some configuration from its catalog entry.
Signed-off-by Richard Acayan <[email protected]>--- .../msm/disp/dpu1/catalog/dpu_4_1_sdm670.h | 105 ++++++++++++++++++ .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 6 + .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h | 1 + drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 1 + 4 files changed, 113 insertions(+) create mode 100644 drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_4_1_sdm670.hdrivers/gpu/drm/msm/disp/dpu1/catalog/dpu_4_1_sdm670.h new file +63
-0@@ -0,0 +1,105 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* +* Copyright (c) 2015-2018, The Linux Foundation. All rights reserved. +* Copyright (c) 2022. Qualcomm Innovation Center, Inc. All rights reserved. +* Copyright (c) 2023, Richard Acayan. All rights reserved. +*/ + +#ifndef _DPU_4_1_SDM670_H +#define _DPU_4_1_SDM670_H + +static const struct dpu_mdp_cfg sdm670_mdp = { + .name = "top_0", + .base = 0x0, .len = 0x45c, + .features = BIT(DPU_MDP_AUDIO_SELECT), + .clk_ctrls = { + [DPU_CLK_CTRL_VIG0] = { .reg_off = 0x2ac, .bit_off = 0}, + [DPU_CLK_CTRL_VIG1] = { .reg_off = 0x2b4, .bit_off = 0}, + [DPU_CLK_CTRL_DMA0] = { .reg_off = 0x2ac, .bit_off = 8}, + [DPU_CLK_CTRL_DMA1] = { .reg_off = 0x2b4, .bit_off = 8}, + [DPU_CLK_CTRL_DMA2] = { .reg_off = 0x2bc, .bit_off = 8}, + }, +}; + +static const struct dpu_sspp_cfg sdm670_sspp[] = { + { + .name = "sspp_0", .id = SSPP_VIG0, + .base = 0x4000, .len = 0x1c8, + .features = VIG_SDM845_MASK_SDMA, + .sblk = &sdm670_vig_sblk_0, + .xin_id = 0, + .type = SSPP_TYPE_VIG, + .clk_ctrl = DPU_CLK_CTRL_VIG0, + }, { + .name = "sspp_1", .id = SSPP_VIG1, + .base = 0x6000, .len = 0x1c8, + .features = VIG_SDM845_MASK_SDMA, + .sblk = &sdm670_vig_sblk_1, + .xin_id = 4, + .type = SSPP_TYPE_VIG, + .clk_ctrl = DPU_CLK_CTRL_VIG0, + }, { + .name = "sspp_8", .id = SSPP_DMA0, + .base = 0x24000, .len = 0x1c8, + .features = DMA_SDM845_MASK_SDMA, + .sblk = &sdm845_dma_sblk_0, + .xin_id = 1, + .type = SSPP_TYPE_DMA, + .clk_ctrl = DPU_CLK_CTRL_DMA0, + }, { + .name = "sspp_9", .id = SSPP_DMA1, + .base = 0x26000, .len = 0x1c8, + .features = DMA_CURSOR_SDM845_MASK_SDMA, + .sblk = &sdm845_dma_sblk_1, + .xin_id = 5, + .type = SSPP_TYPE_DMA, + .clk_ctrl = DPU_CLK_CTRL_DMA1, + }, { + .name = "sspp_10", .id = SSPP_DMA2, + .base = 0x28000, .len = 0x1c8, + .features = DMA_CURSOR_SDM845_MASK_SDMA, + .sblk = &sdm845_dma_sblk_2, + .xin_id = 9, + .type = SSPP_TYPE_DMA,
drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_4_1_sdm670.h line 73
Quoted 10 lines
drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_4_1_sdm670.h new file +10
-0+ .clk_ctrl = DPU_CLK_CTRL_DMA2, + }, +}; + +static struct dpu_dsc_cfg sdm670_dsc[] = { + { + .name ="dsc_0" , .id =DSC_0 , + .base =0x80000 , .len =0x140 , + }, + {
Let's join these braces on the same line.
Quoted 83 lines
drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_4_1_sdm670.h new file +32
-0+ .name = "dsc_1", .id = DSC_1, + .base = 0x80400, .len = 0x140, + }, +}; + +static struct dpu_mdss_version sdm670_mdss_ver = { + .core_major_ver =4 , + .core_minor_ver =1 , +}; + +const struct dpu_mdss_cfg dpu_sdm670_cfg = { + .mdss_ver = &sdm670_mdss_ver, + .caps = &sdm845_dpu_caps, + .mdp = &sdm670_mdp, + .ctl_count =ARRAY_SIZE (sdm845_ctl), + .ctl = sdm845_ctl, + .sspp_count =ARRAY_SIZE (sdm670_sspp), + .sspp = sdm670_sspp, + .mixer_count =ARRAY_SIZE (sdm845_lm), + .mixer = sdm845_lm, + .pingpong_count =ARRAY_SIZE (sdm845_pp), + .pingpong = sdm845_pp, + .dsc_count =ARRAY_SIZE (sdm670_dsc), + .dsc = sdm670_dsc, + .intf_count =ARRAY_SIZE (sdm845_intf), + .intf = sdm845_intf, + .vbif_count =ARRAY_SIZE (sdm845_vbif), + .vbif = sdm845_vbif, + .perf = &sdm845_perf_data, +}; + +#endif drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c +6
-0@@ -313,6 +313,11 @@ static const struct dpu_rotation_cfg dpu_rot_sc7280_cfg_v2 = { .rot_format_list = rotation_v2_formats, }; +static const struct dpu_sspp_sub_blks sdm670_vig_sblk_0 = +_VIG_SBLK (4 ,DPU_SSPP_SCALER_QSEED3 ); +static const struct dpu_sspp_sub_blks sdm670_vig_sblk_1 = +_VIG_SBLK (5 ,DPU_SSPP_SCALER_QSEED3 ); +static const struct dpu_sspp_sub_blks sdm845_vig_sblk_0 =_VIG_SBLK (5 ,DPU_SSPP_SCALER_QSEED3 ); static const struct dpu_sspp_sub_blks sdm845_vig_sblk_1 =@@ -655,6 +660,7 @@ static const struct dpu_qos_lut_entry sc7180_qos_nrt[] = {#include "catalog/dpu_3_0_msm8998.h" #include "catalog/dpu_4_0_sdm845.h" +#include "catalog/dpu_4_1_sdm670.h" #include "catalog/dpu_5_0_sm8150.h" #include "catalog/dpu_5_1_sc8180x.h" drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h +1
-0@@ -831,6 +831,7 @@ struct dpu_mdss_cfg {extern const struct dpu_mdss_cfg dpu_msm8998_cfg;extern const struct dpu_mdss_cfg dpu_sdm845_cfg; +extern const struct dpu_mdss_cfg dpu_sdm670_cfg;extern const struct dpu_mdss_cfg dpu_sm8150_cfg;extern const struct dpu_mdss_cfg dpu_sc8180x_cfg;extern const struct dpu_mdss_cfg dpu_sm8250_cfg;drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c +1
-0@@ -1362,6 +1362,7 @@ static const struct dev_pm_ops dpu_pm_ops = {static const struct of_device_id dpu_dt_match[] = { { .compatible ="qcom,msm8998-dpu" , .data = &dpu_msm8998_cfg, }, { .compatible ="qcom,qcm2290-dpu" , .data = &dpu_qcm2290_cfg, }, + { .compatible ="qcom,sdm670-dpu" , .data = &dpu_sdm670_cfg, }, { .compatible ="qcom,sdm845-dpu" , .data = &dpu_sdm845_cfg, }, { .compatible ="qcom,sc7180-dpu" , .data = &dpu_sc7180_cfg, }, { .compatible ="qcom,sc7280-dpu" , .data = &dpu_sc7280_cfg, },Signature · 1 line
2.42.0
PATCH 6/6 arm64: dts: qcom: sdm670: add display subsystem
In reply to Richard AcayanThe Snapdragon 670 has a display subsystem for controlling and outputting to the display. Add support for it in the device tree.
--- arch/arm64/boot/dts/qcom/sdm670.dtsi | 294 +++++++++++++++++++++++++++ 1 file changed, 294 insertions(+)
arch/arm64/boot/dts/qcom/sdm670.dtsi +294 -0
@@ -6,6 +6,7 @@ * Copyright (c) 2022, Richard Acayan. All rights reserved. */ +#include <dt-bindings/clock/qcom,dispcc-sdm845.h> #include <dt-bindings/clock/qcom,gcc-sdm845.h> #include <dt-bindings/clock/qcom,rpmh.h> #include <dt-bindings/dma/qcom-gpi.h>
@@ -400,6 +401,30 @@ cpu6_opp10: opp-1996800000 { }; }; + dsi_opp_table: opp-table-dsi { + compatible = "operating-points-v2"; + + opp-19200000 { + opp-hz = /bits/ 64 <19200000>; + required-opps = <&rpmhpd_opp_min_svs>; + }; + + opp-180000000 { + opp-hz = /bits/ 64 <180000000>; + required-opps = <&rpmhpd_opp_low_svs>; + }; + + opp-275000000 { + opp-hz = /bits/ 64 <275000000>; + required-opps = <&rpmhpd_opp_svs>; + }; + + opp-358000000 { + opp-hz = /bits/ 64 <358000000>; + required-opps = <&rpmhpd_opp_svs_l1>; + }; + }; + psci { compatible = "arm,psci-1.0"; method = "smc";
@@ -1352,6 +1377,275 @@ spmi_bus: spmi@c440000 { #interrupt-cells = <4>; }; + mdss: display-subsystem@ae00000 { + compatible = "qcom,sdm670-mdss"; + reg = <0 0x0ae00000 0 0x1000>; + reg-names = "mdss"; + + power-domains = <&dispcc MDSS_GDSC>; + + clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>, + <&dispcc DISP_CC_MDSS_MDP_CLK>; + clock-names = "iface", "core"; + + interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>; + interrupt-controller; + #interrupt-cells = <1>; + + interconnects = <&mmss_noc MASTER_MDP_PORT0 0 &mem_noc SLAVE_EBI_CH0 0>, + <&mmss_noc MASTER_MDP_PORT1 0 &mem_noc SLAVE_EBI_CH0 0>; + interconnect-names = "mdp0-mem", "mdp1-mem"; + + iommus = <&apps_smmu 0x880 0x8>, + <&apps_smmu 0xc80 0x8>; + + status = "disabled"; + + #address-cells = <2>; + #size-cells = <2>; + ranges; + + mdss_mdp: display-controller@ae01000 { + compatible = "qcom,sdm670-dpu"; + reg = <0 0x0ae01000 0 0x8f000>, + <0 0x0aeb0000 0 0x2008>; + reg-names = "mdp", "vbif"; + + clocks = <&gcc GCC_DISP_AXI_CLK>, + <&dispcc DISP_CC_MDSS_AHB_CLK>, + <&dispcc DISP_CC_MDSS_AXI_CLK>, + <&dispcc DISP_CC_MDSS_MDP_CLK>, + <&dispcc DISP_CC_MDSS_VSYNC_CLK>; + clock-names = "gcc-bus", "iface", "bus", "core", "vsync"; + + assigned-clocks = <&dispcc DISP_CC_MDSS_VSYNC_CLK>; + assigned-clock-rates = <19200000>; + operating-points-v2 = <&mdp_opp_table>; + power-domains = <&rpmhpd SDM670_CX>; + + interrupt-parent = <&mdss>; + interrupts = <0>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + dpu_intf0_out: endpoint { + remote-endpoint = <&mdss_dsi0_in>; + }; + }; + + port@1 { + reg = <1>; + dpu_intf1_out: endpoint { + remote-endpoint = <&mdss_dsi1_in>; + }; + }; + }; + + mdp_opp_table: opp-table { + compatible = "operating-points-v2"; + + opp-19200000 { + opp-hz = /bits/ 64 <19200000>; + required-opps = <&rpmhpd_opp_min_svs>; + }; + + opp-171428571 { + opp-hz = /bits/ 64 <171428571>; + required-opps = <&rpmhpd_opp_low_svs>; + }; + + opp-358000000 { + opp-hz = /bits/ 64 <358000000>; + required-opps = <&rpmhpd_opp_svs_l1>; + }; + + opp-430000000 { + opp-hz = /bits/ 64 <430000000>; + required-opps = <&rpmhpd_opp_nom>; + }; + }; + }; + + mdss_dsi0: dsi@ae94000 { + compatible = "qcom,sdm670-dsi-ctrl", + "qcom,mdss-dsi-ctrl"; + reg = <0 0x0ae94000 0 0x400>; + reg-names = "dsi_ctrl"; + + interrupt-parent = <&mdss>; + interrupts = <4>; + + clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK>, + <&dispcc DISP_CC_MDSS_BYTE0_INTF_CLK>, + <&dispcc DISP_CC_MDSS_PCLK0_CLK>, + <&dispcc DISP_CC_MDSS_ESC0_CLK>, + <&dispcc DISP_CC_MDSS_AHB_CLK>, + <&dispcc DISP_CC_MDSS_AXI_CLK>; + clock-names = "byte", + "byte_intf", + "pixel", + "core", + "iface", + "bus"; + assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>, + <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>; + assigned-clock-parents = <&mdss_dsi0_phy 0>, + <&mdss_dsi0_phy 1>; + + operating-points-v2 = <&dsi_opp_table>; + power-domains = <&rpmhpd SDM670_CX>; + + phys = <&mdss_dsi0_phy>; + phy-names = "dsi"; + + status = "disabled"; + + #address-cells = <1>; + #size-cells = <0>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + mdss_dsi0_in: endpoint { + remote-endpoint = <&dpu_intf0_out>; + }; + }; + + port@1 { + reg = <1>; + mdss_dsi0_out: endpoint { + }; + }; + }; + }; + + mdss_dsi0_phy: phy@ae94400 { + compatible = "qcom,dsi-phy-10nm"; + reg = <0 0x0ae94400 0 0x200>, + <0 0x0ae94600 0 0x280>, + <0 0x0ae94a00 0 0x1e0>; + reg-names = "dsi_phy", + "dsi_phy_lane", + "dsi_pll"; + + #clock-cells = <1>; + #phy-cells = <0>; + + clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>, + <&rpmhcc RPMH_CXO_CLK>; + clock-names = "iface", "ref"; + + status = "disabled"; + }; + + mdss_dsi1: dsi@ae96000 { + compatible = "qcom,sdm670-dsi-ctrl", + "qcom,mdss-dsi-ctrl"; + reg = <0 0x0ae96000 0 0x400>; + reg-names = "dsi_ctrl"; + + interrupt-parent = <&mdss>; + interrupts = <5>; + + clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK>, + <&dispcc DISP_CC_MDSS_BYTE1_INTF_CLK>, + <&dispcc DISP_CC_MDSS_PCLK1_CLK>, + <&dispcc DISP_CC_MDSS_ESC1_CLK>, + <&dispcc DISP_CC_MDSS_AHB_CLK>, + <&dispcc DISP_CC_MDSS_AXI_CLK>; + clock-names = "byte", + "byte_intf", + "pixel", + "core", + "iface", + "bus"; + assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK_SRC>, + <&dispcc DISP_CC_MDSS_PCLK1_CLK_SRC>; + assigned-clock-parents = <&mdss_dsi1_phy 0>, <&mdss_dsi1_phy 1>; + + operating-points-v2 = <&dsi_opp_table>; + power-domains = <&rpmhpd SDM670_CX>; + + phys = <&mdss_dsi1_phy>; + phy-names = "dsi"; + + status = "disabled"; + + #address-cells = <1>; + #size-cells = <0>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + mdss_dsi1_in: endpoint { + remote-endpoint = <&dpu_intf1_out>; + }; + }; + + port@1 { + reg = <1>; + mdss_dsi1_out: endpoint { + }; + }; + }; + }; + + mdss_dsi1_phy: phy@ae96400 { + compatible = "qcom,dsi-phy-10nm"; + reg = <0 0x0ae96400 0 0x200>, + <0 0x0ae96600 0 0x280>, + <0 0x0ae96a00 0 0x10e>; + reg-names = "dsi_phy", + "dsi_phy_lane", + "dsi_pll"; + + #clock-cells = <1>; + #phy-cells = <0>; + + clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>, + <&rpmhcc RPMH_CXO_CLK>; + clock-names = "iface", "ref"; + + status = "disabled"; + }; + }; + + dispcc: clock-controller@af00000 { + compatible = "qcom,sdm845-dispcc"; + reg = <0 0x0af00000 0 0x10000>; + clocks = <&rpmhcc RPMH_CXO_CLK>, + <&gcc GCC_DISP_GPLL0_CLK_SRC>, + <&gcc GCC_DISP_GPLL0_DIV_CLK_SRC>, + <&mdss_dsi0_phy 0>, + <&mdss_dsi0_phy 1>, + <&mdss_dsi1_phy 0>, + <&mdss_dsi1_phy 1>, + <0>, + <0>; + clock-names = "bi_tcxo", + "gcc_disp_gpll0_clk_src", + "gcc_disp_gpll0_div_clk_src", + "dsi0_phy_pll_out_byteclk", + "dsi0_phy_pll_out_dsiclk", + "dsi1_phy_pll_out_byteclk", + "dsi1_phy_pll_out_dsiclk", + "dp_link_clk_divsel_ten", + "dp_vco_divided_clk_src_mux"; + #clock-cells = <1>; + #reset-cells = <1>; + #power-domain-cells = <1>; + }; + apps_smmu: iommu@15000000 { compatible = "qcom,sdm670-smmu-500", "qcom,smmu-500", "arm,mmu-500"; reg = <0 0x15000000 0 0x80000>;
Signature · 1 line
2.42.0