xref: /freebsd/sys/contrib/device-tree/Bindings/iio/potentiometer/mcp41010.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot* Microchip MCP41010/41050/41100/42010/42050/42100 Digital Potentiometer
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotDatasheet publicly available at:
4*c66ec88fSEmmanuel Vadothttps://ww1.microchip.com/downloads/en/devicedoc/11195c.pdf
5*c66ec88fSEmmanuel Vadot
6*c66ec88fSEmmanuel VadotThe node for this driver must be a child node of a SPI controller, hence
7*c66ec88fSEmmanuel Vadotall mandatory properties described in
8*c66ec88fSEmmanuel Vadot
9*c66ec88fSEmmanuel Vadot        Documentation/devicetree/bindings/spi/spi-bus.txt
10*c66ec88fSEmmanuel Vadot
11*c66ec88fSEmmanuel Vadotmust be specified.
12*c66ec88fSEmmanuel Vadot
13*c66ec88fSEmmanuel VadotRequired properties:
14*c66ec88fSEmmanuel Vadot	- compatible:  	Must be one of the following, depending on the
15*c66ec88fSEmmanuel Vadot			model:
16*c66ec88fSEmmanuel Vadot			"microchip,mcp41010"
17*c66ec88fSEmmanuel Vadot			"microchip,mcp41050"
18*c66ec88fSEmmanuel Vadot			"microchip,mcp41100"
19*c66ec88fSEmmanuel Vadot			"microchip,mcp42010"
20*c66ec88fSEmmanuel Vadot			"microchip,mcp42050"
21*c66ec88fSEmmanuel Vadot			"microchip,mcp42100"
22*c66ec88fSEmmanuel Vadot
23*c66ec88fSEmmanuel VadotExample:
24*c66ec88fSEmmanuel Vadotpotentiometer@0 {
25*c66ec88fSEmmanuel Vadot	compatible = "microchip,mcp41010";
26*c66ec88fSEmmanuel Vadot	reg = <0>;
27*c66ec88fSEmmanuel Vadot	spi-max-frequency = <500000>;
28*c66ec88fSEmmanuel Vadot};
29