1. 31 3月, 2015 5 次提交
    • P
      drm/imx: imx-ldb: add drm_panel support · 751e2676
      Philipp Zabel 提交于
      This patch allows to optionally attach the lvds-channel to a panel
      supported by a drm_panel driver using of-graph bindings, instead of
      supplying the modes via display-timings in the device tree.
      
      This depends on of_graph_get_port_by_id and uses the OF graph to
      link the optional DRM panel to the LDB lvds-channel. The output
      port number is 1 on devices without the 4-port input multiplexer
      (i.MX5) and 4 on devices with the mux (i.MX6).
      
      Before:
      
      	ldb {
      		...
      
      		lvds-channel@0 {
      			...
      
      			display-timings {
      				native-timing = <&timing1>;
      				timing1: etm0700g0dh6 {
      					hactive = <800>;
      					vactive = <480>;
      					clock-frequency = <33260000>;
      					hsync-len = <128>;
      					hback-porch = <88>;
      					hfront-porch = <40>;
      					vsync-len = <2>;
      					vback-porch = <33>;
      					vfront-porch = <10>;
      					hsync-active = <0>;
      					vsync-active = <0>;
      					...
      				};
      			};
      			...
      		};
      	};
      
      After:
      	ldb {
      		...
      
      		lvds-channel@0 {
      			...
      
      			port@4 {
      				reg = <4>;
      
      				lvds_out: endpoint {
      					remote_endpoint = <&panel_in>;
      				};
      			};
      		};
      	};
      
      	panel {
      		compatible = "edt,etm0700g0dh6", "simple-panel";
      		...
      
      		port {
      			panel_in: endpoint {
      				remote-endpoint = <&lvds_out>;
      			};
      		};
      	};
      
      [Fixed build error due to missing select on DRM_PANEL --rmk]
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      Signed-off-by: NPhilipp Zabel <p.zabel@pengutronix.de>
      751e2676
    • P
      drm/imx: consolidate bus format variable names · 2872c807
      Philipp Zabel 提交于
      This patch consolidates the different interface_pix_fmt, pixel_fmt, pix_fmt,
      and pixfmt variables to a common name "bus_format" wherever they describe the
      pixel format on the bus between display controller and encoder hardware.
      At the same time, it renames imx_drm_panel_format to imx_drm_set_bus_format.
      Signed-off-by: NPhilipp Zabel <p.zabel@pengutronix.de>
      Tested-by: NEmil Renner Berthing <kernel@esmil.dk>
      2872c807
    • P
      drm/imx: switch to use media bus formats · a7c6e76f
      Philipp Zabel 提交于
      imx-drm internally misused the V4L2_PIX_FMT constants, which are supposed to
      describe the pixel format of frame buffers in memory, to describe the pixel
      format on the bus between the display controller and the encoder hardware.
      Now that MEDIA_BUS_FMT constants are available to drm drivers, use those
      instead.
      Signed-off-by: NPhilipp Zabel <p.zabel@pengutronix.de>
      Tested-by: NEmil Renner Berthing <kernel@esmil.dk>
      a7c6e76f
    • P
      drm/imx: ipuv3-crtc: Allow to divide DI clock from TVEv2 · e0d155ca
      Philipp Zabel 提交于
      This patch allows the IPU to divide the 27 MHz input clock from
      the TVE by two to obtain the 13.5 MHz pixel clock needed for
      NTSC/PAL SD modes.
      Signed-off-by: NPhilipp Zabel <p.zabel@pengutronix.de>
      e0d155ca
    • P
      drm/imx: Add support for interlaced scanout · dd7fa6d8
      Philipp Zabel 提交于
      This patch allows interlaced frame buffer scanout for interlaced output
      via HDMI or TV-Encoder.
      Signed-off-by: NPhilipp Zabel <p.zabel@pengutronix.de>
      dd7fa6d8
  2. 25 3月, 2015 5 次提交
  3. 20 3月, 2015 30 次提交