diff options
author | Vincent Whitchurch <vincent.whitchurch@axis.com> | 2021-12-21 10:04:46 +0100 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2021-12-22 20:40:05 +0100 |
commit | db0dd9cee82270e032123169ceff659eced5115d (patch) | |
tree | 6e8ddc33710c02791c869cf0e7d727f294887846 /fs | |
parent | b31297f04e86e4115ece79ca530d8ae1c454db75 (diff) | |
download | linux-db0dd9cee82270e032123169ceff659eced5115d.tar.bz2 |
um: virtio_uml: Allow probing from devicetree
Allow the virtio_uml device to be probed from the devicetree so that
sub-devices can be specified using the standard virtio bindings, for
example:
virtio@1 {
compatible = "virtio,uml";
socket-path = "i2c.sock";
virtio-device-id = <0x22>;
i2c-controller {
compatible = "virtio,device22";
#address-cells = <0x01>;
#size-cells = <0x00>;
light-sensor@01 {
compatible = "ti,opt3001";
reg = <0x01>;
};
};
};
Signed-off-by: Vincent Whitchurch <vincent.whitchurch@axis.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions