[PATCH RFC v5 09/21] ARM: dts: imx6qdl: Move existing MIPI DSI ports into a new 'ports' node

2014-12-24 Thread Liu Ying
peripheral device. This patch moves the existing MIPI DSI ports into a new 'ports' node so that the MIPI DSI bus driver may distinguish its DSI peripheral device(s) from the existing ports. Acked-by: Philipp Zabel Signed-off-by: Liu Ying --- v4->v5: * None. v3->v4: * None. v2->v3: * Add

[PATCH RFC v5 08/21] ARM: imx6q: clk: Add support for mipi_core_cfg clock as a shared clock gate

2014-12-24 Thread Liu Ying
in the i.MX6q/sdl SoCs uses the video_27m clock to generate PLL reference clock and MIPI core configuration clock. In order to gate/ungate the two MIPI DSI host controller relevant clocks, this patch adds the mipi_core_cfg clock as a shared clock gate. Suggested-by: Philipp Zabel Signed-off-by: Liu Ying

[PATCH RFC v5 07/21] ARM: imx6q: clk: Change hsi_tx clock to be a shared clock gate

2014-12-24 Thread Liu Ying
to be a shared clock gate. Suggested-by: Philipp Zabel Signed-off-by: Liu Ying --- v4->v5: * None. v3->v4: * None. v2->v3: * Newly introduced in v3. arch/arm/mach-imx/clk-imx6q.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-imx/clk-imx6q.c b/arch/arm

[PATCH RFC v5 06/21] ARM: imx6q: clk: Change hdmi_isfr clock's parent to be video_27m clock

2014-12-24 Thread Liu Ying
-by: Philipp Zabel Signed-off-by: Liu Ying --- v4->v5: * None. v3->v4: * None. v2->v3: * Newly introduced in v3. arch/arm/mach-imx/clk-imx6q.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-imx/clk-imx6q.c b/arch/arm/mach-imx/clk-imx6q.c index 9470df3..f1947

[PATCH RFC v5 05/21] ARM: imx6q: clk: Add the video_27m clock

2014-12-24 Thread Liu Ying
This patch supports the video_27m clock which is a fixed factor clock of the pll3_pfd1_540m clock. Signed-off-by: Liu Ying --- v4->v5: * None. v3->v4: * None. v2->v3: * None. v1->v2: * None. arch/arm/mach-imx/clk-imx6q.c | 1 + include/dt-bindings/clock/imx6qdl

[PATCH RFC v5 04/21] ARM: imx6q: Add GPR3 MIPI muxing control register field shift bits definition

2014-12-24 Thread Liu Ying
This patch adds a macro to define the GPR3 MIPI muxing control register field shift bits. Signed-off-by: Liu Ying --- v4->v5: * None. v3->v4: * None. v2->v3: * None. v1->v2: * None. include/linux/mfd/syscon/imx6q-iomuxc-gpr.h | 1 + 1 file changed, 1 insertion(+) diff --g

[PATCH RFC v5 03/21] of: Add vendor prefix for Truly Semiconductors Limited

2014-12-24 Thread Liu Ying
Signed-off-by: Liu Ying --- v4->v5: * None. v3->v4: * None. v2->v3: * None. v1->v2: * None. Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicet

[PATCH RFC v5 02/21] of: Add vendor prefix for Himax Technologies Inc.

2014-12-24 Thread Liu Ying
Signed-off-by: Liu Ying --- v4->v5: * None. v3->v4: * Fix an ordering issue to address Stefan Wahren's comment. v2->v3: * None. v1->v2: * None. Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicet

[PATCH RFC v5 01/21] clk: divider: Correct parent clk round rate if no bestdiv is normally found

2014-12-24 Thread Liu Ying
If no best divider is normally found, we will try to use the maximum divider. We should not set the parent clock rate to be 1Hz by force for being rounded. Instead, we should take the maximum divider as a base and calculate a correct parent clock rate for being rounded. Signed-off-by: Liu Ying

[PATCH RFC v5 00/21] Add support for i.MX MIPI DSI DRM driver

2014-12-24 Thread Liu Ying
causes a horitonal shift on the display image. This series can be applied on the drm-next branch. [1] http://www.allshore.com/pdf/Himax_HX8369-A.pdf Liu Ying (21): clk: divider: Correct parent clk round rate if no bestdiv is normally found of: Add vendor prefix for Himax Technologies Inc

[PATCH RFC v3 13/18] drm: panel: Add support for Himax HX8369A MIPI DSI panel

2014-12-24 Thread Liu Ying
Hi Andrzej, On 12/23/2014 06:38 PM, Andrzej Hajda wrote: > Hi Liu Ying, > > On 12/23/2014 04:46 AM, Liu Ying wrote: >> This patch adds support for Himax HX8369A MIPI DSI panel. >> >> Signed-off-by: Liu Ying >> --- >> v2->v3: >> * Sort the in

[PATCH RFC v4 21/21] ARM: imx_v6_v7_defconfig: Add support for Himax HX8369A panel

2014-12-23 Thread Liu Ying
/imx_v6_v7_defconfig Signed-off-by: Liu Ying --- v3->v4: * None. v2->v3: * None. v1->v2: * Add the HIMAX prefix in the Kconfig name. arch/arm/configs/imx_v6_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/ar

[PATCH RFC v4 20/21] ARM: imx_v6_v7_defconfig: Add support for MIPI DSI host controller

