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) # Industrial I/O subsystem Dummy Driver configuration
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) menu "IIO dummy driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) 	depends on IIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) config IIO_DUMMY_EVGEN
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) 	select IRQ_SIM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) 	tristate
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) config IIO_SIMPLE_DUMMY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) 	tristate "An example driver with no hardware requirements"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) 	depends on IIO_SW_DEVICE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) 	  Driver intended mainly as documentation for how to write
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 	  a driver. May also be useful for testing userspace code
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) 	  without hardware.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) if IIO_SIMPLE_DUMMY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) config IIO_SIMPLE_DUMMY_EVENTS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) 	bool "Event generation support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) 	select IIO_DUMMY_EVGEN
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 	  Add some dummy events to the simple dummy driver.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) 	  The purpose of this is to generate 'fake' event interrupts thus
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) 	  allowing that driver's code to be as close as possible to that
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) 	  a normal driver talking to hardware.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) config IIO_SIMPLE_DUMMY_BUFFER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) 	bool "Buffered capture support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) 	select IIO_BUFFER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) 	select IIO_TRIGGER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) 	select IIO_KFIFO_BUF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) 	  Add buffered data capture to the simple dummy driver.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) 	  Buffer handling elements of industrial I/O reference driver.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) 	  Uses the kfifo buffer.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) endif # IIO_SIMPLE_DUMMY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) endmenu