sunxi: include the OV5640 dtsi in the BananaPi P2 Zero board
authorZoltan HERPAI <wigyori@uid0.hu>
Sun, 29 Oct 2023 17:56:14 +0000 (18:56 +0100)
committerZoltan HERPAI <wigyori@uid0.hu>
Sun, 29 Oct 2023 17:59:22 +0000 (18:59 +0100)
commit6cce657355c0b9ef436dbb74f76283d3313a65ea
treeb7d083816d3b9b87a90a5ef3060ebcadd7d728c3
parent6edf423626960767ff3bd93df414b127142fbb3a
sunxi: include the OV5640 dtsi in the BananaPi P2 Zero board

root@OpenWrt:/# v4l2-ctl -D
Driver Info:
        Driver name      : sun6i-csi
        Card type        : sun6i-csi
        Bus info         : platform:1cb0000.camera
        Driver version   : 6.1.55
        Capabilities     : 0x84200001
                Video Capture
                Streaming
                Extended Pix Format
                Device Capabilities
        Device Caps      : 0x04200001
                Video Capture
                Streaming
                Extended Pix Format
Media Driver Info:
        Driver name      : sun6i-csi
        Model            : Allwinner A31 CSI Device
        Serial           :
        Bus info         : platform:1cb0000.camera
        Media version    : 6.1.55
        Hardware revision: 0x00000000 (0)
        Driver version   : 6.1.55
Interface Info:
        ID               : 0x03000003
        Type             : V4L Video
Entity Info:
        ID               : 0x00000001 (1)
        Name             : sun6i-csi
        Function         : V4L2 I/O
        Pad 0x01000002   : 0: Sink, Must Connect
          Link 0x02000007: from remote pad 0x1000006 of entity 'ov5640 2-003c' (Camera Sensor): Data, Enabled, Immutable

-------------

root@OpenWrt:/# media-ctl /dev/video0 --print-topology
Media controller API version 6.1.55

Media device information
------------------------
driver          sun6i-csi
model           Allwinner A31 CSI Device
serial
bus info        platform:1cb0000.camera
hw revision     0x0
driver version  6.1.55

Device topology
- entity 1: sun6i-csi (1 pad, 1 link)
            type Node subtype V4L flags 0
            device node name /dev/video0
        pad0: Sink
                <- "ov5640 2-003c":0 [ENABLED,IMMUTABLE]

- entity 5: ov5640 2-003c (1 pad, 1 link)
            type V4L2 subdev subtype Sensor flags 0
            device node name /dev/v4l-subdev0
        pad0: Source
                [fmt:UYVY8_2X8/640x480@1/30 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:full-range
                 crop.bounds:(0,0)/2624x1964
                 crop:(0,4)/2624x1944]
                -> "sun6i-csi":0 [ENABLED,IMMUTABLE]

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
target/linux/sunxi/patches-6.1/901-dts-sunxi-bpi-p2zero-include-OV5640-dtsi.patch [new file with mode: 0644]