2014-12-23 Thread Liu Ying
/configs/imx_v6_v7_defconfig Signed-off-by: Liu Ying --- v3->v4: * None. v2->v3: * None. v1->v2: * None. arch/arm/configs/imx_v6_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig index 0dbd0c3

[PATCH RFC v4 19/21] ARM: imx_v6_v7_defconfig: Cleanup for imx drm being moved out of staging

2014-12-23 Thread Liu Ying
The new imx_v6_v7_defconfig is generated in this way: * make ARCH=arm imx_v6_v7_defconfig * make ARCH=arm savedefconfig * cp defconfig arch/arm/configs/imx_v6_v7_defconfig Signed-off-by: Liu Ying --- v3->v4: * None. v2->v3: * None. v1->v2: * None. arch/arm/configs/imx_v6_v7_defco

[PATCH RFC v4 18/21] ARM: dts: imx6qdl-sabresd: Add support for TRULY TFT480800-16-E MIPI DSI panel

2014-12-23 Thread Liu Ying
The TRULY TFT480800-16-E panel is driven by the Himax HX8369A driver IC. The driver IC supports several display/control interface modes, including the MIPI DSI video mode and command mode. Signed-off-by: Liu Ying --- v3->v4: * None. v2->v3: * None. v1->v2: * To address Thierry

[PATCH RFC v4 17/21] ARM: dtsi: imx6qdl: Add support for MIPI DSI host controller

2014-12-23 Thread Liu Ying
This patch adds support for MIPI DSI host controller. Signed-off-by: Liu Ying --- v3->v4: * None. v2->v3: * As suggested by Phillip Zabel, change the clocks and the clock-names properties to use the pllref and core_cfg clocks only. v1->v2: * None. arch/arm/boot/dts/imx6qdl

[PATCH RFC v4 16/21] drm: panel: Add support for Himax HX8369A MIPI DSI panel

2014-12-23 Thread Liu Ying
This patch adds support for Himax HX8369A MIPI DSI panel. Signed-off-by: Liu Ying --- v3->v4: * Move the relevant dt-bindings to a separate patch to address Stefan Wahren's comment. v2->v3: * Sort the included header files alphabetically. v1->v2: * Address almost all comm

[PATCH RFC v4 15/21] Documentation: dt-bindings: Add bindings for HIMAX HX8369A DRM panel driver

2014-12-23 Thread Liu Ying
This patch adds device tree bindings for HIMAX HX8369A DRM panel driver. Signed-off-by: Liu Ying --- v3->v4: * Newly introduced in v4. This is separated from the relevant driver patch in v3 to address Stefan Wahren's comment. .../devicetree/bindings/panel/himax,hx8369a.txt|

[PATCH RFC v4 14/21] drm: imx: Support Synopsys DesignWare MIPI DSI host controller

2014-12-23 Thread Liu Ying
This patch adds support for Synopsys DesignWare MIPI DSI host controller which is embedded in the i.MX6q/sdl SoCs. Signed-off-by: Liu Ying --- v3->v4: * Move the relevant dt-bindings to a separate patch to address Stefan Wahren's comment. v2->v3: * To address Andy Yan's comments

[PATCH RFC v4 13/21] Documentation: dt-bindings: Add bindings for i.MX specific Synopsys DW MIPI DSI driver

2014-12-23 Thread Liu Ying
This patch adds device tree bindings for i.MX specific Synopsys DW MIPI DSI driver. Signed-off-by: Liu Ying --- v3->v4: * Newly introduced in v4. This is separated from the relevant driver patch in v3 to address Stefan Wahren's comment. .../devicetree/bindings/drm/imx/mipi_dsi.

[PATCH RFC v4 12/21] drm/bridge: Add Synopsys DesignWare MIPI DSI host controller driver

2014-12-23 Thread Liu Ying
This patch adds Synopsys DesignWare MIPI DSI host controller driver support. Currently, the driver supports the burst with sync pulses mode only. Signed-off-by: Liu Ying --- v3->v4: * Move the relevant dt-bindings to a separate patch to address Stefan Wahren's comment. v2->v3: *

[PATCH RFC v4 11/21] Documentation: dt-bindings: Add bindings for Synopsys DW MIPI DSI DRM bridge driver

2014-12-23 Thread Liu Ying
This patch adds device tree bindings for Synopsys DesignWare MIPI DSI host controller DRM bridge driver. Signed-off-by: Liu Ying --- v3->v4: * Newly introduced in v4. This is separated from the relevant driver patch in v3 to address Stefan Wahren's comment. .../devicetree/bindings/

[PATCH RFC v4 10/21] drm/dsi: Add a helper to get bits per pixel of MIPI DSI pixel format

2014-12-23 Thread Liu Ying
Signed-off-by: Liu Ying --- v3->v4: * None. v2->v3: * None. v1->v2: * Thierry Reding suggested that the mipi_dsi_pixel_format_to_bpp() function could be placed at the common DRM MIPI DSI driver. This patch is newly added. include/drm/drm_mipi_dsi.h | 14 ++ 1 fil

[PATCH RFC v4 09/21] ARM: dts: imx6qdl: Move existing MIPI DSI ports into a new 'ports' node

2014-12-23 Thread Liu Ying
peripheral device. This patch moves the existing MIPI DSI ports into a new 'ports' node so that the MIPI DSI bus driver may distinguish its DSI peripheral device(s) from the existing ports. Acked-by: Philipp Zabel Signed-off-by: Liu Ying --- v3->v4: * None. v2->v3: * Add Philipp's Ack.

[PATCH RFC v4 08/21] ARM: imx6q: clk: Add support for mipi_core_cfg clock as a shared clock gate

