1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/iio/adc/microchip,mcp3564.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Microchip MCP346X and MCP356X ADC Family
10 - Marius Cristea <marius.cristea@microchip.com>
13 Bindings for the Microchip family of 153.6 ksps, Low-Noise 16/24-Bit
14 Delta-Sigma ADCs with an SPI interface. Datasheet can be found here:
15 Datasheet for MCP3561, MCP3562, MCP3564 can be found here:
16 https://ww1.microchip.com/downloads/aemDocuments/documents/MSLD/ProductDocuments/DataSheets/MCP3561-2-4-Family-Data-Sheet-DS20006181C.pdf
17 Datasheet for MCP3561R, MCP3562R, MCP3564R can be found here:
18 https://ww1.microchip.com/downloads/aemDocuments/documents/APID/ProductDocuments/DataSheets/MCP3561_2_4R-Data-Sheet-DS200006391C.pdf
19 Datasheet for MCP3461, MCP3462, MCP3464 can be found here:
20 https://ww1.microchip.com/downloads/aemDocuments/documents/APID/ProductDocuments/DataSheets/MCP3461-2-4-Two-Four-Eight-Channel-153.6-ksps-Low-Noise-16-Bit-Delta-Sigma-ADC-Data-Sheet-20006180D.pdf
21 Datasheet for MCP3461R, MCP3462R, MCP3464R can be found here:
22 https://ww1.microchip.com/downloads/aemDocuments/documents/APID/ProductDocuments/DataSheets/MCP3461-2-4R-Family-Data-Sheet-DS20006404C.pdf
56 Phandle and clock identifier for external sampling clock.
57 If not specified, the internal crystal oscillator will be used.
61 description: IRQ line of the ADC
66 Whether to drive the IRQ signal as push-pull (default) or open-drain. Note
67 that the device requires this pin to become "high", otherwise it will stop
73 Some devices have a specific reference voltage supplied on a different
74 pin to the other supplies. Needed to be able to establish channel scaling
75 unless there is also an internal reference available (e.g. mcp3564r). In
76 case of "r" devices (e. g. mcp3564r), if it does not exists the internal
77 reference will be used.
79 microchip,hw-device-address:
80 $ref: /schemas/types.yaml#/definitions/uint32
84 The address is set on a per-device basis by fuses in the factory,
85 configured on request. If not requested, the fuses are set for 0x1.
86 The device address is part of the device markings to avoid
87 potential confusion. This address is coded on two bits, so four possible
88 addresses are available when multiple devices are present on the same
89 SPI bus with only one Chip Select line for all devices.
90 Each device communication starts by a CS falling edge, followed by the
91 clocking of the device address (BITS[7:6] - top two bits of COMMAND BYTE
92 which is first one on the wire).
104 "^channel@([0-9]|([1-7][0-9]))$":
107 unevaluatedProperties: false
108 description: Represents the external channels which are connected to the ADC.
112 description: The channel number in single-ended and differential mode.
120 spi-cpol: [ spi-cpha ]
121 spi-cpha: [ spi-cpol ]
126 - microchip,hw-device-address
130 - $ref: /schemas/spi/spi-peripheral-props.yaml#
131 - # External vref, no internal reference
147 unevaluatedProperties: false
152 #address-cells = <1>;
156 compatible = "microchip,mcp3564r";
158 vref-supply = <&vref_reg>;
161 spi-max-frequency = <10000000>;
162 microchip,hw-device-address = <1>;
164 #address-cells = <1>;
184 diff-channels = <0 1>;
192 diff-channels = <1 2>;
200 diff-channels = <1 3>;