- Sep 24, 2013
-
-
Aida Mynzhasova authored
This patch adds support for the AD5641 single channel, 14-bit, buffered voltage output DAC. Signed-off-by:
Aida Mynzhasova <aida.mynzhasova@skitlab.ru> Reviewed-by:
Lars-Peter Clausen <lars@metafoo.de> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
Lee Jones authored
The power to some of the sensors are controlled by regulators. In most cases these are 'always on', but if not they will fail to work until the regulator is enabled using the relevant APIs. This patch allows for the Vdd_IO power supply to be specified by either platform data or Device Tree. Signed-off-by:
Lee Jones <lee.jones@linaro.org> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
Lee Jones authored
The power to some of the sensors are controlled by regulators. In most cases these are 'always on', but if not they will fail to work until the regulator is enabled using the relevant APIs. This patch allows for the Vdd power supply to be specified by either platform data or Device Tree. Signed-off-by:
Lee Jones <lee.jones@linaro.org> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
- Sep 23, 2013
-
-
Greg Kroah-Hartman authored
Merge tag 'iio-for-3.13a' of git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into staging-next Jonathan writes: First round of new drivers, functionality and cleanups for IIO in the 3.13 cycle A number of new drivers and some new functionality + a lot of cleanups all over IIO. New Core Elements 1) New INT_TIME info_mask element for integration time, which may have different effects on measurement noise and similar, than an amplifier and hence is different from existing SCALE. Already existed in some drivers as a custom attribute. 2) Introduce a iio_push_buffers_with_timestamp helper to cover the common case of filling the last 64 bits of data to be passed to the buffer with a timestamp. Applied to lots of drivers. Cuts down on repeated code and moves a slightly fiddly bit of logic into a single location. 3) Introduce info_mask_[shared_by_dir/shared_by_all] elements to allow support of elements such as sampling_frequency which is typically shared by all input channel...
-
Zubair Lutfullah authored
Driver is functional without this error case. Cleaned up. Signed-off-by:
Zubair Lutfullah <zubair.lutfullah@gmail.com> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
Zubair Lutfullah authored
Trigger related headers and variables are not needed as driver is now based on INDIO_BUFFER_HARDWARE mode Signed-off-by:
Zubair Lutfullah <zubair.lutfullah@gmail.com> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
Zubair Lutfullah authored
Static is missing in function header. Corrected. Signed-off-by:
Zubair Lutfullah <zubair.lutfullah@gmail.com> Reported-by:
kbuild test robot <fengguang.wu@intel.com> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
- Sep 22, 2013
-
-
Denis CIOCCA authored
This patch fix buffer registration that allows to use generic IIO trigger. Signed-off-by:
Denis Ciocca <denis.ciocca@st.com> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
Denis CIOCCA authored
This patch fix buffer registration that allows to use generic IIO trigger. Signed-off-by:
Denis Ciocca <denis.ciocca@st.com> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
Denis CIOCCA authored
This patch fix buffer registration that allows to use generic IIO trigger. Signed-off-by:
Denis Ciocca <denis.ciocca@st.com> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
Denis CIOCCA authored
This patch fix buffer registration that allows to use generic IIO trigger. Signed-off-by:
Denis Ciocca <denis.ciocca@st.com> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
Lee Jones authored
Reduce the amount of those unnecessary goto calls, as in most cases we can simply return immediately. We also only call for the IRQ number once and use that value throughout. Signed-off-by:
Lee Jones <lee.jones@linaro.org> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
Lee Jones authored
Reduce the amount of those unnecessary goto calls, as in most cases we can simply return immediately. We also only call for the IRQ number once and use that value throughout. Signed-off-by:
Lee Jones <lee.jones@linaro.org> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
Lee Jones authored
Reduce the amount of those unnecessary goto calls, as in most cases we can simply return immediately. We also only call for the IRQ number once and use that value throughout. Signed-off-by:
Lee Jones <lee.jones@linaro.org> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
Lee Jones authored
Here we use existing practices to introduce support for another pressure/temperature sensor, the LPS001WP. Signed-off-by:
Lee Jones <lee.jones@linaro.org> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
Lee Jones authored
This patch contains some pretty basic clean-ups in probe() pertaining to the simplification of error handling and a couple of readability adaptions. Signed-off-by:
Lee Jones <lee.jones@linaro.org> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
Lee Jones authored
Gets rid of those unnecessary gotos. Signed-off-by:
Lee Jones <lee.jones@linaro.org> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
Lee Jones authored
Strip out all those unnecessary gotos and just return the error right away. Aids to simplicity and reduces code. Signed-off-by:
Lee Jones <lee.jones@linaro.org> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
Lee Jones authored
Not all ST's sensors support data ready, so let's make the declaration of one conditional. Signed-off-by:
Lee Jones <lee.jones@linaro.org> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
Lars-Peter Clausen authored
Makes the code a bit shorter and less ugly. Signed-off-by:
Lars-Peter Clausen <lars@metafoo.de> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
Lars-Peter Clausen authored
Makes the code a bit shorter and less ugly. Signed-off-by:
Lars-Peter Clausen <lars@metafoo.de> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
Lars-Peter Clausen authored
Makes the code a bit shorter and less ugly. Signed-off-by:
Lars-Peter Clausen <lars@metafoo.de> Reviewed-by:
Marek Vasut <marex@denx.de> Cc: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
Lars-Peter Clausen authored
Makes the code a bit shorter and less ugly. Signed-off-by:
Lars-Peter Clausen <lars@metafoo.de> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
Lars-Peter Clausen authored
Makes the code a bit shorter and less ugly. Signed-off-by:
Lars-Peter Clausen <lars@metafoo.de> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
Lars-Peter Clausen authored
Makes the code a bit shorter and less ugly. Signed-off-by:
Lars-Peter Clausen <lars@metafoo.de> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
Lars-Peter Clausen authored
Makes the code a bit shorter and less ugly. Signed-off-by:
Lars-Peter Clausen <lars@metafoo.de> Cc: Jacek Anaszewski <j.anaszewski@samsung.com> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
Lars-Peter Clausen authored
Makes the code a bit shorter and less ugly. Signed-off-by:
Lars-Peter Clausen <lars@metafoo.de> Cc: Peter Meerwald <pmeerw@pmeerw.net> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
Lars-Peter Clausen authored
Makes the code a bit shorter and less ugly. Signed-off-by:
Lars-Peter Clausen <lars@metafoo.de> Cc: Peter Meerwald <pmeerw@pmeerw.net> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
Lars-Peter Clausen authored
Makes the code a bit shorter and less ugly. Signed-off-by:
Lars-Peter Clausen <lars@metafoo.de> Cc: Ge Gao <ggao@invensense.com> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
Lars-Peter Clausen authored
Makes the code a bit shorter and less ugly. Signed-off-by:
Lars-Peter Clausen <lars@metafoo.de> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
Lars-Peter Clausen authored
Makes the code a bit shorter and less ugly. Signed-off-by:
Lars-Peter Clausen <lars@metafoo.de> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
Lars-Peter Clausen authored
Makes the code a bit shorter and less ugly. Signed-off-by:
Lars-Peter Clausen <lars@metafoo.de> Cc: Manuel Stahl <manuel.stahl@iis.fraunhofer.de> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
Lars-Peter Clausen authored
Makes the code a bit shorter and less ugly. Signed-off-by:
Lars-Peter Clausen <lars@metafoo.de> Cc: Denis Ciocca <denis.ciocca@gmail.com> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
Lars-Peter Clausen authored
Makes the code a bit shorter and less ugly. Signed-off-by:
Lars-Peter Clausen <lars@metafoo.de> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
Lars-Peter Clausen authored
Makes the code a bit shorter and less ugly. Signed-off-by:
Lars-Peter Clausen <lars@metafoo.de> Cc: Josh Wu <josh.wu@atmel.com> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
Lars-Peter Clausen authored
Makes the code a bit shorter and less ugly. Signed-off-by:
Lars-Peter Clausen <lars@metafoo.de> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
Lars-Peter Clausen authored
Makes the code a bit shorter and less ugly. Signed-off-by:
Lars-Peter Clausen <lars@metafoo.de> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
Lars-Peter Clausen authored
Makes the code a bit shorter and less ugly. Signed-off-by:
Lars-Peter Clausen <lars@metafoo.de> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
Lars-Peter Clausen authored
Makes the code a bit shorter and less ugly. Signed-off-by:
Lars-Peter Clausen <lars@metafoo.de> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-
Lars-Peter Clausen authored
Makes the code a bit shorter and less ugly. Signed-off-by:
Lars-Peter Clausen <lars@metafoo.de> Signed-off-by:
Jonathan Cameron <jic23@kernel.org>
-