2014-12-23 Thread Liu Ying
in the i.MX6q/sdl SoCs uses the video_27m clock to generate PLL reference clock and MIPI core configuration clock. In order to gate/ungate the two MIPI DSI host controller relevant clocks, this patch adds the mipi_core_cfg clock as a shared clock gate. Suggested-by: Philipp Zabel Signed-off-by: Liu Ying

[PATCH RFC v4 07/21] ARM: imx6q: clk: Change hsi_tx clock to be a shared clock gate

2014-12-23 Thread Liu Ying
to be a shared clock gate. Suggested-by: Philipp Zabel Signed-off-by: Liu Ying --- v3->v4: * None. v2->v3: * Newly introduced in v3. arch/arm/mach-imx/clk-imx6q.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-imx/clk-imx6q.c b/arch/arm/mach-imx/clk-imx6q.c

[PATCH RFC v4 06/21] ARM: imx6q: clk: Change hdmi_isfr clock's parent to be video_27m clock

2014-12-23 Thread Liu Ying
-by: Philipp Zabel Signed-off-by: Liu Ying --- v3->v4: * None. v2->v3: * Newly introduced in v3. arch/arm/mach-imx/clk-imx6q.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-imx/clk-imx6q.c b/arch/arm/mach-imx/clk-imx6q.c index 9470df3..f19472a 100644 --- a/ar

[PATCH RFC v4 05/21] ARM: imx6q: clk: Add the video_27m clock

2014-12-23 Thread Liu Ying
This patch supports the video_27m clock which is a fixed factor clock of the pll3_pfd1_540m clock. Signed-off-by: Liu Ying --- v3->v4: * None. v2->v3: * None. v1->v2: * None. arch/arm/mach-imx/clk-imx6q.c | 1 + include/dt-bindings/clock/imx6qdl-clock.h | 3 ++-

[PATCH RFC v4 04/21] ARM: imx6q: Add GPR3 MIPI muxing control register field shift bits definition

2014-12-23 Thread Liu Ying
This patch adds a macro to define the GPR3 MIPI muxing control register field shift bits. Signed-off-by: Liu Ying --- v3->v4: * None. v2->v3: * None. v1->v2: * None. include/linux/mfd/syscon/imx6q-iomuxc-gpr.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/m

[PATCH RFC v4 03/21] of: Add vendor prefix for Truly Semiconductors Limited

2014-12-23 Thread Liu Ying
Signed-off-by: Liu Ying --- v3->v4: * None. v2->v3: * None. v1->v2: * None. Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindin

[PATCH RFC v4 02/21] of: Add vendor prefix for Himax Technologies Inc.

2014-12-23 Thread Liu Ying
Signed-off-by: Liu Ying --- v3->v4: * Fix an ordering issue to address Stefan Wahren's comment. v2->v3: * None. v1->v2: * None. Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefix

[PATCH RFC v4 01/21] clk: divider: Correct parent clk round rate if no bestdiv is normally found

2014-12-23 Thread Liu Ying
If no best divider is normally found, we will try to use the maximum divider. We should not set the parent clock rate to be 1Hz by force for being rounded. Instead, we should take the maximum divider as a base and calculate a correct parent clock rate for being rounded. Signed-off-by: Liu Ying

[PATCH RFC v4 00/21] Add support for i.MX MIPI DSI DRM driver

2014-12-23 Thread Liu Ying
://www.allshore.com/pdf/Himax_HX8369-A.pdf Liu Ying (21): clk: divider: Correct parent clk round rate if no bestdiv is normally found of: Add vendor prefix for Himax Technologies Inc. of: Add vendor prefix for Truly Semiconductors Limited ARM: imx6q: Add GPR3 MIPI muxing control register field

[PATCH RFC v3 11/18] drm/bridge: Add Synopsys DesignWare MIPI DSI host controller driver

2014-12-23 Thread Liu Ying
Hi Stefan, On 12/23/2014 04:33 PM, Stefan Wahren wrote: > Hi Liu, > >> Liu Ying hat am 23. Dezember 2014 um 04:46 >> geschrieben: >> >> >> This patch adds Synopsys DesignWare MIPI DSI host controller driver support. >> Currently, the driver sup

[PATCH RFC v3 02/18] of: Add vendor prefix for Himax Technologies Inc.

2014-12-23 Thread Liu Ying
Hi Stefan, On 12/23/2014 04:09 PM, Stefan Wahren wrote: > Hi Liu, > >> Liu Ying hat am 23. Dezember 2014 um 04:46 >> geschrieben: >> >> >> Signed-off-by: Liu Ying >> --- >> v2->v3: >> * None. >> >> v1->v2: >> * Non

[PATCH RFC v3 18/18] ARM: imx_v6_v7_defconfig: Add support for Himax HX8369A panel

2014-12-23 Thread Liu Ying
/imx_v6_v7_defconfig Signed-off-by: Liu Ying --- v2->v3: * None. v1->v2: * Add the HIMAX prefix in the Kconfig name. arch/arm/configs/imx_v6_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig index 3

[PATCH RFC v3 17/18] ARM: imx_v6_v7_defconfig: Add support for MIPI DSI host controller

2014-12-23 Thread Liu Ying
/configs/imx_v6_v7_defconfig Signed-off-by: Liu Ying --- v2->v3: * None. v1->v2: * None. arch/arm/configs/imx_v6_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig index 0dbd0c3..3e0e589 100644 ---

[PATCH RFC v3 16/18] ARM: imx_v6_v7_defconfig: Cleanup for imx drm being moved out of staging

