14538c185SLars-Peter ClausenWhat:		/sys/bus/iio/devices/iio:deviceX/buffer/length_align_bytes
24538c185SLars-Peter ClausenKernelVersion:	5.4
34538c185SLars-Peter ClausenContact:	linux-iio@vger.kernel.org
44538c185SLars-Peter ClausenDescription:
54538c185SLars-Peter Clausen		DMA buffers tend to have a alignment requirement for the
64538c185SLars-Peter Clausen		buffers. If this alignment requirement is not met samples might
74538c185SLars-Peter Clausen		be dropped from the buffer.
84538c185SLars-Peter Clausen
94538c185SLars-Peter Clausen		This property reports the alignment requirements in bytes.
104538c185SLars-Peter Clausen		This means that the buffer size in bytes needs to be a integer
114538c185SLars-Peter Clausen		multiple of the number reported by this file.
124538c185SLars-Peter Clausen
134538c185SLars-Peter Clausen		The alignment requirements in number of sample sets will depend
144538c185SLars-Peter Clausen		on the enabled channels and the bytes per channel. This means
154538c185SLars-Peter Clausen		that the alignment requirement in samples sets might change
164538c185SLars-Peter Clausen		depending on which and how many channels are enabled. Whereas
174538c185SLars-Peter Clausen		the alignment requirement reported in bytes by this property
184538c185SLars-Peter Clausen		will remain static and does not depend on which channels are
194538c185SLars-Peter Clausen		enabled.
20