OpenGrok
Cross Reference: ssdfb_spi.c
xref
: /
src
/
sys
/
dev
/
spi
/
ssdfb_spi.c
Home
|
History
|
Annotate
|
Download
|
only in
spi
History log of
/src/sys/dev/spi/ssdfb_spi.c
Revision
Date
Author
Comments
1.18
13-Sep-2025
thorpej
Define and use spi_handle_t to drive home the point that it's an opaque
type.
1.17
11-Sep-2025
thorpej
Use spi_use_direct_match().
1.16
10-Sep-2025
thorpej
Don't pass a "cookie" in the attach args to SPI devices. Instead,
properly initialize the child device's device handle. G/C unused
fields in spi_attach_args.
1.15
10-Sep-2025
thorpej
Use speed calculation helper macros. This actally fixes tmp121, where
comment did not match code (comment was correct, confirmed against
data sheet).
1.14
19-Jan-2022
thorpej
Use spi_compatible_lookup().
1.13
19-Jan-2022
thorpej
Pass the device_t into spi_configure(), and make the API contract that
spi_configure() will print errors if they occur; the driver is off the
hook.
1.12
19-Jan-2022
thorpej
Probe / match routines should not have side-effects: do the spi_configure()
calls in the attach routines.
1.11
19-Aug-2021
tnn
ssdfb: add support for SSD1306 and SH1106 at spi attachment
Only support the 4-wire mode for now. Support for 3-wire mode is
theoretically possible but most (all?) modules in circulation have the
BS0 / IM0 3-wire config pin internally grounded within the flat-flex
assembly so it is not easy to enable & test.
1.10
19-Aug-2021
tnn
ssdfb_spi: fix issues with command xfers needed for SSD1306 & SH1106
These controllers require D/C# to be deasserted for the entire duration
of the command, contrary to docs and how newer controllers like SSD1353
behave. Probably this is needed for all controllers that do not have the
WRITE_RAM (0x5c) command. Also support using alternate padding commands
for 3-wire mode when WRITE_RAM is not available.
1.9
05-Aug-2021
tnn
branches: 1.9.2;
ssdfb: fix some constant names. NFC because the same cmd code is used
1.8
05-Aug-2021
tnn
ssdfb: support SSD1353 at spi(4)
1.7
03-Aug-2021
tnn
ssdfb: support having an optional reset pin
1.6
01-Aug-2021
tnn
ssdfb: support the 4-wire SPI interface
1.5
27-Jan-2021
thorpej
branches: 1.5.4;
Use DEVICE_COMPAT_EOL.
1.4
17-Jan-2021
thorpej
Use designated initializers and a consistent termination style in
compat_data[].
1.3
02-Nov-2019
tnn
branches: 1.3.8; 1.3.10;
add fdt device_compatible_entry
1.2
02-Nov-2019
tnn
fix hang when SSDFB_ATTACH_FLAG_CONSOLE used with spi
1.1
02-Nov-2019
tnn
add spi(4) bus frontend for ssdfb(4)
1.3.10.1
03-Apr-2021
thorpej
Sync with HEAD.
1.3.8.2
13-Apr-2020
martin
Mostly merge changes from HEAD upto 20200411
1.3.8.1
02-Nov-2019
martin
file ssdfb_spi.c was added on branch phil-wifi on 2020-04-13 08:04:48 +0000
1.5.4.3
01-Aug-2021
thorpej
Sync with HEAD.
1.5.4.2
19-May-2021
thorpej
If we were attached via FDT, check for a "dc-gpios" property and,
if present, use the specified GPIO pin for 4-wire mode.
1.5.4.1
19-May-2021
thorpej
match/probe routines should not have side-effects; call spi_configure()
from the attach routine.
1.9.2.1
09-Aug-2021
thorpej
Port over the changes from thorpej-i2c-spi-conf to thorpej-i2c-spi-conf2,
which is based on a newer HEAD revision.
Indexes created Tue Sep 30 11:09:46 GMT 2025