Linux sensor drivers for ROHM / Kionix sensors
This project is maintained by RohmSemiconductor
The original BU27034NUC sensor was redesigned. The new sensor is BU27034ANUC.
The ROHM BU27034ANUC is a digital Ambient Light Sensor IC with I²C bus interface. This IC can be used for obtaining ambient light data for example for adjusting LCD and backlight power of TV and mobile phone. It is capable of detecting a very wide range of illuminance.
The old BU27034NUC upstream driver code was re-written to support the new BU27034ANUC variant. The patches converting the old driver to work with the new sensor variant were first merged in the Linux v6.12-rc1 in the Linux tree. Please note that the old upstream device driver is not working with the new sensor. Also, the new driver will not work with the old sensor. The device-tree compatible was also changed to reflect this. Changes are expected to be officially relased at Linux v6.12.
i2c {
#address-cells = <1>;
#size-cells = <0>;
sensor@38 {
compatible = rohm,bu27034anuc;
reg = <0x38>;
vdd-supply = <&vdd>;
};
};
Where,
See the binding document for more information.
Please use the regular upstream maintenance information for support. The maintenance information can be found from the linux MAINTAINERS file. You can read the MAINTAINERS manually or use the get_maintainer.pl
We strongly recommend using the latest upstream version of the driver as plenty of fixes are done to the drivers by the Linux kernel community and there is no database for all known issues. Issues spotted by us during development (like adding support for new hardware or improving feature coverage) may have been reported to the issue tracker.
Information below concerns the old BU27034NUC and is obsolete. It is here only to show the differencies for those who might have obtained the old device driver.
ROHM BU27034 Ambient Light Sensor
ROHM BU27034 is an ambient light sesnor with 3 channels and 3 photo diodes capable of detecting a very wide range of illuminance. Typical application is adjusting LCD and backlight power of TVs and mobile phones.
BU27034 supports very large scale of gain settings from 1x up-to 4096x. Additionally the measurement time can be adjusted.
Data sheet is available.
Linux
The ROHM Finland SWDC has created an IIO driver in collaboration with the Linux kernel community. Driver is merged to the upstream Linux v6.4.