dt-bindings: iio: health: maxim,max30102: fix compatible check
authorJavier Carrasco <javier.carrasco.cruz@gmail.com>
Sat, 16 Mar 2024 22:56:57 +0000 (23:56 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 24 Mar 2024 11:05:57 +0000 (11:05 +0000)
commit89384a2b656b9dace4c965432a209d5c9c3a2a6f
treedf0e2543227ede7e868ad5907f99602d2dc11214
parent5ca29ea4e4073b3caba750efe155b1bd4c597ca9
dt-bindings: iio: health: maxim,max30102: fix compatible check

The "maxim,green-led-current-microamp" property is only available for
the max30105 part (it provides an extra green LED), and must be set to
false for the max30102 part.

Instead, the max30100 part has been used for that, which is not
supported by this binding (it has its own binding).

This error was introduced during the txt to yaml conversion.

Fixes: 5a6a65b11e3a ("dt-bindings:iio:health:maxim,max30102: txt to yaml conversion")
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20240316-max30102_binding_fix-v1-1-e8e58f69ef8a@gmail.com
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Documentation/devicetree/bindings/iio/health/maxim,max30102.yaml