Hardware Reference
In-Depth Information
Figure 4-8.
Enabling Industrial IO Support (CONFIG_IIO)
TAOS light sensors ( CONFIG_SENSORS_TSL2563 )
This driver is currently in the staging level of the Linux kernel device drivers, which
is reserved for drivers that are new or less tested than other drivers. To enable it,
navigate into the Device Drivers menu and then the Staging drivers menu (you
will need to enable it first). From there, go into the IIO staging drivers submenu
and then into Light sensors. CONFIG_SENSORS_TSL2563 is labeled in that menu as
“TAOS TSL2560, TSL2561, TSL2562 and TSL2563 ambient light sensors.” Enable
it as a module, as shown in Figure 4-9 . You will also need to enable “Hwmon driver
that uses channels specified via iio maps” ( CONFIG_IIO_ST_HWMON ) to allow IIO de-
vices to provide basic hwmon functionality. This entry is in the Device Drivers
Staging drivers IIO staging drivers menu. You should compile this driver into
the Linux kernel so that you automatically get this feature when you use IIO de-
vices.
Search WWH ::




Custom Search