aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-11-23Add linux-next specific files for 20151123next-20151123Stephen Rothwell
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
2015-11-23Merge branch 'akpm/master'Stephen Rothwell
2015-11-23iio: Documentation: add IIO configfs documentationDaniel Baluta
Signed-off-by: Daniel Baluta <daniel.baluta@intel.com> Acked-by: Crt Mori <cmo@melexis.com> Cc: Joel Becker <jlbec@evilplan.org> Cc: Lars-Peter Clausen <lars@metafoo.de> Cc: Christoph Hellwig <hch@lst.de> Cc: Hartmut Knaack <knaack.h@gmx.de> Cc: Octavian Purdila <octavian.purdila@intel.com> Cc: Paul Bolle <pebolle@tiscali.nl> Cc: Adriana Reus <adriana.reus@intel.com> Cc: Daniel Baluta <daniel.baluta@intel.com> Cc: Cristina Opriceana <cristina.opriceana@gmail.com> Cc: Peter Meerwald <pmeerw@pmeerw.net> Cc: Alexander Viro <viro@zeniv.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2015-11-23iio: trigger: introduce IIO hrtimer based triggerDaniel Baluta
This patch registers a new IIO software trigger interrupt source based on high resolution timers. Notice that if configfs is enabled we create sampling_frequency attribute allowing users to change hrtimer period (1/sampling_frequency). The IIO hrtimer trigger has a long history, this patch is based on an older version from Marten and Lars-Peter. Signed-off-by: Marten Svanfeldt <marten@intuitiveaerial.com> Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Daniel Baluta <daniel.baluta@intel.com> Cc: Joel Becker <jlbec@evilplan.org> Cc: Christoph Hellwig <hch@lst.de> Cc: Hartmut Knaack <knaack.h@gmx.de> Cc: Octavian Purdila <octavian.purdila@intel.com> Cc: Paul Bolle <pebolle@tiscali.nl> Cc: Adriana Reus <adriana.reus@intel.com> Cc: Cristina Opriceana <cristina.opriceana@gmail.com> Cc: Peter Meerwald <pmeerw@pmeerw.net> Cc: Alexander Viro <viro@zeniv.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2015-11-23iio: core: fix ptr_ret.cocci warningsFengguang Wu
drivers/iio/industrialio-sw-trigger.c:169:1-3: WARNING: PTR_ERR_OR_ZERO can be used Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR Generated by: scripts/coccinelle/api/ptr_ret.cocci Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Cc: Joel Becker <jlbec@evilplan.org> Cc: Lars-Peter Clausen <lars@metafoo.de> Cc: Christoph Hellwig <hch@lst.de> Cc: Hartmut Knaack <knaack.h@gmx.de> Cc: Octavian Purdila <octavian.purdila@intel.com> Cc: Paul Bolle <pebolle@tiscali.nl> Cc: Adriana Reus <adriana.reus@intel.com> Cc: Daniel Baluta <daniel.baluta@intel.com> Cc: Cristina Opriceana <cristina.opriceana@gmail.com> Cc: Peter Meerwald <pmeerw@pmeerw.net> Cc: Alexander Viro <viro@zeniv.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2015-11-23iio: core: introduce IIO software triggersDaniel Baluta
A software trigger associates an IIO device trigger with a software interrupt source (e.g: timer, sysfs). This patch adds the generic infrastructure for handling software triggers. Software interrupts sources are kept in a iio_trigger_types_list and registered separately when the associated kernel module is loaded. Software triggers can be created directly from drivers or from user space via configfs interface. To sum up, this dynamically creates "triggers" group to be found under /config/iio/triggers and offers the possibility of dynamically creating trigger types groups. The first supported trigger type is "hrtimer" found under /config/iio/triggers/hrtimer. Signed-off-by: Daniel Baluta <daniel.baluta@intel.com> Tested-by: Matt Ranostay <matt.ranostay@intel.com> Cc: Joel Becker <jlbec@evilplan.org> Cc: Lars-Peter Clausen <lars@metafoo.de> Cc: Christoph Hellwig <hch@lst.de> Cc: Hartmut Knaack <knaack.h@gmx.de> Cc: Octavian Purdila <octavian.purdila@intel.com> Cc: Paul Bolle <pebolle@tiscali.nl> Cc: Adriana Reus <adriana.reus@intel.com> Cc: Cristina Opriceana <cristina.opriceana@gmail.com> Cc: Peter Meerwald <pmeerw@pmeerw.net> Cc: Alexander Viro <viro@zeniv.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2015-11-23iio: core: introduce IIO configfs supportDaniel Baluta
This patch creates the IIO configfs root group. The group will appear under <mount-point>/iio/, usually /config/iio. We introduce configfs support in IIO in order to be able to easily create IIO objects from userspace. The first supported IIO objects are triggers introduced with next patches. Signed-off-by: Daniel Baluta <daniel.baluta@intel.com> Cc: Joel Becker <jlbec@evilplan.org> Cc: Lars-Peter Clausen <lars@metafoo.de> Cc: Christoph Hellwig <hch@lst.de> Cc: Hartmut Knaack <knaack.h@gmx.de> Cc: Octavian Purdila <octavian.purdila@intel.com> Cc: Paul Bolle <pebolle@tiscali.nl> Cc: Adriana Reus <adriana.reus@intel.com> Cc: Cristina Opriceana <cristina.opriceana@gmail.com> Cc: Peter Meerwald <pmeerw@pmeerw.net> Cc: Alexander Viro <viro@zeniv.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2015-11-23Merge branch 'akpm-current/current'Stephen Rothwell
2015-11-23Merge remote-tracking branch 'coresight/next'Stephen Rothwell
2015-11-23Merge remote-tracking branch 'livepatching/for-next'Stephen Rothwell
2015-11-23Merge remote-tracking branch 'borntraeger/linux-next'Stephen Rothwell
2015-11-23Merge remote-tracking branch 'y2038/y2038'Stephen Rothwell
2015-11-23Merge remote-tracking branch 'llvmlinux/for-next'Stephen Rothwell
2015-11-23Merge remote-tracking branch 'clk/clk-next'Stephen Rothwell
2015-11-23Merge remote-tracking branch 'gpio/for-next'Stephen Rothwell
2015-11-23Merge remote-tracking branch 'vhost/linux-next'Stephen Rothwell
2015-11-23Merge remote-tracking branch 'pinctrl/for-next'Stephen Rothwell
2015-11-23Merge remote-tracking branch 'cgroup/for-next'Stephen Rothwell
2015-11-23Merge remote-tracking branch 'extcon/extcon-next'Stephen Rothwell
2015-11-23Merge remote-tracking branch 'staging/staging-next'Stephen Rothwell
2015-11-23Merge remote-tracking branch 'usb-chipidea-next/ci-for-usb-next'Stephen Rothwell
2015-11-23Merge remote-tracking branch 'usb-serial/usb-next'Stephen Rothwell
2015-11-23Merge remote-tracking branch 'ipmi/for-next'Stephen Rothwell
2015-11-23Merge remote-tracking branch 'leds/for-next'Stephen Rothwell
2015-11-23Merge remote-tracking branch 'hsi/for-next'Stephen Rothwell
2015-11-23Merge remote-tracking branch 'regmap/for-next'Stephen Rothwell
2015-11-23Merge remote-tracking branch 'workqueues/for-next'Stephen Rothwell
2015-11-23Merge remote-tracking branch 'percpu/for-next'Stephen Rothwell
2015-11-23Merge remote-tracking branch 'kvms390/next'Stephen Rothwell
2015-11-23Merge remote-tracking branch 'kvm/linux-next'Stephen Rothwell
2015-11-23Merge remote-tracking branch 'rcu/rcu/next'Stephen Rothwell
2015-11-23Merge remote-tracking branch 'clockevents/clockevents/next'Stephen Rothwell
2015-11-23Merge remote-tracking branch 'tip/auto-latest'Stephen Rothwell
2015-11-23Merge remote-tracking branch 'spi/for-next'Stephen Rothwell
2015-11-23Merge remote-tracking branch 'audit/next'Stephen Rothwell
2015-11-23Merge remote-tracking branch 'jc_docs/docs-next'Stephen Rothwell
2015-11-23Merge remote-tracking branch 'selinux/next'Stephen Rothwell
2015-11-23Merge remote-tracking branch 'security/next'Stephen Rothwell
2015-11-23Merge remote-tracking branch 'regulator/for-next'Stephen Rothwell
2015-11-23Merge remote-tracking branch 'battery/master'Stephen Rothwell
2015-11-23Merge remote-tracking branch 'md/for-next'Stephen Rothwell
2015-11-23Merge remote-tracking branch 'kgdb/kgdb-next'Stephen Rothwell
2015-11-23Merge remote-tracking branch 'mmc-uh/next'Stephen Rothwell
2015-11-23Merge remote-tracking branch 'device-mapper/for-next'Stephen Rothwell
2015-11-23Merge remote-tracking branch 'block/for-next'Stephen Rothwell
2015-11-23Merge remote-tracking branch 'sound-asoc/for-next'Stephen Rothwell
2015-11-23Merge remote-tracking branch 'sound/for-next'Stephen Rothwell
2015-11-23Merge remote-tracking branch 'drm-exynos/exynos-drm/for-next'Stephen Rothwell
2015-11-23Merge remote-tracking branch 'drm-misc/topic/drm-misc'Stephen Rothwell
2015-11-23Merge remote-tracking branch 'drm-intel/for-linux-next'Stephen Rothwell