Documentation/devicetree/bindings/nvmem/airoha,an8855-efuse.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/nvmem/airoha,an8855-efuse.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/nvmem/airoha,an8855-efuse.yaml
Extension
.yaml
Size
3033 bytes
Lines
124
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.

Dependency Surface

Detected Declarations

Annotated Snippet

# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/nvmem/airoha,an8855-efuse.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Airoha AN8855 Switch EFUSE

maintainers:
  - Christian Marangi <ansuelsmth@gmail.com>

description:
  Airoha AN8855 EFUSE used to calibrate internal PHYs and store additional
  configuration info.

$ref: nvmem.yaml#

properties:
  compatible:
    const: airoha,an8855-efuse

  '#nvmem-cell-cells':
    const: 0

required:
  - compatible
  - '#nvmem-cell-cells'

unevaluatedProperties: false

examples:
  - |
    efuse {
        compatible = "airoha,an8855-efuse";

        #nvmem-cell-cells = <0>;

        nvmem-layout {
            compatible = "fixed-layout";
            #address-cells = <1>;
            #size-cells = <1>;

            shift_sel_port0_tx_a: shift-sel-port0-tx-a@c {
               reg = <0xc 0x4>;
            };

            shift_sel_port0_tx_b: shift-sel-port0-tx-b@10 {
                reg = <0x10 0x4>;
            };

            shift_sel_port0_tx_c: shift-sel-port0-tx-c@14 {
                reg = <0x14 0x4>;
            };

            shift_sel_port0_tx_d: shift-sel-port0-tx-d@18 {
               reg = <0x18 0x4>;
            };

            shift_sel_port1_tx_a: shift-sel-port1-tx-a@1c {
               reg = <0x1c 0x4>;
            };

            shift_sel_port1_tx_b: shift-sel-port1-tx-b@20 {
               reg = <0x20 0x4>;
            };

            shift_sel_port1_tx_c: shift-sel-port1-tx-c@24 {
               reg = <0x24 0x4>;
            };

Annotation

Implementation Notes