Message ID | 20230530075311.400686-5-fl.scratchpad@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | Fix ad7192 driver issues | expand |
On Tue, May 30, 2023 at 09:53:10AM +0200, fl.scratchpad@gmail.com wrote: > From: Fabrizio Lamarque <fl.scratchpad@gmail.com> > > Add required reference voltage (VRef) supply regulator. > > AD7192 requires three independent voltage sources: DVdd, AVdd and VRef > (on REFINx pin pairs). > > Fixes: b581f748cce0 ("staging: iio: adc: ad7192: move out of staging") > Signed-off-by: Fabrizio Lamarque <fl.scratchpad@gmail.com> Acked-by: Conor Dooley <conor.dooley@microchip.com> Thanks, Conor.
On Tue, 30 May 2023 18:22:45 +0100 Conor Dooley <conor@kernel.org> wrote: > On Tue, May 30, 2023 at 09:53:10AM +0200, fl.scratchpad@gmail.com wrote: > > From: Fabrizio Lamarque <fl.scratchpad@gmail.com> > > > > Add required reference voltage (VRef) supply regulator. > > > > AD7192 requires three independent voltage sources: DVdd, AVdd and VRef > > (on REFINx pin pairs). > > > > Fixes: b581f748cce0 ("staging: iio: adc: ad7192: move out of staging") > > Signed-off-by: Fabrizio Lamarque <fl.scratchpad@gmail.com> > > Acked-by: Conor Dooley <conor.dooley@microchip.com> Applied. I'll leave 3 and 5 for a v4 posting. > > Thanks, > Conor.
diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml index d521d516088b..16def2985ab4 100644 --- a/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml +++ b/Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml @@ -47,6 +47,9 @@ properties: avdd-supply: description: AVdd voltage supply + vref-supply: + description: VRef voltage supply + adi,rejection-60-Hz-enable: description: | This bit enables a notch at 60 Hz when the first notch of the sinc @@ -89,6 +92,7 @@ required: - interrupts - dvdd-supply - avdd-supply + - vref-supply - spi-cpol - spi-cpha @@ -115,6 +119,7 @@ examples: interrupt-parent = <&gpio>; dvdd-supply = <&dvdd>; avdd-supply = <&avdd>; + vref-supply = <&vref>; adi,refin2-pins-enable; adi,rejection-60-Hz-enable;