- 16 4月, 2018 10 次提交
-
-
由 Stefan Popa 提交于
The AD5684R/AD5686R are a family of 4 channel DACs with 12-bit, 14-bit and 16-bit precision respectively. The devices come either with a built-in reference or no built-in reference. The AD5672R/AD5676/AD5676R are similar, except that they have 8 channels instead of 4. Datasheets: http://www.analog.com/media/en/technical-documentation/data-sheets/AD5672R_5676R.pdf http://www.analog.com/media/en/technical-documentation/data-sheets/AD5686R_5685R_5684R.pdfSigned-off-by: NStefan Popa <stefan.popa@analog.com> Signed-off-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
-
由 Stefan Popa 提交于
This driver acctually supports the AD5685R device and NOT the AD5685, which does not exist. Maintain old id entry in case we have devicetrees out there which are using the wrong name. More information can be found in the datasheet: http://www.analog.com/media/en/technical-documentation/data-sheets/AD5686_5684.pdfSigned-off-by: NStefan Popa <stefan.popa@analog.com> Signed-off-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
-
由 Stefan Popa 提交于
This patch adds a new num_channels attribute as part of the ad5686_chip_info struct which replaces the AD5686_DAC_CHANNELS define. This is a necessary step, since this driver should support similar devices which differ only in the number of channels. Signed-off-by: NStefan Popa <stefan.popa@analog.com> Signed-off-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
-
由 Stefan Popa 提交于
Add GPLv2+ SPDX identifier and remove license notice to keep the whole purpose of using an SPDx id. Signed-off-by: NStefan Popa <stefan.popa@analog.com> Signed-off-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
-
由 Stefan Popa 提交于
This patch fixes some indentation issues and does not modify the functionality of the driver. Signed-off-by: NStefan Popa <stefan.popa@analog.com> Signed-off-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
-
由 Douglas Fischer 提交于
Added support for the mpu9255 IMU to the mpu6050 driver. The register map is the same as the other chips; the only driver difference is the compatible string and the WHOAMI register value. Signed-off-by: NDouglas Fischer <fischerdouglasc@gmail.com> Signed-off-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
-
由 Matt Ranostay 提交于
usleep_range() uses hrtimers and provides no advantage over msleep() for larger delays. Cc: Nicholas Mc Guire <hofrat@osadl.org> Link: http://lkml.org/lkml/2017/1/11/377Signed-off-by: NMatt Ranostay <matt.ranostay@konsulko.com> Reviewed-by: NNicholas Mc Guire <hofrat@osadl.org> Signed-off-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
-
由 Peter Rosin 提交于
Use the new probe style for i2c drivers. Signed-off-by: NPeter Rosin <peda@axentia.se> Signed-off-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
-
由 Peter Rosin 提交于
Use the new probe style for i2c drivers. Signed-off-by: NPeter Rosin <peda@axentia.se> Signed-off-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
-
由 Jean-Baptiste Maneyrol 提交于
There is no need to flush fifo and loose all data when the iio buffer is full. Just drop the data by ignoring the error as commonly done in other drivers. Signed-off-by: NJean-Baptiste Maneyrol <jmaneyrol@invensense.com> Reviewed-by: NMartin Kelly <martin@martingkelly.com> Signed-off-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
-
- 15 4月, 2018 5 次提交
-
-
由 Hernán Gonzalez 提交于
Reorder some variable declarations in an inverse-pyramid scheme. Signed-off-by: NHernán Gonzalez <hernan@vanguardiasur.com.ar> Signed-off-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
-
由 Hernán Gonzalez 提交于
Signed-off-by: NHernán Gonzalez <hernan@vanguardiasur.com.ar> Signed-off-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
-
由 Hernán Gonzalez 提交于
Clear checkpatch.pl WARNING about multiple line derefence but creates a new one of line over 80 characters. In my opinion, it improves readability. Signed-off-by: NHernán Gonzalez <hernan@vanguardiasur.com.ar> Signed-off-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
-
由 Hernán Gonzalez 提交于
Clear a couple more checkpatch.pl CHECKS. Signed-off-by: NHernán Gonzalez <hernan@vanguardiasur.com.ar> Signed-off-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
-
由 Hernán Gonzalez 提交于
Data to read or write was being handled with the swab16() macro instead of using i2c_smbus_{read,write}_swapped. Signed-off-by: NHernán Gonzalez <hernan@vanguardiasur.com.ar> Signed-off-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
-
- 09 4月, 2018 2 次提交
-
-
由 Lorenzo Bianconi 提交于
Signed-off-by: NLorenzo Bianconi <lorenzo.bianconi@redhat.com> Signed-off-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
-
由 Lorenzo Bianconi 提交于
Add support to STM ISM330DLC 6-axis (acc + gyro) Mems sensor http://www.st.com/resource/en/datasheet/ism330dlc.pdfSigned-off-by: NLorenzo Bianconi <lorenzo.bianconi@redhat.com> Signed-off-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
-
- 08 4月, 2018 1 次提交
-
-
由 Lorenzo Bianconi 提交于
According to the latest datasheet, LSM6DSM and LSM6DSL imu sensors export GENMASK(10, 0) for FIFO threshold mask definition. Despite that is not an actual issue since write on fifo_th register is protected by max_fifo_size value, fix fifo_th and fifo_diff register definitions Fixes: 290a6ce1 ("iio: imu: add support to lsm6dsx driver") Signed-off-by: NLorenzo Bianconi <lorenzo.bianconi@redhat.com> Signed-off-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
-
- 30 3月, 2018 10 次提交
-
-
由 Shreeya Patel 提交于
Move the adis16209 driver out of staging directory and merge to the mainline IIO subsystem. Signed-off-by: NShreeya Patel <shreeya.patel23498@gmail.com> Signed-off-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
-
由 Shreeya Patel 提交于
Use GENMASK to improve readability and remove the local variables used to store intermediate data. Signed-off-by: NShreeya Patel <shreeya.patel23498@gmail.com> Signed-off-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
-
由 Shreeya Patel 提交于
Remove few unused header files since the adis core handles the sysfs and buffer support. Signed-off-by: NShreeya Patel <shreeya.patel23498@gmail.com> Signed-off-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
-
由 Shreeya Patel 提交于
Add a blank line after return statements to improve the code readability. Signed-off-by: NShreeya Patel <shreeya.patel23498@gmail.com> Signed-off-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
-
由 Shreeya Patel 提交于
Prefer reverse christmas tree ordering of declarations to improve readability. Signed-off-by: NShreeya Patel <shreeya.patel23498@gmail.com> Signed-off-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
-
由 Shreeya Patel 提交于
Have indentation in field definitions to make them clearly different from the register addresses. Signed-off-by: NShreeya Patel <shreeya.patel23498@gmail.com> Signed-off-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
-
由 Jean-Baptiste Maneyrol 提交于
Signed-off-by: NJean-Baptiste Maneyrol <jmaneyrol@invensense.com> Signed-off-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
-
由 Xingyu Chen 提交于
Add the SAR ADC driver for the Amlogic Meson-AXG SoC. Signed-off-by: NXingyu Chen <xingyu.chen@amlogic.com> Acked-by: NMartin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
-
由 Xingyu Chen 提交于
Update the documentation to expicitly support the Meson-AXG SoC. Signed-off-by: NXingyu Chen <xingyu.chen@amlogic.com> Reviewed-by: NRob Herring <robh@kernel.org> Acked-by: NMartin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
-
由 Yixun Lan 提交于
Extract and promote common adc platform data into a new structure, to make it better share the info between several SoCs, this will avoid duplicating the code all over the place, Save a few memory and make the code more maintainable. Signed-off-by: NYixun Lan <yixun.lan@amlogic.com> Acked-by: NMartin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
-
- 26 3月, 2018 2 次提交
-
-
由 Brian Masney 提交于
The events IIO_EV_INFO_VALUE and IIO_EV_INFO_ENABLE currently have a falling and rising direction configured. There does not need to be a separate distinction so this patch changes these to use the either direction. Directory listing of event sysfs attributes for a TSL2772 with this patch applied: in_intensity0_thresh_either_en in_intensity0_thresh_either_period in_intensity0_thresh_falling_value in_intensity0_thresh_rising_value in_proximity0_thresh_either_en in_proximity0_thresh_either_period in_proximity0_thresh_falling_value in_proximity0_thresh_rising_value Signed-off-by: NBrian Masney <masneyb@onstation.org> Signed-off-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
-
由 Brian Masney 提交于
The hardware supports 16-bit ALS and proximity readings, however the datasheet recommends using the I2C auto increment protocol so that the correct high and low bytes are read even if the integration cycle ends between reading the lower and upper registers. Signed-off-by: NBrian Masney <masneyb@onstation.org> Signed-off-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
-
- 24 3月, 2018 10 次提交
-
-
由 Himanshu Jha 提交于
Move adis16201 driver out of staging and merge into mainline IIO subsystem. Signed-off-by: NHimanshu Jha <himanshujha199640@gmail.com> Signed-off-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
-
由 Himanshu Jha 提交于
Split the line over 80 characters limit to fix checkpatch warning. Signed-off-by: NHimanshu Jha <himanshujha199640@gmail.com> Signed-off-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
-
由 Himanshu Jha 提交于
Use GENMASK to improve readability and remove the local variables used to store intermediate data. Signed-off-by: NHimanshu Jha <himanshujha199640@gmail.com> Signed-off-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
-
由 Himanshu Jha 提交于
Remove few unused headers files since the adis core handles the buffer and sysfs support. Signed-off-by: NHimanshu Jha <himanshujha199640@gmail.com> Signed-off-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
-
由 Brian Masney 提交于
Add Brian Masney's copyright and to the list of module authors for all of the staging cleanups. This patch also update's Jon Brenner's current work email address since AMS now owns TAOS. Signed-off-by: NBrian Masney <masneyb@onstation.org> Signed-off-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
-
由 Brian Masney 提交于
This patch ensures that all of the local variable declarations are in reverse Christmas tree order where possible to increase code readability. Signed-off-by: NBrian Masney <masneyb@onstation.org> Signed-off-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
-
由 Brian Masney 提交于
Remove the ch0 and ch1 variables from tsl2x7x_get_lux() and write those values directly into the chip->als_cur_info.als_ch0 and chip->als_cur_info.als_ch01 variables. Signed-off-by: NBrian Masney <masneyb@onstation.org> Signed-off-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
-
由 Brian Masney 提交于
tsl2x7x_get_lux() has a ch0lux and ch1lux variables that are not used so this patch removes them. Signed-off-by: NBrian Masney <masneyb@onstation.org> Signed-off-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
-
由 Brian Masney 提交于
The struct tsl2x7x_settings contained a persistence member that contained both the ALS and proximity persistence fields. This patch splits this out into two separate fields so that the bitmasks in several parts of the code are no longer necessary. The default persistence settings are also changed by this patch from: - Proximity: 0 (Every proximity cycle generates an interrupt) - ALS: 255 (60 consecutive values out of range) to something a little more reasonable based on my testing: - Proximity: 1 (1 proximity value out of range) - ALS: 1 (1 value outside of threshold range) Signed-off-by: NBrian Masney <masneyb@onstation.org> Signed-off-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
-
由 Brian Masney 提交于
This patch updates all of the logging commands so that they are consistent with the other messages, includes __func__ in the message, and all of the messages include newlines. This patch also removes some debug log messages. Signed-off-by: NBrian Masney <masneyb@onstation.org> Signed-off-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
-