Documentation/devicetree/bindings/mfd/atmel,sama5d2-flexcom.yaml
Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/mfd/atmel,sama5d2-flexcom.yaml
File Facts
- System
- Linux kernel
- Corpus path
Documentation/devicetree/bindings/mfd/atmel,sama5d2-flexcom.yaml- Extension
.yaml- Size
- 2278 bytes
- Lines
- 100
- Domain
- Support Tooling And Documentation
- Bucket
- Documentation
- Inferred role
- Support Tooling And Documentation: configuration, schema, or hardware description
- Status
- atlas-only
Why This File Exists
Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.
- Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.
Dependency Surface
dt-bindings/interrupt-controller/arm-gic.h
Detected Declarations
- No top-level syscall, struct, function, initcall, or export declaration detected by the generator.
Annotated Snippet
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/mfd/atmel,sama5d2-flexcom.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Microchip Flexcom (Flexible Serial Communication Unit)
maintainers:
- Kavyasree Kotagiri <kavyasree.kotagiri@microchip.com>
description:
The Microchip Flexcom is just a wrapper which embeds a SPI controller,
an I2C controller and an USART. Only one function can be used at a
time and is chosen at boot time according to the device tree.
properties:
compatible:
oneOf:
- const: atmel,sama5d2-flexcom
- items:
- enum:
- microchip,lan9691-flexcom
- microchip,sam9x7-flexcom
- microchip,sama7d65-flexcom
- microchip,sama7g5-flexcom
- const: atmel,sama5d2-flexcom
reg:
maxItems: 1
clocks:
maxItems: 1
"#address-cells":
const: 1
"#size-cells":
const: 1
ranges:
description:
One range for the full I/O register region. (including USART,
TWI and SPI registers).
items:
maxItems: 3
atmel,flexcom-mode:
description: |
Specifies the flexcom mode as follows:
1: USART
2: SPI
3: I2C.
$ref: /schemas/types.yaml#/definitions/uint32
enum: [1, 2, 3]
patternProperties:
"^serial@[0-9a-f]+$":
type: object
description:
Child node describing USART. See atmel-usart.txt for details
of USART bindings.
"^spi@[0-9a-f]+$":
type: object
description:
Child node describing SPI. See ../spi/spi_atmel.txt for details
of SPI bindings.
"^i2c@[0-9a-f]+$":
Annotation
- Immediate include surface: `dt-bindings/interrupt-controller/arm-gic.h`.
- Atlas domain: Support Tooling And Documentation / Documentation.
- Implementation status: atlas-only.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.