Fairchild Semiconductor FSA880, FSA9480 and compatibles

Schema identifier ($id): "http://devicetree.org/schemas/extcon/fcs,fsa880.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Linus Walleij <linusw@kernel.org>"

The FSA880 and FSA9480 are USB port accessory detectors and switches. The switch is fully controlled using I2C and enables USB data, stereo and mono audio, video, microphone, and UART data to use a common connector port. Compatible switches exist from other manufacturers.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "fcs,fsa880", "fcs,fsa9480", "ti,tsu6111"

reg — required here #

Maximum number of items (maxItems): 1

The I2C address for an FSA880 compatible device is usually 0x25.

interrupts — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "interrupts"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>
i2c {
    #address-cells = <1>;
    #size-cells = <0>;
    usb-switch@25 {
        compatible = "fcs,fsa880";
        reg = <0x25>;
        interrupt-parent = <&gpio>;
        interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page