History log of /netbsd/sys/dev/i2c/files.i2c (Results 1 – 25 of 126)
Revision Date Author Comments
# 02b8954f 03-Dec-2022 brad <brad@NetBSD.org>

Split the BMP280 / BME280 driver into common code and create I2C and
SPI attachments.


# b73c2b02 21-Nov-2022 brad <brad@NetBSD.org>

A driver for the Bosch BMP280 / BME280 temperature, humidity and
atmospheric pressure sensor. This is an inexpensive to moderately
expensive chip available from a large number of places. The driver

A driver for the Bosch BMP280 / BME280 temperature, humidity and
atmospheric pressure sensor. This is an inexpensive to moderately
expensive chip available from a large number of places. The driver
supports all aspects of the two chips, except for the repeating read
mode which would allow for sub-second queries, such as fall detection
or perhaps even as an altimeter. This driver also only supports the
I2C interface and not the SPI interface.

The BME280, the one with humidity, is not fully tested at this point,
awaiting upon a breakout board and may not show proper humidity.

show more ...


# b7c902e3 17-Nov-2022 brad <brad@NetBSD.org>

A driver for the Aosong AHT20 temperature and humidity sensor. While
slow for an I2C sensor it is inexpensive and should work well enough
in most indoor conditions. All features of the chip are sup

A driver for the Aosong AHT20 temperature and humidity sensor. While
slow for an I2C sensor it is inexpensive and should work well enough
in most indoor conditions. All features of the chip are supported.

show more ...


# 54a6d68a 20-Jul-2022 riastradh <riastradh@NetBSD.org>

drm: Use CPPFLAGS.drmkms in all local drm drivers too.

This way we don't pollute the NetBSD kernel namespace with all the
Linux compat shim definitions needed to build drm, except for the
local drm

drm: Use CPPFLAGS.drmkms in all local drm drivers too.

This way we don't pollute the NetBSD kernel namespace with all the
Linux compat shim definitions needed to build drm, except for the
local drm drivers that need the API.

show more ...


# 4ee342ad 17-Jan-2022 thorpej <thorpej@NetBSD.org>

