Linux sensor drivers for ROHM / Kionix™ sensors
This project is maintained by RohmSemiconductor
Kionix™ is a trademark or a registered trademark of ROHM Co., Ltd.
The ROHM BD79104 ADC is a 8-channel, 12-bit ADC which is controlled over SPI.
The ROHM Finland SWDC has created a Linux driver in collaboration with the Linux kernel community. Driver is included in the Upstream Linux from v6.16-rc1 onwards.
The driver supports reading the ADC channels via the Linux IIO subsystem. SPI MODE 3 (CPOL=1, CPHA=1) should be used.
IIO (Industrial input/output)
spi {
adc: adc@0 {
compatible = "rohm,bd79104";
reg = <0>;
vdd-supply = <&dummyreg>;
iovdd-supply = <&dummyreg>;
spi-cpha;
spi-cpol;
spi-max-frequency = <20000000>;
};
}