2014-12-23 Thread Liu Ying
The new imx_v6_v7_defconfig is generated in this way: * make ARCH=arm imx_v6_v7_defconfig * make ARCH=arm savedefconfig * cp defconfig arch/arm/configs/imx_v6_v7_defconfig Signed-off-by: Liu Ying --- v2->v3: * None. v1->v2: * None. arch/arm/configs/imx_v6_v7_defconfi

[PATCH RFC v3 15/18] ARM: dts: imx6qdl-sabresd: Add support for TRULY TFT480800-16-E MIPI DSI panel

2014-12-23 Thread Liu Ying
The TRULY TFT480800-16-E panel is driven by the Himax HX8369A driver IC. The driver IC supports several display/control interface modes, including the MIPI DSI video mode and command mode. Signed-off-by: Liu Ying --- v2->v3: * None. v1->v2: * To address Thierry Reding's comments,

[PATCH RFC v3 14/18] ARM: dtsi: imx6qdl: Add support for MIPI DSI host controller

2014-12-23 Thread Liu Ying
This patch adds support for MIPI DSI host controller. Signed-off-by: Liu Ying --- v2->v3: * As suggested by Phillip Zabel, change the clocks and the clock-names properties to use the pllref and core_cfg clocks only. v1->v2: * None. arch/arm/boot/dts/imx6qdl.dtsi | 6 ++

[PATCH RFC v3 13/18] drm: panel: Add support for Himax HX8369A MIPI DSI panel

2014-12-23 Thread Liu Ying
This patch adds support for Himax HX8369A MIPI DSI panel. Signed-off-by: Liu Ying --- v2->v3: * Sort the included header files alphabetically. v1->v2: * Address almost all comments from Thierry Reding. * Remove several DT properties as they can be implied by the compatible string.

[PATCH RFC v3 12/18] drm: imx: Support Synopsys DesignWare MIPI DSI host controller

2014-12-23 Thread Liu Ying
This patch adds support for Synopsys DesignWare MIPI DSI host controller which is embedded in the i.MX6q/sdl SoCs. Signed-off-by: Liu Ying --- v2->v3: * To address Andy Yan's comments, move the common Synopsys DesignWare MIPI DSI host controller logic into it's drm/bridge driver and le

[PATCH RFC v3 11/18] drm/bridge: Add Synopsys DesignWare MIPI DSI host controller driver

2014-12-23 Thread Liu Ying
This patch adds Synopsys DesignWare MIPI DSI host controller driver support. Currently, the driver supports the burst with sync pulses mode only. Signed-off-by: Liu Ying --- v2->v3: * Newly introduced in v3 to address Andy Yan's comment. This is based on the i.MX MIPI DSI driver in

[PATCH RFC v3 10/18] drm/dsi: Add a helper to get bits per pixel of MIPI DSI pixel format

2014-12-23 Thread Liu Ying
Signed-off-by: Liu Ying --- v2->v3: * None. v1->v2: * Thierry Reding suggested that the mipi_dsi_pixel_format_to_bpp() function could be placed at the common DRM MIPI DSI driver. This patch is newly added. include/drm/drm_mipi_dsi.h | 14 ++ 1 file changed, 14 inse

[PATCH RFC v3 09/18] ARM: dts: imx6qdl: Move existing MIPI DSI ports into a new 'ports' node

2014-12-23 Thread Liu Ying
peripheral device. This patch moves the existing MIPI DSI ports into a new 'ports' node so that the MIPI DSI bus driver may distinguish its DSI peripheral device(s) from the existing ports. Acked-by: Philipp Zabel Signed-off-by: Liu Ying --- v2->v3: * Add Philipp's Ack. v1->v2: * Newly

[PATCH RFC v3 08/18] ARM: imx6q: clk: Add support for mipi_core_cfg clock as a shared clock gate

2014-12-23 Thread Liu Ying
in the i.MX6q/sdl SoCs uses the video_27m clock to generate PLL reference clock and MIPI core configuration clock. In order to gate/ungate the two MIPI DSI host controller relevant clocks, this patch adds the mipi_core_cfg clock as a shared clock gate. Suggested-by: Philipp Zabel Signed-off-by: Liu Ying

[PATCH RFC v3 07/18] ARM: imx6q: clk: Change hsi_tx clock to be a shared clock gate

2014-12-23 Thread Liu Ying
to be a shared clock gate. Suggested-by: Philipp Zabel Signed-off-by: Liu Ying --- v2->v3: * Newly introduced in v3. arch/arm/mach-imx/clk-imx6q.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-imx/clk-imx6q.c b/arch/arm/mach-imx/clk-imx6q.c index f19472a..080d

[PATCH RFC v3 06/18] ARM: imx6q: clk: Change hdmi_isfr clock's parent to be video_27m clock

2014-12-23 Thread Liu Ying
-by: Philipp Zabel Signed-off-by: Liu Ying --- v2->v3: * Newly introduced in v3. arch/arm/mach-imx/clk-imx6q.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-imx/clk-imx6q.c b/arch/arm/mach-imx/clk-imx6q.c index 9470df3..f19472a 100644 --- a/arch/arm/mach-imx/clk-imx6

[PATCH RFC v3 05/18] ARM: imx6q: clk: Add the video_27m clock

2014-12-23 Thread Liu Ying
This patch supports the video_27m clock which is a fixed factor clock of the pll3_pfd1_540m clock. Signed-off-by: Liu Ying --- v2->v3: * None. v1->v2: * None. arch/arm/mach-imx/clk-imx6q.c | 1 + include/dt-bindings/clock/imx6qdl-clock.h | 3 ++- 2 files changed, 3 inse

