Loading Documentation/devicetree/bindings/sound/omap-dmic.txt 0 → 100644 +21 −0 Original line number Diff line number Diff line * Texas Instruments OMAP4+ Digital Microphone Module Required properties: - compatible: "ti,omap4-dmic" - reg: Register location and size as an array: <MPU access base address, size>, <L3 interconnect address, size>; - interrupts: Interrupt number for DMIC - interrupt-parent: The parent interrupt controller - ti,hwmods: Name of the hwmod associated with OMAP dmic IP Example: dmic: dmic@4012e000 { compatible = "ti,omap4-dmic"; reg = <0x4012e000 0x7f>, /* MPU private access */ <0x4902e000 0x7f>; /* L3 Interconnect */ interrupts = <0 114 0x4>; interrupt-parent = <&gic>; ti,hwmods = "dmic"; }; sound/soc/omap/omap-dmic.c +8 −0 Original line number Diff line number Diff line Loading @@ -32,6 +32,7 @@ #include <linux/io.h> #include <linux/slab.h> #include <linux/pm_runtime.h> #include <linux/of_device.h> #include <plat/dma.h> #include <sound/core.h> Loading Loading @@ -528,10 +529,17 @@ static int __devexit asoc_dmic_remove(struct platform_device *pdev) return 0; } static const struct of_device_id omap_dmic_of_match[] = { { .compatible = "ti,omap4-dmic", }, { } }; MODULE_DEVICE_TABLE(of, omap_dmic_of_match); static struct platform_driver asoc_dmic_driver = { .driver = { .name = "omap-dmic", .owner = THIS_MODULE, .of_match_table = omap_dmic_of_match, }, .probe = asoc_dmic_probe, .remove = __devexit_p(asoc_dmic_remove), Loading Loading
Documentation/devicetree/bindings/sound/omap-dmic.txt 0 → 100644 +21 −0 Original line number Diff line number Diff line * Texas Instruments OMAP4+ Digital Microphone Module Required properties: - compatible: "ti,omap4-dmic" - reg: Register location and size as an array: <MPU access base address, size>, <L3 interconnect address, size>; - interrupts: Interrupt number for DMIC - interrupt-parent: The parent interrupt controller - ti,hwmods: Name of the hwmod associated with OMAP dmic IP Example: dmic: dmic@4012e000 { compatible = "ti,omap4-dmic"; reg = <0x4012e000 0x7f>, /* MPU private access */ <0x4902e000 0x7f>; /* L3 Interconnect */ interrupts = <0 114 0x4>; interrupt-parent = <&gic>; ti,hwmods = "dmic"; };
sound/soc/omap/omap-dmic.c +8 −0 Original line number Diff line number Diff line Loading @@ -32,6 +32,7 @@ #include <linux/io.h> #include <linux/slab.h> #include <linux/pm_runtime.h> #include <linux/of_device.h> #include <plat/dma.h> #include <sound/core.h> Loading Loading @@ -528,10 +529,17 @@ static int __devexit asoc_dmic_remove(struct platform_device *pdev) return 0; } static const struct of_device_id omap_dmic_of_match[] = { { .compatible = "ti,omap4-dmic", }, { } }; MODULE_DEVICE_TABLE(of, omap_dmic_of_match); static struct platform_driver asoc_dmic_driver = { .driver = { .name = "omap-dmic", .owner = THIS_MODULE, .of_match_table = omap_dmic_of_match, }, .probe = asoc_dmic_probe, .remove = __devexit_p(asoc_dmic_remove), Loading