Preparation for TDK-Robotics-RB5-0.1-test2

Reorganize drivers content
Add binding file for temperature

-------------------------------
sweng.robotics_tbx: 0.0.1-test2 (74d8777)
This commit is contained in:
tdk-opensource
2021-01-22 16:57:07 +01:00
parent 52bc9fbde0
commit d9a3066eb1
50 changed files with 21 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
TDK/InvenSense temperature sensor
Required properties:
- compatible : "tdktherm"
- reg : chip select ID
- spi-max-frequency: support up to 24Mhz.
- rtc_rst-gpios: rtc reset
- spi-cpol: SPI mode
- spi-cpha: SPI mode
Example:
temp_sensor@0 {
compatible = "tdktherm";
reg = <0>; // Chip select ID
spi-max-frequency = <10000000>; // Can support up to 24 MHz
spi-cpol;
spi-cpha;
status = "okay";
};