kernel: other.mk: add pps-gpio support
The pps-gpio kernel module supports Pulse-Per-Second provided by a GPIO. Signed-off-by: Tim Harvey <tharvey@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40831 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
f0cf7240b0
commit
427f0f4a87
|
@ -775,6 +775,24 @@ endef
|
||||||
$(eval $(call KernelPackage,pps))
|
$(eval $(call KernelPackage,pps))
|
||||||
|
|
||||||
|
|
||||||
|
define KernelPackage/pps-gpio
|
||||||
|
SUBMENU:=$(OTHER_MENU)
|
||||||
|
TITLE:=PPS client using GPIO
|
||||||
|
DEPENDS:=+kmod-pps
|
||||||
|
KCONFIG:=CONFIG_PPS_CLIENT_GPIO
|
||||||
|
FILES:=$(LINUX_DIR)/drivers/pps/clients/pps-gpio.ko
|
||||||
|
AUTOLOAD:=$(call AutoLoad,18,pps-gpio,1)
|
||||||
|
endef
|
||||||
|
|
||||||
|
define KernelPacakge/pps-gpio/description
|
||||||
|
Support for a PPS source using GPIO. To be useful you must
|
||||||
|
also register a platform device specifying the GPIO pin and
|
||||||
|
other options, usually in your board setup.
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call KernelPackage,pps-gpio))
|
||||||
|
|
||||||
|
|
||||||
define KernelPackage/ptp
|
define KernelPackage/ptp
|
||||||
SUBMENU:=$(OTHER_MENU)
|
SUBMENU:=$(OTHER_MENU)
|
||||||
TITLE:=PTP clock support
|
TITLE:=PTP clock support
|
||||||
|
|
Loading…
Reference in New Issue