[PATCH 1/1] ARM: dts: imx6q-sabresd: add volume up/down gpio keys

2012-11-12 Thread Liu Ying
Add volume up/down gpio keys support in imx6q-sabresd.dts. Signed-off-by: Liu Ying ying@freescale.com --- arch/arm/boot/dts/imx6q-sabresd.dts | 18 ++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/imx6q-sabresd.dts b/arch/arm/boot/dts

[PATCH 1/1] media: mx3_camera: Improve data bus width check code for probe

2012-08-06 Thread Liu Ying
This patch contains code change only to use the present macro- MX3_CAMERA_DATAWIDTH_MASK to check valid camera platform data bus width instead of enumerating every possible data bus width. Signed-off-by: Liu Ying ying@freescale.com --- drivers/media/video/mx3_camera.c |4 +--- 1 files

[PATCH 2/3] ARM: dts: imx6q/imx6dl: add necessary clocks for ldb node

2013-08-20 Thread Liu Ying
This patch adds di[0/1]_div_3_5, di[0/1]_div_7 and di[0/1]_div_sel clocks to the ldb nodes so that the ldb driver may use them to setup the display clock trees. Signed-off-by: Liu Ying ying@freescale.com --- arch/arm/boot/dts/imx6dl.dtsi |8 ++-- arch/arm/boot/dts/imx6q.dtsi |8

[PATCH 1/3] ARM: imx6q: refactor some ldb related clocks

2013-08-20 Thread Liu Ying
ldb_di[0/1]_div_sel multiplexers so that the fixed factor clocks of 1/3.5 and 1/7 can be set to be the parents of ldb_di[0/1]_div_sel multiplexers. The ldb_di[0/1]_podf dividers are no longer used then. Signed-off-by: Liu Ying ying@freescale.com --- .../devicetree/bindings/clock/imx6q-clock.txt

[PATCH 0/3] refactor some ldb related clocks

2013-08-20 Thread Liu Ying
changes to fullfill the task. Liu Ying (3): ARM: imx6q: refactor some ldb related clocks ARM: dts: imx6q/imx6dl: add necessary clocks for ldb node staging: drm/imx: ldb: correct the ldb di clock trees .../devicetree/bindings/clock/imx6q-clock.txt |6 ++-- arch/arm/boot/dts

[PATCH 3/3] staging: drm/imx: ldb: correct the ldb di clock trees

2013-08-20 Thread Liu Ying
as well. Signed-off-by: Liu Ying ying@freescale.com --- drivers/staging/imx-drm/imx-ldb.c | 38 + 1 file changed, 30 insertions(+), 8 deletions(-) diff --git a/drivers/staging/imx-drm/imx-ldb.c b/drivers/staging/imx-drm/imx-ldb.c index 8af7f3b..7c553b8

Re: [PATCH 0/3] refactor some ldb related clocks

2013-08-20 Thread Liu Ying
On 08/20/2013 05:43 PM, Philipp Zabel wrote: Am Dienstag, den 20.08.2013, 16:38 +0800 schrieb Liu Ying: The ldb_di[0/1]_ipu_div clock dividers in the CSCMR2 register of i.MX53, i.MX6Q and i.MX6DL SoCs can be configured to a 1/3.5 drivider or a 1/7 divider. The common clock framework cannot

Re: [PATCH 0/3] refactor some ldb related clocks

2013-08-20 Thread Liu Ying
On 08/21/2013 09:59 AM, Shawn Guo wrote: Hi Ying, On Tue, Aug 20, 2013 at 06:08:48PM +0800, Liu Ying wrote: While I admit to having introduced the combination of 1/3.5 fixed divider and configurable 1/1,1/2 divder clocks to describe this fractional divider for the reasons you state, I think

Re: [PATCH 1/3] ARM: imx6q: refactor some ldb related clocks

