summaryrefslogtreecommitdiffstats
tag nameiio-for-4.15b (5e579558912d3c8e681d537ceee18fb6dca33a09)
tag date2017-10-15 11:52:13 +0100
tagged byJonathan Cameron <Jonathan.Cameron@huawei.com>
tagged objectcommit 11b86c7004...
downloadiio-for-4.15b.tar.gz
Second set of IIO new device support, features and cleanup for 4.15
New device support * cros_ec_accel_legacy - New driver for this older chromebook accelerometer. * ds4422 dac driver - New driver and bindings for the Maxim ds4422 and ds4424 I2C DACs. * kxcjk1013 - Support the KXTF9 accelerometers. * mcp320x - support mcp3550, mcp3551, mcp3553 21 bit ADCs. * rfd77402 - new driver for this laser range finder. * st-sensors-accel - add support for the LIS2DW12 accelerometer with bindings - add support for the LIS3DHH accelerometer with bindings New features * core - Drop a duplicate forward declaration in iio.h * Docs - add a clarification of the meaning of IIO_DISTANCE to reflect existing use in various range finding devices. * st-sensors - add a register mask for the status register to correctly support 2 channel devices. - decouple the irq1 and irq2 configuration parameters. - do not always write the enable_axis register as some newer devices are always on and don't support such configuration. - split open-drain control for irq1 and irq2 - make sampling frequency control optional as non all hardware supports it. * st-sensors-gyro - support 3 wire SPI mode * st-sensors-magn - support 3 wire SPI mode * st-sensors-pressure - support 3 wire SPI mode. Cleanups and fixes * ad7192 - expand the buffer lock to cover device state protection rather than using core mlock to provide the state protection. * ade7753 - expand the buffer lock to cover device state protection as well rather than having an additional lock. * dummy-evgen - Use the new irq_sim infrastructure rather than having our own local version of the same thing. * hid-sensor-trigger - avoid touching sensors ever if user hasn't requested it. This is a work around for one reported issue where turning a sensor off wasn't sufficient to make it actually switch off. As we have only one report from what looks like buggy hardware we are sending this upstream the slow way. * ina2xx - Adhere to the published ABI docs and use Ohms instead of microohms. We don't think that anyone will notice this ABI fix but are sending it the slow route to reduce fallout if someone does! * kxcjk1013 - refactors to support the KXTF9 being added. - Refactor ODR support. - Fix INT_CTRL/INT_SRC1 bit names to match the register name. - Extract code for reporting motion events as this isn't present on some parts to be supported. - Make the sysfs sampling_frequency_available stuff not a fixed string so as to allow for it to be chip type dependent. - Make the sampling frequency_available per type to match the sampling_frequency attributes. * lsm6dsx - rework prior to new device support. - express the max fifo depth in 'scans' rather than bytes. - split control of the fifo mode fifo output data rate. - move decimator registers into the sensor_settings structure as this will make it easier to support devices that don't have this function. - add a fifo ops datastructure to allow for inter-part variations. * max30100 - fix i2c chip address in dt example * max30102 - use correct binding name for max30102 in example * mma8452 - Rename read/write event value callbacks to be more generic reflecting what they actually do now. * rcar-gyroadc - pointer case to fix warnings when moving to 64 bit as this IP is present on new 64 bit SOCs - enable compile-testing to improve build coverage on this driver. - use the of_device_get_match_data helper instead of open coding * sun4i-gpadc-iio - Register in the thermal framework after pm. Otherwise the IP is not enabled. - Don't fail probing if no thermal DT node is present. * tsl2x7x - renaming tsl2x7x_settings to settings to avoid excessive line lengths. - Use IIO core to generate the integration_time sysfs attributes rather than hand rolling. * vf6180 - Move the range check on integration time to the setter function. - Refactor the code around integration time to be clearer including caching current integration time avoiding unnecessary chip reads. - cleanup the als_gain lookup avoiding reading registers on chip. - use rounded matching rather than precise values for als_gain lookup. - Correct the ALS scale when non-default gain or integration time is used. -----BEGIN PGP SIGNATURE----- iQJFBAABCAAvFiEEbilms4eEBlKRJoGxVIU0mcT0FogFAlnjRVkRHGppYzIzQGtl cm5lbC5vcmcACgkQVIU0mcT0FoifyBAAnbTAYPeu1ofyl5FQG4uTyLVQpd7F26tj SnZXEdi6FZ00m70Da/GDHvEe/ZZwvmaegYzmghJb+c/BAMzcspflMJxiclTRXeVL Q9hh6dG97cbEhjtSR+cQVQJtHUN16vFYbkPIZq5gLi2tk0rweS4GwZkN873uf0kE FMbOZCl1cOUS55TNg3rt8ucaVEHRkehQPXdrC53o+IckoE/7TyHbewAVyPJfT5u8 zvA2sXnRZIePg6ONrXwheiIN4jCPPIfjhEDt34r2VeCMsdz1RdDWaZVBEgMC00P/ GIChztLO5ISPeeGJrB7Huf5FTYTF+VK9kOCvYxP98KTOu9a/6oVFdNw9a9J8bRWR PJog+xQlMXKc+ojaqZrkCjS3cIaRgcYD9au3UVMsXEi3/PgFGp5EH0w6iOrMT6z6 FcS9WDCdtys2qa1m2n3nG8eYXih7G2nWT74M3euTQqmJeudYXvjbe+IZlqMvuHaG 1AptNw3sBOXI4DTbTt3KuGnyF3yKhnZzZW63g/55hoG67w1JodgKeMgZrXRhMXaG lrUP878noH8NIWwaUwwPwbewjljaOrd5B1bZXPbkr2bwATdnzXfIZVuqHobQi77b bbOoeWkmC6v9Np+UfWuQJ4SdN37NDpbfScIPYwY16TdsE3yghr67nLQRd25IIyGO 0oRc/bk0Y9s= =ru5b -----END PGP SIGNATURE-----