ltc2632.txt 1014 B

12345678910111213141516171819202122232425262728293031323334353637
  1. Linear Technology LTC2632 DAC device driver
  2. Required properties:
  3. - compatible: Has to contain one of the following:
  4. lltc,ltc2632-l12
  5. lltc,ltc2632-l10
  6. lltc,ltc2632-l8
  7. lltc,ltc2632-h12
  8. lltc,ltc2632-h10
  9. lltc,ltc2632-h8
  10. Property rules described in Documentation/devicetree/bindings/spi/spi-bus.txt
  11. apply. In particular, "reg" and "spi-max-frequency" properties must be given.
  12. Optional properties:
  13. - vref-supply: Phandle to the external reference voltage supply. This should
  14. only be set if there is an external reference voltage connected to the VREF
  15. pin. If the property is not set the internal reference is used.
  16. Example:
  17. vref: regulator-vref {
  18. compatible = "regulator-fixed";
  19. regulator-name = "vref-ltc2632";
  20. regulator-min-microvolt = <1250000>;
  21. regulator-max-microvolt = <1250000>;
  22. regulator-always-on;
  23. };
  24. spi_master {
  25. dac: ltc2632@0 {
  26. compatible = "lltc,ltc2632-l12";
  27. reg = <0>; /* CS0 */
  28. spi-max-frequency = <1000000>;
  29. vref-supply = <&vref>; /* optional */
  30. };
  31. };