Texas Instruments' ads124s08 and ads124s06 ADC chip
Schema identifier ($id): "http://devicetree.org/schemas/iio/adc/ti,ads124s08.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Andrew Davis <afd@ti.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "ti,ads124s06", "ti,ads124s08"
reg — required here #
Maximum number of items (maxItems): 1
spi-cpha — not listed as required here #
true — No constraints added by this property rule.
reset-gpios — not listed as required here #
Maximum number of items (maxItems): 1
#io-channel-cells — not listed as required here #
Exact value (const): 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>
spi {
#address-cells = <1>;
#size-cells = <0>;
adc@0 {
compatible = "ti,ads124s08";
reg = <0>;
spi-max-frequency = <1000000>;
spi-cpha;
reset-gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)