The NetBSD Project

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

[BACK] Up to [] / src / sys / dev / spi

Request diff between arbitrary revisions

Default branch: MAIN

Revision 1.3 / (download) - annotate - [select for diffs], Wed Jan 19 05:21:44 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-RC5, 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.2: +3 -5 lines
Diff to previous 1.2 (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

Revision 1.2 / (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.1: +11 -6 lines
Diff to previous 1.1 (colored)

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

Revision 1.1 / (download) - annotate - [select for diffs], Tue Dec 7 17:39:54 2021 UTC (2 years, 2 months ago) by brad
Branch: MAIN

A driver and user land utility for the Sparkfun Serial Controlled Motor
Driver module as illustrated here:

A SCMD module is a ARM SOC simular to a Arduino in front of a motor
driver chip.  The single SCMD module can control two motors and up to
16 additional modules can be chained together using an internal I2C
bus.  One can interface with the SCMD using tty uart commands, SPI or
I2C.  The driver in this commit adds a kernel driver for the I2C and
SPI interfaces.  The command line utility provides a set of
convenience commands that support most of the functions of the SCMD
and is able to use the tty uart mode, SPI user land or the included
kernel driver in a uniform manor.

The use of the SCMD module is mostly for small robots and the like,
but it can control anything that is controllable by voltage.

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 <>