Texas Instruments AFE4403 Heart rate and Pulse Oximeter
Schema identifier ($id): "http://devicetree.org/schemas/iio/health/ti,afe4403.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jonathan Cameron <jic23@kernel.org>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "ti,afe4403"
reg — required here #
Maximum number of items (maxItems): 1
tx-supply — not listed as required here #
Supply to transmitting LEDs.
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
Connected to ADC_RDY pin.
reset-gpios — not listed as required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/spi/spi-peripheral-props.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
spi {
#address-cells = <1>;
#size-cells = <0>;
heart-mon@0 {
compatible = "ti,afe4403";
reg = <0>;
spi-max-frequency = <10000000>;
tx-supply = <&vbat>;
interrupt-parent = <&gpio1>;
interrupts = <28 IRQ_TYPE_EDGE_RISING>;
reset-gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)