Loading Documentation/devicetree/bindings/mhi/msm_mhi_dev.txt +0 −7 Original line number Diff line number Diff line Loading @@ -14,12 +14,8 @@ Required properties: "ipa_uc_mbox_crdb" for IPA uC Command Ring doorbell, "ipa_uc_mbox_erdb" for IPA uC Event Ring doorbell passed to the IPA driver. - interrupts: The MHI interrupt used when Host issues request to process pending data to be read by the device. - interrupt-names: Should be mhi-device-inta for MHI interrupt. - qcom,mhi-ifc-id: ID of HW interface via which MHI on device side communicates with host side. - qcom,mhi-local-pa-base: MHI device local physical start address. - qcom,mhi-ep-msi: End point MSI number. - qcom,mhi-version: MHI specification version supported by the device. Loading @@ -32,10 +28,7 @@ Example: <0xfd4fa080 0x1>; reg-names = "mhi_mmio_base", "ipa_uc_mbox_crdb", "ipa_uc_mbox_erdb"; interrupts = <0 42 0>; interrupt-names = "mhi-device-inta"; qcom,mhi-ifc-id = <0x030017cb>; qcom,mhi-local-pa-base = <80000000>; qcom,mhi-ep-msi = <1>; qcom,mhi-version = <0x1000000>; }; arch/arm/boot/dts/qcom/mdmcalifornium.dtsi +13 −0 Original line number Diff line number Diff line Loading @@ -489,6 +489,19 @@ qcom,bus-vector-names = "MIN", "SVS", "NOMINAL", "TURBO"; }; mhi_dev@87000 { compatible = "qcom,msm-mhi-dev"; reg = <0x87000 0x1000>, <0x7b22000 0x4>, <0x7b22150 0x4>; reg-names = "mhi_mmio_base", "ipa_uc_mbox_crdb", "ipa_uc_mbox_erdb"; qcom,mhi-ifc-id = <0x030217cb>; qcom,mhi-ep-msi = <1>; qcom,mhi-version = <0x1000000>; qcom,mhi-use-gsi; }; blsp1_uart2: serial@78b0000 { compatible = "qcom,msm-lsuart-v14"; reg = <0x78b0000 0x200>; Loading drivers/platform/msm/mhi_dev/mhi.c +0 −15 Original line number Diff line number Diff line Loading @@ -1690,23 +1690,8 @@ static int get_device_tree_data(struct platform_device *pdev) mhi->ipa_uc_mbox_erdb = res_mem->start; mhi->mhi_irq = platform_get_irq_byname(pdev, "mhi-device-inta"); if (mhi->mhi_irq < 0) { pr_err("Invalid MHI device interrupt\n"); rc = mhi->mhi_irq; return rc; } mhi_ctx = mhi; rc = of_property_read_u32((&pdev->dev)->of_node, "qcom,mhi-local-pa-base", &mhi_ctx->device_local_pa_base); if (rc) { pr_err("qcom,mhi-local-pa-base does not exist.\n"); return rc; } rc = of_property_read_u32((&pdev->dev)->of_node, "qcom,mhi-ifc-id", &mhi_ctx->ifc_id); Loading drivers/platform/msm/mhi_dev/mhi.h +0 −2 Original line number Diff line number Diff line Loading @@ -479,7 +479,6 @@ struct mhi_dev { struct mhi_dev_ch_ctx *cmd_ctx_cache; dma_addr_t cmd_ctx_cache_dma_handle; struct mhi_dev_ring *ring; int mhi_irq; struct mhi_dev_channel *ch; int ctrl_int; Loading Loading @@ -515,7 +514,6 @@ struct mhi_dev { atomic_t write_active; atomic_t is_suspended; struct mutex mhi_write_test; u32 device_local_pa_base; u32 mhi_ep_msi_num; u32 mhi_version; void *dma_cache; Loading Loading
Documentation/devicetree/bindings/mhi/msm_mhi_dev.txt +0 −7 Original line number Diff line number Diff line Loading @@ -14,12 +14,8 @@ Required properties: "ipa_uc_mbox_crdb" for IPA uC Command Ring doorbell, "ipa_uc_mbox_erdb" for IPA uC Event Ring doorbell passed to the IPA driver. - interrupts: The MHI interrupt used when Host issues request to process pending data to be read by the device. - interrupt-names: Should be mhi-device-inta for MHI interrupt. - qcom,mhi-ifc-id: ID of HW interface via which MHI on device side communicates with host side. - qcom,mhi-local-pa-base: MHI device local physical start address. - qcom,mhi-ep-msi: End point MSI number. - qcom,mhi-version: MHI specification version supported by the device. Loading @@ -32,10 +28,7 @@ Example: <0xfd4fa080 0x1>; reg-names = "mhi_mmio_base", "ipa_uc_mbox_crdb", "ipa_uc_mbox_erdb"; interrupts = <0 42 0>; interrupt-names = "mhi-device-inta"; qcom,mhi-ifc-id = <0x030017cb>; qcom,mhi-local-pa-base = <80000000>; qcom,mhi-ep-msi = <1>; qcom,mhi-version = <0x1000000>; };
arch/arm/boot/dts/qcom/mdmcalifornium.dtsi +13 −0 Original line number Diff line number Diff line Loading @@ -489,6 +489,19 @@ qcom,bus-vector-names = "MIN", "SVS", "NOMINAL", "TURBO"; }; mhi_dev@87000 { compatible = "qcom,msm-mhi-dev"; reg = <0x87000 0x1000>, <0x7b22000 0x4>, <0x7b22150 0x4>; reg-names = "mhi_mmio_base", "ipa_uc_mbox_crdb", "ipa_uc_mbox_erdb"; qcom,mhi-ifc-id = <0x030217cb>; qcom,mhi-ep-msi = <1>; qcom,mhi-version = <0x1000000>; qcom,mhi-use-gsi; }; blsp1_uart2: serial@78b0000 { compatible = "qcom,msm-lsuart-v14"; reg = <0x78b0000 0x200>; Loading
drivers/platform/msm/mhi_dev/mhi.c +0 −15 Original line number Diff line number Diff line Loading @@ -1690,23 +1690,8 @@ static int get_device_tree_data(struct platform_device *pdev) mhi->ipa_uc_mbox_erdb = res_mem->start; mhi->mhi_irq = platform_get_irq_byname(pdev, "mhi-device-inta"); if (mhi->mhi_irq < 0) { pr_err("Invalid MHI device interrupt\n"); rc = mhi->mhi_irq; return rc; } mhi_ctx = mhi; rc = of_property_read_u32((&pdev->dev)->of_node, "qcom,mhi-local-pa-base", &mhi_ctx->device_local_pa_base); if (rc) { pr_err("qcom,mhi-local-pa-base does not exist.\n"); return rc; } rc = of_property_read_u32((&pdev->dev)->of_node, "qcom,mhi-ifc-id", &mhi_ctx->ifc_id); Loading
drivers/platform/msm/mhi_dev/mhi.h +0 −2 Original line number Diff line number Diff line Loading @@ -479,7 +479,6 @@ struct mhi_dev { struct mhi_dev_ch_ctx *cmd_ctx_cache; dma_addr_t cmd_ctx_cache_dma_handle; struct mhi_dev_ring *ring; int mhi_irq; struct mhi_dev_channel *ch; int ctrl_int; Loading Loading @@ -515,7 +514,6 @@ struct mhi_dev { atomic_t write_active; atomic_t is_suspended; struct mutex mhi_write_test; u32 device_local_pa_base; u32 mhi_ep_msi_num; u32 mhi_version; void *dma_cache; Loading