~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/media/cdns,csi2tx.txt

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 Cadence MIPI-CSI2 TX controller
  2 ===============================
  3 
  4 The Cadence MIPI-CSI2 TX controller is a CSI-2 bridge supporting up to
  5 4 CSI lanes in output, and up to 4 different pixel streams in input.
  6 
  7 Required properties:
  8   - compatible: must be set to "cdns,csi2tx" or "cdns,csi2tx-1.3"
  9     for version 1.3 of the controller, "cdns,csi2tx-2.1" for v2.1
 10   - reg: base address and size of the memory mapped region
 11   - clocks: phandles to the clocks driving the controller
 12   - clock-names: must contain:
 13     * esc_clk: escape mode clock
 14     * p_clk: register bank clock
 15     * pixel_if[0-3]_clk: pixel stream output clock, one for each stream
 16                          implemented in hardware, between 0 and 3
 17 
 18 Optional properties
 19   - phys: phandle to the D-PHY. If it is set, phy-names need to be set
 20   - phy-names: must contain "dphy"
 21 
 22 Required subnodes:
 23   - ports: A ports node with one port child node per device input and output
 24            port, in accordance with the video interface bindings defined in
 25            Documentation/devicetree/bindings/media/video-interfaces.txt. The
 26            port nodes are numbered as follows.
 27 
 28            Port Description
 29            -----------------------------
 30            0    CSI-2 output
 31            1    Stream 0 input
 32            2    Stream 1 input
 33            3    Stream 2 input
 34            4    Stream 3 input
 35 
 36            The stream input port nodes are optional if they are not
 37            connected to anything at the hardware level or implemented
 38            in the design. Since there is only one endpoint per port,
 39            the endpoints are not numbered.
 40 
 41 Example:
 42 
 43 csi2tx: csi-bridge@0d0e1000 {
 44         compatible = "cdns,csi2tx";
 45         reg = <0x0d0e1000 0x1000>;
 46         clocks = <&byteclock>, <&byteclock>,
 47                  <&coreclock>, <&coreclock>,
 48                  <&coreclock>, <&coreclock>;
 49         clock-names = "p_clk", "esc_clk",
 50                       "pixel_if0_clk", "pixel_if1_clk",
 51                       "pixel_if2_clk", "pixel_if3_clk";
 52 
 53         ports {
 54                 #address-cells = <1>;
 55                 #size-cells = <0>;
 56 
 57                 port@0 {
 58                         reg = <0>;
 59 
 60                         csi2tx_out: endpoint {
 61                                 remote-endpoint = <&remote_in>;
 62                                 clock-lanes = <0>;
 63                                 data-lanes = <1 2>;
 64                         };
 65                 };
 66 
 67                 port@1 {
 68                         reg = <1>;
 69 
 70                         csi2tx_in_stream0: endpoint {
 71                                 remote-endpoint = <&stream0_out>;
 72                         };
 73                 };
 74 
 75                 port@2 {
 76                         reg = <2>;
 77 
 78                         csi2tx_in_stream1: endpoint {
 79                                 remote-endpoint = <&stream1_out>;
 80                         };
 81                 };
 82 
 83                 port@3 {
 84                         reg = <3>;
 85 
 86                         csi2tx_in_stream2: endpoint {
 87                                 remote-endpoint = <&stream2_out>;
 88                         };
 89                 };
 90 
 91                 port@4 {
 92                         reg = <4>;
 93 
 94                         csi2tx_in_stream3: endpoint {
 95                                 remote-endpoint = <&stream3_out>;
 96                         };
 97                 };
 98         };
 99 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php