[PATCH RFC v3 04/18] ARM: imx6q: Add GPR3 MIPI muxing control register field shift bits definition

2014-12-23 Thread Liu Ying
This patch adds a macro to define the GPR3 MIPI muxing control register field shift bits. Signed-off-by: Liu Ying --- v2->v3: * None. v1->v2: * None. include/linux/mfd/syscon/imx6q-iomuxc-gpr.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/mfd/syscon/imx6q-iomuxc

[PATCH RFC v3 03/18] of: Add vendor prefix for Truly Semiconductors Limited

2014-12-23 Thread Liu Ying
Signed-off-by: Liu Ying --- v2->v3: * None. v1->v2: * None. Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index 3

[PATCH RFC v3 02/18] of: Add vendor prefix for Himax Technologies Inc.

2014-12-23 Thread Liu Ying
Signed-off-by: Liu Ying --- v2->v3: * None. v1->v2: * None. Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index 7

[PATCH RFC v3 01/18] clk: divider: Correct parent clk round rate if no bestdiv is normally found

2014-12-23 Thread Liu Ying
If no best divider is normally found, we will try to use the maximum divider. We should not set the parent clock rate to be 1Hz by force for being rounded. Instead, we should take the maximum divider as a base and calculate a correct parent clock rate for being rounded. Signed-off-by: Liu Ying

[PATCH RFC v3 00/18] Add support for i.MX MIPI DSI DRM driver

2014-12-23 Thread Liu Ying
-A.pdf Liu Ying (18): clk: divider: Correct parent clk round rate if no bestdiv is normally found of: Add vendor prefix for Himax Technologies Inc. of: Add vendor prefix for Truly Semiconductors Limited ARM: imx6q: Add GPR3 MIPI muxing control register field shift bits definition ARM

[PATCH RFC v2 08/14] drm: imx: Add MIPI DSI host controller driver

