mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 02:55:11 +07:00
e0950d3b9e
This patch adds the ABI documentation for the add_trigger attribute, which is provided by the iio-trig-sysfs stand-alone driver. Signed-off-by: Cristina Opriceana <cristina.opriceana@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
32 lines
1.4 KiB
Plaintext
32 lines
1.4 KiB
Plaintext
What: /sys/bus/iio/devices/triggerX/trigger_now
|
|
KernelVersion: 2.6.38
|
|
Contact: linux-iio@vger.kernel.org
|
|
Description:
|
|
This file is provided by the iio-trig-sysfs stand-alone trigger
|
|
driver. Writing this file with any value triggers an event
|
|
driven driver, associated with this trigger, to capture data
|
|
into an in kernel buffer. This approach can be valuable during
|
|
automated testing or in situations, where other trigger methods
|
|
are not applicable. For example no RTC or spare GPIOs.
|
|
X is the IIO index of the trigger.
|
|
|
|
What: /sys/bus/iio/devices/triggerX/name
|
|
KernelVersion: 2.6.39
|
|
Contact: linux-iio@vger.kernel.org
|
|
Description:
|
|
The name attribute holds a description string for the current
|
|
trigger. In order to associate the trigger with an IIO device
|
|
one should write this name string to
|
|
/sys/bus/iio/devices/iio:deviceY/trigger/current_trigger.
|
|
|
|
What: /sys/bus/iio/devices/iio_sysfs_trigger/add_trigger
|
|
KernelVersion: 2.6.39
|
|
Contact: linux-iio@vger.kernel.org
|
|
Description:
|
|
This attribute is provided by the iio-trig-sysfs stand-alone
|
|
driver and it is used to activate the creation of a new trigger.
|
|
In order to achieve this, one should write a positive integer
|
|
into the associated file, which will serve as the id of the
|
|
trigger. If the trigger with the specified id is already present
|
|
in the system, an invalid argument message will be returned.
|