Based on kernel version 6.17
. Page generated on 2025-10-03 10:04 EST
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 | # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) %YAML 1.2 --- $id: http://devicetree.org/schemas/iio/adc/st,spear600-adc.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# title: ST SPEAr ADC device driver maintainers: - Jonathan Cameron <jic23@kernel.org> description: | Integrated ADC inside the ST SPEAr SoC, SPEAr600, supporting 10-bit resolution. Datasheet can be found here: https://www.st.com/resource/en/datasheet/spear600.pdf properties: compatible: enum: - st,spear600-adc reg: maxItems: 1 interrupts: maxItems: 1 sampling-frequency: $ref: /schemas/types.yaml#/definitions/uint32 minimum: 2500000 maximum: 20000000 description: Default sampling frequency of the ADC in Hz. vref-external: $ref: /schemas/types.yaml#/definitions/uint32 minimum: 1000 maximum: 2800 description: External voltage reference in milli-volts. If omitted the internal voltage reference will be used. average-samples: $ref: /schemas/types.yaml#/definitions/uint32 minimum: 0 maximum: 15 default: 0 description: Number of samples to generate an average value. If omitted, single data conversion will be used. required: - compatible - reg - interrupts - sampling-frequency additionalProperties: false examples: - | adc@d8200000 { compatible = "st,spear600-adc"; reg = <0xd8200000 0x1000>; interrupt-parent = <&vic1>; interrupts = <6>; sampling-frequency = <5000000>; vref-external = <2500>; /* 2.5V VRef */ }; |