mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 04:33:26 +02:00
Cut and paste error.
Documentation/devicetree/bindings/iio/health/ti,afe4403.example.dt.yaml:
heart_mon@0: 'spi-max-frequency' does not match any of the regexes:
'pinctrl-[0-9]+'
Reported-by: Rob Herring <robh+dt@kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Fixes: f494151b5e
("dt-bindings:iio:health:ti,afe4404: txt to yaml conversion")
Link: https://lore.kernel.org/r/20201230121919.238335-1-jic23@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
52 lines
1.0 KiB
YAML
52 lines
1.0 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/iio/health/ti,afe4404.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Texas Instruments AFE4404 Heart rate and Pulse Oximeter
|
|
|
|
maintainers:
|
|
- Jonathan Cameron <jic23@kernel.org>
|
|
|
|
properties:
|
|
compatible:
|
|
const: ti,afe4404
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
tx-supply:
|
|
description: Supply to transmitting LEDs.
|
|
|
|
interrupts:
|
|
maxItems: 1
|
|
description: Connected to ADC_RDY pin.
|
|
|
|
reset-gpios: true
|
|
|
|
additionalProperties: false
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
|
|
examples:
|
|
- |
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
#include <dt-bindings/interrupt-controller/irq.h>
|
|
i2c {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
heart_mon@58 {
|
|
compatible = "ti,afe4404";
|
|
reg = <0x58>;
|
|
tx-supply = <&vbat>;
|
|
interrupt-parent = <&gpio1>;
|
|
interrupts = <28 IRQ_TYPE_EDGE_RISING>;
|
|
reset-gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
|
|
};
|
|
};
|
|
...
|