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/maxim,max33359.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/maxim,max33359.yaml#"
    5 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
    6 
    7 title: Maxim TCPCI Type-C PD controller DT bindings
    8 
    9 maintainers:
   10   - Badhri Jagan Sridharan <badhri@google.com>
   11 
   12 description: Maxim TCPCI Type-C PD controller
   13 
   14 properties:
   15   compatible:
   16     enum:
   17       - maxim,max33359
   18 
   19   reg:
   20     maxItems: 1
   21 
   22   interrupts:
   23     maxItems: 1
   24 
   25   connector:
   26     type: object
   27     $ref: ../connector/usb-connector.yaml#
   28     description:
   29       Properties for usb c connector.
   30 
   31 required:
   32   - compatible
   33   - reg
   34   - interrupts
   35   - connector
   36 
   37 additionalProperties: false
   38 
   39 examples:
   40   - |
   41     #include <dt-bindings/interrupt-controller/irq.h>
   42     #include <dt-bindings/usb/pd.h>
   43     i2c0 {
   44         #address-cells = <1>;
   45         #size-cells = <0>;
   46 
   47         maxtcpc@25 {
   48             compatible = "maxim,max33359";
   49             reg = <0x25>;
   50             interrupt-parent = <&gpa8>;
   51             interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
   52 
   53             connector {
   54                 compatible = "usb-c-connector";
   55                 label = "USB-C";
   56                 data-role = "dual";
   57                 power-role = "dual";
   58                 try-power-role = "sink";
   59                 self-powered;
   60                 op-sink-microwatt = <2600000>;
   61                 new-source-frs-typec-current = <FRS_5V_1P5A>;
   62                 source-pdos = <PDO_FIXED(5000, 900,
   63                                          PDO_FIXED_SUSPEND |
   64                                          PDO_FIXED_USB_COMM |
   65                                          PDO_FIXED_DATA_SWAP |
   66                                          PDO_FIXED_DUAL_ROLE)>;
   67                 sink-pdos = <PDO_FIXED(5000, 3000,
   68                                        PDO_FIXED_USB_COMM |
   69                                        PDO_FIXED_DATA_SWAP |
   70                                        PDO_FIXED_DUAL_ROLE)
   71                                        PDO_FIXED(9000, 2000, 0)>;
   72             };
   73         };
   74     };
   75 ...

Cache object: a8485546c181e6f37509f04d05bb63d4


[ 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.