Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) # SPDX-License-Identifier: GPL-2.0-only
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) # Counter devices
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) menuconfig COUNTER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) 	tristate "Counter support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) 	  This enables counter device support through the Generic Counter
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) 	  interface. You only need to enable this, if you also want to enable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) 	  one or more of the counter device drivers below.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) if COUNTER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) config 104_QUAD_8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) 	tristate "ACCES 104-QUAD-8 driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 	depends on PC104 && X86 && IIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) 	select ISA_BUS_API
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 	  Say yes here to build support for the ACCES 104-QUAD-8 quadrature
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) 	  encoder counter/interface device family (104-QUAD-8, 104-QUAD-4).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) 	  A counter's respective error flag may be cleared by performing a write
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) 	  operation on the respective count value attribute. Although the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) 	  104-QUAD-8 counters have a 25-bit range, only the lower 24 bits may be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 	  set, either directly or via the counter's preset attribute. Interrupts
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) 	  are not supported by this driver.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) 	  The base port addresses for the devices may be configured via the base
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) 	  array module parameter.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) config STM32_TIMER_CNT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) 	tristate "STM32 Timer encoder counter driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) 	depends on MFD_STM32_TIMERS || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) 	  Select this option to enable STM32 Timer quadrature encoder
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) 	  and counter driver.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) 	  To compile this driver as a module, choose M here: the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) 	  module will be called stm32-timer-cnt.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) config STM32_LPTIMER_CNT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) 	tristate "STM32 LP Timer encoder counter driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) 	depends on MFD_STM32_LPTIMER || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) 	  Select this option to enable STM32 Low-Power Timer quadrature encoder
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) 	  and counter driver.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) 	  To compile this driver as a module, choose M here: the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) 	  module will be called stm32-lptimer-cnt.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) config TI_EQEP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) 	tristate "TI eQEP counter driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) 	depends on (SOC_AM33XX || COMPILE_TEST)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) 	select REGMAP_MMIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) 	  Select this option to enable the Texas Instruments Enhanced Quadrature
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) 	  Encoder Pulse (eQEP) counter driver.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) 	  To compile this driver as a module, choose M here: the module will be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) 	  called ti-eqep.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) config FTM_QUADDEC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) 	tristate "Flex Timer Module Quadrature decoder driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) 	depends on HAS_IOMEM && OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) 	  Select this option to enable the Flex Timer Quadrature decoder
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) 	  driver.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) 	  To compile this driver as a module, choose M here: the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) 	  module will be called ftm-quaddec.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73) config MICROCHIP_TCB_CAPTURE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74) 	tristate "Microchip Timer Counter Capture driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75) 	depends on HAS_IOMEM && OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76) 	select REGMAP_MMIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78) 	  Select this option to enable the Microchip Timer Counter Block
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79) 	  capture driver.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 80) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 81) 	  To compile this driver as a module, choose M here: the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 82) 	  module will be called microchip-tcb-capture.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 83) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 84) endif # COUNTER