mirror of
https://github.com/joel16/android_kernel_sony_msm8994.git
synced 2024-11-23 12:10:29 +00:00
5f0322e66f
Add user space interface to the SPMI kernel framework that enables master-read and master-write transactions. Each SPMI controller is represented as a file under the root directory of SPMI debug-fs. For each controller, 'address', 'count', and 'data' files are added. The user may configure the transaction via the respective files and invoke a master read transaction by reading from the 'data' file, and a master write transaction by writing a string of decimal or hexadecimal byte size values to the 'data' file. Change-Id: I3e760be7796bfb9aa15c8ab758ff616a72240176 Signed-off-by: Gilad Avidov <gavidov@codeaurora.org> Signed-off-by: Kenneth Heitke <kheitke@codeaurora.org>
11 lines
250 B
Makefile
11 lines
250 B
Makefile
#
|
|
# Makefile for kernel SPMI framework.
|
|
#
|
|
obj-$(CONFIG_SPMI) += spmi.o spmi-resources.o
|
|
obj-$(CONFIG_SPMI_MSM_PMIC_ARB) += spmi-pmic-arb.o
|
|
obj-$(CONFIG_MSM_QPNP_INT) += qpnp-int.o
|
|
|
|
ifdef CONFIG_DEBUG_FS
|
|
obj-$(CONFIG_SPMI) += spmi-dbgfs.o
|
|
endif
|