2013-08-20 Thread Liu Ying
On 08/20/2013 11:40 PM, Fabio Estevam wrote: On Tue, Aug 20, 2013 at 5:38 AM, Liu Ying ying@freescale.com wrote: diff --git a/Documentation/devicetree/bindings/clock/imx6q-clock.txt b/Documentation/devicetree/bindings/clock/imx6q-clock.txt index 5a90a72..90e923e 100644

[PATCH] video: pwm backlight: power off when necessary

2014-02-26 Thread Liu Ying
tomi.valkei...@ti.com Signed-off-by: Liu Ying ying@freescale.com --- drivers/video/backlight/pwm_bl.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/video/backlight/pwm_bl.c b/drivers/video/backlight/pwm_bl.c index b75201f..e61e66a 100644 --- a/drivers

[PATCH] backlight: Turn backlight on/off when necessary

2013-05-30 Thread Liu Ying
the backlight off for all the other framebuffers, since they are likely active to show display content. This patch adds logic to record each framebuffer's backlight status to determine the backlight device use count and whether the backlight should be turned on or off. Signed-off-by: Liu Ying ying

[PATCH v3] pwm: i.MX: Avoid sample FIFO overflow for i.MX PWM version2

2014-05-15 Thread Liu Ying
-electronics.de Cc: linux-...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org Signed-off-by: Liu Ying ying@freescale.com --- v2-v3: * Wait for a rollover event before configuration when PWM is active with non-zero duty period. And, update commit message for that. * Fix some typos in commit

Re: [PATCH v3] pwm: i.MX: Avoid sample FIFO overflow for i.MX PWM version2

2014-05-19 Thread Liu Ying
Hi Lothar, Thanks for your review. On 05/19/2014 01:53 PM, Lothar Waßmann wrote: Hi, Liu Ying wrote: [...] @@ -30,6 +32,7 @@ /* i.MX27, i.MX31, i.MX35 share the same PWM function block: */ #define MX3_PWMCR 0x00/* PWM Control Register */ +#define MX3_PWMIR

Re: [PATCH v3] pwm: i.MX: Avoid sample FIFO overflow for i.MX PWM version2

2014-05-19 Thread Liu Ying
Hi Sascha, Thanks for your comments. On 05/19/2014 03:11 PM, Sascha Hauer wrote: On Fri, May 16, 2014 at 01:11:08PM +0800, Liu Ying wrote: The i.MX PWM version2 is embedded in several i.MX SoCs, such as i.MX27, i.MX51 and i.MX6SL. There are four 16bit sample FIFOs in this IP, each of which

[PATCH] pwm: i.MX: Cleanup indentation for register definitions

2014-05-27 Thread Liu Ying
-arm-ker...@lists.infradead.org Signed-off-by: Liu Ying ying@freescale.com --- drivers/pwm/pwm-imx.c | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/drivers/pwm/pwm-imx.c b/drivers/pwm/pwm-imx.c index cc47733..0784554 100644 --- a/drivers/pwm/pwm

[PATCH v4] pwm: i.MX: Avoid sample FIFO overflow for i.MX PWM version2

2014-05-27 Thread Liu Ying
...@karo-electronics.de Cc: linux-...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org Signed-off-by: Liu Ying ying@freescale.com --- v3-v4: * To address Sascha's comment, drop the rollover event approach and wait for a full PWM cycle to get a relinquished FIFO slot when the controller

Re: [PATCH] pwm: i.MX: Cleanup indentation for register definitions

2014-05-28 Thread Liu Ying
On 05/28/2014 05:56 PM, Lothar Waßmann wrote: Hi, Liu Ying wrote: This patch contains no logic change to cleanup indentation for register definitions only. Cc: Thierry Reding thierry.red...@gmail.com Cc: Sascha Hauer s.ha...@pengutronix.de Cc: Shawn Guo shawn@freescale.com Cc

[PATCH 1/3] pwm: i.MX: Fix the macro MX3_PWMCR_PRESCALER(x) definition

2014-05-28 Thread Liu Ying
@freescale.com Cc: Lothar Waßmann l...@karo-electronics.de Cc: linux-...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org Signed-off-by: Liu Ying ying@freescale.com --- drivers/pwm/pwm-imx.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pwm/pwm-imx.c b

