aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-05-19staging:iio:meter:ade7758: Update trigger to the new APIMichael Hennerich1-25/+27
Update trigger to the new API. Add file comment/license header. Some backporting needed to keep the driver building all the way through the core changes. Signed-off-by: Michael Hennerich <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-19staging:iio: Add channel types IIO_CURRENT and IIO_POWER.Michael Hennerich2-0/+4
This is required for the ADE7758 driver cleanup. Signed-off-by: Michael Hennerich <[email protected]> Acked-by: Jonathan Cameron <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-19staging:iio:adc:ad7606: Use private data space from iio_allocate_deviceMichael Hennerich5-77/+85
Trivial backport done by Jonathan Cameron Signed-off-by: Michael Hennerich <[email protected]> Acked-by: Jonathan Cameron <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-19staging:iio:adc:ad7606 Convert to new channel registration method Update Add ↵Michael Hennerich3-175/+116
missing call to iio_trigger_notify_done() Set pollfunc top and bottom half handler V3: rebase fixup. Backported to relevant merge point by Jonathan Cameron. V2: IIO_CHAN macro usage update Signed-off-by: Michael Hennerich <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-19staging:iio:gyro:adis16260 move to chan_spec based setup.Jonathan Cameron4-266/+239
For clean drivers its easier to convert to chan_spec based registration than to work around the scan_el attributes going away. Some minor cleanups done whilst here. Untested. V3: rebase fixup and make attribute_group static. V2: IIO_CHAN macro updates. Signed-off-by: Jonathan Cameron <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-19staging:iio:accel:adis16240 move to chan_spec based setup.Jonathan Cameron4-199/+220
For clean drivers its easier to convert to chan_spec based registration than to work around the scan_el attributes going away. Some minor cleanups done whilst here. Untested. V2: IIO_CHAN macro use updated. Signed-off-by: Jonathan Cameron <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-19staging:iio: Add chan info support for 'peak_raw' attributes.Jonathan Cameron2-1/+7
Signed-off-by: Jonathan Cameron <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-19staging:iio:accel: lis3l02dq add writing for calibscale and calibbias.Jonathan Cameron1-0/+29
This was missed out in original chan_spec conversion. Signed-off-by: Jonathan Cameron <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-19staging:iio:adc:ad7298: Convert to new channel registration methodMichael Hennerich3-123/+103
Convert to new channel registration method Update Add missing call to iio_trigger_notify_done() Backported to a point that will allow the driver to build all the way through the series. V2: IIO_CHAN macro usage updated. Signed-off-by: Michael Hennerich <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-19staging:iio:adc:ad799x removed unused headers.Jonathan Cameron2-3/+0
Signed-off-by: Jonathan Cameron <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-19staging:iio:adc:ad799x: Use private data space from iio_allocate_deviceMichael Hennerich3-47/+39
Use private data space from iio_allocate_device Signed-off-by: Michael Hennerich <[email protected]> Acked-by: Jonathan Cameron <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-19staging:iio:adc:ad799x: Convert to new channel registration method.Michael Hennerich3-319/+206
Convert to new channel registration method Update copyright header Add missing call to iio_trigger_notify_done() V2: IIO_CHAN macro updates Signed-off-by: Michael Hennerich <[email protected]> Acked-by: Jonathan Cameron <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-19staging:iio:adc:ad7887: Use private data space from iio_allocate_deviceMichael Hennerich3-52/+37
Signed-off-by: Michael Hennerich <[email protected]> Acked-by: Jonathan Cameron <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-19staging:iio:adc:ad7887: Convert to new channel registration method.Michael Hennerich3-138/+67
Convert to new channel registration method Update / change license copyright header Add missing call to iio_trigger_notify_done() V2: use IIO_CHAN macro. Signed-off-by: Michael Hennerich <[email protected]> Acked-by: Jonathan Cameron <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-19staging:iio:accel:adis16209 move to chan_spec based setup.Jonathan Cameron4-277/+232
For clean drivers its easier to convert to chan_spec based registration than to work around the scan_el attributes going away. Some minor cleanups done whilst here. Untested. V2: IIO_CHAN macro used. Signed-off-by: Jonathan Cameron <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-19staging:iio:accel:adis16204 move to chan_spec based setup.Jonathan Cameron4-259/+220
For clean drivers its easier to convert to chan_spec based registration than to work around the scan_el attributes going away. Some minor cleanups done whilst here. Untested. V2: used IIO_CHAN macro Signed-off-by: Jonathan Cameron <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-19staging:iio:accel:adis16203 move to chan_spec based setup.Jonathan Cameron4-257/+195
Mainly motivated by wish to remove the remaing users of the scan helpers. Some minor cleanups done whilst here. Untested. V2: Use IIO_CHAN macro Signed-off-by: Jonathan Cameron <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-19staging:iio:accel:adis16201 move to chan_spec based setup.Jonathan Cameron4-328/+220
Mainly motivated by wish to remove the remaing users of the scan helpers. Some minor cleanups done whilst here. Untested. V2: IIO_CHAN macro used. Signed-off-by: Jonathan Cameron <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-19staging:iio:light:tsl2563: chan_spec based channel setup.Jonathan Cameron1-206/+117
Makes a small interface change by splitting event _en attr in two. Signed-off-by: Jonathan Cameron <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-19staging:iio: use the new central name attribute creation codeJonathan Cameron40-410/+65
Signed-off-by: Jonathan Cameron <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-19staging:iio: Add core attribute handling for name of device.Jonathan Cameron2-2/+23
Saves on a fair bit of code replication. Signed-off-by: Jonathan Cameron <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-19staging:iio:trigger remove legacy pollfunc elements.Jonathan Cameron2-123/+20
Signed-off-by: Jonathan Cameron <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-19staging:iio:gyro:adis16260 move to irqchip based trigger handling.Jonathan Cameron3-74/+46
Untested. Signed-off-by: Jonathan Cameron <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-19staging:iio:adc:ad799x move to irqchip based trigger handling.Jonathan Cameron3-39/+28
Untested. Also cleared out last_timestamp as it isn't used anywhere. Signed-off-by: Jonathan Cameron <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-19staging:iio:adc:ad7887 move to irqchip based trigger handling.Jonathan Cameron3-38/+27
Untested. Signed-off-by: Jonathan Cameron <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-19staging:iio:adc:ad7606 conversion to irq_chip based polling.Jonathan Cameron3-7/+24
I'm far from sure what the best way to handle this particular part is, so have (I think) done the absolute minimum to change it to the new interface. V2: Trivial constification of device name. Signed-off-by: Jonathan Cameron <[email protected]> Acked-by: Michael Hennerich <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-19staging:iio:adc:ad7298 move to irqchip based trigger handling.Jonathan Cameron3-43/+26
Untested. This one is of a different form, so worth a closer look than the previous incredibly similar patches (which were based on the adis16400 that I have tested). Signed-off-by: Jonathan Cameron <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-19staging:iio:accel:adis16240 move to irqchip based trigger handling.Jonathan Cameron3-65/+43
Untested. Signed-off-by: Jonathan Cameron <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-19staging:iio:accel:adis16209 move to irqchip based trigger handling.Jonathan Cameron3-61/+45
Untested. Signed-off-by: Jonathan Cameron <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-19staging:iio:accel:adis16204 move to irqchip based trigger handling.Jonathan Cameron3-67/+42
Untested. Signed-off-by: Jonathan Cameron <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-19staging:iio:accel:adis16203 move to irqchip based trigger handling.Jonathan Cameron3-65/+42
Untested. Signed-off-by: Jonathan Cameron <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-19staging:iio:accel:adis16201 move to irqchip based trigger handling.Jonathan Cameron3-65/+40
Untested. Signed-off-by: Jonathan Cameron <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-19staging:iio:imu remove adis16300 driver.Jonathan Cameron6-1286/+0
Support is now provided by the unified adis16400 driver. Signed-off-by: Jonathan Cameron <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-19staging:iio:imu:adis16400 add support for adis16300Jonathan Cameron3-4/+56
Next patch will remove original driver. Note this leaves holes in the scan indexing. Untested - except via adis16350... V3: rebase fixup. V2: move to single IIO_CHAN macro. Signed-off-by: Jonathan Cameron <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-19staging:iio:imu remove old adis16350. Support now in adis16400 driver.Jonathan Cameron6-1278/+0
Signed-off-by: Jonathan Cameron <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-19staging:iio:imu:adis16350 etc support into adis16400 driver.Jonathan Cameron5-47/+260
Next patch will remove the current adis16350 driver. These should have been merged a long time ago, but there we are. V3: rebase fixup + add missing extend_name for supply on adis16350 V2: Move to single IIO_CHAN macro + use the new extend_name to make the naming of the temperature sensors contain x, y, z rather than messing with modifiers. This a very weird case and I don't want temperature to use axial modifiers. Signed-off-by: Jonathan Cameron <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-19staging:iio:imu:adis16400 move to irq based triggers and channel spec ↵Jonathan Cameron4-365/+282
channel registration. V2: rebase fixup. Signed-off-by: Jonathan Cameron <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-19staging:iio:meter:ade7758 move to irqchip based trigger handling.Jonathan Cameron2-37/+26
Untested Signed-off-by: Jonathan Cameron <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-19staging:iio:adc:ad7476 move to irqchip based triggeringJonathan Cameron3-46/+26
Untested V2: Fixed missing free of pollfunc->name pointed out by Michael Hennerich. Signed-off-by: Jonathan Cameron <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-19staging:iio:adc:ad7476 use channel_specJonathan Cameron3-110/+74
V3: Trivial rebase fixup. V2: Move to new single IIO_CHAN macro. Done without hardware. Fix from Michael Hennerich incorporated to use iio_ring_buffer_register_ex instead of iio_ring_buffer_register and thus actually make it work. Signed-off-by: Jonathan Cameron <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-19staging:iio:adc:max1363 move to irqchip based threaded irq triggeringJonathan Cameron3-47/+26
V2: Fixed missing free of pollfunc->name as pointed out by Michael Hennerich. Signed-off-by: Jonathan Cameron <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-19staging:iio:accel:lis3l02dq move to threaded trigger handling.Jonathan Cameron3-91/+56
V2: Cleaned up handling of name string. Signed-off-by: Jonathan Cameron <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-19staging:iio: add generic data ready poll function.Jonathan Cameron2-0/+9
This case is extremely common, so let us only have the one copy. Signed-off-by: Jonathan Cameron <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-19staging:iio:ring_sw add function needed for threaded irq.Jonathan Cameron2-4/+11
Signed-off-by: Jonathan Cameron <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-19staging:iio:Documentation generic_buffer.c update to new abi for buffers + ↵Jonathan Cameron2-74/+39
misc fixes Trivial space before newline fix incorporated. Additional fixes related to handling of sign extension and shifted data. Signed-off-by: Jonathan Cameron <[email protected]> squash into buffer handling update. Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-19staging:iio: Add infrastructure for irq_chip based triggersJonathan Cameron3-36/+203
V3: Get rid of separate interrupt pool. This is well handled by irq_get_descs and irq_free_descs. Two functions I simply wasn't aware of previously. Thus the allocation for a given trigger is now handled by core code rather than us reinventing the wheel. V2: Stop silly name duplication. Move pool handling to industrialio-trigger as that is the only user. Changed over to using irq_modify_status rather than the arm specific set_irq_flags as per Thomas Gleixner's suggestion. Signed-off-by: Jonathan Cameron <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-19staging:iio:accel:lis3l02dq make threshold interrupt threaded.Jonathan Cameron2-90/+73
We have moved the timestamp acquisition into the bottom half. It may technically be less accurate but for this device I very much doubt anyone cares! Signed-off-by: Jonathan Cameron <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-19staging:iio: Remove legacy event handling.Jonathan Cameron8-600/+85
This requires all drivers using the channel registration code and events to change in one go. V3: remove unwanted irq enable from event handler. V2: rebase related fixes to move to new IIO_CHAN macro. All trivial. Signed-off-by: Jonathan Cameron <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-19staging:iio:adc:ad799x move to new event handlingJonathan Cameron2-138/+115
Untested. Signed-off-by: Jonathan Cameron <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-19staging:iio:adc:ad7314 remove unmatched unregister of event line.Jonathan Cameron1-7/+0
Signed-off-by: Jonathan Cameron <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>