coreboot/src/drivers/i2c
Sean Rhodes bba6a21625 i2c/drivers/generic: Add support for including a rotation matrix
The Rotation Matrix allows the specification of a 3x3 matrix
representing the orientation of devices, such as accelerometers.
Each value in the matrix can be one of -1, 0, or 1, indicating the
transformation applied to the device's axes.

It is expected by Linux and required for the OS to interpret
the data from the device correctly. It is used by various drivers,
mainly in `iio/accel`.

It was tested on Ubuntu, by rotating the device and verifying the
orientation was correct.

Signed-off-by: Sean Rhodes <sean@starlabs.systems>
Change-Id: Id4a940d999a0e300a6fe21269f18bab6e3c0523c
Reviewed-on: https://review.coreboot.org/c/coreboot/+/80179
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
2024-02-21 19:56:56 +00:00
..
at24rf08c drivers: Add SPDX license headers to Kconfig files 2024-02-18 01:59:32 +00:00
ck505 drivers: Add SPDX license headers to Kconfig files 2024-02-18 01:59:32 +00:00
cs35l53 drivers: Add SPDX license headers to Kconfig files 2024-02-18 01:59:32 +00:00
cs42l42 drivers: Add SPDX license headers to Kconfig files 2024-02-18 01:59:32 +00:00
da7219 drivers: Add SPDX license headers to Kconfig files 2024-02-18 01:59:32 +00:00
designware drivers: Add SPDX license headers to Kconfig files 2024-02-18 01:59:32 +00:00
generic i2c/drivers/generic: Add support for including a rotation matrix 2024-02-21 19:56:56 +00:00
gpiomux drivers: Add SPDX license headers to Kconfig files 2024-02-18 01:59:32 +00:00
hid drivers: Add SPDX license headers to Kconfig files 2024-02-18 01:59:32 +00:00
lm96000 drivers: Add SPDX license headers to Kconfig files 2024-02-18 01:59:32 +00:00
max98373 drivers: Add SPDX license headers to Kconfig files 2024-02-18 01:59:32 +00:00
max98390 drivers: Add SPDX license headers to Kconfig files 2024-02-18 01:59:32 +00:00
max98396 drivers: Add SPDX license headers to Kconfig files 2024-02-18 01:59:32 +00:00
max98927 drivers: Add SPDX license headers to Kconfig files 2024-02-18 01:59:32 +00:00
nau8825 drivers: Add SPDX license headers to Kconfig files 2024-02-18 01:59:32 +00:00
nct7802y drivers: Add SPDX license headers to Kconfig files 2024-02-18 01:59:32 +00:00
pca9538 drivers: Add SPDX license headers to Kconfig files 2024-02-18 01:59:32 +00:00
pcf8523 include/device/device.h: Remove CHIP_NAME() macro 2024-01-31 09:51:58 +00:00
pi608gp drivers: Add SPDX license headers to Kconfig files 2024-02-18 01:59:32 +00:00
ptn3460 drivers: Add SPDX license headers to Kconfig files 2024-02-18 01:59:32 +00:00
rt1011 drivers: Add SPDX license headers to Kconfig files 2024-02-18 01:59:32 +00:00
rt5663 drivers: Add SPDX license headers to Kconfig files 2024-02-18 01:59:32 +00:00
rtd2132 drivers: Add SPDX license headers to Kconfig files 2024-02-18 01:59:32 +00:00
rv3028c7 drivers: Add SPDX license headers to Kconfig files 2024-02-18 01:59:32 +00:00
rx6110sa drivers: Add SPDX license headers to Kconfig files 2024-02-18 01:59:32 +00:00
sx9310 drivers: Add SPDX license headers to Kconfig files 2024-02-18 01:59:32 +00:00
sx9324 drivers: Add SPDX license headers to Kconfig files 2024-02-18 01:59:32 +00:00
sx9360 drivers: Add SPDX license headers to Kconfig files 2024-02-18 01:59:32 +00:00
tas5825m drivers: Add SPDX license headers to Kconfig files 2024-02-18 01:59:32 +00:00
tpm drivers: Add SPDX license headers to Kconfig files 2024-02-18 01:59:32 +00:00
ww_ring drivers: Add SPDX license headers to Kconfig files 2024-02-18 01:59:32 +00:00