Re-factor and overhaul the "mcp23s17gpio" driver as "mcpgpio", and
add support for 8-bit and I2C variants of the chip:
- MCP23008 / MCP23S08: 8-bit (I2C / SPI)
- MCP23017 / MCP23S17: 16-bit (I2C / SP

Re-factor and overhaul the "mcp23s17gpio" driver as "mcpgpio", and
add support for 8-bit and I2C variants of the chip:
- MCP23008 / MCP23S08: 8-bit (I2C / SPI)
- MCP23017 / MCP23S17: 16-bit (I2C / SPI)
- MCP23018 / MCP23S18: 16-bit (I2C / SPI), open-drain outputs

The MCP23x17 and MCP23x18 are essentially identical, software-wise; we
merely report different GPIO pin capabilities (no push-pull output for
MCP23x18). Also, remove the tri-state capability that was previously
advertised by the old version of this driver; these chips have no way
to put the pin into a HI-Z mode.

All 3 I2C versions are supported, but the SPI front-end still only
supports the MCP23S17 for now (SPI autoconfiguration needs an overhaul).

mcp23s17gpio(4) remains present as a link to the new mcpgpio(4) man page.

XXX Still to-do: FDT integration, interrupt suppoort.

show more ...


# cd1f8754 27-Dec-2021 andvar <andvar@NetBSD.org>

fix few typos in comments.


# 32757b83 07-Dec-2021 brad <brad@NetBSD.org>

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

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.

show more ...


# 1eab033c 06-Nov-2021 brad <brad@NetBSD.org>

Driver for the Sensirion SHT30/SHT31/SHT35 temperature and humidity
sensor such as:

https://www.adafruit.com/product/2857

This is a higher priced sensor with a lot of features, including the
abilit

Driver for the Sensirion SHT30/SHT31/SHT35 temperature and humidity
sensor such as:

https://www.adafruit.com/product/2857

This is a higher priced sensor with a lot of features, including the
ability to do sub-second periodic updates. The driver supports
everything about the sensor except for the alert pin.

show more ...


# 14fbe9c5 14-Oct-2021 brad <brad@NetBSD.org>

A driver for the Sensirion SGP40 MOx gas sensor. An example of this
chip from Adafruit is:

https://www.adafruit.com/product/4829

This is a moderately priced gas sensor that can detect volatile
org

A driver for the Sensirion SGP40 MOx gas sensor. An example of this
chip from Adafruit is:

https://www.adafruit.com/product/4829

This is a moderately priced gas sensor that can detect volatile
organic compounds in the air. The driver uses the 3-clause BSD
licensed VOC algorithm provided by Sensirion to turn the raw sensor
metric into a VOC index which can indicate the quality of the air in a
particular indoor environment. All published functions of the chip
are supported and one unpublished feature.

show more ...


# df58d621 03-Oct-2021 brad <brad@NetBSD.org>

A driver for the Sensirion SHT40/SHT41/SHT45 temperature and humidity
sensor. An example of this chip is:

https://www.adafruit.com/product/4885

This is a lower cost chip that provides higher then

A driver for the Sensirion SHT40/SHT41/SHT45 temperature and humidity
sensor. An example of this chip is:

https://www.adafruit.com/product/4885

This is a lower cost chip that provides higher then usual precision
according to the data sheet. This driver supports all of the published
functions that the chip has.

show more ...


# 07c60429 27-Jul-2021 macallan <macallan@NetBSD.org>

move the fcu driver into arch/macppc where it belongs


# 5b31d1ce 04-Jan-2021 thorpej <thorpej@NetBSD.org>

Rename tsl256x.c -> tsllux.c. No other changes are made by this commit.


# 29236910 29-Dec-2020 thorpej <thorpej@NetBSD.org>

Add a driver for NXP PCA954x / PCA984x I2C switch / mux controllers.


# 7e6654fd 28-Dec-2020 thorpej <thorpej@NetBSD.org>

Re-factor the "iicmux" driver to support other types of muxes that are
themselves i2c devices.


# fdd965bd 29-Oct-2020 jdc <jdc@NetBSD.org>

Add a driver for the PCF8574 I/O expander, used as a GPIO in some sparc64
hardware.
The driver currently handles pins configured as LED or INDICATOR and adds
them to the LED and sysmon_envsys subsyst

Add a driver for the PCF8574 I/O expander, used as a GPIO in some sparc64
hardware.
The driver currently handles pins configured as LED or INDICATOR and adds
them to the LED and sysmon_envsys subsystems, respectively.

show more ...


# b34bb4d8 24-Apr-2020 macallan <macallan@NetBSD.org>

a very preliminary driver for the acclerometer found in later *Books
register definitions from OpenBSD


# 7b52ccf2 02-Feb-2020 macallan <macallan@NetBSD.org>

attach LEDs according to info passed as device properties


# bdfdd3fd 29-Jan-2020 macallan <macallan@NetBSD.org>

the beginning of a driver for Philips Semiconductors PCA 9555 and 9556
GPIO controllers, found in Sun Fire v210 and some G5 macs.
Only prints configuration and line status so far.


# 724219aa 12-Jan-2020 thorpej <thorpej@NetBSD.org>

Clean up gttwsi's register access stuff:
- Garbage-collect the obsolete GTTWSI_ALLWINNER option; it hasn't been
needed since FDT'ization of the Allwinner support code.
- Redefine thw "TWSI_*" regis

Clean up gttwsi's register access stuff:
- Garbage-collect the obsolete GTTWSI_ALLWINNER option; it hasn't been
needed since FDT'ization of the Allwinner support code.
- Redefine thw "TWSI_*" register definitions to clearly call out:
-> The Marvell flavor of the offsets
-> The Allwinner flavor of the offsets
...and make the regular definitions indices into a register map.
- Pass the appropriate register map from the front-end to the core.
- Remove the customer register read/write callbacks -- they are no longer
needed now that each front-end passes an appropriate register map to
the core.

show more ...


# 0f42a4ad 03-Jan-2020 jmcneill <jmcneill@NetBSD.org>

Add driver for CellWise CW2015 Fuel Gauge IC.


# 87360bed 03-Jan-2020 thorpej <thorpej@NetBSD.org>

Eliminate all of the #ifdefs for the "strtc" driver. Define model
properties (similar to what the "dsrtc" driver does), and provide
DT compat strings corresponding to those models. Allow config fla

Eliminate all of the #ifdefs for the "strtc" driver. Define model
properties (similar to what the "dsrtc" driver does), and provide
DT compat strings corresponding to those models. Allow config flags
to specify the model for non-FDT platforms (also like "dsrtc").

show more ...


# 56bcc550 02-Jan-2020 jmcneill <jmcneill@NetBSD.org>

Add driver for Everest Semi ES8316 Low Power Audio CODEC


# 943db82c 03-Nov-2019 jmcneill <jmcneill@NetBSD.org>

Add driver for NXP TDA19988 HDMI encoder


# 5e9ce91e 01-Nov-2019 jmcneill <jmcneill@NetBSD.org>

Remove tps65950pm (hardware now supported by twl4030.c)


# 257c244c 30-Oct-2019 jmcneill <jmcneill@NetBSD.org>

Add driver for TI TWL4030 Power Management IC


123456