Lines Matching +full:device +full:- +full:width
31 .Nd SPI generic I/O device driver
36 .Bd -ragged -offset indent
37 .Cd "device spi"
38 .Cd "device spibus"
39 .Cd "device spigen"
45 .Bd -literal -offset indent
51 driver provides direct access to a slave device on the SPI bus.
54 device is associated with a single chip-select
56 with that chip-select line asserted.
58 SPI data transfers are inherently bi-directional; there are no separate
60 When commands and data are sent to a device, data also comes back from
61 the device, although in some cases the data may not be useful (or even
64 of the operation is sent to (and typically ignored by) the device, with each
71 driver provides access to the SPI slave device with the following
75 .Bl -tag -width indent
77 Transfer a command and optional associated data to/from the device,
83 .Bd -literal
90 Transfer a command and optional associated data to/from the device.
91 The buffers for the transfer are a previously-mmap'd region.
100 is non-zero, the data appears in the memory region immediately
104 .Bd -literal
112 when communicating with this slave device.
115 when communicating with this slave device.
119 of the SPI bus controller device.
122 when communicating with this device.
125 when communicating with this device.
131 .Xr device.hints 5
136 .Bl -tag -width indent
142 The maximum bus frequency to use when communicating with this device.
146 The chip-select number to assert when performing I/O for this device.
149 The SPI mode (0-3) to use when communicating with this device.
154 based system, the spigen device is defined as a slave device subnode
160 device.
161 The most commonly-used ones are documented below.
165 device subnode:
166 .Bl -tag -width indent
170 Chip select address of device.
171 .It Va spi-max-frequency
172 The maximum bus frequency to use when communicating with this slave device.
179 device subnode:
180 .Bl -tag -width indent
181 .It Va spi-cpha
182 Empty property indicating the slave device requires shifted clock
184 .It Va spi-cpol
185 Empty property indicating the slave device requires inverse clock
187 .It Va spi-cs-high
188 Empty property indicating the slave device requires chip select active high.
191 .Bl -tag -width -compact
196 .Xr device.hints 5 ,