Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d9a3066e authored by tdk-opensource's avatar tdk-opensource
Browse files

Preparation for TDK-Robotics-RB5-0.1-test2

Reorganize drivers content
Add binding file for temperature

-------------------------------
sweng.robotics_tbx: 0.0.1-test2 (74d8777)
parent 52bc9fbd
Loading
Loading
Loading
Loading
+21 −0
Original line number Diff line number Diff line
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";
        };
Loading