forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-06 d38611ca164021d018c1b23eee65bbebc09c63e0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Maxim thermocouple support
 
* https://datasheets.maximintegrated.com/en/ds/MAX6675.pdf
* https://datasheets.maximintegrated.com/en/ds/MAX31855.pdf
 
Required properties:
 
   - compatible: must be "maxim,max6675" or one of the following:
      "maxim,max31855k", "maxim,max31855j", "maxim,max31855n",
      "maxim,max31855s", "maxim,max31855t", "maxim,max31855e",
      "maxim,max31855r"; the generic "max,max31855" is deprecated.
   - reg: SPI chip select number for the device
   - spi-max-frequency: must be 4300000
   - spi-cpha: must be defined for max6675 to enable SPI mode 1
 
   Refer to spi/spi-bus.txt for generic SPI slave bindings.
 
Example:
 
   max31855@0 {
       compatible = "maxim,max31855k";
       reg = <0>;
       spi-max-frequency = <4300000>;
   };