TI AM3359 Touchscreen controller/ADC
Schema identifier ($id): "http://devicetree.org/schemas/mfd/ti,am3359-tscadc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Miquel Raynal <miquel.raynal@bootlin.com>"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"ti,am3359-tscadc"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"ti,am654-tscadc"Item 2
Exact value (
const):"ti,am3359-tscadc"
Rule 3
Exact value (
const):"ti,am4372-magadc"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Exact value (const): "fck"
dmas — not listed as required here #
Array item rules (items) #
Item 1
DMA controller phandle and request line for FIFO0
Item 2
DMA controller phandle and request line for FIFO1
dma-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"fifo0"
Item 2
Exact value (
const):"fifo1"
adc — not listed as required here #
Value type (type): "object"
ADC child
tsc — not listed as required here #
Value type (type): "object"
Touchscreen controller child
mag — not listed as required here #
Value type (type): "object"
Magnetic reader
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
tscadc@0 {
compatible = "ti,am3359-tscadc";
reg = <0x0 0x1000>;
interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&adc_tsc_fck>;
clock-names = "fck";
dmas = <&edma 53 0>, <&edma 57 0>;
dma-names = "fifo0", "fifo1";
tsc {
};
adc {
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)