[PATCH v2 2/3] pwm: i.MX: Cleanup indentation for register definitions

2014-05-28 Thread Liu Ying
-arm-ker...@lists.infradead.org Signed-off-by: Liu Ying ying@freescale.com --- v1-v2: * Rebase up to the commit(1/3 in this series) which fixes the macro MX3_PWMCR_PRESCALER(x) definition. drivers/pwm/pwm-imx.c | 26 +- 1 file changed, 13 insertions(+), 13 deletions

[PATCH v5 3/3] pwm: i.MX: Avoid sample FIFO overflow for i.MX PWM version2

2014-05-28 Thread Liu Ying
...@karo-electronics.de Cc: linux-...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org Signed-off-by: Liu Ying ying@freescale.com --- v4-v5: * Rebase up to the commit(1/3 in this series) which fixes the macro MX3_PWMCR_PRESCALER(x) definition. v3-v4: * To address Sascha's comment, drop

[PATCH] drivers/base: redundant return value settings in try_to_bring_up_master()

2014-06-17 Thread Liu Ying
Remove redundant return value settings 'ret = 0;' in the function try_to_bring_up_master(), since it has already been set to zero. Signed-off-by: Liu Ying ying@freescale.com --- drivers/base/component.c |2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/base/component.c b

Re:[PATCH v2] backlight: turn backlight on/off when necessary

2014-01-21 Thread Liu Ying
Ping... Regards, Liu Ying On 01/20/2014 12:52 PM, Liu Ying wrote: We don't have to turn backlight on/off everytime a blanking or unblanking event comes because the backlight status may have already been what we want. Another thought is that one backlight device may be shared by multiple

Re: [PATCH v2] backlight: turn backlight on/off when necessary

2014-01-22 Thread Liu Ying
On 01/22/2014 05:35 PM, Jani Nikula wrote: On Mon, 20 Jan 2014, Liu Ying ying@freescale.com wrote: We don't have to turn backlight on/off everytime a blanking or unblanking event comes because the backlight status may have already been what we want. Another thought is that one backlight

[PATCH v3] backlight: turn backlight on/off when necessary

2014-01-22 Thread Liu Ying
framebuffer. Signed-off-by: Liu Ying ying@freescale.com --- v1 can be found at https://lkml.org/lkml/2013/5/30/139 v2-v3: * Set fb_blank(*(int *)evdata-data) to bd-props.fb_blank when we turn off a blacklight. * Correct some trivial typos in the commit message. v1-v2: * Make the commit message

Re: [PATCH v2] backlight: turn backlight on/off when necessary

2014-01-23 Thread Liu Ying
On 01/23/2014 01:44 PM, Jingoo Han wrote: On Wednesday, January 22, 2014 6:36 PM, Jani Nikula wrote: On Mon, 20 Jan 2014, Liu Ying ying@freescale.com wrote: We don't have to turn backlight on/off everytime a blanking or unblanking event comes because the backlight status may have already

Re: [PATCH v2] backlight: turn backlight on/off when necessary

2014-01-23 Thread Liu Ying
On 01/23/2014 05:27 PM, Liu Ying wrote: On 01/23/2014 01:44 PM, Jingoo Han wrote: On Wednesday, January 22, 2014 6:36 PM, Jani Nikula wrote: On Mon, 20 Jan 2014, Liu Ying ying@freescale.com wrote: We don't have to turn backlight on/off everytime a blanking or unblanking event comes

[PATCH v4 1/2] backlight: update bd state fb_blank properties when necessary

2014-01-23 Thread Liu Ying
on a certain blanked framebuffer may increase the backlight device's use count by one, while one blank operation on a certain unblanked framebuffer may decrease the use count by one, because the userspace is likely to unblank an unblanked framebuffer or blank a blanked framebuffer. Signed-off-by: Liu

[PATCH v4 0/2] backlight: update bl status and some bd properties when necessary

