- 15 Aug, 2016 1 commit
-
-
Alison Schofield authored
Select IIO_BUFFER and IIO_TRIGGERED_BUFFER to compile. Remove IIO_TRIGGER if present since IIO_BUFFER selects it. Signed-off-by:
Alison Schofield <amsfield22@gmail.com> Cc: Daniel Baluta <daniel.baluta@gmail.com> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
- 11 Jun, 2016 1 commit
-
-
Martin Kepplinger authored
NXP took over Freescale, so add NXP to the driver descriptions Signed-off-by:
Martin Kepplinger <martink@posteo.de> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
- 14 May, 2016 1 commit
-
-
Tiberiu Breana authored
This commit adds basic support for the Bosch Sensortec BMA220 digital triaxial acceleration sensor. The device datasheet can be found here: http://www.mouser.com/pdfdocs/BSTBMA220DS00308.PDF Includes: - raw readings - ACPI detection - power management Signed-off-by:
Tiberiu Breana <tiberiu.a.breana@intel.com> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
- 04 May, 2016 1 commit
-
-
Constantin Musca authored
Minimal implementation of an IIO driver for the Freescale MMA7660FC 3-axis accelerometer. Datasheet: http://www.nxp.com/files/sensors/doc/data_sheet/MMA7660FC.pdf Includes: - ACPI support; - read_raw for x,y,z axes; - reading and setting the scale (range) parameter. - power management Signed-off-by:
Constantin Musca <constantin.musca@intel.com> Reviewed-by:
Martin Klepplinger <martink@posteo.de> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
- 12 Mar, 2016 2 commits
-
-
Martin Kepplinger authored
This adds support for Freescale's (now NXP's) FXLS8471Q accelerometer. We use MMA8451Q's configuration because for what the driver supports, FXLS8471Q is the same. Support for FXLS8471Q's features (fast SPI interface and a larger FIFO, among others) can be added to this driver anytime. See it's datasheet for the details: http://cache.nxp.com/files/sensors/doc/data_sheet/FXLS8471Q.pdf Signed-off-by:
Martin Kepplinger <martink@posteo.de> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
Tiberiu Breana authored
This commit adds support for STMicroelectronics h3lis331dl high-g accelerometer. The datasheet for this device can be found here: http://www.st.com/web/en/resource/technical/document/ datasheet/DM00053090.pdf Signed-off-by:
Tiberiu Breana <tiberiu.a.breana@intel.com> Reviewed-by:
Denis Ciocca <denis.ciocca@st.com> Acked-by:
Denis Ciocca <denis.ciocca@st.com> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
- 23 Jan, 2016 1 commit
-
-
Martin Kepplinger authored
This adds support for this series' 14 bit accelerometer chip, MMA8451Q. It's datasheet is available at the vendor's website: https://cache.freescale.com/files/sensors/doc/data_sheet/MMA8451Q.pdf Signed-off-by:
Martin Kepplinger <martin.kepplinger@theobroma-systems.com> Signed-off-by:
Christoph Muellner <christoph.muellner@theobroma-systems.com> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
- 04 Jan, 2016 1 commit
-
-
Vegard Nossum authored
Ran into this on UML: drivers/iio/accel/stk8ba50.c: In function ‘stk8ba50_data_rdy_trigger_set_state’: drivers/iio/accel/stk8ba50.c:163:9: error: implicit declaration of function ‘iio_trigger_get_drvdata’ [-Werror=implicit-function-declaration] iio_trigger_get_drvdata() is defined only when IIO_TRIGGER is selected. Signed-off-by:
Vegard Nossum <vegard.nossum@oracle.com> Cc: <Stable@vger.kernel.org> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
- 14 Nov, 2015 1 commit
-
-
Giuseppe Barba authored
This commit add support for STMicroelectronics lis2dh12 accelerometer. Datasheet for this device can be found here: http://www.st.com/st-web-ui/static/active/en/resource/technical/ document/datasheet/DM00091513.pdf Signed-off-by:
Giuseppe Barba <giuseppe.barba@st.com> Acked-by:
Denis Ciocca <denis.ciocca@st.com> Acked-by:
Daniel Baluta <daniel.baluta@intel.com> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
- 01 Nov, 2015 1 commit
-
-
Joachim Eastwood authored
Add support for Freescale MMA7455L/MMA7456L 3-axis in 10-bit mode for I2C and SPI bus. This rather simple driver that currently doesn't support all the hardware features of MMA7455L/MMA7456L. Tested on Embedded Artist's LPC4357 Dev Kit with MMA7455L on I2C bus. Data sheets for the two devices can be found here: http://cache.freescale.com/files/sensors/doc/data_sheet/MMA7455L.pdf http://cache.freescale.com/files/sensors/doc/data_sheet/MMA7456L.pdf Signed-off-by:
Joachim Eastwood <manabian@gmail.com> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
- 25 Oct, 2015 1 commit
-
-
Teodora Baluta authored
This patch adds a minimal implementation for the Memsic MXC6255XC orientation sensing accelerometer. The supported operations are reading raw acceleration values for X/Y axis that can be scaled using the exposed scale. Signed-off-by:
Teodora Baluta <teodora.baluta@intel.com> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
- 03 Oct, 2015 3 commits
-
-
Markus Pargmann authored
Add a simple SPI driver which initializes the spi regmap for the bmc150 core driver. Signed-off-by:
Markus Pargmann <mpa@pengutronix.de> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
Markus Pargmann authored
Signed-off-by:
Markus Pargmann <mpa@pengutronix.de> Tested-by:
Irina Tirdea <irina.tirdea@intel.com> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
Markus Pargmann authored
This replaces all usage of direct i2c accesses with regmap accesses. Signed-off-by:
Markus Pargmann <mpa@pengutronix.de> Tested-by:
Irina Tirdea <irina.tirdea@intel.com> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
- 23 Sep, 2015 2 commits
-
-
Martin Kepplinger authored
MMA8652FC and MMA8653FC don't provide the transient interrupt source, so the motion interrupt source is used by providing a new iio_chan_spec definition, so that other supported devices are not affected by this. Datasheets for the newly supported devices are available at Freescale's website: http://cache.freescale.com/files/sensors/doc/data_sheet/MMA8652FC.pdf http://cache.freescale.com/files/sensors/doc/data_sheet/MMA8653FC.pdf Signed-off-by:
Martin Kepplinger <martin.kepplinger@theobroma-systems.com> Signed-off-by:
Christoph Muellner <christoph.muellner@theobroma-systems.com> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
Martin Kepplinger authored
This adds support for the 10 bit version if Freescale's accelerometers of this series. The datasheet is available at Freescale's website: http://cache.freescale.com/files/sensors/doc/data_sheet/MMA8453Q.pdf It creates a devicetree bindings file to document the new functionality and removes the driver from the trivial-devices list. Signed-off-by:
Martin Kepplinger <martin.kepplinger@theobroma-systems.com> Signed-off-by:
Christoph Muellner <christoph.muellner@theobroma-systems.com> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
- 31 Aug, 2015 2 commits
-
-
Teodora Baluta authored
This patch adds support for buffered readings for the 3-axis accelerometer mxc4005. Signed-off-by:
Teodora Baluta <teodora.baluta@intel.com> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
Teodora Baluta authored
This patch adds support for Memsic MXC4005XC 3-axis accelerometer. The current implementation is a minimal one as it adds raw readings for the three axes and setting scale from userspace. Signed-off-by:
Teodora Baluta <teodora.baluta@intel.com> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
- 08 Aug, 2015 1 commit
-
-
Hartmut Knaack authored
Move the entry in Kconfig to its alphabetically correct position. Signed-off-by:
Hartmut Knaack <knaack.h@gmx.de> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
- 02 Aug, 2015 1 commit
-
-
Hartmut Knaack authored
Add the still missing dependencies for triggered buffer support. Fixes: 95c12bba ("iio: accel: Add buffer mode for Sensortek STK8312") Signed-off-by:
Hartmut Knaack <knaack.h@gmx.de> Reviewed-by:
Tiberiu Breana <tiberiu.a.breana@intel.com> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
- 23 May, 2015 1 commit
-
-
Tiberiu Breana authored
Minimal implementation of an IIO driver for the Sensortek STK8BA50 3-axis accelerometer. Datasheet: http://szgsensor.com/uploads/soft/141229/STK8BA50%D2%E5%BC%CE.pdf Includes: - ACPI support; - read_raw for x,y,z axes; - reading and setting the scale (range) parameter. - power management Signed-off-by:
Tiberiu Breana <tiberiu.a.breana@intel.com> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
- 17 May, 2015 1 commit
-
-
Tiberiu Breana authored
Minimal implementation of an IIO driver for the Sensortek STK8312 3-axis accelerometer. Datasheet: http://www.syi-group.com/uploadpic/data/201361817562681623.pdf Includes: - ACPI support; - read_raw for x,y,z axes; - reading and setting the scale (range) parameter. - power management Signed-off-by:
Tiberiu Breana <tiberiu.a.breana@intel.com> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
- 30 Jan, 2015 1 commit
-
-
Irina Tirdea authored
Add support for Freescale MMA9553L Intelligent Pedometer Platform. The following functionalities are supported: - step counter (counts the number of steps using a HW register) - step detector (generates an iio event at every step the user takes) - activity recognition (rest, walking, jogging, running) - speed - calories - distance To get accurate pedometer results, the user's height, weight and gender need to be configured. The specifications can be downloaded from: http://www.freescale.com/files/sensors/doc/ref_manual/MMA955xLSWRM.pdf http://www.freescale.com/files/sensors/doc/ref_manual/MMA9553LSWRM.pdf Signed-off-by:
Irina Tirdea <irina.tirdea@intel.com> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
- 27 Jan, 2015 1 commit
-
-
Irina Tirdea authored
Freescale has the MMA955xL family of devices that use the same communication protocol (based on i2c messages): http://www.freescale.com/files/sensors/doc/data_sheet/MMA955xL.pdf . To support more devices from this family, we need to split the mma9551 driver so we can export the common functions that will be used by other mma955x drivers. Signed-off-by:
Irina Tirdea <irina.tirdea@intel.com> Reviewed-by:
Vlad Dogaru <vlad.dogaru@intel.com> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
- 01 Jan, 2015 1 commit
-
-
Roberta Dobrescu authored
This patch fixes the following checkpatch.pl warning: WARNING: please write a paragraph that describes the config symbol fully Signed-off-by:
Roberta Dobrescu <roberta.dobrescu@gmail.com> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
- 12 Dec, 2014 1 commit
-
-
Vlad Dogaru authored
Add support for Freescale MMA9551L Intelligent Motion-Sensing Platform. The driver supports raw reads for acceleration and inclination, as well as configuring inclination rate-of-change events. The events can be used similarly to an Android sensor Tilt event. The specifications can be downloaded from: http://www.freescale.com/files/sensors/doc/ref_manual/MMA955xLSWRM.pdf Signed-off-by:
Irina Tirdea <irina.tirdea@intel.com> Signed-off-by:
Vlad Dogaru <vlad.dogaru@intel.com> Reviewed-by:
Hartmut Knaack <knaack.h@gmx.de> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
- 14 Sep, 2014 2 commits
-
-
Peter Meerwald authored
the BMA250 has only 10-bit resolution; while the data readout registers have identical layout, the configuration is completely different compared to the BMA180 datasheet: http://ae-bst.resource.bosch.com/media/products/dokumente/bma250/BST-BMA250-DS002-05.pdf Signed-off-by:
Peter Meerwald <pmeerw@pmeerw.net> Cc: Oleksandr Kravchenko <o.v.kravchenko@globallogic.com> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
Daniel Baluta authored
This patch adds support for KXTJ2-1009 3-axis acceleromenter sensor. KXTJ2-1009 uses the same register definitions as KXCJK-1013. The specification for KXTJ2-1009 can be downloaded from: http://www.kionix.com/sites/default/files/KXTJ2-1009%20Specifications%20Rev%204.pdf Reviewed-by:
Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by:
Daniel Baluta <daniel.baluta@intel.com> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
- 13 Sep, 2014 1 commit
-
-
Laurentiu Palcu authored
The following chips are either similar or have only the resolution different. Hence, change this driver to support these chips too: BMI055 - combo chip (accelerometer part is identical to BMC150's) BMA255 - identical to BMC150's accelerometer BMA222E - 8 bit resolution BMA250E - 10 bit resolution BMA280 - 14 bit resolution Additionally: * add bmc150_accel_match_acpi_device() function to check that the device has been enumerated through ACPI; * rename bmc150_accel_acpi_gpio_probe() to bmc150_accel_gpio_probe() since the ACPI matching has been moved to the new function. Also, this will allow for the GPIO matching to be done against a device tree too, not only ACPI tree; * rename bmc150_scale_info struct member 'range' to 'reg_range' to be consistent with the naming convention used elsewhere in the driver and declare it u8, instead of int; * change CONFIG description to list all supported chips; Signed-off-by:
Laurentiu Palcu <laurentiu.palcu@intel.com> Acked-by:
Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
- 30 Aug, 2014 1 commit
-
-
Daniel Baluta authored
This patch adds support for KXCJ9-1008 3-axis acceleromenter sensor. KXCJ9-1008 uses the same register definitions as KXCJK-1013. The specification for KXCJ9-1008 can be downloaded from: http://www.kionix.com/sites/default/files/KXCJ9-1008%20Specifications%20Rev%205.pdf Signed-off-by:
Daniel Baluta <daniel.baluta@intel.com> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
- 07 Aug, 2014 1 commit
-
-
Srinivas Pandruvada authored
This change implements BMC150 accelerometer driver. A BMC150 package consist of a compass and an accelerometer. This driver only implements accelerometer part. Spec downloaded from: http://ae-bst.resource.bosch.com/media/products/dokumente/bmc150/BST-BMC150-DS000-03.pdf This sensor chip supports many advanced features, but this driver implements minimum feature set which is a must to be useful. This driver can be enhanced incrementally. If the sensor vendor wants to update full featured version, they can substitute or enhance this driver when they get chance. Signed-off-by:
Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
- 14 Jun, 2014 1 commit
-
-
Srinivas Pandruvada authored
This patch adds IIO driver for KXCJK 1013 triaxis accelerometer sensor. The specifications for this driver is downloaded from: http://www.kionix.com/sites/default/files/KXCJK-1013%20Specifications%20Rev%202.pdf Signed-off-by:
Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
- 03 May, 2014 1 commit
-
-
Peter Meerwald authored
3-axis accelerometer sensor (2/4/8 g) with 12-bit resolution and I2C interface many extra features are unsupported (freefall detection, orientation change, autosleep) datasheet is here: http://cache.freescale.com/files/sensors/doc/data_sheet/MMA8452Q.pdf v2: (thanks to Jonathan Cameron) * use ARRAY_SIZE() Signed-off-by:
Peter Meerwald <pmeerw@pmeerw.net> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
- 28 Aug, 2013 1 commit
-
-
Oleksandr Kravchenko authored
This patch adds IIO driver for Bosch BMA180 triaxial acceleration sensor. http://dlnmh9ip6v2uc.cloudfront.net/datasheets/ Sensors/Accelerometers/BST-BMA180-DS000-07_2.pdf Signed-off-by:
Oleksandr Kravchenko <o.v.kravchenko@globallogic.com> Acked-by:
Stephen Warren <swarren@nvidia.com> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
- 03 Aug, 2013 2 commits
-
-
Lars-Peter Clausen authored
Keeping Makefile and Kconfig entries in alphabetical order usually works better than just appending new entries at the end, since it reduces the amount of conflicts. This patch adds a comment to the IIO Kconfig and Makefile files to document that the entries should be kept in alphabetical order. Also reorder those entries which weren't in alphabetical order yet. Signed-off-by:
Lars-Peter Clausen <lars@metafoo.de> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
Peter Meerwald authored
Signed-off-by:
Peter Meerwald <pmeerw@pmeerw.net> Acked-by:
"Denis Ciocca" <denis.ciocca@st.com> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
- 22 May, 2013 1 commit
-
-
Paul Bolle authored
Drivers for STMicroelectronics accelerometers, gyroscopes, and magnetometers were added in v3.9. They all have a (similar) select statement in their Kconfig files for a non-existant Kconfig symbol. These select statements can safely be removed. Signed-off-by:
Paul Bolle <pebolle@tiscali.nl> Acked-by:
Denis Ciocca <denis.ciocca@st.com> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
- 31 Jan, 2013 1 commit
-
-
Denis Ciocca authored
This patch adds a generic accelerometer driver for STMicroelectronics accelerometers, currently it supports: LSM303DLH, LSM303DLHC, LIS3DH, LSM330D, LSM330DL, LSM330DLC, LIS331DLH, LSM303DL, LSM303DLM, LSM330. Signed-off-by:
Denis Ciocca <denis.ciocca@st.com> Reviewed-by:
Lars-Peter Clausen <lars@metafoo.de> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
- 26 Jan, 2013 1 commit
-
-
Jonathan Cameron authored
This is a very simple driver giving basic access to this part over an spi bus. Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
- 27 Dec, 2012 1 commit
-
-
Alexander Holler authored
Not much to say, without that change, hid-sensor-trigger will be always compiled if HID_SENSOR_IIO_COMMON is selected which fails if CONFIG_IIO_TRIGGER is not set because CONFIG_IIO_CONSUMERS_PER_TRIGGER will not be defined. Signed-off-by:
Alexander Holler <holler@ahsoftware.de> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-