1# 2# Resolver/Synchro drivers 3# 4comment "Resolver to digital converters" 5 6config AD2S90 7 tristate "Analog Devices ad2s90 driver" 8 depends on SPI 9 help 10 Say yes here to build support for Analog Devices spi resolver 11 to digital converters, ad2s90, provides direct access via sysfs. 12 13config AD2S120X 14 tristate "Analog Devices ad2s120x driver" 15 depends on SPI 16 help 17 Say yes here to build support for Analog Devices spi resolver 18 to digital converters, ad2s1200 and ad2s1205, provides direct access 19 via sysfs. 20 21config AD2S1210 22 tristate "Analog Devices ad2s1210 driver" 23 depends on SPI 24 help 25 Say yes here to build support for Analog Devices spi resolver 26 to digital converters, ad2s1210, provides direct access via sysfs. 27 28choice 29 prompt "Resolution Control" 30 depends on AD2S1210 31 default AD2S1210_GPIO_NONE 32 help 33 In normal mode, the resolution of the digital output is selected 34 using the RES0 and RES1 input pins. In configuration mode, the 35 resolution is selected by setting the RES0 and RES1 bits in the 36 control regsiter. When switching between normal mode and configuration 37 mode, there are some schemes to keep them matchs. 38 39config AD2S1210_GPIO_INPUT 40 bool "read resolution from gpio pins" 41 help 42 GPIO pins are sampling RES0 and RES1 pins, read the resolution 43 settings from the GPIO pins. 44 45config AD2S1210_GPIO_OUTPUT 46 bool "set gpio pins to set resolution" 47 help 48 RES0 and RES1 pins are controlled by GPIOs, setting GPIO pins to 49 set the resolution. 50 51config AD2S1210_GPIO_NONE 52 bool "take the responsibility by user" 53 54endchoice 55