Path: blob/master/Documentation/devicetree/bindings/i2c/i2c-virtio.yaml
26307 views
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/i2c/i2c-virtio.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Virtio I2C Adapter78maintainers:9- Viresh Kumar <viresh.kumar@linaro.org>1011allOf:12- $ref: /schemas/i2c/i2c-controller.yaml#13- $ref: /schemas/virtio/virtio-device.yaml#1415description:16Virtio I2C device, see /schemas/virtio/virtio-device.yaml for more details.1718properties:19$nodename:20const: i2c2122compatible:23const: virtio,device222425required:26- compatible2728unevaluatedProperties: false2930examples:31- |32virtio@3000 {33compatible = "virtio,mmio";34reg = <0x3000 0x100>;35interrupts = <41>;3637i2c {38compatible = "virtio,device22";3940#address-cells = <1>;41#size-cells = <0>;4243light-sensor@20 {44compatible = "dynaimage,al3320a";45reg = <0x20>;46};47};48};4950...515253