sinks in device tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm new to using the media controller and struggling to set up a sink
in my device tree for a Xilinx VDMA output. I have the below in my
device tree. The problem is the output of my VDMA is going to a
hardware element that doesn't have/need a driver. So, when I query the
link with media_entity_get_info it tells me there are 0 links on
"video_cap output 0".

is there a endpoint I can/should be using instead of the
hdmi-connector I'm currently using that will give me a valid link?
(BTW, if this is not an appropriate question for this list please
redirect me.)

                 axivdma@43000000 {
                        compatible = "xlnx,axi-vdma-1.00.a";
                        reg = < 0x43000000 0x10000 >;
                        xlnx,flush-fsync = <0x1>;
                        xlnx,num-fstores = <0x3>;
                        #dma-cells = <0x1>;
                        linux,phandle = <0xc>;
                        phandle = <0xc>;

                        dma-channel@43000000 {
                                compatible = "xlnx,axi-vdma-mm2s-channel";
                                interrupt-parent = <0x3>;
                                interrupts = <0 90 4>;
                                xlnx,datawidth = <0x10>;
                        };

                        dma-channel@43000030 {
                                compatible = "xlnx,axi-vdma-s2mm-channel";
                                interrupt-parent = <0x3>;
                                interrupts = <0 91 4>;
                                xlnx,datawidth = <0x10>;
                        };
                };

                video_cap {
                        compatible = "xlnx,video";
                        dmas = <0xc 0x1 0xc 0x0>;
                        dma-names = "port0", "port1";

                        ports {
                                #address-cells = <0x1>;
                                #size-cells = <0x0>;

                                port@0 {
                                        reg = <0x0>;
                                        direction = "input";

                                        endpoint {
                                                remote-endpoint = <0xd>;
                                                linux,phandle = <0xb>;
                                                phandle = <0xb>;
                                        };
                                };
                                port@1 {
                                        reg = <0x1>;
                                        direction = "output";

                                        endpoint {
                                                remote-endpoint = <0xe>;
                                                linux,phandle = <0xa>;
                                                phandle = <0xa>;
                                        };
                                };

                        };
                };
                connector@1 {
                        compatible = "hdmi-connector";
                        label = "hdmi";
                        type = "a";
                        port {
                                endpoint {
                                        remote-endpoint = <0xa>;
                                        linux,phandle = <0xe>;
                                        phandle = <0xe>;
                                };
                        };
                };
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux