Loading Documentation/devicetree/bindings/platform/msm/ipa.txt +2 −0 Original line number Diff line number Diff line Loading @@ -25,6 +25,8 @@ Optional: - qti,use-a2-service: determine if A2 service will be used - qti,use-ipa-tethering-bridge: determine if tethering bridge will be used - qti,use-ipa-bamdma-a2-bridge: determine if a2/ipa hw bridge will be used - qti,ee: which EE is assigned to (non-secure) APPS from IPA-BAM POV. This is a number IPA pipe sub nodes (A2 static pipes configurations): Loading drivers/platform/msm/ipa/ipa.c +6 −0 Original line number Diff line number Diff line Loading @@ -1832,6 +1832,7 @@ static int ipa_init(const struct ipa_plat_drv_res *resource_p, bam_props.summing_threshold = IPA_SUMMING_THRESHOLD; bam_props.event_threshold = IPA_EVENT_THRESHOLD; bam_props.options |= SPS_BAM_NO_LOCAL_CLK_GATING; bam_props.ee = resource_p->ee; result = sps_register_bam_device(&bam_props, &ipa_ctx->bam_handle); if (result) { Loading Loading @@ -2316,6 +2317,11 @@ static int get_ipa_dts_configuration(struct platform_device *pdev, return -ENODEV; } result = of_property_read_u32(pdev->dev.of_node, "qti,ee", &ipa_drv_res->ee); if (result) ipa_drv_res->ee = 0; return 0; } Loading drivers/platform/msm/ipa/ipa_i.h +1 −0 Original line number Diff line number Diff line Loading @@ -797,6 +797,7 @@ struct ipa_plat_drv_res { enum ipa_hw_mode ipa_hw_mode; struct a2_mux_pipe_connection a2_to_ipa_pipe; struct a2_mux_pipe_connection ipa_to_a2_pipe; u32 ee; }; struct ipa_controller { Loading Loading
Documentation/devicetree/bindings/platform/msm/ipa.txt +2 −0 Original line number Diff line number Diff line Loading @@ -25,6 +25,8 @@ Optional: - qti,use-a2-service: determine if A2 service will be used - qti,use-ipa-tethering-bridge: determine if tethering bridge will be used - qti,use-ipa-bamdma-a2-bridge: determine if a2/ipa hw bridge will be used - qti,ee: which EE is assigned to (non-secure) APPS from IPA-BAM POV. This is a number IPA pipe sub nodes (A2 static pipes configurations): Loading
drivers/platform/msm/ipa/ipa.c +6 −0 Original line number Diff line number Diff line Loading @@ -1832,6 +1832,7 @@ static int ipa_init(const struct ipa_plat_drv_res *resource_p, bam_props.summing_threshold = IPA_SUMMING_THRESHOLD; bam_props.event_threshold = IPA_EVENT_THRESHOLD; bam_props.options |= SPS_BAM_NO_LOCAL_CLK_GATING; bam_props.ee = resource_p->ee; result = sps_register_bam_device(&bam_props, &ipa_ctx->bam_handle); if (result) { Loading Loading @@ -2316,6 +2317,11 @@ static int get_ipa_dts_configuration(struct platform_device *pdev, return -ENODEV; } result = of_property_read_u32(pdev->dev.of_node, "qti,ee", &ipa_drv_res->ee); if (result) ipa_drv_res->ee = 0; return 0; } Loading
drivers/platform/msm/ipa/ipa_i.h +1 −0 Original line number Diff line number Diff line Loading @@ -797,6 +797,7 @@ struct ipa_plat_drv_res { enum ipa_hw_mode ipa_hw_mode; struct a2_mux_pipe_connection a2_to_ipa_pipe; struct a2_mux_pipe_connection ipa_to_a2_pipe; u32 ee; }; struct ipa_controller { Loading