mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-12-08 14:28:42 +00:00
Take 2 also includes a fix set that was too late for the 4.2 cycle.
As we had a lot of tools and docs work in this set, I have broken those
out into their own categories in this description.
Fixes from the pull request '4th set of IIO fixes for the 4.2 cycle'.
* Poll functions for both event chardev and the buffer one were returning
negative error codes (via a positive value).
* A recent change to lsiio adding some error handling that was wrong and
stopped the tool working.
* bmg160 was missing some dependencies in Kconfig
* berlin2-adc had a misshandled register (wrote a value rather than a bitmap)
New device support
* TI opt3001 light sensor
* TXC PA12 ALS and proximity sensor.
* mcp3301 ADC support (in mcp320x driver)
* ST lsm303agr accelerometer and magnetometer drivers (plus some st-sensors
common support to allow different WHOAMI register addresses, devices with
fixed scale and allow interrupt equiped magnetometers).
* ADIS16305, ADIS16367, ADIS16445IMUs (in the adis16400 driver)
* ADIS16266 gyro (in the adis16260 driver)
* ADIS16137 gyro (in the adis16136 driver)
New functionality
* mmc35240 DT bindings.
* Inverse unit conversion macros to aid handing of values written to sysfs
attributes.
Core cleanup
* Forward declaration of struct iio_trigger to avoid a compile warning.
Driver cleanup / fixes
* mxs-lradc
- Clarify which parts are supported.
- Fix spelling erorrs.
- Missing/extra includes
- reorder includes
- add datasheet name listings for all usable channels (to allow them
to be bound by name from consumer drivers)
* acpi-als - add some function prefixes as per general iio style.
* bmc150_magn - replace a magic value with the existing define.
* vf610 - determine possible sample frequencies taking into account the
electrical characteristics (defining a minimum sample time)
* dht11
- whitespace
- additional docs
- avoid mulitple assignments in one line
- Use the new funciton ktime_get_resolution_ns to cleanup a nasty trick
previously used for timing.
* Fix all drivers that consider 0 a valid IRQ for historical reasons.
* Export I2C module alias info where previously missing (to allow autoprobing)
* Export OF module alias info where previously missing.
* mmc35240 - switch some variables into arrays to improve readability.
* mlx90614 - define some magic numbers for readability.
* bmc150_magn
- expand area locked by a mutex to cover all the use of the
data->buffer.
- use descriptive naming for a mask instead of a magic value.
* berin2-adc
- pass up an error code rather that a generic error
- constify the iio_chan_spec
- some other little tidy ups.
* stk8312
- fix a dependency on triggered buffers in kconfig
- add a check for invalid attribute values
- improve error handling by returning error codes where possible and
return immediately where relevant
- rework macro defs to use GENMASK etc
- change some variable types to reduce unnecessary casting
- clean up code style
- drop a local buffer copy for bulk reads and use the one in data->buffer
instead.
* adis16400 - the adis16448 gyroscope scale was wrong.
* adis16480 - some more wrong scales for various parts.
* adis16300 - has an undocumented product id and serial number registers so
use them.
* iio_simple_dummy - fix some wrong code indentation.
* bmc150-accel - use the chip ID to detect the chip present rather than
verifying the expected part was there. This was in response to a wrong
ACPI entry on the WinBook TW100.
* mma8452
- fix _get_hp_filter_index
- drop a double include
- pass up an error code rather than rewriting it
- range check input values to attribute writes
- register defs tidy up using GENMASK and reordering them to be easier to
follow.
- various coding style cleanups
- put the Kconfig entry in the write place (alphabetically).
Tools related
* Tools cleanup - drop an explicity NULL comparison, some unnecessary braces,
use the ARRAY_SIZE macro, send error messages to stderr instead of dropping
them in the middle of normal output.
* Fix tools to allow that scale and offset attributes are optional.
* More tools fixes including allowing true 32bit data (previously an overflow
prevented more than 31bits)
* Drop a stray header guard that ended up in a c file.
* Make calc_digits static as it isn't exported or in the header.
* Set ci_array pointer to NULL after free as a protection against non safe
usage of the tools core code. Also convert a double pointer to a single
one as the extra level of indirection was unnecessary.
Docs
* DocBook introduction by Daniel Baluta. Glad we are beginning to
draw together some more introductory docs to suplement the various
tools / examples.
* Drop bytes_per_datum sysfs attribute docs as it no longer exists.
* A whole load of missing / fixing of kernel-doc for the core of IIO.
* Document the trigger name sysfs attribute in the ABI docs.
* Minor typos in the ABI docs related to power down modes.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAABCAAGBQJVy5EbAAoJEFSFNJnE9BaIyjEQAIXc+mjgdyMJEXLKlKKGCSY5
EX7saX91IeSK5y0CWX0hd0VPewaj4ExG7PWo3gqUSm1L9zmusLcyJm8W2pev3CGE
m7s40efxZJw0Jmmu18a3LCfcHUu/LWl4mHQtZy/AFGgWhZzWIyKA2XLqgc+Wu9qb
sjzleSJ05etDksyA7JWFCrrwBnJlW4lD25o0nD0kt3Wry2wlbN2JvZ9QLmmoc0ex
shvtI556Ew0FRywT9ir555EoJNAQQMW85Ft0dWFBnLwgc67nFTa4YNRXgoRlzhh/
sRnGKzrs5SVc1c9sxiVS4utiazxy/irHgZ5FkvTTq7F+GXeIwPK9Xv/SXZTmvs5w
lrSazRIjiLqWgpv/5oaOOGlikbpctI2kSXO0GbCW8th+l3KnKcKfComa3fnU7dca
/lofp/JzpIfwM+Bnjl1nlNuEbT0mlfJySfhUSSu/kHJxOcvDfkK4vv3oSfFp5nbF
rhA9vbVEfopXTGIOwWDjV4j0HtMCEHgOPN3T0kuyiYiWZUIjfJXchXG8e5h9/ncd
ACjH3fg6FQtHzTtzqLQky/NVAKcnFrgJSokN25GXF7R95TxufYJ6RIfnenJiCd2n
QCIdPam4bZh3/C2QYtiqWKY5e+zfkqs88/Er/HGgvxRUhKCbTvCcey1RY7FEDFHY
+9nMx/Yts8L1ulUEMjsm
=/b3G
-----END PGP SIGNATURE-----
Merge tag 'iio-for-4.3b-2' of git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into staging-next
Jonathan writes:
Second set of new device support, features and cleanup for the 4.3 cycle.
Take 2 also includes a fix set that was too late for the 4.2 cycle.
As we had a lot of tools and docs work in this set, I have broken those
out into their own categories in this description.
Fixes from the pull request '4th set of IIO fixes for the 4.2 cycle'.
* Poll functions for both event chardev and the buffer one were returning
negative error codes (via a positive value).
* A recent change to lsiio adding some error handling that was wrong and
stopped the tool working.
* bmg160 was missing some dependencies in Kconfig
* berlin2-adc had a misshandled register (wrote a value rather than a bitmap)
New device support
* TI opt3001 light sensor
* TXC PA12 ALS and proximity sensor.
* mcp3301 ADC support (in mcp320x driver)
* ST lsm303agr accelerometer and magnetometer drivers (plus some st-sensors
common support to allow different WHOAMI register addresses, devices with
fixed scale and allow interrupt equiped magnetometers).
* ADIS16305, ADIS16367, ADIS16445IMUs (in the adis16400 driver)
* ADIS16266 gyro (in the adis16260 driver)
* ADIS16137 gyro (in the adis16136 driver)
New functionality
* mmc35240 DT bindings.
* Inverse unit conversion macros to aid handing of values written to sysfs
attributes.
Core cleanup
* Forward declaration of struct iio_trigger to avoid a compile warning.
Driver cleanup / fixes
* mxs-lradc
- Clarify which parts are supported.
- Fix spelling erorrs.
- Missing/extra includes
- reorder includes
- add datasheet name listings for all usable channels (to allow them
to be bound by name from consumer drivers)
* acpi-als - add some function prefixes as per general iio style.
* bmc150_magn - replace a magic value with the existing define.
* vf610 - determine possible sample frequencies taking into account the
electrical characteristics (defining a minimum sample time)
* dht11
- whitespace
- additional docs
- avoid mulitple assignments in one line
- Use the new funciton ktime_get_resolution_ns to cleanup a nasty trick
previously used for timing.
* Fix all drivers that consider 0 a valid IRQ for historical reasons.
* Export I2C module alias info where previously missing (to allow autoprobing)
* Export OF module alias info where previously missing.
* mmc35240 - switch some variables into arrays to improve readability.
* mlx90614 - define some magic numbers for readability.
* bmc150_magn
- expand area locked by a mutex to cover all the use of the
data->buffer.
- use descriptive naming for a mask instead of a magic value.
* berin2-adc
- pass up an error code rather that a generic error
- constify the iio_chan_spec
- some other little tidy ups.
* stk8312
- fix a dependency on triggered buffers in kconfig
- add a check for invalid attribute values
- improve error handling by returning error codes where possible and
return immediately where relevant
- rework macro defs to use GENMASK etc
- change some variable types to reduce unnecessary casting
- clean up code style
- drop a local buffer copy for bulk reads and use the one in data->buffer
instead.
* adis16400 - the adis16448 gyroscope scale was wrong.
* adis16480 - some more wrong scales for various parts.
* adis16300 - has an undocumented product id and serial number registers so
use them.
* iio_simple_dummy - fix some wrong code indentation.
* bmc150-accel - use the chip ID to detect the chip present rather than
verifying the expected part was there. This was in response to a wrong
ACPI entry on the WinBook TW100.
* mma8452
- fix _get_hp_filter_index
- drop a double include
- pass up an error code rather than rewriting it
- range check input values to attribute writes
- register defs tidy up using GENMASK and reordering them to be easier to
follow.
- various coding style cleanups
- put the Kconfig entry in the write place (alphabetically).
Tools related
* Tools cleanup - drop an explicity NULL comparison, some unnecessary braces,
use the ARRAY_SIZE macro, send error messages to stderr instead of dropping
them in the middle of normal output.
* Fix tools to allow that scale and offset attributes are optional.
* More tools fixes including allowing true 32bit data (previously an overflow
prevented more than 31bits)
* Drop a stray header guard that ended up in a c file.
* Make calc_digits static as it isn't exported or in the header.
* Set ci_array pointer to NULL after free as a protection against non safe
usage of the tools core code. Also convert a double pointer to a single
one as the extra level of indirection was unnecessary.
Docs
* DocBook introduction by Daniel Baluta. Glad we are beginning to
draw together some more introductory docs to suplement the various
tools / examples.
* Drop bytes_per_datum sysfs attribute docs as it no longer exists.
* A whole load of missing / fixing of kernel-doc for the core of IIO.
* Document the trigger name sysfs attribute in the ABI docs.
* Minor typos in the ABI docs related to power down modes.
|
||
|---|---|---|
| .. | ||
| configfs-spear-pcie-gadget | ||
| configfs-usb-gadget | ||
| configfs-usb-gadget-acm | ||
| configfs-usb-gadget-ecm | ||
| configfs-usb-gadget-eem | ||
| configfs-usb-gadget-ffs | ||
| configfs-usb-gadget-hid | ||
| configfs-usb-gadget-loopback | ||
| configfs-usb-gadget-mass-storage | ||
| configfs-usb-gadget-midi | ||
| configfs-usb-gadget-ncm | ||
| configfs-usb-gadget-obex | ||
| configfs-usb-gadget-phonet | ||
| configfs-usb-gadget-printer | ||
| configfs-usb-gadget-rndis | ||
| configfs-usb-gadget-serial | ||
| configfs-usb-gadget-sourcesink | ||
| configfs-usb-gadget-subset | ||
| configfs-usb-gadget-uac1 | ||
| configfs-usb-gadget-uac2 | ||
| configfs-usb-gadget-uvc | ||
| debugfs-driver-genwqe | ||
| debugfs-ec | ||
| debugfs-ideapad | ||
| debugfs-olpc | ||
| debugfs-pfo-nx-crypto | ||
| debugfs-pktcdvd | ||
| dev-kmsg | ||
| evm | ||
| ima_policy | ||
| procfs-diskstats | ||
| pstore | ||
| sysfs-ata | ||
| sysfs-block | ||
| sysfs-block-bcache | ||
| sysfs-block-dm | ||
| sysfs-block-rssd | ||
| sysfs-block-zram | ||
| sysfs-bus-acpi | ||
| sysfs-bus-amba | ||
| sysfs-bus-bcma | ||
| sysfs-bus-coresight-devices-etb10 | ||
| sysfs-bus-coresight-devices-etm3x | ||
| sysfs-bus-coresight-devices-etm4x | ||
| sysfs-bus-coresight-devices-funnel | ||
| sysfs-bus-coresight-devices-tmc | ||
| sysfs-bus-css | ||
| sysfs-bus-event_source-devices-events | ||
| sysfs-bus-event_source-devices-format | ||
| sysfs-bus-event_source-devices-hv_24x7 | ||
| sysfs-bus-event_source-devices-hv_gpci | ||
| sysfs-bus-fcoe | ||
| sysfs-bus-hsi | ||
| sysfs-bus-i2c-devices-fsa9480 | ||
| sysfs-bus-i2c-devices-hm6352 | ||
| sysfs-bus-i2c-devices-lm3533 | ||
| sysfs-bus-iio | ||
| sysfs-bus-iio-accel-bmc150 | ||
| sysfs-bus-iio-frequency-ad9523 | ||
| sysfs-bus-iio-frequency-adf4350 | ||
| sysfs-bus-iio-gyro-bmg160 | ||
| sysfs-bus-iio-light-lm3533-als | ||
| sysfs-bus-iio-mpu6050 | ||
| sysfs-bus-iio-proximity-as3935 | ||
| sysfs-bus-iio-trigger-sysfs | ||
| sysfs-bus-iio-vf610 | ||
| sysfs-bus-mdio | ||
| sysfs-bus-media | ||
| sysfs-bus-mei | ||
| sysfs-bus-pci | ||
| sysfs-bus-pci-devices-cciss | ||
| sysfs-bus-pci-drivers-ehci_hcd | ||
| sysfs-bus-pci-drivers-janz-cmodio | ||
| sysfs-bus-platform | ||
| sysfs-bus-rbd | ||
| sysfs-bus-rpmsg | ||
| sysfs-bus-umc | ||
| sysfs-bus-usb | ||
| sysfs-bus-usb-devices-usbsevseg | ||
| sysfs-bus-usb-lvstest | ||
| sysfs-c2port | ||
| sysfs-cfq-target-latency | ||
| sysfs-class | ||
| sysfs-class-backlight-driver-adp8870 | ||
| sysfs-class-backlight-driver-lm3533 | ||
| sysfs-class-bdi | ||
| sysfs-class-cxl | ||
| sysfs-class-devfreq | ||
| sysfs-class-extcon | ||
| sysfs-class-iommu | ||
| sysfs-class-iommu-amd-iommu | ||
| sysfs-class-iommu-intel-iommu | ||
| sysfs-class-lcd | ||
| sysfs-class-led | ||
| sysfs-class-led-driver-lm3533 | ||
| sysfs-class-led-flash | ||
| sysfs-class-leds-gt683r | ||
| sysfs-class-mei | ||
| sysfs-class-mic.txt | ||
| sysfs-class-mtd | ||
| sysfs-class-net | ||
| sysfs-class-net-batman-adv | ||
| sysfs-class-net-cdc_ncm | ||
| sysfs-class-net-grcan | ||
| sysfs-class-net-janz-ican3 | ||
| sysfs-class-net-mesh | ||
| sysfs-class-net-queues | ||
| sysfs-class-net-statistics | ||
| sysfs-class-pktcdvd | ||
| sysfs-class-power | ||
| sysfs-class-powercap | ||
| sysfs-class-pwm | ||
| sysfs-class-rc | ||
| sysfs-class-regulator | ||
| sysfs-class-rtc-rtc0-device-rtc_calibration | ||
| sysfs-class-scsi_host | ||
| sysfs-class-scsi_tape | ||
| sysfs-class-uwb_rc | ||
| sysfs-class-uwb_rc-wusbhc | ||
| sysfs-class-zram | ||
| sysfs-dev | ||
| sysfs-devices | ||
| sysfs-devices-edac | ||
| sysfs-devices-firmware_node | ||
| sysfs-devices-lpss_ltr | ||
| sysfs-devices-memory | ||
| sysfs-devices-mmc | ||
| sysfs-devices-online | ||
| sysfs-devices-platform-_UDC_-gadget | ||
| sysfs-devices-platform-docg3 | ||
| sysfs-devices-platform-sh_mobile_lcdc_fb | ||
| sysfs-devices-power | ||
| sysfs-devices-power_resources_D0 | ||
| sysfs-devices-power_resources_D1 | ||
| sysfs-devices-power_resources_D2 | ||
| sysfs-devices-power_resources_D3hot | ||
| sysfs-devices-power_resources_wakeup | ||
| sysfs-devices-power_state | ||
| sysfs-devices-real_power_state | ||
| sysfs-devices-resource_in_use | ||
| sysfs-devices-soc | ||
| sysfs-devices-sun | ||
| sysfs-devices-system-cpu | ||
| sysfs-devices-system-ibm-rtl | ||
| sysfs-devices-system-xen_cpu | ||
| sysfs-driver-genwqe | ||
| sysfs-driver-hid | ||
| sysfs-driver-hid-lenovo | ||
| sysfs-driver-hid-logitech-lg4ff | ||
| sysfs-driver-hid-multitouch | ||
| sysfs-driver-hid-picolcd | ||
| sysfs-driver-hid-prodikeys | ||
| sysfs-driver-hid-roccat-arvo | ||
| sysfs-driver-hid-roccat-isku | ||
| sysfs-driver-hid-roccat-kone | ||
| sysfs-driver-hid-roccat-koneplus | ||
| sysfs-driver-hid-roccat-konepure | ||
| sysfs-driver-hid-roccat-kovaplus | ||
| sysfs-driver-hid-roccat-lua | ||
| sysfs-driver-hid-roccat-pyra | ||
| sysfs-driver-hid-roccat-ryos | ||
| sysfs-driver-hid-roccat-savu | ||
| sysfs-driver-hid-srws1 | ||
| sysfs-driver-hid-wiimote | ||
| sysfs-driver-input-axp-pek | ||
| sysfs-driver-intel-rapid-start | ||
| sysfs-driver-pciback | ||
| sysfs-driver-ppi | ||
| sysfs-driver-samsung-laptop | ||
| sysfs-driver-sunxi-sid | ||
| sysfs-driver-tegra-fuse | ||
| sysfs-driver-toshiba_acpi | ||
| sysfs-driver-toshiba_haps | ||
| sysfs-driver-wacom | ||
| sysfs-driver-xen-blkback | ||
| sysfs-driver-xen-blkfront | ||
| sysfs-firmware-acpi | ||
| sysfs-firmware-dmi-entries | ||
| sysfs-firmware-dmi-tables | ||
| sysfs-firmware-efi | ||
| sysfs-firmware-efi-esrt | ||
| sysfs-firmware-efi-runtime-map | ||
| sysfs-firmware-gsmi | ||
| sysfs-firmware-log | ||
| sysfs-firmware-memmap | ||
| sysfs-firmware-ofw | ||
| sysfs-firmware-sfi | ||
| sysfs-firmware-sgi_uv | ||
| sysfs-fs-ext4 | ||
| sysfs-fs-f2fs | ||
| sysfs-fs-nilfs2 | ||
| sysfs-fs-xfs | ||
| sysfs-gpio | ||
| sysfs-i2c-bmp085 | ||
| sysfs-ibft | ||
| sysfs-kernel-boot_params | ||
| sysfs-kernel-fscaps | ||
| sysfs-kernel-iommu_groups | ||
| sysfs-kernel-livepatch | ||
| sysfs-kernel-mm | ||
| sysfs-kernel-mm-hugepages | ||
| sysfs-kernel-mm-ksm | ||
| sysfs-kernel-slab | ||
| sysfs-kernel-uids | ||
| sysfs-kernel-vmcoreinfo | ||
| sysfs-memory-page-offline | ||
| sysfs-module | ||
| sysfs-ocfs2 | ||
| sysfs-platform-asus-laptop | ||
| sysfs-platform-asus-wmi | ||
| sysfs-platform-at91 | ||
| sysfs-platform-brcmstb-gisb-arb | ||
| sysfs-platform-chipidea-usb-otg | ||
| sysfs-platform-dell-laptop | ||
| sysfs-platform-eeepc-laptop | ||
| sysfs-platform-ideapad-laptop | ||
| sysfs-platform-kim | ||
| sysfs-platform-msi-laptop | ||
| sysfs-platform-tahvo-usb | ||
| sysfs-platform-ts5500 | ||
| sysfs-platform-twl4030-usb | ||
| sysfs-power | ||
| sysfs-pps | ||
| sysfs-profiling | ||
| sysfs-ptp | ||
| sysfs-tty | ||
| sysfs-wusb_cbaf | ||