aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/common
AgeCommit message (Expand)AuthorFilesLines
2024-05-03iio: invensense: fix timestamp glitches when switching frequencyJean-Baptiste Maneyrol1-13/+11
2024-05-01iio: invensense: fix interrupt timestamp alignmentJean-Baptiste Maneyrol1-2/+7
2024-01-23iio: invensense: remove redundant initialization of variable periodColin Ian King1-1/+1
2023-11-16iio: common: ms_sensors: ms_sensors_i2c: fix humidity conversion time tableJavier Carrasco1-2/+2
2023-10-05iio: cros_ec: fix an use-after-free in cros_ec_sensors_push_data()Tzung-Bi Shih1-1/+5
2023-08-13Merge 6.5-rc6 into char-misc-nextGreg Kroah-Hartman1-1/+1
2023-07-29iio: cros_ec: Fix the allocation size for cros_ec_commandYiyuan Guo1-1/+1
2023-07-20iio: make invensense timestamp module genericJean-Baptiste Maneyrol2-45/+44
2023-07-20iio: move inv_icm42600 timestamp module in commonJean-Baptiste Maneyrol5-0/+210
2023-03-11iio: Rename iio_trigger_poll_chained and add kernel-docMehdi Djait1-2/+2
2022-12-28iio: common: scmi_iio: use sysfs_emit() to instead of scnprintf()ye xingchen1-2/+2
2022-11-23iio: Don't silently expect attribute typesMatti Vaittinen2-7/+7
2022-11-23iio: st_sensors: core and lsm9ds0 switch to devm_regulator_bulk_get_enable()Jonathan Cameron1-32/+7
2022-11-23iio: common: scmi_iio: do not use internal iio_dev lockNuno Sá1-2/+7
2022-08-28iio: common: scmi_sensors: use HZ macro from units.hDmitry Rokosov1-4/+4
2022-08-19iio: st_sensors: move from strlcpy with unused retval to strscpyWolfram Sang1-1/+1
2022-07-18iio: cros: Register FIFO callback after sensor is registeredGwendal Grignou3-21/+47
2022-06-14iio: common: cros_ec_sensors: explicitly add proper header filesNuno Sá1-0/+1
2022-06-14iio: common: cros_ec_lid_angle: explicitly add proper header filesNuno Sá1-0/+1
2022-06-14iio: common: ssp: Fix alignment for DMA safetyJonathan Cameron1-2/+1
2022-06-11iio: common: cros_ec_sensors: Add label attributeGwendal Grignou1-21/+9
2022-04-28iio: Replace strtobool() with kstrtobool()Lars-Peter Clausen1-1/+1
2022-04-10iio: core: Simplify the registration of kfifo buffersMiquel Raynal2-3/+1
2022-04-10iio: st_sensors: Use iio_device_claim/release_direct_mode() when relevantMiquel Raynal1-21/+17
2022-04-10iio: st_sensors: Add a local lock for protecting odrMiquel Raynal1-6/+18
2022-04-10iio: st_sensors: Drop the protection on _avail functionsMiquel Raynal1-4/+0
2022-04-04iio: ssp_sensors: replace usage of found with dedicated list iterator variableJakob Koschel1-7/+6
2022-03-28Merge tag 'char-misc-5.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds9-76/+49
2022-02-18iio:common:ssp: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr() etcJonathan Cameron1-6/+2
2022-02-18iio:common:ssp_sensors: Move exports into IIO_SSP_SENSORS namespaceJonathan Cameron2-8/+9
2022-02-18iio:common:meas-spec: Move exports into IIO_MEAS_SPEC_SENSORSJonathan Cameron1-12/+12
2022-02-18iio:st-sensors: Move exports into IIO_ST_SENSORS namespaceJonathan Cameron5-19/+19
2022-02-18iio:st-sensors: Remove duplicate MODULE_*Jonathan Cameron2-10/+0
2022-02-13iio: ssp_sensors: Make use of device propertiesAndy Shevchenko1-17/+5
2022-02-09spi: make remove callback a void functionUwe Kleine-König1-3/+1
2022-01-23iio: ms_sensors: Use sysfs_emit()Lars-Peter Clausen1-2/+2
2022-01-23iio: st_sensors: don't always auto-enable I2C and SPI interface driversNikita Yushchenko1-2/+0
2021-11-17iio/scmi: Add reading "raw" attribute.Andriy Tryshnivskyy1-1/+56
2021-11-17iio: st-sensors: Use dev_to_iio_dev() in sysfs callbacksLars-Peter Clausen1-2/+2
2021-11-10Merge tag 'tag-chrome-platform-for-v5.16' of git://git.kernel.org/pub/scm/lin...Linus Torvalds1-2/+1
2021-10-19Merge tag 'iio-for-5.16a-split-take4' of https://git.kernel.org/pub/scm/linux...Greg Kroah-Hartman5-63/+45
2021-10-19iio: triggered-buffer: extend support to configure output buffersAlexandru Ardelean1-2/+3
2021-10-19iio: st_sensors: Make use of the helper function dev_err_probe()Cai Huoqing1-8/+8
2021-09-27iio: common: cros_ec_sensors: simplify getting .driver_dataWolfram Sang1-2/+1
2021-09-18iio: ssp_sensors: add more range checking in ssp_parse_dataframe()Dan Carpenter1-1/+8
2021-09-18iio: ssp_sensors: fix error code in ssp_print_mcu_debug()Dan Carpenter1-1/+1
2021-09-14iio: st_sensors: remove reference to parent device object on st_sensor_dataAlexandru Ardelean3-5/+5
2021-09-14iio: st_sensors: remove st_sensors_power_disable() functionAlexandru Ardelean1-19/+15
2021-09-14iio: st_sensors: remove st_sensors_deallocate_trigger() functionAlexandru Ardelean1-30/+15
2021-09-08Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-2/+1
2021-09-08iio/drivers/hid-sensor: use HZ macrosDaniel Lezcano1-2/+1
2021-07-24iio: st-sensors: Remove some unused includes and add some that should be thereJonathan Cameron6-7/+4
2021-06-16iio: hid-sensors: Update header includesJonathan Cameron3-10/+4
2021-06-16iio: hid-sensors: lighten exported symbols by moving to IIO_HID namespaceAndy Shevchenko2-17/+18
2021-06-13iio: scmi: fix spelling of SPDX tagTom Rix1-1/+1
2021-06-03iio: hid: trigger: Balance runtime pm + use pm_runtime_resume_and_get()Jonathan Cameron1-6/+2
2021-05-17iio: core: move @id from struct iio_dev to struct iio_dev_opaqueJonathan Cameron1-1/+1
2021-05-17iio: common: scmi_sensors: Drop duplicate setting of iio_dev.dev.parentJonathan Cameron1-1/+0
2021-05-10iio: hid-sensors: select IIO_TRIGGERED_BUFFER under HID_SENSOR_IIO_TRIGGERAlexandru Ardelean1-0/+1
2021-04-26Merge tag 'arm-drivers-5.13' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-50/+50
2021-03-30iio/scmi: Port driver to the new scmi_sensor_proto_ops interfaceCristian Marussi1-50/+50
2021-03-26Merge remote-tracking branch 'local/ib-iio-scmi-5.12-rc2-take3' into togregJonathan Cameron5-0/+697
2021-03-25iio: cros: unify hw fifo attributes without API changesGwendal Grignou3-20/+10
2021-03-25iio:cros_ec_sensors: Fix a wrong function name in kernel doc.Jonathan Cameron1-1/+1
2021-03-25iio: set default trig->dev.parentGwendal Grignou2-4/+4
2021-03-13iio/scmi: Adding support for IIO SCMI Based SensorsJyoti Bhayana5-0/+708
2021-03-11iio: Add relative sensitivity supportYe Xiang1-4/+70
2021-03-11iio: hid-sensors: Move get sensitivity attribute to hid-sensor-commonYe Xiang1-1/+16
2021-03-11iio: make use of devm_iio_kfifo_buffer_setup() helperAlexandru Ardelean1-8/+5
2021-03-11iio: st_sensors: fix typo in commentAhmad Fatoum1-1/+1
2021-01-25Merge 5.11-rc5 into staging-nextGreg Kroah-Hartman1-14/+17
2021-01-22iio:common:ms_sensors:ms_sensors_i2c: add support for alternative PROM layoutAlexandre Belloni1-11/+59
2021-01-22iio:common:ms_sensors:ms_sensors_i2c: rework CRC calculation helperAlexandre Belloni2-9/+7
2021-01-22iio:pressure:ms5637: introduce hardware differentiationAlexandre Belloni1-0/+11
2021-01-22iio: hid-sensors: Add hinge sensor driverYe Xiang1-0/+2
2021-01-14iio: common: st_sensors: fix possible infinite loop in st_sensors_irq_threadLorenzo Bianconi1-14/+17
2020-11-24Merge tag 'iio-for-5.11a' of https://git.kernel.org/pub/scm/linux/kernel/git/...Greg Kroah-Hartman2-19/+18
2020-11-21iio: hid-sensors: use iio_triggered_buffer_setup_ext()Alexandru Ardelean1-13/+9
2020-11-21iio: cros_ec: use devm_iio_triggered_buffer_setup_ext()Alexandru Ardelean1-6/+9
2020-11-01iio: cros_ec: Use default frequencies when EC returns invalid informationGwendal Grignou1-5/+11
2020-10-23Merge tag 'tag-chrome-platform-for-v5.10' of git://git.kernel.org/pub/scm/lin...Linus Torvalds1-1/+1
2020-09-29iio: cros_ec: unify hw fifo attributes into the core fileAlexandru Ardelean3-7/+12
2020-09-29iio: ssp: use PLATFORM_DEVID_NONEKrzysztof Kozlowski1-1/+2
2020-08-24iio: cros_ec: Accept -EOPNOTSUPP as 'not supported' error codeGuenter Roeck1-1/+1
2020-08-22iio: cros_ec: Set Gyroscope default frequency to 25HzGwendal Grignou1-1/+4
2020-07-20iio: common: ms_sensors: ms_sensors_i2c: Fix misspelling of parameter 'client'Lee Jones1-1/+1
2020-06-14iio: cros_ec: fix spelling mistakeKeyur Patel1-1/+1
2020-06-14iio: remove left-over parent assignmentsAlexandru Ardelean3-3/+0
2020-06-14iio: cros_ec: Reapply range at resumeGwendal Grignou2-0/+26
2020-05-15Merge tag 'iio-for-5.8b' of git://git.kernel.org/pub/scm/linux/kernel/git/jic...Greg Kroah-Hartman3-10/+18
2020-05-10iio: hid-sensors: move triggered buffer setup into hid_sensor_setup_triggerAlexandru Ardelean2-4/+17
2020-05-03iio: st_sensors: Use get_unaligned_be24() and sign_extend32()Andy Shevchenko1-6/+1
2020-04-27Merge 5.7-rc3 into staging-nextGreg Kroah-Hartman1-1/+1
2020-04-23Merge tag 'iio-for-5.8a' of git://git.kernel.org/pub/scm/linux/kernel/git/jic...Greg Kroah-Hartman4-18/+11
2020-04-20Merge tag 'iio-fixes-for-5.7a' of git://git.kernel.org/pub/scm/linux/kernel/g...Greg Kroah-Hartman1-1/+1
2020-04-19iio: st_sensors: rely on odr mask to know if odr can be setLary Gibaud1-1/+1
2020-04-08Merge tag 'tag-chrome-platform-for-v5.7' of git://git.kernel.org/pub/scm/linu...Linus Torvalds3-96/+295
2020-03-30iio: cros_ec: Use Hertz as unit for sampling frequencyGwendal Grignou1-13/+19
2020-03-28iio: cros_ec: Report hwfifo_watermark_maxGwendal Grignou1-2/+31
2020-03-28iio: cros_ec: Expose hwfifo_timeoutGwendal Grignou2-23/+75
2020-03-28iio: cros_ec: Remove pm functionGwendal Grignou3-49/+0
2020-03-28iio: cros_ec: Register to cros_ec_sensorhub when EC supports FIFOGwendal Grignou3-10/+102
2020-03-28iio: cros_ec: Move function description to .c fileGwendal Grignou1-0/+69
2020-03-21iio: st_sensors: Join string literals backAndy Shevchenko2-11/+5
2020-03-21iio: st_sensors: Drop unneeded casting when print error codeAndy Shevchenko2-4/+4
2020-03-21iio: st_sensors: Drop unneeded explicit castingsAndy Shevchenko1-2/+1
2020-03-21iio: st_sensors: Use dev_get_platdata() to get platform_dataAndy Shevchenko1-1/+1
2020-02-14iio: st_sensors: handle memory allocation failure to fix null pointer derefer...Colin Ian King1-0/+4
2020-02-04Merge tag 'tag-chrome-platform-for-v5.6' of git://git.kernel.org/pub/scm/linu...Linus Torvalds2-2/+0
2020-01-13iio: st_sensors: Make use of device propertiesAndy Shevchenko2-21/+12
2020-01-13iio: st_sensors: Drop redundant parameter from st_sensors_of_name_probe()Andy Shevchenko2-42/+17
2020-01-10Merge tag 'iio-for-5.6a' of git://git.kernel.org/pub/scm/linux/kernel/git/jic...Greg Kroah-Hartman4-31/+23
2020-01-07cros_ec: treewide: Remove 'include/linux/mfd/cros_ec.h'Enric Balletbo i Serra2-2/+0
2019-12-29iio: st_sensors: Describe function parameters in kernel-docAndy Shevchenko1-0/+3
2019-12-15iio: ssp_sensors: Convert to use GPIO descriptorsLinus Walleij3-31/+20
2019-11-21mfd / platform / iio: cros_ec: Register sensor through sensorhubGwendal Grignou2-7/+3
2019-11-21iio / platform: cros_ec: Add cros-ec-sensorhub driverGwendal Grignou1-1/+1
2019-09-19Merge tag 'tag-chrome-platform-for-v5.4' of git://git.kernel.org/pub/scm/linu...Linus Torvalds4-5/+6
2019-09-06iio: hid-sensor-attributes: Fix divisions for 32-bit platformsAndy Shevchenko1-14/+28
2019-09-03iio: cros_ec: set calibscale for 3d MEMS to unit vectorGwendal Grignou1-1/+4
2019-09-02mfd / platform: cros_ec: Reorganize platform and mfd includesEnric Balletbo i Serra3-4/+5
2019-09-02mfd / platform: cros_ec: Move cros-ec core driver out from MFDEnric Balletbo i Serra1-1/+1
2019-08-25iio: st_sensors: Fix build errorYueHaibing1-0/+2
2019-08-18iio: hid-sensor-attributes: Convert to use int_pow()Andy Shevchenko1-31/+22
2019-08-05iio: remove get_irq_data_ready() function pointer and use IRQ number directlyDenis Ciocca3-27/+12
2019-07-27iio: common: cros_ec_sensors: Expose cros_ec_sensors frequency range via iio ...Fabien Lahoudere2-0/+68
2019-07-27iio: cros_ec: Add sign vector in core for backward compatibilityGwendal Grignou1-0/+4
2019-07-27iio: common: cros_ec_sensors: determine protocol versionFabien Lahoudere1-1/+34
2019-07-27iio: make st_sensors drivers use regmapDenis Ciocca5-153/+79
2019-07-27iio: move 3-wire spi initialization to st_sensors_spiDenis Ciocca2-51/+78
2019-07-27iio:common:st_sensors: add st_sensors_get_settings_index() helper functionDenis Ciocca1-15/+34
2019-07-27iio: cros_ec: Remove replacing error code with -EIOGwendal Grignou1-19/+25
2019-07-27iio: cros_ec: Add calibscale for 3d MEMSGwendal Grignou2-6/+47
2019-07-11Merge tag 'tag-chrome-platform-for-v5.3' of git://git.kernel.org/pub/scm/linu...Linus Torvalds3-0/+149
2019-06-25iio: cros_ec: Add lid angle driverGwendal Grignou3-0/+149
2019-06-23Merge 5.2-rc6 into staging-nextGreg Kroah-Hartman4-46/+4
2019-06-19treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500Thomas Gleixner1-4/+1
2019-06-05treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 335Thomas Gleixner3-42/+3
2019-06-03Merge 5.2-rc3 into staging-nextGreg Kroah-Hartman20-56/+20
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 177Thomas Gleixner6-12/+6
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157Thomas Gleixner4-44/+4
2019-05-21treewide: Add SPDX license identifier - Makefile/KconfigThomas Gleixner10-0/+10
2019-04-27iio: cros_ec: add 'id' sysfs entryGwendal Grignou1-0/+14
2019-04-21Merge 5.1-rc6 into staging-nextGreg Kroah-Hartman1-3/+4
2019-04-04iio: cros_ec: Switch to SPDX identifier.Enric Balletbo i Serra2-18/+2
2019-04-04iio: cros_ec: Add kernel-doc for cros_ec_sensors_read_lpcGwendal Grignou1-0/+11
2019-04-04iio: cros_ec: Drop unnecessary include filesGuenter Roeck2-3/+0
2019-04-04drivers: iio: Kconfig: pedantic cleanupEnrico Weigelt, metux IT consult1-1/+1
2019-04-04iio: common: ssp_sensors: Initialize calculated_time in ssp_common_process_dataNathan Chancellor1-1/+1
2019-03-16iio: cros_ec: Fix the maths for gyro scale calculationGwendal Grignou1-3/+4
2018-11-25iio: hid-sensor-hub: clean up indentation, remove extraneous tabColin Ian King1-1/+1
2018-10-21iio: st_sensors: miscellaneous cleanupMartin Kelly2-4/+3
2018-10-07iio: ssp_sensors: don't manually free devm managed resourcesUwe Kleine-König1-14/+6
2018-07-15iio: change strncpy+truncation to strlcpyDominique Martinet1-2/+1
2018-06-09Merge tag 'staging-4.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds4-191/+7
2018-05-09Merge tag 'iio-fixes-for-4.17a' of git://git.kernel.org/pub/scm/linux/kernel/...Greg Kroah-Hartman1-4/+4
2018-04-28iio: common: hid-sensors: simplify getting .drvdataWolfram Sang1-6/+3
2018-04-28iio: common: cros_ec_sensors: simplify getting .drvdataWolfram Sang1-4/+2
2018-04-21iio: hid-sensor-trigger: Fix sometimes not powering up the sensor after resumeHans de Goede1-4/+4
2018-03-17iio: cros_ec: Move cros_ec_sensors_core.h in /includeGwendal Grignou3-181/+2
2018-03-03iio: cros_ec: Relax sampling frequency before suspendingGwendal Grignou3-0/+52
2018-01-08iio: common: ssp_sensors: account for const type of of_device_id.dataJulia Lawall2-2/+2
2018-01-08iio: common: ssp_sensors: use ktime_get_real_ns() timestampsArnd Bergmann1-4/+1
2017-12-02iio: cros_ec: Remove unused variablesPaolo Cretaro1-2/+0
2017-11-21treewide: setup_timer() -> timer_setup()Kees Cook1-3/+3
2017-11-13Merge tag 'staging-4.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds4-36/+53
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman4-0/+4
2017-10-14iio: hid-sensor-trigger: Don't touch sensors unless user space requestsSrinivas Pandruvada1-3/+9
2017-10-10iio: common: st_sensors: check odr address value in st_sensors_set_odr()Lorenzo Bianconi1-0/+3
2017-10-10iio: st_sensors: split open-drain parameters for irq1 and irq2Lorenzo Bianconi1-5/+16
2017-10-09iio: st_sensors: do not always write enable_axis registerLorenzo Bianconi1-1/+4
2017-10-09iio: st_sensors: decouple irq1 configuration parameters from the irq2 onesLorenzo Bianconi1-12/+16
2017-10-09iio: st_sensors: add register mask for status registerLorenzo Bianconi2-13/+5
2017-10-09Merge 4.14-rc4 into staging-nextGreg Kroah-Hartman1-1/+10
2017-09-25Merge tag 'iio-for-4.15a' of git://git.kernel.org/pub/scm/linux/kernel/git/ji...Greg Kroah-Hartman2-2/+0
2017-09-25Merge tag 'iio-fixes-for-4.14a' of git://git.kernel.org/pub/scm/linux/kernel/...Greg Kroah-Hartman1-1/+10
2017-09-05Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik...Linus Torvalds1-0/+3
2017-09-03iio: magnetometer: st_magn: fix drdy line configuration for LIS3MDLLorenzo Bianconi1-1/+10
2017-08-28Merge 4.13-rc7 into staging-nextGreg Kroah-Hartman1-4/+4
2017-08-22iio:common: drop assign iio_info.driver_module and iio_trigger_ops.ownerJonathan Cameron2-2/+0
2017-08-20iio: hid-sensor-trigger: Fix the race with user space powering up sensorsSrinivas Pandruvada1-4/+4
2017-08-14Merge 4.13-rc5 into staging-nextGreg Kroah-Hartman1-0/+29
2017-08-09HID: hid-sensor-hub: Force logical minimum to 1 for power and report stateSrinivas Pandruvada1-0/+3
2017-07-23Merge tag 'iio-fixes-for-4.13a' of git://git.kernel.org/pub/scm/linux/kernel/...Greg Kroah-Hartman1-0/+29
2017-07-06iio: accel: st_accel: add SPI-3wire supportLorenzo Bianconi1-0/+29
2017-07-01iio: common: st_sensors: move st_sensors_of_i2c_probe() in common codeLorenzo Bianconi2-29/+31
2017-06-13iio hid-sensor-trigger: add Kconfig depends on IIO_BUFFERAlexander Wuerstlein1-1/+1
2017-05-16iio: hid-sensor-hub: Implement batch modeSrinivas Pandruvada2-0/+124
2017-05-07iio: hid-sensor-rotation: Add "scale" and "offset" properties parse supportSong Hongyan1-0/+6
2017-04-27iio: hid-sensor: fix return of -EINVAL on invalid values in ret or valueColin Ian King1-2/+2
2017-04-18Merge tag 'iio-fixes-for-4.11e' of git://git.kernel.org/pub/scm/linux/kernel/...Greg Kroah-Hartman2-5/+41
2017-04-18Merge tag 'iio-for-4.12d' of git://git.kernel.org/pub/scm/linux/kernel/git/ji...Greg Kroah-Hartman1-0/+4
2017-04-10Merge 4.11-rc6 into staging-nextGreg Kroah-Hartman2-2/+12
2017-04-08iio: hid-sensor: Fix unbalanced pm_runtime_enable errorSrinivas Pandruvada1-0/+4
2017-04-08iio: hid-sensor: Store restore poll and hysteresis on S3Srinivas Pandruvada2-5/+41
2017-04-03Merge tag 'iio-for-4.12c' of git://git.kernel.org/pub/scm/linux/kernel/git/ji...Greg Kroah-Hartman3-25/+13
2017-04-02iio: hid-sensor-attributes: Fix sensor property setting failure.Song Hongyan1-0/+10
2017-04-02iio: common: ms_sensors: Remove unnecessary cast on void pointersimran singhal1-2/+2
2017-03-27Merge 4.11-rc4 into staging-nextGreg Kroah-Hartman1-3/+3
2017-03-25iio: hid: Add humidity sensor supportSong Hongyan1-0/+2