2014-01-23 Thread Liu Ying
the backlight off for all the other framebuffers, since they are likely being active to display something. This patch set adds some logics to record each framebuffer's backlight usage to determine the backlight device use count and whether the backlight status should be updated or not. Liu Ying (2

[PATCH v4 2/2] backlight: update backlight status when necessary

2014-01-23 Thread Liu Ying
the backlight off for all the other framebuffers, since they are likely being active to display something. This patch makes the backlight status be updated only when the relevant backlight device's use count changes from zero to one or from one to zero. Signed-off-by: Liu Ying ying@freescale.com

[PATCH v2] backlight: turn backlight on/off when necessary

2014-01-19 Thread Liu Ying
. Signed-off-by: Liu Ying ying@freescale.com --- v1 can be found at https://lkml.org/lkml/2013/5/30/139 v1-v2: * Make the commit message be more specific about the condition in which backlight device use count can be increased/decreased. * Correct the setting for bd-props.fb_blank. drivers

Re: [PATCH] drivers/base: redundant return value settings in try_to_bring_up_master()

2014-07-13 Thread Liu Ying
On 07/12/2014 08:58 AM, Greg KH wrote: On Tue, Jun 17, 2014 at 04:25:31PM +0800, Liu Ying wrote: Remove redundant return value settings 'ret = 0;' in the function try_to_bring_up_master(), since it has already been set to zero. Signed-off-by: Liu Ying ying@freescale.com --- drivers/base

[PATCH] bus: imx-weim: populate devices on a simple bus

2014-07-04 Thread Liu Ying
transparent) bewteen the i.MX WEIM and the simple bus. This patch makes the i.MX WEIM driver possible to populate devices on a simple bus. In this way, people may try various IPs(in a FPGA, maybe) outside of i.MX chips with the i.MX WEIM embedded. Signed-off-by: Liu Ying ying@freescale.com

[PATCH] drvres: Improve grp-id setting logics in devres_open_group()

2014-10-29 Thread Liu Ying
Instead of setting grp-id directly with a temporary value and then changing it if a certain condition meets, we may check the condition first and then decide which value should be set to grp-id. This may save two lines of code and potentially reduces a writing operation. Signed-off-by: Liu Ying

[PATCH v2] devres: Improve grp-id setting logics in devres_open_group()

2014-10-29 Thread Liu Ying
Instead of setting grp-id directly with a temporary value and then changing it if a certain condition meets, we may check the condition first and then decide which value should be set to grp-id. This may save two lines of code and potentially reduces a writing operation. Signed-off-by: Liu Ying

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

2014-12-22 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 07/18] ARM: imx6q: clk: Change hsi_tx clock to be a shared clock gate

2014-12-22 Thread Liu Ying
to be a shared clock gate. Suggested-by: Philipp Zabel p.za...@pengutronix.de Signed-off-by: Liu Ying ying@freescale.com --- 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 v3 02/18] of: Add vendor prefix for Himax Technologies Inc.

2014-12-22 Thread Liu Ying
Signed-off-by: Liu Ying ying@freescale.com --- 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

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

2014-12-22 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 ying@freescale.com --- v2-v3: * None. v1-v2: * None. arch/arm/mach-imx/clk-imx6q.c | 1 + include/dt-bindings/clock/imx6qdl-clock.h | 3 ++- 2 files

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

2014-12-22 Thread Liu Ying
Signed-off-by: Liu Ying ying@freescale.com --- 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

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

2014-12-22 Thread Liu Ying
Signed-off-by: Liu Ying ying@freescale.com --- 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

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

2014-12-22 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 ying@freescale.com --- v2-v3: * None. v1-v2: * None. arch/arm/configs/imx_v6_v7_defconfig

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

2014-12-22 Thread Liu Ying
/configs/imx_v6_v7_defconfig Signed-off-by: Liu Ying ying@freescale.com --- 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 v3 13/18] drm: panel: Add support for Himax HX8369A MIPI DSI panel

2014-12-22 Thread Liu Ying
This patch adds support for Himax HX8369A MIPI DSI panel. Signed-off-by: Liu Ying ying@freescale.com --- 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

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

