OpenCloudOS-Kernel/drivers/dma/qcom
Sinan Kaya 42d236f8a4 dmaengine: qcom_hidma: add support for object hierarchy
In order to create a relationship model between the channels and the
management object, we are adding support for object hierarchy to the
drivers. This patch simplifies the userspace application development.
We will not have to traverse different firmware paths based on device
tree or ACPI based kernels.

No matter what flavor of kernel is used, objects will be represented as
platform devices.

The new layout is as follows:

hidmam_10: hidma-mgmt@0x5A000000 {
	compatible = "qcom,hidma-mgmt-1.0";
	...

	hidma_10: hidma@0x5a010000 {
			compatible = "qcom,hidma-1.0";
			...
	}
}

The hidma_mgmt_init detects each instance of the hidma-mgmt-1.0 objects
in device tree and calls into the channel driver to create platform devices
for each child of the management object.

Signed-off-by: Sinan Kaya <okaya@codeaurora.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
2016-05-14 11:54:45 +05:30
..
Kconfig dmaengine: add Qualcomm Technologies HIDMA channel driver 2016-03-11 07:42:30 +05:30
Makefile dmaengine: qcom_hidma: add debugfs hooks 2016-05-14 11:54:45 +05:30
bam_dma.c dmaengine: qcom: bam_dma: rename BAM_MAX_DATA_SIZE define 2016-04-19 21:11:32 +05:30
hidma.c dmaengine: qcom_hidma: add support for object hierarchy 2016-05-14 11:54:45 +05:30
hidma.h dmaengine: qcom_hidma: add debugfs hooks 2016-05-14 11:54:45 +05:30
hidma_dbg.c dmaengine: qcom_hidma: add debugfs hooks 2016-05-14 11:54:45 +05:30
hidma_ll.c dmaengine: qcom_hidma: implement lower level hardware interface 2016-05-14 11:54:45 +05:30
hidma_mgmt.c dmaengine: qcom_hidma: add support for object hierarchy 2016-05-14 11:54:45 +05:30
hidma_mgmt.h
hidma_mgmt_sys.c