Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
26 lines
775 B
Plaintext
26 lines
775 B
Plaintext
Samsung Sensorhub driver
|
|
|
|
Sensorhub is a MCU which manages several sensors and also plays the role
|
|
of a virtual sensor device.
|
|
|
|
Required properties:
|
|
- compatible: "samsung,sensorhub-rinato" or "samsung,sensorhub-thermostat"
|
|
- spi-max-frequency: max SPI clock frequency
|
|
- interrupt-parent: interrupt parent
|
|
- interrupts: communication interrupt
|
|
- ap-mcu-gpios: [out] ap to sensorhub line - used during communication
|
|
- mcu-ap-gpios: [in] sensorhub to ap - used during communication
|
|
- mcu-reset-gpios: [out] sensorhub reset
|
|
|
|
Example:
|
|
|
|
shub_spi: shub {
|
|
compatible = "samsung,sensorhub-rinato";
|
|
spi-max-frequency = <5000000>;
|
|
interrupt-parent = <&gpx0>;
|
|
interrupts = <2 0>;
|
|
ap-mcu-gpios = <&gpx0 0 0>;
|
|
mcu-ap-gpios = <&gpx0 4 0>;
|
|
mcu-reset-gpios = <&gpx0 5 0>;
|
|
};
|