2014-12-22 Thread Liu Ying
/imx_v6_v7_defconfig Signed-off-by: Liu Ying ying@freescale.com --- 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

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

2014-12-22 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 ying@freescale.com --- v2-v3: * None. v1-v2: * To address Thierry Reding's

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

2014-12-22 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 ying@freescale.com --- v2-v3: * Newly introduced in v3 to address Andy Yan's comment. This is based on the i.MX MIPI

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

2014-12-22 Thread Liu Ying
This patch adds support for MIPI DSI host controller. Signed-off-by: Liu Ying ying@freescale.com --- 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 09/18] ARM: dts: imx6qdl: Move existing MIPI DSI ports into a new 'ports' node

2014-12-22 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 p.za...@pengutronix.de Signed-off-by: Liu Ying ying@freescale.com --- v2-v3: * Add

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

2014-12-22 Thread Liu Ying
Signed-off-by: Liu Ying ying@freescale.com --- v2-v3: * Newly introduced in v3. 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/arm/mach-imx/clk-imx6q.c b/arch/arm/mach-imx/clk

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

2014-12-22 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 ying@freescale.com --- v2-v3: * To address Andy Yan's comments, move the common Synopsys DesignWare MIPI DSI host controller logic into it's drm

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

2014-12-22 Thread Liu Ying
This patch adds a macro to define the GPR3 MIPI muxing control register field shift bits. Signed-off-by: Liu Ying ying@freescale.com --- 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

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

2014-12-22 Thread Liu Ying
-by: Philipp Zabel p.za...@pengutronix.de Signed-off-by: Liu Ying ying@freescale.com --- 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

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

2014-12-22 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

