mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-18 05:16:35 +07:00
caeffabc36
As most of the other ADC the lpc32xx one use a vref-supply property: document it. Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
22 lines
532 B
Plaintext
22 lines
532 B
Plaintext
* NXP LPC32xx SoC ADC controller
|
|
|
|
Required properties:
|
|
- compatible: must be "nxp,lpc3220-adc"
|
|
- reg: physical base address of the controller and length of memory mapped
|
|
region.
|
|
- interrupts: The ADC interrupt
|
|
|
|
Optional:
|
|
- vref-supply: The regulator supply ADC reference voltage, optional
|
|
for legacy reason, but highly encouraging to us in new device tree
|
|
|
|
Example:
|
|
|
|
adc@40048000 {
|
|
compatible = "nxp,lpc3220-adc";
|
|
reg = <0x40048000 0x1000>;
|
|
interrupt-parent = <&mic>;
|
|
interrupts = <39 0>;
|
|
vref-supply = <&vcc>;
|
|
};
|