2014-12-22 Thread Liu Ying
Hi Philipp, On 12/19/2014 06:17 PM, Philipp Zabel wrote: > Hi Liu, > > Am Freitag, den 19.12.2014, 13:53 +0800 schrieb Liu Ying: > [...] >>>> + mipi_dsi: mipi at 021e { >>>> + #address-cells = <1>; >>>> + #size-cells =

[PATCH RFC v2 00/14] Add support for i.MX MIPI DSI DRM driver

2014-12-19 Thread Liu Ying
Hi Andy, On 12/19/2014 02:33 PM, Andy Yan wrote: > Hi Liu Ying: > > I foud Rockchip RK618 (a mfd function device with mipi dsi,lvds > transmitter、HDMI TX、and audio codec,and > controlled by the SOC from i2c ) have the same register layout with your > i.MX MIPI DSIï¼

[PATCH RFC v2 08/14] drm: imx: Add MIPI DSI host controller driver

2014-12-19 Thread Liu Ying
On 12/18/2014 07:39 PM, Philipp Zabel wrote: > Am Donnerstag, den 18.12.2014, 15:11 +0800 schrieb Liu Ying: >> This patch adds i.MX MIPI DSI host controller driver support. >> Currently, the driver supports the burst with sync pulses mode only. >> >> Signed-off-by:

[PATCH RFC v2 06/14] ARM: dts: imx6qdl: Move existing MIPI DSI ports into a new 'ports' node

2014-12-19 Thread Liu Ying
Hi Philipp, On 12/18/2014 06:33 PM, Philipp Zabel wrote: > Am Donnerstag, den 18.12.2014, 15:11 +0800 schrieb Liu Ying: >> The MIPI DSI node contains some ports which represent possible DRM CRTCs >> it can connect with. Each port has a 'reg' property embedded. This >> pro

[PATCH RFC v2 05/14] ARM: imx6q: clk: Add the video_27m clock

2014-12-19 Thread Liu Ying
Hi Philipp, On 12/18/2014 06:31 PM, Philipp Zabel wrote: > Am Donnerstag, den 18.12.2014, 15:11 +0800 schrieb Liu Ying: >> This patch supports the video_27m clock which is a fixed factor >> clock of the pll3_pfd1_540m clock. >> >> Signed-off-by: Liu Ying &g

[PATCH RFC v2 14/14] ARM: imx_v6_v7_defconfig: Add support for Himax HX8369A panel

2014-12-18 Thread Liu Ying
/imx_v6_v7_defconfig Signed-off-by: Liu Ying --- v1->v2: * Add the HIMAX prefix in the Kconfig name. arch/arm/configs/imx_v6_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig index 3e0e589..27db91b 100

[PATCH RFC v2 13/14] ARM: imx_v6_v7_defconfig: Add support for MIPI DSI host controller

2014-12-18 Thread Liu Ying
/configs/imx_v6_v7_defconfig Signed-off-by: Liu Ying --- v1->v2: * None. arch/arm/configs/imx_v6_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig index 0dbd0c3..3e0e589 100644 --- a/arch/arm/conf

[PATCH RFC v2 12/14] ARM: imx_v6_v7_defconfig: Cleanup for imx drm being moved out of staging

2014-12-18 Thread Liu Ying
The new imx_v6_v7_defconfig is generated in this way: * make ARCH=arm imx_v6_v7_defconfig * make ARCH=arm savedefconfig * cp defconfig arch/arm/configs/imx_v6_v7_defconfig Signed-off-by: Liu Ying --- v1->v2: * None. arch/arm/configs/imx_v6_v7_defconfig | 15 +++ 1 file changed

[PATCH RFC v2 11/14] ARM: dts: imx6qdl-sabresd: Add support for TRULY TFT480800-16-E MIPI DSI panel

2014-12-18 Thread Liu Ying
The TRULY TFT480800-16-E panel is driven by the Himax HX8369A driver IC. The driver IC supports several display/control interface modes, including the MIPI DSI video mode and command mode. Signed-off-by: Liu Ying --- v1->v2: * To address Thierry Reding's comments, remove several unnecess

[PATCH RFC v2 10/14] ARM: dtsi: imx6qdl: Add support for MIPI DSI host controller

2014-12-18 Thread Liu Ying
This patch adds support for MIPI DSI host controller. Signed-off-by: Liu Ying --- v1->v2: * None. arch/arm/boot/dts/imx6qdl.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi index 96bf2a0..bfc39fd 100644 --- a/a

[PATCH RFC v2 09/14] drm: panel: Add support for Himax HX8369A MIPI DSI panel

2014-12-18 Thread Liu Ying
This patch adds support for Himax HX8369A MIPI DSI panel. Signed-off-by: Liu Ying --- v1->v2: * Address almost all comments from Thierry Reding. * Remove several DT properties as they can be implied by the compatible string. * Add the HIMAX/himax prefixes to the driver's Kconfig n

[PATCH RFC v2 08/14] drm: imx: Add MIPI DSI host controller driver

2014-12-18 Thread Liu Ying
This patch adds i.MX MIPI DSI host controller driver support. Currently, the driver supports the burst with sync pulses mode only. Signed-off-by: Liu Ying --- v1->v2: * Address almost all comments from Thierry Reding and Russell. * Update the DT documentation to remove the display-timings n

[PATCH RFC v2 07/14] drm/dsi: Add a helper to get bits per pixel of MIPI DSI pixel format

2014-12-18 Thread Liu Ying
Signed-off-by: Liu Ying --- v1->v2: * Thierry Reding suggested that the mipi_dsi_pixel_format_to_bpp() function could be placed at the common DRM MIPI DSI driver. This patch is newly added. include/drm/drm_mipi_dsi.h | 14 ++ 1 file changed, 14 insertions(+) diff --

[PATCH RFC v2 06/14] ARM: dts: imx6qdl: Move existing MIPI DSI ports into a new 'ports' node

2014-12-18 Thread Liu Ying
peripheral device. This patch moves the existing MIPI DSI ports into a new 'ports' node so that the MIPI DSI bus driver may distinguish its DSI peripheral device(s) from the existing ports. Signed-off-by: Liu Ying --- v1->v2: * Newly added, as suggested by Thierry Reding. arch/arm/boot/dts/imx6q.d

[PATCH RFC v2 05/14] ARM: imx6q: clk: Add the video_27m clock

2014-12-18 Thread Liu Ying
This patch supports the video_27m clock which is a fixed factor clock of the pll3_pfd1_540m clock. Signed-off-by: Liu Ying --- v1->v2: * None. arch/arm/mach-imx/clk-imx6q.c | 1 + include/dt-bindings/clock/imx6qdl-clock.h | 3 ++- 2 files changed, 3 insertions(+), 1 delet

[PATCH RFC v2 04/14] ARM: imx6q: Add GPR3 MIPI muxing control register field shift bits definition

2014-12-18 Thread Liu Ying
This patch adds a macro to define the GPR3 MIPI muxing control register field shift bits. Signed-off-by: Liu Ying --- v1->v2: * None. include/linux/mfd/syscon/imx6q-iomuxc-gpr.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/mfd/syscon/imx6q-iomuxc-gpr.h b/include/li

[PATCH RFC v2 03/14] of: Add vendor prefix for Truly Semiconductors Limited

2014-12-18 Thread Liu Ying
Signed-off-by: Liu Ying --- v1->v2: * None. Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index 3cee528..8257f3a 100

[PATCH RFC v2 02/14] of: Add vendor prefix for Himax Technologies Inc.

2014-12-18 Thread Liu Ying
Signed-off-by: Liu Ying --- v1->v2: * None. Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index 78efebb..3cee528 100

[PATCH RFC v2 01/14] clk: divider: Correct parent clk round rate if no bestdiv is normally found

2014-12-18 Thread Liu Ying
If no best divider is normally found, we will try to use the maximum divider. We should not set the parent clock rate to be 1Hz by force for being rounded. Instead, we should take the maximum divider as a base and calculate a correct parent clock rate for being rounded. Signed-off-by: Liu Ying

[PATCH RFC v2 00/14] Add support for i.MX MIPI DSI DRM driver

2014-12-18 Thread Liu Ying
20MHz, which causes a horitonal shift on the display image. This series can be applied on the drm-next branch. [1] http://www.allshore.com/pdf/Himax_HX8369-A.pdf Liu Ying (14): clk: divider: Correct parent clk round rate if no bestdiv is normally found of: Add vendor prefix for Himax

[PATCH RFC 09/15] drm: imx: Add MIPI DSI host controller driver

2014-12-18 Thread Liu Ying
Hi Russell, On 12/17/2014 06:40 PM, Russell King - ARM Linux wrote: > On Wed, Dec 17, 2014 at 05:44:33PM +0800, Liu Ying wrote: >> Hi Thierry, >> >> Sorry for the late response. >> I tried to address almost all your comments locally first. >> More feedback be

[PATCH RFC 12/15] ARM: dts: imx6qdl-sabresd: Add support for TRULY TFT480800-16-E MIPI DSI panel

2014-12-17 Thread Liu Ying
2014-12-10 22:07 GMT+08:00 Thierry Reding : > > On Wed, Dec 10, 2014 at 04:37:25PM +0800, Liu Ying wrote: > [...] > > diff --git a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi > b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi > [...] > > +_dsi { > > + status = &

[PATCH RFC 10/15] drm: panel: Add support for Himax HX8369A MIPI DSI panel

2014-12-17 Thread Liu Ying
On 12/10/2014 10:03 PM, Thierry Reding wrote: > On Wed, Dec 10, 2014 at 04:37:23PM +0800, Liu Ying wrote: >> This patch adds support for Himax HX8369A MIPI DSI panel. >> >> Signed-off-by: Liu Ying >> --- >> .../devicetree/bindings/panel/himax,hx8369a.txt

[PATCH RFC 09/15] drm: imx: Add MIPI DSI host controller driver

2014-12-17 Thread Liu Ying
Hi Thierry, Sorry for the late response. I tried to address almost all your comments locally first. More feedback below. On 12/10/2014 09:16 PM, Thierry Reding wrote: > On Wed, Dec 10, 2014 at 04:37:22PM +0800, Liu Ying wrote: >> This patch adds i.MX MIPI DSI host controller drive

[PATCH RFC 04/15] drm/dsi: Do not add DSI devices for the child nodes with input-port property

2014-12-11 Thread Liu Ying
Hi Thierry, On 12/11/2014 10:52 AM, Liu Ying wrote: > Hi Thierry, > > On 12/10/2014 08:21 PM, Thierry Reding wrote: >> On Wed, Dec 10, 2014 at 04:37:17PM +0800, Liu Ying wrote: >>> The MIPI DSI bus driver would try to add a DSI device for a host's every >>>

[PATCH RFC 04/15] drm/dsi: Do not add DSI devices for the child nodes with input-port property

2014-12-11 Thread Liu Ying
Hi Thierry, On 12/10/2014 08:21 PM, Thierry Reding wrote: > On Wed, Dec 10, 2014 at 04:37:17PM +0800, Liu Ying wrote: >> The MIPI DSI bus driver would try to add a DSI device for a host's every >> child node which contains the reg property. Unfortunately, the existing >> i.M

[PATCH RFC 15/15] ARM: imx_v6_v7_defconfig: Add support for Himax HX8369A panel

2014-12-10 Thread Liu Ying
/imx_v6_v7_defconfig Signed-off-by: Liu Ying --- arch/arm/configs/imx_v6_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig index 3e0e589..01b2b89 100644 --- a/arch/arm/configs/imx_v6_v7_defconfig +++ b/arch/arm

[PATCH RFC 14/15] ARM: imx_v6_v7_defconfig: Add support for MIPI DSI host controller

2014-12-10 Thread Liu Ying
/configs/imx_v6_v7_defconfig Signed-off-by: Liu Ying --- arch/arm/configs/imx_v6_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig index 0dbd0c3..3e0e589 100644 --- a/arch/arm/configs/imx_v6_v7_defconfig

[PATCH RFC 13/15] ARM: imx_v6_v7_defconfig: Cleanup for imx drm being moved out of staging

2014-12-10 Thread Liu Ying
The new imx_v6_v7_defconfig is generated in this way: * make ARCH=arm imx_v6_v7_defconfig * make ARCH=arm savedefconfig * cp defconfig arch/arm/configs/imx_v6_v7_defconfig Signed-off-by: Liu Ying --- arch/arm/configs/imx_v6_v7_defconfig | 15 +++ 1 file changed, 7 insertions(+), 8

[PATCH RFC 12/15] ARM: dts: imx6qdl-sabresd: Add support for TRULY TFT480800-16-E MIPI DSI panel

2014-12-10 Thread Liu Ying
The TRULY TFT480800-16-E panel is driven by the Himax HX8369A driver IC. The driver IC supports several display/control interface modes, including the MIPI DSI video mode and command mode. Signed-off-by: Liu Ying --- arch/arm/boot/dts/imx6qdl-sabresd.dtsi | 41

[PATCH RFC 11/15] ARM: dtsi: imx6qdl: Add support for MIPI DSI host controller

2014-12-10 Thread Liu Ying
This patch adds support for MIPI DSI host controller. Signed-off-by: Liu Ying --- arch/arm/boot/dts/imx6qdl.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi index 5d92ad7..4769767 100644 --- a/arch/arm/boot/dts

[PATCH RFC 10/15] drm: panel: Add support for Himax HX8369A MIPI DSI panel

2014-12-10 Thread Liu Ying
This patch adds support for Himax HX8369A MIPI DSI panel. Signed-off-by: Liu Ying --- .../devicetree/bindings/panel/himax,hx8369a.txt| 86 +++ drivers/gpu/drm/panel/Kconfig | 6 + drivers/gpu/drm/panel/Makefile | 1 + drivers/gpu/drm/panel/panel

[PATCH RFC 09/15] drm: imx: Add MIPI DSI host controller driver

2014-12-10 Thread Liu Ying
This patch adds i.MX MIPI DSI host controller driver support. Currently, the driver supports the burst with sync pulses mode only. Signed-off-by: Liu Ying --- .../devicetree/bindings/drm/imx/mipi_dsi.txt | 81 ++ drivers/gpu/drm/imx/Kconfig|6 + drivers/gpu

[PATCH RFC 08/15] ARM: imx6q: clk: Add the video_27m clock

2014-12-10 Thread Liu Ying
This patch supports the video_27m clock which is a fixed factor clock of the pll3_pfd1_540m clock. Signed-off-by: Liu Ying --- arch/arm/mach-imx/clk-imx6q.c | 1 + include/dt-bindings/clock/imx6qdl-clock.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/arch

[PATCH RFC 07/15] ARM: imx6q: Add GPR3 MIPI muxing control register field shift bits definition

2014-12-10 Thread Liu Ying
This patch adds a macro to define the GPR3 MIPI muxing control register field shift bits. Signed-off-by: Liu Ying --- include/linux/mfd/syscon/imx6q-iomuxc-gpr.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/mfd/syscon/imx6q-iomuxc-gpr.h b/include/linux/mfd/syscon/imx6q

[PATCH RFC 06/15] ARM: dts: imx6q: Add MIPI DSI remote end points for IPU2 DI0/1 end points

2014-12-10 Thread Liu Ying
This patch adds MIPI DSI remote end points for IPU2 DI0/1 end points. Signed-off-by: Liu Ying --- arch/arm/boot/dts/imx6q.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/imx6q.dtsi b/arch/arm/boot/dts/imx6q.dtsi index e6a6d90..82507e7 100644 --- a/arch/arm/boot/dts

[PATCH RFC 05/15] ARM: dts: imx6qdl: Add input-port property to MIPI DSI node's CTRC child nodes

2014-12-10 Thread Liu Ying
To phase out the MIPI DSI's child nodes which present DRM CRTCs from the child nodes which represent MIPI DSI peripherals, we need to add input-port property to the child nodes to be phased out. Signed-off-by: Liu Ying --- arch/arm/boot/dts/imx6q.dtsi | 2 ++ arch/arm/boot/dts/imx6qdl.dtsi

[PATCH RFC 04/15] drm/dsi: Do not add DSI devices for the child nodes with input-port property

2014-12-10 Thread Liu Ying
, this patch phases out the child nodes with input-port property before adding DSI devices for them and updates the MIPI DSI bus OF binding documentation. Signed-off-by: Liu Ying --- Documentation/devicetree/bindings/mipi/dsi/mipi-dsi-bus.txt | 4 drivers/gpu/drm/drm_mipi_dsi.c

[PATCH RFC 03/15] of: Add vendor prefix for Truly Semiconductors Limited

2014-12-10 Thread Liu Ying
Signed-off-by: Liu Ying --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index 3cee528..8257f3a 100644 --- a/Documentation

[PATCH RFC 02/15] of: Add vendor prefix for Himax Technologies Inc.

2014-12-10 Thread Liu Ying
Signed-off-by: Liu Ying --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index 78efebb..3cee528 100644 --- a/Documentation

[PATCH RFC 01/15] clk: divider: Correct parent clk round rate if no bestdiv is normally found

2014-12-10 Thread Liu Ying
If no best divider is normally found, we will try to use the maximum divider. We should not set the parent clock rate to be 1Hz by force for being rounded. Instead, we should take the maximum divider as a base and calculate a correct parent clock rate for being rounded. Signed-off-by: Liu Ying

[PATCH RFC 00/15] Add support for i.MX MIPI DSI DRM driver

2014-12-10 Thread Liu Ying
be applied on the drm-next branch. [1] http://www.allshore.com/pdf/Himax_HX8369-A.pdf Liu Ying (15): clk: divider: Correct parent clk round rate if no bestdiv is normally found of: Add vendor prefix for Himax Technologies Inc. of: Add vendor prefix for Truly Semiconductors Limited drm/dsi

[PATCH] drm/fb-helper: Remove unnecessary list empty check in drm_fb_helper_debug_enter()

2014-06-19 Thread Liu Ying
in drm_fb_helper_debug_enter(). Signed-off-by: Liu Ying --- drivers/gpu/drm/drm_fb_helper.c |3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/gpu/drm/drm_fb_helper.c b/drivers/gpu/drm/drm_fb_helper.c index d5d8cea..eb77a2f 100644 --- a/drivers/gpu/drm/drm_fb_helper.c +++ b/drivers/gpu/drm

[PATCH] drm/fb-helper: Return correct type to match drm_fb_helper_debug_enter() prototype

2014-06-19 Thread Liu Ying
On 06/19/2014 03:01 PM, Daniel Vetter wrote: > On Thu, Jun 19, 2014 at 10:50:31AM +0800, Liu Ying wrote: >> The return type of drm_fb_helper_debug_enter() is int, so we should return >> '0' >> instead of 'false'. >> >> Signed-off-by: Liu Ying >> --- >

[PATCH] drm/fb-helper: Redundant info->fix.type_aux setting in drm_fb_helper_fill_fix()

2014-06-19 Thread Liu Ying
The variable info->fix.type_aux is set to zero twice in the function drm_fb_helper_fill_fix(). This patch removes one redundant. Signed-off-by: Liu Ying --- drivers/gpu/drm/drm_fb_helper.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/drm_fb_helper.c b/drivers/gpu/

[PATCH] drm/fb-helper: Return correct type to match drm_fb_helper_debug_enter() prototype

2014-06-19 Thread Liu Ying
The return type of drm_fb_helper_debug_enter() is int, so we should return '0' instead of 'false'. Signed-off-by: Liu Ying --- drivers/gpu/drm/drm_fb_helper.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_fb_helper.c b/drivers/gpu/drm/drm_fb_helper.c

<    5   6   7   8   9   10   11   >