Re: [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 ying@freescale.com hat am 23. Dezember 2014 um 04:46 geschrieben: Signed-off-by: Liu Ying ying@freescale.com --- v2-v3: * None. v1-v2: * None. Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1

Re: [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 ying@freescale.com hat am 23. Dezember 2014 um 04:46 geschrieben: This patch adds Synopsys DesignWare MIPI DSI host controller driver support. Currently, the driver supports the burst with sync pulses mode only

[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 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 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 p.za...@pengutronix.de Signed-off-by: Liu Ying ying@freescale.com --- 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

[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 p.za...@pengutronix.de Signed-off-by: Liu Ying ying@freescale.com --- 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

[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
Signed-off-by: Liu Ying ying@freescale.com --- v3-v4: * None. v2-v3: * Newly introduced in v3. 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/arm/mach-imx/clk-imx6q.c b/arch

[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 ying@freescale.com --- 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

[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 ying@freescale.com --- 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

[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 ying@freescale.com --- 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 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 ying@freescale.com --- v3-v4: * Newly introduced in v4. This is separated from the relevant driver patch in v3 to address Stefan Wahren's comment

[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 ying@freescale.com --- 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

[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 ying@freescale.com --- 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

[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 ying@freescale.com --- v3-v4: * None. v2-v3: * None. v1-v2: * None. arch/arm/configs

[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 ying@freescale.com --- 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/arm

[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 ying@freescale.com --- v3-v4: * Move the relevant dt-bindings to a separate patch to address Stefan Wahren's comment. v2-v3: * To address Andy Yan's

[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 ying@freescale.com --- v3-v4: * None. v2-v3: * None. v1-v2: * To address

[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 ying@freescale.com --- 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

[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 ying@freescale.com --- 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

[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 p.za...@pengutronix.de Signed-off-by: Liu Ying ying@freescale.com --- v3-v4: * None

[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 ying@freescale.com --- v3-v4: * Move the relevant dt-bindings to a separate patch to address Stefan Wahren's comment

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

2014-12-23 Thread Liu Ying
Signed-off-by: Liu Ying ying@freescale.com --- 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

[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 ying@freescale.com --- 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

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

2014-12-23 Thread Liu Ying
Signed-off-by: Liu Ying ying@freescale.com --- 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

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

2014-12-23 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 ying@freescale.com --- v2-v3: * Sort the included header files alphabetically. v1-v2

[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 v5 02/21] of: Add vendor prefix for Himax Technologies Inc.

2014-12-24 Thread Liu Ying
Signed-off-by: Liu Ying ying@freescale.com --- 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

[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 ying@freescale.com --- 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

[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 p.za...@pengutronix.de Signed-off-by: Liu Ying ying@freescale.com --- 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

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

2014-12-24 Thread Liu Ying
This patch adds device tree bindings for Himax HX8369A DRM panel driver. Signed-off-by: Liu Ying ying@freescale.com --- v4-v5: * Merge the bs[3:0]-gpios properties into one property - bs-gpios. This addresses Andrzej Hajda's comment. v3-v4: * Newly introduced in v4. This is separated

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

2014-12-24 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 ying@freescale.com --- v4-v5: * Remove 'dsi-panel = NULL;' in dw_mipi_dsi_host_detach() to address Andrzej Hajda's

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

2014-12-24 Thread Liu Ying
This patch adds device tree bindings for i.MX specific Synopsys DW MIPI DSI driver. Signed-off-by: Liu Ying ying@freescale.com --- v4-v5: * None. v3-v4: * Newly introduced in v4. This is separated from the relevant driver patch in v3 to address Stefan Wahren's comment

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

2014-12-24 Thread Liu Ying
Signed-off-by: Liu Ying ying@freescale.com --- v4-v5: * None. 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

[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
Signed-off-by: Liu Ying ying@freescale.com --- v4-v5: * None. v3-v4: * None. v2-v3: * Newly introduced in v3. 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/arm/mach-imx/clk

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

2014-12-24 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 ying@freescale.com --- v4-v5: * None. v3-v4: * None. v2-v3: * None. v1-v2: * None. arch

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

2014-12-24 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 ying@freescale.com --- v4-v5: * Replace the bs[3:0]-gpios properties

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

2014-12-24 Thread Liu Ying
/imx_v6_v7_defconfig Signed-off-by: Liu Ying ying@freescale.com --- v4-v5: * None. 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

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

2014-12-24 Thread Liu Ying
/configs/imx_v6_v7_defconfig Signed-off-by: Liu Ying ying@freescale.com --- v4-v5: * None. 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

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

2014-12-24 Thread Liu Ying
This patch adds support for MIPI DSI host controller. Signed-off-by: Liu Ying ying@freescale.com --- v4-v5: * None. 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

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

2014-12-24 Thread Liu Ying
This patch adds support for Himax HX8369A MIPI DSI panel. Signed-off-by: Liu Ying ying@freescale.com --- v4-v5: * Address Andrzej Hajda's comments. * Get the bs-gpios property instead of the bs[3:0]-gpios properties. * Implement error propagation for panel register configurations. * Other

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

2014-12-24 Thread Liu Ying
This patch adds device tree bindings for Synopsys DesignWare MIPI DSI host controller DRM bridge driver. Signed-off-by: Liu Ying ying@freescale.com --- v4-v5: * None. v3-v4: * Newly introduced in v4. This is separated from the relevant driver patch in v3 to address Stefan Wahren's

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

2014-12-24 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 ying@freescale.com --- v4-v5: * None. v3-v4: * Move the relevant dt-bindings to a separate patch to address Stefan Wahren's comment. v2-v3

[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 p.za...@pengutronix.de Signed-off-by: Liu Ying ying@freescale.com --- 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

[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 p.za...@pengutronix.de Signed-off-by: Liu Ying ying@freescale.com --- v4-v5: * None

[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 ying@freescale.com --- v4-v5: * None. v3-v4: * None. v2-v3: * None. v1-v2: * None. arch/arm/mach-imx/clk-imx6q.c | 1 + include/dt-bindings/clock

[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 03/21] of: Add vendor prefix for Truly Semiconductors Limited

2014-12-24 Thread Liu Ying
Signed-off-by: Liu Ying ying@freescale.com --- 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

  1   2   3   4   5   6   7   8   >