~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/iio/amplifiers/adi,hmc425a.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2 %YAML 1.2
  3 ---
  4 $id: http://devicetree.org/schemas/iio/amplifiers/adi,hmc425a.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: Analog Devices HMC425A and similar Digital Step Attenuators
  8 
  9 maintainers:
 10   - Michael Hennerich <michael.hennerich@analog.com>
 11 
 12 description: |
 13   Digital Step Attenuator IIO devices with gpio interface.
 14   Offer various frequency and attenuation ranges.
 15   ADRF5750 2 dB LSB, 4-Bit, Silicon Digital Attenuator, 10 MHz to 60 GHz
 16     https://www.analog.com/media/en/technical-documentation/data-sheets/adrf5740.pdf
 17 
 18   HMC425A 0.5 dB LSB GaAs MMIC 6-BIT DIGITAL POSITIVE CONTROL ATTENUATOR, 2.2 - 8.0 GHz
 19     https://www.analog.com/media/en/technical-documentation/data-sheets/hmc425A.pdf
 20 
 21   HMC540S 1 dB LSB Silicon MMIC 4-Bit Digital Positive Control Attenuator, 0.1 - 8 GHz
 22     https://www.analog.com/media/en/technical-documentation/data-sheets/hmc540s.pdf
 23 
 24   LTC6373 is a 3-Bit precision instrumentation amplifier with fully differential outputs
 25     https://www.analog.com/media/en/technical-documentation/data-sheets/ltc6373.pdf
 26 
 27 properties:
 28   compatible:
 29     enum:
 30       - adi,adrf5740
 31       - adi,hmc425a
 32       - adi,hmc540s
 33       - adi,ltc6373
 34 
 35   vcc-supply: true
 36 
 37   ctrl-gpios:
 38     description:
 39       Must contain an array of GPIO specifiers, referring to the GPIO pins
 40       connected to the control pins.
 41         ADRF5740  - 4 GPIO connected to D2-D5
 42         HMC540S   - 4 GPIO connected to V1-V4
 43         HMC425A   - 6 GPIO connected to V1-V6
 44         LTC6373   - 3 GPIO connected to A0-A2
 45     minItems: 1
 46     maxItems: 6
 47 
 48 allOf:
 49   - if:
 50       properties:
 51         compatible:
 52           contains:
 53             const: adi,hmc425a
 54     then:
 55       properties:
 56         ctrl-gpios:
 57           minItems: 6
 58           maxItems: 6
 59   - if:
 60       properties:
 61         compatible:
 62           contains:
 63             anyOf:
 64               - const: adi,adrf5740
 65               - const: adi,hmc540s
 66     then:
 67       properties:
 68         ctrl-gpios:
 69           minItems: 4
 70           maxItems: 4
 71   - if:
 72       properties:
 73         compatible:
 74           contains:
 75             const: adi,ltc6373
 76     then:
 77       properties:
 78         ctrl-gpios:
 79           minItems: 3
 80           maxItems: 3
 81 
 82 required:
 83   - compatible
 84   - ctrl-gpios
 85 
 86 additionalProperties: false
 87 
 88 examples:
 89   - |
 90     #include <dt-bindings/gpio/gpio.h>
 91     gpio_hmc425a: hmc425a {
 92       compatible = "adi,hmc425a";
 93       ctrl-gpios = <&gpio 40 GPIO_ACTIVE_HIGH>,
 94         <&gpio 39 GPIO_ACTIVE_HIGH>,
 95         <&gpio 38 GPIO_ACTIVE_HIGH>,
 96         <&gpio 37 GPIO_ACTIVE_HIGH>,
 97         <&gpio 36 GPIO_ACTIVE_HIGH>,
 98         <&gpio 35 GPIO_ACTIVE_HIGH>;
 99       vcc-supply = <&foo>;
100     };
101 ...

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php