mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-01 11:24:25 +08:00
3922f930de
Now the maxim_thermocouple has new, more specific, 'compatible' strings for better distinguish the various supported chips. This patch updates the DT bindings documentation accordingly Cc: Hartmut Knaack <knaack.h@gmx.de> Cc: Lars-Peter Clausen <lars@metafoo.de> Cc: Peter Meerwald-Stadler <pmeerw@pmeerw.net> Cc: Colin Ian King <colin.king@canonical.com> Cc: Patrick Havelange <patrick.havelange@essensium.com> Cc: Matt Weber <matthew.weber@rockwellcollins.com> Cc: Matt Ranostay <matt.ranostay@konsulko.com> Cc: Chuhong Yuan <hslester96@gmail.com> Cc: Daniel Gomez <dagmcr@gmail.com> Cc: linux-iio@vger.kernel.org Cc: Rob Herring <robh+dt@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: devicetree@vger.kernel.org Signed-off-by: Andrea Merello <andrea.merello@gmail.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
25 lines
735 B
Plaintext
25 lines
735 B
Plaintext
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>;
|
|
};
|