The NetBSD Project

CVS log for src/sys/dev/spi/ssdfb_spi.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / dev / spi

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.14 / (download) - annotate - [select for diffs], Wed Jan 19 13:33:49 2022 UTC (2 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored)

Use spi_compatible_lookup().

Revision 1.13 / (download) - annotate - [select for diffs], Wed Jan 19 05:21:44 2022 UTC (2 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.12: +3 -5 lines
Diff to previous 1.12 (colored)

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.

Revision 1.12 / (download) - annotate - [select for diffs], Wed Jan 19 05:05:45 2022 UTC (2 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.11: +15 -14 lines
Diff to previous 1.11 (colored)

Probe / match routines should not have side-effects: do the spi_configure()
calls in the attach routines.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Aug 19 17:50:18 2021 UTC (2 years, 6 months ago) by tnn
Branch: MAIN
Changes since 1.10: +98 -14 lines
Diff to previous 1.10 (colored)

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.

Revision 1.10 / (download) - annotate - [select for diffs], Thu Aug 19 11:04:21 2021 UTC (2 years, 6 months ago) by tnn
Branch: MAIN
Changes since 1.9: +12 -11 lines
Diff to previous 1.9 (colored)

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.

Revision 1.9.2.1 / (download) - annotate - [select for diffs], Mon Aug 9 00:30:09 2021 UTC (2 years, 6 months ago) by thorpej
Branch: thorpej-i2c-spi-conf2
Changes since 1.9: +65 -34 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

Port over the changes from thorpej-i2c-spi-conf to thorpej-i2c-spi-conf2,
which is based on a newer HEAD revision.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Aug 5 19:17:22 2021 UTC (2 years, 6 months ago) by tnn
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base
Branch point for: thorpej-i2c-spi-conf2
Changes since 1.8: +5 -5 lines
Diff to previous 1.8 (colored)

ssdfb: fix some constant names. NFC because the same cmd code is used

Revision 1.8 / (download) - annotate - [select for diffs], Thu Aug 5 19:08:59 2021 UTC (2 years, 6 months ago) by tnn
Branch: MAIN
Changes since 1.7: +100 -16 lines
Diff to previous 1.7 (colored)

ssdfb: support SSD1353 at spi(4)

Revision 1.7 / (download) - annotate - [select for diffs], Tue Aug 3 11:30:25 2021 UTC (2 years, 6 months ago) by tnn
Branch: MAIN
CVS Tags: thorpej-futex2-base, thorpej-futex2
Changes since 1.6: +15 -5 lines
Diff to previous 1.6 (colored)

ssdfb: support having an optional reset pin

Revision 1.5.4.3 / (download) - annotate - [select for diffs], Sun Aug 1 22:42:31 2021 UTC (2 years, 6 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.5.4.2: +25 -16 lines
Diff to previous 1.5.4.2 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored)

Sync with HEAD.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Aug 1 14:56:18 2021 UTC (2 years, 6 months ago) by tnn
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf-base, thorpej-cfargs2-base, thorpej-cfargs2
Changes since 1.5: +34 -10 lines
Diff to previous 1.5 (colored)

ssdfb: support the 4-wire SPI interface

Revision 1.5.4.2 / (download) - annotate - [select for diffs], Wed May 19 14:17:08 2021 UTC (2 years, 9 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.5.4.1: +50 -5 lines
Diff to previous 1.5.4.1 (colored) to branchpoint 1.5 (colored)

If we were attached via FDT, check for a "dc-gpios" property and,
if present, use the specified GPIO pin for 4-wire mode.

Revision 1.5.4.1 / (download) - annotate - [select for diffs], Wed May 19 03:46:26 2021 UTC (2 years, 9 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.5: +15 -14 lines
Diff to previous 1.5 (colored)

match/probe routines should not have side-effects; call spi_configure()
from the attach routine.

Revision 1.3.10.1 / (download) - annotate - [select for diffs], Sat Apr 3 22:28:50 2021 UTC (2 years, 10 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.3: +4 -4 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

Sync with HEAD.

Revision 1.5 / (download) - annotate - [select for diffs], Wed Jan 27 02:32:31 2021 UTC (3 years ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: thorpej-i2c-spi-conf
Changes since 1.4: +3 -4 lines
Diff to previous 1.4 (colored)

Use DEVICE_COMPAT_EOL.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Jan 17 21:42:35 2021 UTC (3 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.3: +5 -4 lines
Diff to previous 1.3 (colored)

Use designated initializers and a consistent termination style in
compat_data[].

Revision 1.3.8.2 / (download) - annotate - [select for diffs], Mon Apr 13 08:04:48 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.3.8.1: +349 -0 lines
Diff to previous 1.3.8.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.3.8.1, Sat Nov 2 22:55:57 2019 UTC (4 years, 3 months ago) by martin
Branch: phil-wifi
Changes since 1.3: +0 -349 lines
FILE REMOVED

file ssdfb_spi.c was added on branch phil-wifi on 2020-04-13 08:04:48 +0000

Revision 1.3 / (download) - annotate - [select for diffs], Sat Nov 2 22:55:57 2019 UTC (4 years, 3 months ago) by tnn
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: thorpej-futex, phil-wifi
Changes since 1.2: +14 -4 lines
Diff to previous 1.2 (colored)

add fdt device_compatible_entry

Revision 1.2 / (download) - annotate - [select for diffs], Sat Nov 2 17:13:20 2019 UTC (4 years, 3 months ago) by tnn
Branch: MAIN
Changes since 1.1: +4 -4 lines
Diff to previous 1.1 (colored)

fix hang when SSDFB_ATTACH_FLAG_CONSOLE used with spi

Revision 1.1 / (download) - annotate - [select for diffs], Sat Nov 2 14:33:27 2019 UTC (4 years, 3 months ago) by tnn
Branch: MAIN

add spi(4) bus frontend for ssdfb(4)

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>