linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* sinks in device tree
@ 2015-08-08 18:16 Richard Cagley
  0 siblings, 0 replies; only message in thread
From: Richard Cagley @ 2015-08-08 18:16 UTC (permalink / raw)
  To: linux-media

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>;
                                };
                        };
                };

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-08-08 18:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-08 18:16 sinks in device tree Richard Cagley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).