dt-bindings: iio: hmc425a: add conditional GPIO array size constraints
authorDumitru Ceclan <mitrutzceclan@gmail.com>
Tue, 20 Feb 2024 15:34:50 +0000 (17:34 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Wed, 28 Feb 2024 19:26:35 +0000 (19:26 +0000)
commit5c7403abf9da656f5827cb9081c2ad7bfab0d673
tree3a15a2483939aaf5edd7e7396809b0e9175d1520
parent506d7e3acec6b09c5b598c2bf84db79456bd0606
dt-bindings: iio: hmc425a: add conditional GPIO array size constraints

ADRF5740 and HMC540S have a 4 bit parallel interface.
Update ctrl-gpios description and min/maxItems values depending on the
matched compatible to correctly reflect the hardware properties.

Fixes: 79f2ff6461e7 ("dt-bindings: iio: hmc425a: add entry for ADRF5740 Attenuator")
Fixes: 20f87a9a26be ("dt-bindings: iio: hmc425a: add entry for HMC540S")
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Dumitru Ceclan <mitrutzceclan@gmail.com>
Link: https://lore.kernel.org/r/20240220153553.2432-3-mitrutzceclan@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Documentation/devicetree/bindings/iio/amplifiers/adi,hmc425a.yaml