Message ID | 20240110153757.5754-3-mitrutzceclan@gmail.com (mailing list archive) |
---|---|
State | Changes Requested |
Headers | show |
Series | Add support for LTC6373 | expand |
On Wed, Jan 10, 2024 at 05:37:10PM +0200, Dumitru Ceclan wrote: > The LTC6373 is a silicon, 3-bit Fully-Differential digital instrumentation > amplifier that supports the following programmable gains (Vout/Vin): > G = 0.25, 0.5, 1, 2, 4, 8, 16 + Shutdown. > > Signed-off-by: Dumitru Ceclan <mitrutzceclan@gmail.com> Acked-by: Conor Dooley <conor.dooley@microchip.com> Cheers, Conor. > --- > .../bindings/iio/amplifiers/adi,hmc425a.yaml | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) > > diff --git a/Documentation/devicetree/bindings/iio/amplifiers/adi,hmc425a.yaml b/Documentation/devicetree/bindings/iio/amplifiers/adi,hmc425a.yaml > index a434cb8ddcc9..3a470459b965 100644 > --- a/Documentation/devicetree/bindings/iio/amplifiers/adi,hmc425a.yaml > +++ b/Documentation/devicetree/bindings/iio/amplifiers/adi,hmc425a.yaml > @@ -21,6 +21,8 @@ description: | > HMC540S 1 dB LSB Silicon MMIC 4-Bit Digital Positive Control Attenuator, 0.1 - 8 GHz > https://www.analog.com/media/en/technical-documentation/data-sheets/hmc540s.pdf > > + LTC6373 is a 3-Bit precision instrumentation amplifier with fully differential outputs > + https://www.analog.com/media/en/technical-documentation/data-sheets/ltc6373.pdf > > properties: > compatible: > @@ -28,6 +30,7 @@ properties: > - adi,adrf5740 > - adi,hmc425a > - adi,hmc540s > + - adi,ltc6373 > > vcc-supply: true > > @@ -38,6 +41,7 @@ properties: > ADRF5740 - 4 GPIO connected to D2-D5 > HMC540S - 4 GPIO connected to V1-V4 > HMC425A - 6 GPIO connected to V1-V6 > + LTC6373 - 3 GPIO connected to A0-A2 > minItems: 1 > maxItems: 6 > > @@ -64,6 +68,16 @@ allOf: > ctrl-gpios: > minItems: 4 > maxItems: 4 > + - if: > + properties: > + compatible: > + contains: > + const: adi,ltc6373 > + then: > + properties: > + ctrl-gpios: > + minItems: 3 > + maxItems: 3 > > required: > - compatible > -- > 2.42.0 >
diff --git a/Documentation/devicetree/bindings/iio/amplifiers/adi,hmc425a.yaml b/Documentation/devicetree/bindings/iio/amplifiers/adi,hmc425a.yaml index a434cb8ddcc9..3a470459b965 100644 --- a/Documentation/devicetree/bindings/iio/amplifiers/adi,hmc425a.yaml +++ b/Documentation/devicetree/bindings/iio/amplifiers/adi,hmc425a.yaml @@ -21,6 +21,8 @@ description: | HMC540S 1 dB LSB Silicon MMIC 4-Bit Digital Positive Control Attenuator, 0.1 - 8 GHz https://www.analog.com/media/en/technical-documentation/data-sheets/hmc540s.pdf + LTC6373 is a 3-Bit precision instrumentation amplifier with fully differential outputs + https://www.analog.com/media/en/technical-documentation/data-sheets/ltc6373.pdf properties: compatible: @@ -28,6 +30,7 @@ properties: - adi,adrf5740 - adi,hmc425a - adi,hmc540s + - adi,ltc6373 vcc-supply: true @@ -38,6 +41,7 @@ properties: ADRF5740 - 4 GPIO connected to D2-D5 HMC540S - 4 GPIO connected to V1-V4 HMC425A - 6 GPIO connected to V1-V6 + LTC6373 - 3 GPIO connected to A0-A2 minItems: 1 maxItems: 6 @@ -64,6 +68,16 @@ allOf: ctrl-gpios: minItems: 4 maxItems: 4 + - if: + properties: + compatible: + contains: + const: adi,ltc6373 + then: + properties: + ctrl-gpios: + minItems: 3 + maxItems: 3 required: - compatible
The LTC6373 is a silicon, 3-bit Fully-Differential digital instrumentation amplifier that supports the following programmable gains (Vout/Vin): G = 0.25, 0.5, 1, 2, 4, 8, 16 + Shutdown. Signed-off-by: Dumitru Ceclan <mitrutzceclan@gmail.com> --- .../bindings/iio/amplifiers/adi,hmc425a.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+)