Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: 2ef96a5bb12be62ef75b5828c0aab838ebb29cb8 authored by Linus Torvalds on 10 May 2020, 22:16:58 UTC
Linux 5.7-rc5
Tip revision: 2ef96a5
ltc2632.txt
Linear Technology LTC2632/2636 DAC

Required properties:
 - compatible: Has to contain one of the following:
	lltc,ltc2632-l12
	lltc,ltc2632-l10
	lltc,ltc2632-l8
	lltc,ltc2632-h12
	lltc,ltc2632-h10
	lltc,ltc2632-h8
	lltc,ltc2636-l12
	lltc,ltc2636-l10
	lltc,ltc2636-l8
	lltc,ltc2636-h12
	lltc,ltc2636-h10
	lltc,ltc2636-h8

Property rules described in Documentation/devicetree/bindings/spi/spi-bus.txt
apply. In particular, "reg" and "spi-max-frequency" properties must be given.

Optional properties:
	- vref-supply: Phandle to the external reference voltage supply. This should
	  only be set if there is an external reference voltage connected to the VREF
	  pin. If the property is not set the internal reference is used.

Example:

	vref: regulator-vref {
		compatible = "regulator-fixed";
		regulator-name = "vref-ltc2632";
		regulator-min-microvolt = <1250000>;
		regulator-max-microvolt = <1250000>;
		regulator-always-on;
	};

	spi_master {
		dac: ltc2632@0 {
			compatible = "lltc,ltc2632-l12";
			reg = <0>; /* CS0 */
			spi-max-frequency = <1000000>;
			vref-supply = <&vref>; /* optional */
		};
	};
back to top