The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/usb/analogix,anx7411.yaml

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
    2 %YAML 1.2
    3 ---
    4 $id: http://devicetree.org/schemas/usb/analogix,anx7411.yaml#
    5 $schema: http://devicetree.org/meta-schemas/core.yaml#
    6 
    7 title: Analogix ANX7411 Type-C controller bindings
    8 
    9 maintainers:
   10   - Xin Ji <xji@analogixsemi.com>
   11 
   12 properties:
   13   compatible:
   14     enum:
   15       - analogix,anx7411
   16 
   17   reg:
   18     maxItems: 1
   19 
   20   interrupts:
   21     maxItems: 1
   22 
   23   connector:
   24     type: object
   25     $ref: ../connector/usb-connector.yaml
   26     description:
   27       Properties for usb c connector.
   28 
   29     properties:
   30       compatible:
   31         const: usb-c-connector
   32 
   33       power-role: true
   34 
   35       data-role: true
   36 
   37       try-power-role: true
   38 
   39     required:
   40       - compatible
   41 
   42 required:
   43   - compatible
   44   - reg
   45   - connector
   46 
   47 additionalProperties: false
   48 
   49 examples:
   50   - |
   51     #include <dt-bindings/interrupt-controller/irq.h>
   52     i2c {
   53         #address-cells = <1>;
   54         #size-cells = <0>;
   55 
   56         typec@2c {
   57             compatible = "analogix,anx7411";
   58             reg = <0x2c>;
   59             interrupts = <8 IRQ_TYPE_EDGE_FALLING>;
   60             interrupt-parent = <&gpio0>;
   61 
   62             typec_con: connector {
   63                 compatible = "usb-c-connector";
   64                 power-role = "dual";
   65                 data-role = "dual";
   66                 try-power-role = "source";
   67 
   68                 ports {
   69                     #address-cells = <1>;
   70                     #size-cells = <0>;
   71                     port@0 {
   72                         reg = <0>;
   73                         typec_con_ep: endpoint {
   74                             remote-endpoint = <&usbotg_hs_ep>;
   75                         };
   76                     };
   77                 };
   78             };
   79         };
   80     };
   81 ...

Cache object: 2d64c32facfa075d9e566adfb88e56e7


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.