Skip to content

Commit 1f5a371

Browse files
westeriSamuel Ortiz
authored andcommitted
mfd: Add Intel MSIC driver
Add support for Intel MSIC chip found on Intel Medfield platforms. This chip embeds several subdevices: audio, ADC, GPIO, power button, etc. The driver creates platform device for each subdevice. We also provide an MSIC register access API which should replace the more generic SCU IPC interface currently used. Existing drivers can choose whether they convert to this new API or stick with the SCU IPC interface. Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
1 parent 429c9ec commit 1f5a371

4 files changed

Lines changed: 967 additions & 0 deletions

File tree

‎drivers/mfd/Kconfig‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -757,6 +757,15 @@ config MFD_AAT2870_CORE
757757
additional drivers must be enabled in order to use the
758758
functionality of the device.
759759

760+
config MFD_INTEL_MSIC
761+
bool "Support for Intel MSIC"
762+
depends on INTEL_SCU_IPC
763+
select MFD_CORE
764+
help
765+
Select this option to enable access to Intel MSIC (Avatele
766+
Passage) chip. This chip embeds audio, battery, GPIO, etc.
767+
devices used in Intel Medfield platforms.
768+
760769
endmenu
761770
endif
762771

‎drivers/mfd/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,3 +102,4 @@ obj-$(CONFIG_MFD_PM8921_CORE) += pm8921-core.o
102102
obj-$(CONFIG_MFD_PM8XXX_IRQ) += pm8xxx-irq.o
103103
obj-$(CONFIG_TPS65911_COMPARATOR) += tps65911-comparator.o
104104
obj-$(CONFIG_MFD_AAT2870_CORE) += aat2870-core.o
105+
obj-$(CONFIG_MFD_INTEL_MSIC) += intel_msic.o

0 commit comments

Comments
 (0)