1* Rockchip Virtual Camera 2 3The virtual sensor supports multiple resolutions output, 4such as 1280x720,1920x1080,3840x720,3840x2160,5120x2880. 5It also can support RGB24 or raw output formats. 6 7Required Properties: 8- compatible: Must be "rockchip,virtual-camera" 9- reg: I2C slave address, this value is useless. 10- link-frequencies: target mipi clock frequency, half of mipi data rate. 11 12Optional Properties: 13- width: output pixel width. 14- height: output pixel height. 15- bus-format: output bus format, it is a media bus format code. 16 17The device node must contain one 'port' child node for its digital output 18video port, in accordance with the video interface bindings defined in 19Documentation/devicetree/bindings/media/video-interfaces.txt. 20 21Example: 22 23 &i2c0 { 24 ... 25 ... 26 vcamera@30 { 27 compatible = "rockchip,virtual-camera"; 28 reg = <0x30>; 29 width = <1920>; 30 height = <1080>; 31 bus-format = <MEDIA_BUS_FMT_BGGR8_1X8>; 32 33 port { 34 vcamera_out: endpoint { 35 remote-endpoint = <&dphy_rx_in>; 36 link-frequencies = /bits/ 64 <500000000>; 37 }; 38 }; 39 }; 40 ... 41 }; 42