Documentation/devicetree/bindings/i2c/i2c-pxa.yaml
Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/i2c/i2c-pxa.yaml
File Facts
- System
- Linux kernel
- Corpus path
Documentation/devicetree/bindings/i2c/i2c-pxa.yaml- Extension
.yaml- Size
- 1399 bytes
- Lines
- 75
- 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/clock/marvell,mmp2.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
%YAML 1.2
---
$id: http://devicetree.org/schemas/i2c/i2c-pxa.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Marvell MMP I2C controller
maintainers:
- Rob Herring <robh@kernel.org>
allOf:
- $ref: /schemas/i2c/i2c-controller.yaml#
- if:
not:
required:
- mrvl,i2c-polling
then:
required:
- interrupts
properties:
compatible:
enum:
- mrvl,mmp-twsi
- mrvl,pxa-i2c
- marvell,armada-3700-i2c
reg:
maxItems: 1
interrupts:
maxItems: 1
clocks:
minItems: 1
resets:
minItems: 1
mrvl,i2c-polling:
$ref: /schemas/types.yaml#/definitions/flag
description: |
Disable interrupt of i2c controller. Polling status register of i2c
controller instead.
mrvl,i2c-fast-mode:
$ref: /schemas/types.yaml#/definitions/flag
description: Enable fast mode of i2c controller.
unevaluatedProperties: false
required:
- compatible
- reg
- interrupts
- clocks
- '#address-cells'
- '#size-cells'
examples:
- |
#include <dt-bindings/clock/marvell,mmp2.h>
i2c@d4011000 {
compatible = "mrvl,mmp-twsi";
reg = <0xd4011000 0x1000>;
interrupts = <7>;
clocks = <&soc_clocks MMP2_CLK_TWSI1>;
mrvl,i2c-fast-mode;
#address-cells = <1>;
Annotation
- Immediate include surface: `dt-bindings/clock/marvell,mmp2.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.