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/i2c/i2c-virtio.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/i2c/i2c-virtio.yaml#
    5 $schema: http://devicetree.org/meta-schemas/core.yaml#
    6 
    7 title: Virtio I2C Adapter
    8 
    9 maintainers:
   10   - Viresh Kumar <viresh.kumar@linaro.org>
   11 
   12 allOf:
   13   - $ref: /schemas/i2c/i2c-controller.yaml#
   14   - $ref: /schemas/virtio/virtio-device.yaml#
   15 
   16 description:
   17   Virtio I2C device, see /schemas/virtio/virtio-device.yaml for more details.
   18 
   19 properties:
   20   $nodename:
   21     const: i2c
   22 
   23   compatible:
   24     const: virtio,device22
   25 
   26 required:
   27   - compatible
   28 
   29 unevaluatedProperties: false
   30 
   31 examples:
   32   - |
   33     virtio@3000 {
   34         compatible = "virtio,mmio";
   35         reg = <0x3000 0x100>;
   36         interrupts = <41>;
   37 
   38         i2c {
   39             compatible = "virtio,device22";
   40 
   41             #address-cells = <1>;
   42             #size-cells = <0>;
   43 
   44             light-sensor@20 {
   45                 compatible = "dynaimage,al3320a";
   46                 reg = <0x20>;
   47             };
   48         };
   49     };
   50 
   51 ...

Cache object: 7fd5957c3b4441a065a60c7d837f045a


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