OpenGrok
Cross Reference: scmdspi.c
xref
: /
src
/
sys
/
dev
/
spi
/
scmdspi.c
Home
|
History
|
Annotate
|
Download
|
only in
spi
History log of
/src/sys/dev/spi/scmdspi.c
Revision
Date
Author
Comments
1.7
13-Sep-2025
thorpej
Define and use spi_handle_t to drive home the point that it's an opaque
type.
1.6
12-Sep-2025
thorpej
Support direct configuration via device tree.
1.5
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.4
08-Jul-2025
gutteridge
scmdspi.c: minor spelling and grammar tweaks to comments
1.3
19-Jan-2022
thorpej
branches: 1.3.10;
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.2
19-Jan-2022
thorpej
Probe / match routines should not have side-effects: do the spi_configure()
calls in the attach routines.
1.1
07-Dec-2021
brad
A driver and user land utility for the Sparkfun Serial Controlled Motor
Driver module as illustrated here:
https://www.sparkfun.com/products/13911
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.
1.3.10.1
02-Aug-2025
perseant
Sync with HEAD
Indexes created Mon Sep 29 21:09:56 GMT 2025