Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
24 lines
705 B
Plaintext
24 lines
705 B
Plaintext
Analog Devices AD7303 DAC device driver
|
|
|
|
Required properties:
|
|
- compatible: Must be "adi,ad7303"
|
|
- reg: SPI chip select number for the device
|
|
- spi-max-frequency: Max SPI frequency to use (< 30000000)
|
|
- Vdd-supply: Phandle to the Vdd power supply
|
|
|
|
Optional properties:
|
|
- REF-supply: Phandle to the external reference voltage supply. This should
|
|
only be set if there is an external reference voltage connected to the REF
|
|
pin. If the property is not set Vdd/2 is used as the reference voltage.
|
|
|
|
Example:
|
|
|
|
ad7303@4 {
|
|
compatible = "adi,ad7303";
|
|
reg = <4>;
|
|
spi-max-frequency = <10000000>;
|
|
Vdd-supply = <&vdd_supply>;
|
|
adi,use-external-reference;
|
|
REF-supply = <&vref_supply>;
|
|
};
|