summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/iio/health/max30100.txt
diff options
context:
space:
mode:
authorJonathan Cameron <Jonathan.Cameron@huawei.com>2020-10-31 21:48:17 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-11-22 20:24:53 +0300
commitf0c49ea47e2cd4aae5c0ded4af50691bdcefe35b (patch)
treefa0cdb43bc438cbc898228457d4da714d7a1d98a /Documentation/devicetree/bindings/iio/health/max30100.txt
parentb9c320157ce3db813eaa9f0c900a33a9b7cc60a6 (diff)
downloadlinux-f0c49ea47e2cd4aae5c0ded4af50691bdcefe35b.tar.xz
dt-bindings:iio:health:maxim,max30100: txt to yaml conversion
Straight forward conversion. As with other bindings I've dropped any standrd description, but kept the unusual bits, in thisscase the maxim,led-current-microamp and it's description. Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Reviewed-by: Rob Herring <robh@kernel.org> Acked-by: Matt Ranostay <matt.ranostay@konsulko.com> Link: https://lore.kernel.org/r/20201031184854.745828-10-jic23@kernel.org
Diffstat (limited to 'Documentation/devicetree/bindings/iio/health/max30100.txt')
-rw-r--r--Documentation/devicetree/bindings/iio/health/max30100.txt28
1 files changed, 0 insertions, 28 deletions
diff --git a/Documentation/devicetree/bindings/iio/health/max30100.txt b/Documentation/devicetree/bindings/iio/health/max30100.txt
deleted file mode 100644
index 0054908a6e74..000000000000
--- a/Documentation/devicetree/bindings/iio/health/max30100.txt
+++ /dev/null
@@ -1,28 +0,0 @@
-Maxim MAX30100 heart rate and pulse oximeter sensor
-
-* https://datasheets.maximintegrated.com/en/ds/MAX30100.pdf
-
-Required properties:
- - compatible: must be "maxim,max30100"
- - reg: the I2C address of the sensor
- - interrupts: the sole interrupt generated by the device
-
- Refer to interrupt-controller/interrupts.txt for generic
- interrupt client node bindings.
-
-Optional properties:
- - maxim,led-current-microamp: configuration for LED current in microamperes
- while the engine is running. First indexed value is the configuration for
- the RED LED, and second value is for the IR LED.
-
- Refer to the datasheet for the allowed current values.
-
-Example:
-
-max30100@57 {
- compatible = "maxim,max30100";
- reg = <0x57>;
- maxim,led-current-microamp = <24000 50000>;
- interrupt-parent = <&gpio1>;
- interrupts = <16 2>;
-};