kernel: add package kmod-multiplexer
Adds new kernel module for GPIO controlled multiplexer support. Signed-off-by: Mauri Sandberg <maukka@ext.kapsi.fi> Signed-off-by: Petr Štetiar <ynezz@true.cz> [missing commit description]
This commit is contained in:
		 Mauri Sandberg
					Mauri Sandberg
				
			
				
					committed by
					
						 Petr Štetiar
						Petr Štetiar
					
				
			
			
				
	
			
			
			 Petr Štetiar
						Petr Štetiar
					
				
			
						parent
						
							966de48813
						
					
				
				
					commit
					15f0074beb
				
			
							
								
								
									
										34
									
								
								package/kernel/linux/modules/multiplexer.mk
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										34
									
								
								package/kernel/linux/modules/multiplexer.mk
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,34 @@ | |||||||
|  | # This is free software, licensed under the GNU General Public License v2. | ||||||
|  | # See /LICENSE for more information. | ||||||
|  | # | ||||||
|  |  | ||||||
|  | MENU_TITLE:=Multiplexer Support | ||||||
|  |  | ||||||
|  | define KernelPackage/mux-core | ||||||
|  |   SUBMENU:=$(MENU_TITLE) | ||||||
|  |   TITLE:=Multiplexer Support | ||||||
|  |   KCONFIG:=CONFIG_MULTIPLEXER | ||||||
|  |   FILES:=$(LINUX_DIR)/drivers/mux/mux-core.ko | ||||||
|  |   AUTOLOAD:=$(call AutoLoad,25,mux-core,1) | ||||||
|  | endef | ||||||
|  |  | ||||||
|  | define KernelPackage/mux-core/description | ||||||
|  |   Kernel module for multiplexer support | ||||||
|  | endef | ||||||
|  |  | ||||||
|  | $(eval $(call KernelPackage,mux-core)) | ||||||
|  |  | ||||||
|  | define KernelPackage/mux-gpio | ||||||
|  |   SUBMENU:=$(MENU_TITLE) | ||||||
|  |   TITLE:=GPIO-controlled Multiplexer controller | ||||||
|  |   KCONFIG:=CONFIG_MUX_GPIO | ||||||
|  |   DEPENDS:=@GPIO_SUPPORT kmod-mux-core | ||||||
|  |   FILES:=$(LINUX_DIR)/drivers/mux/mux-gpio.ko | ||||||
|  |   AUTOLOAD:=$(call AutoLoad,25,mux-gpio,1) | ||||||
|  | endef | ||||||
|  |  | ||||||
|  | define KernelPackage/mux-gpio/description | ||||||
|  |   Kernel modules for GPIO-controlled Multiplexer controller | ||||||
|  | endef | ||||||
|  |  | ||||||
|  | $(eval $(call KernelPackage,mux-gpio)) | ||||||
		Reference in New Issue
	
	Block a user