Re: [PATCH v18 0/12] dw-hdmi: convert imx hdmi to bridge/dw_hdmi

2015-01-06 Thread Andy Yan
Hi Liu Ying , Philipp: On 2015年01月07日 10:39, Liu Ying wrote: On 12/05/2014 02:22 PM, Andy Yan wrote: We found Freescale imx6 and Rockchip rk3288 and Ingenic JZ4780 (Xburst/MIPS) use the interface compatible Designware HDMI IP, but they also have some lightly differences, such as phy pll

Re: [PATCH v18 06/12] dt-bindings: add document for dw_hdmi

2014-12-07 Thread Andy Yan
Hi Mark Rutland, Rob Herring, Pawel Moll, Ian Campbell, Kumar Gala: Would you please give an Ack for this? On 2014年12月05日 21:54, Philipp Zabel wrote: Am Freitag, den 05.12.2014, 14:27 +0800 schrieb Andy Yan: Signed-off-by: Andy Yan andy@rock-chips.com This binding is mostly a copy

Re: [PATCH v18 0/12] dw-hdmi: convert imx hdmi to bridge/dw_hdmi

2014-12-05 Thread Andy Yan
Hi Philipp: On 2014年12月05日 21:55, Philipp Zabel wrote: Hi Andy, Am Freitag, den 05.12.2014, 14:22 +0800 schrieb Andy Yan: We found Freescale imx6 and Rockchip rk3288 and Ingenic JZ4780 (Xburst/MIPS) use the interface compatible Designware HDMI IP, but they also have some lightly differences

[PATCH v17 0/12] dw-hdmi: convert imx hdmi to bridge/dw_hdmi

2014-12-04 Thread Andy Yan
: - refactor reg-io-width Changes in v4: - fix checkpatch CHECK - defer probe ddc i2c adapter Changes in v3: - split multi-register access to one indepent patch Andy Yan (12): drm: imx: imx-hdmi: make checkpatch happy drm: imx: imx-hdmi: return defer if can't get ddc i2c adapter drm: imx: imx

[PATCH v17 02/12] drm: imx: imx-hdmi: return defer if can't get ddc i2c adapter

2014-12-04 Thread Andy Yan
drm driver may probe before the i2c bus, so the driver should defer probing until it is available Signed-off-by: Andy Yan andy@rock-chips.com Reviewed-by: Daniel Kurtz djku...@chromium.org --- Changes in v17: None Changes in v16: None Changes in v15: None Changes in v14: None Changes in v13

[PATCH v17 03/12] drm: imx: imx-hdmi: convert imx-hdmi to drm_bridge mode

2014-12-04 Thread Andy Yan
://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2014-July/053484.html Signed-off-by: Andy Yan andy@rock-chips.com Signed-off-by: Yakir Yang y...@rock-chips.com --- Changes in v17: - remove platform device stuff, adviced by Russell King Changes in v16: - use the common binding for the clocks

[PATCH v17 04/12] drm: imx: imx-hdmi: split phy configuration to platform driver

2014-12-04 Thread Andy Yan
hdmi phy configuration is platform specific, which can be adusted according to the board to get the best SI Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v17: None Changes in v16: None Changes in v15: None Changes in v14: None Changes in v13: - split phy configuration from

[PATCH v17 05/12] drm: imx: imx-hdmi: move imx-hdmi to bridge/dw_hdmi

2014-12-04 Thread Andy Yan
the original imx hdmi driver is under drm/imx/, which depends on imx-drm, so move the imx hdmi driver out to drm/bridge and rename it to dw_hdmi Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v17: - remove prompt message of dw_hdmi, adviced by Russel King Changes in v16: None

[PATCH v17 01/12] drm: imx: imx-hdmi: make checkpatch happy

2014-12-04 Thread Andy Yan
-off-by: Andy Yan andy@rock-chips.com Reviewed-by: Daniel Kurtz djku...@chromium.org --- Changes in v17: None Changes in v16: None Changes in v15: None Changes in v14: None Changes in v13: - patch against drm-next Changes in v12: None Changes in v11: None Changes in v10: None Changes in v9

[PATCH v17 06/12] dt-bindings: add document for dw_hdmi

2014-12-04 Thread Andy Yan
Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v17: None Changes in v16: - describe ddc-i2c-bus as optional - add common clocks bindings Changes in v15: None Changes in v14: None Changes in v13: None Changes in v12: None Changes in v11: None Changes in v10: None Changes in v9

[PATCH v17 07/12] drm: bridge/dw_hdmi: add support for multi-byte register width access

2014-12-04 Thread Andy Yan
On rockchip rk3288, only word(32-bit) accesses are permitted for hdmi registers. Byte width accesses (writeb, readb) generate an imprecise external abort. Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v17: None Changes in v16: None Changes in v15: - remove unio of the multi

[PATCH v17 08/12] drm: bridge/dw_hdmi: add mode_valid support

2014-12-04 Thread Andy Yan
some platform may not support all the display mode, add mode_valid interface check it Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v17: None Changes in v16: None Changes in v15: None Changes in v14: - remove drm_connector_register, because imx-drm core has registered connector

[PATCH v17 09/12] drm: bridge/dw_hdmi: clear i2cmphy_stat0 reg in hdmi_phy_wait_i2c_done

2014-12-04 Thread Andy Yan
the corresponding bit will hold on forever, this may give a wrong signal for next check. Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v17: None Changes in v16: None Changes in v15: None Changes in v14: None Changes in v13: None Changes in v12: None Changes in v11: None Changes in v10

[PATCH v17 10/12] drm: bridge/dw_hdmi: add function dw_hdmi_phy_enable_spare

2014-12-04 Thread Andy Yan
RK3288 HDMI will not work without the spare bit of HDMI_PHY_CONF0 enable Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v17: None Changes in v16: None Changes in v15: None Changes in v14: None Changes in v13: None Changes in v12: None Changes in v11: None Changes in v10: None

[PATCH v17 11/12] dt-bindings: Add documentation for rockchip dw hdmi

2014-12-04 Thread Andy Yan
Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v17: None Changes in v16: - modify clocks bindings - descrbie ddc-i2c-bus as optional Changes in v15: None Changes in v14: None Changes in v13: None Changes in v12: None Changes in v11: None Changes in v10: None Changes in v9: None

[PATCH v17 12/12] drm: bridge/dw_hdmi: add rockchip rk3288 support

2014-12-04 Thread Andy Yan
Rockchip RK3288 hdmi is compatible with dw_hdmi this patch is depend on patch by Mark Yao see https://lkml.org/lkml/2014/12/2/161 drm: rockchip: Add basic drm driver Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v17: - parse resource and irq in platform driver Changes in v16

Re: [PATCH v17 06/12] dt-bindings: add document for dw_hdmi

2014-12-04 Thread Andy Yan
Hi Philipp: On 2014年12月04日 19:30, Philipp Zabel wrote: Hi Andy, Am Donnerstag, den 04.12.2014, 18:06 +0800 schrieb Andy Yan: Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v17: None Changes in v16: - describe ddc-i2c-bus as optional - add common clocks bindings Changes

[PATCH v18 0/12] dw-hdmi: convert imx hdmi to bridge/dw_hdmi

2014-12-04 Thread Andy Yan
: - fix checkpatch CHECK - defer probe ddc i2c adapter Changes in v3: - split multi-register access to one indepent patch Andy Yan (12): drm: imx: imx-hdmi: make checkpatch happy drm: imx: imx-hdmi: return defer if can't get ddc i2c adapter drm: imx: imx-hdmi: convert imx-hdmi to drm_bridge

[PATCH v18 01/12] drm: imx: imx-hdmi: make checkpatch happy

2014-12-04 Thread Andy Yan
-off-by: Andy Yan andy@rock-chips.com Reviewed-by: Daniel Kurtz djku...@chromium.org --- Changes in v18: None Changes in v17: None Changes in v16: None Changes in v15: None Changes in v14: None Changes in v13: - patch against drm-next Changes in v12: None Changes in v11: None Changes in v10

[PATCH v18 02/12] drm: imx: imx-hdmi: return defer if can't get ddc i2c adapter

2014-12-04 Thread Andy Yan
drm driver may probe before the i2c bus, so the driver should defer probing until it is available Signed-off-by: Andy Yan andy@rock-chips.com Reviewed-by: Daniel Kurtz djku...@chromium.org --- Changes in v18: None Changes in v17: None Changes in v16: None Changes in v15: None Changes in v14

[PATCH v18 03/12] drm: imx: imx-hdmi: convert imx-hdmi to drm_bridge mode

2014-12-04 Thread Andy Yan
://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2014-July/053484.html Signed-off-by: Andy Yan andy@rock-chips.com Signed-off-by: Yakir Yang y...@rock-chips.com --- Changes in v18: - remove a multiple blank lines in imx-hdmi.c - fix a checkpatch warning in imx-hdmi_pltfm.c Changes in v17

[PATCH v18 04/12] drm: imx: imx-hdmi: split phy configuration to platform driver

2014-12-04 Thread Andy Yan
hdmi phy configuration is platform specific, which can be adusted according to the board to get the best SI Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v18: None Changes in v17: None Changes in v16: None Changes in v15: None Changes in v14: None Changes in v13: - split phy

[PATCH v18 05/12] drm: imx: imx-hdmi: move imx-hdmi to bridge/dw_hdmi

2014-12-04 Thread Andy Yan
the original imx hdmi driver is under drm/imx/, which depends on imx-drm, so move the imx hdmi driver out to drm/bridge and rename it to dw_hdmi Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v18: None Changes in v17: - remove prompt message of dw_hdmi, adviced by Russel King

[PATCH v18 06/12] dt-bindings: add document for dw_hdmi

2014-12-04 Thread Andy Yan
Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v18: - add port bindings - correct some spelling mistakes in dw_hdmi bindings doc Changes in v17: None Changes in v16: - describe ddc-i2c-bus as optional - add common clocks bindings Changes in v15: None Changes in v14: None

[PATCH v18 07/12] drm: bridge/dw_hdmi: add support for multi-byte register width access

2014-12-04 Thread Andy Yan
On rockchip rk3288, only word(32-bit) accesses are permitted for hdmi registers. Byte width accesses (writeb, readb) generate an imprecise external abort. Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v18: None Changes in v17: None Changes in v16: None Changes in v15: - remove

[PATCH v18 08/12] drm: bridge/dw_hdmi: add mode_valid support

2014-12-04 Thread Andy Yan
some platform may not support all the display mode, add mode_valid interface check it Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v18: None Changes in v17: None Changes in v16: None Changes in v15: None Changes in v14: - remove drm_connector_register, because imx-drm core has

[PATCH v18 09/12] drm: bridge/dw_hdmi: clear i2cmphy_stat0 reg in hdmi_phy_wait_i2c_done

2014-12-04 Thread Andy Yan
the corresponding bit will hold on forever, this may give a wrong signal for next check. Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v18: None Changes in v17: None Changes in v16: None Changes in v15: None Changes in v14: None Changes in v13: None Changes in v12: None Changes in v11

[PATCH v18 10/12] drm: bridge/dw_hdmi: add function dw_hdmi_phy_enable_spare

2014-12-04 Thread Andy Yan
RK3288 HDMI will not work without the spare bit of HDMI_PHY_CONF0 enable Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v18: None Changes in v17: None Changes in v16: None Changes in v15: None Changes in v14: None Changes in v13: None Changes in v12: None Changes in v11: None

[PATCH v18 11/12] dt-bindings: Add documentation for rockchip dw hdmi

2014-12-04 Thread Andy Yan
Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v18: - correct some spelling mistakes in dw_hdmi-rockchip bindings doc Changes in v17: None Changes in v16: - modify clocks bindings - descrbie ddc-i2c-bus as optional Changes in v15: None Changes in v14: None Changes in v13: None

[PATCH v18 12/12] drm: bridge/dw_hdmi: add rockchip rk3288 support

2014-12-04 Thread Andy Yan
Rockchip RK3288 hdmi is compatible with dw_hdmi this patch is depend on patch by Mark Yao drm: rockchip: Add basic drm driver see https://lkml.org/lkml/2014/12/2/161 Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v18: None Changes in v17: - parse resource and irq in platform

Re: [PATCH v15 06/12] dt-bindings: add document for dw_hdmi

2014-12-03 Thread Andy Yan
Hi Philipp: On 2014年12月03日 17:19, Philipp Zabel wrote: Hi Andy, Am Mittwoch, den 03.12.2014, 08:54 +0800 schrieb Andy Yan: +Required properities: +- compatible: platform specific such as: + * fsl,imx6q-hdmi + * fsl,imx6dl-hdmi + * rockchip,rk3288-dw-hdmi I think we should add a common

Re: [PATCH v15 06/12] dt-bindings: add document for dw_hdmi

2014-12-03 Thread Andy Yan
On 2014年12月03日 02:23, Philipp Zabel wrote: Hi Andy, Am Dienstag, den 02.12.2014, 15:42 +0800 schrieb Andy Yan: diff --git a/Documentation/devicetree/bindings/drm/bridge/dw_hdmi.txt b/Documentation/devicetree/bindings/drm/bridge/dw_hdmi.txt new file mode 100644 index 000..107c1ca --- /dev

Re: [PATCH v15 06/12] dt-bindings: add document for dw_hdmi

2014-12-03 Thread Andy Yan
On 2014年12月03日 19:52, Philipp Zabel wrote: Am Mittwoch, den 03.12.2014, 17:46 +0800 schrieb Andy Yan: On 2014年12月03日 02:23, Philipp Zabel wrote: Hi Andy, Am Dienstag, den 02.12.2014, 15:42 +0800 schrieb Andy Yan: diff --git a/Documentation/devicetree/bindings/drm/bridge/dw_hdmi.txt b

Re: [PATCH v15 12/12] drm: bridge/dw_hdmi: add rockchip rk3288 support

2014-12-03 Thread Andy Yan
Hi Philipp: On 2014年12月02日 21:00, Philipp Zabel wrote: Hi Andy, Am Dienstag, den 02.12.2014, 20:34 +0800 schrieb Andy Yan: Hi Philipp: On 2014年12月02日 18:24, Philipp Zabel wrote: Hi Andy, Am Dienstag, den 02.12.2014, 15:45 +0800 schrieb Andy Yan: [...] +static int dw_hdmi_rockchip_bind

Re: [PATCH v15 12/12] drm: bridge/dw_hdmi: add rockchip rk3288 support

2014-12-03 Thread Andy Yan
Hi Philipp: On 2014年12月03日 21:09, Philipp Zabel wrote: Hi Andy, Am Mittwoch, den 03.12.2014, 20:32 +0800 schrieb Andy Yan: My question is not about the available gates at the SoC level, but about the actual clock inputs from point of view of the HDMI TX IP. It could be that the hdmi_ctrl_clk

[PATCH v16 0/12] dw-hdmi: convert imx hdmi to bridge/dw_hdmi

2014-12-03 Thread Andy Yan
register access without reg_shift Changes in v5: - refactor reg-io-width Changes in v4: - fix checkpatch CHECK - defer probe ddc i2c adapter Changes in v3: - split multi-register access to one indepent patch Andy Yan (12): drm: imx: imx-hdmi: make checkpatch happy drm: imx: imx-hdmi: return defer

[PATCH v16 01/12] drm: imx: imx-hdmi: make checkpatch happy

2014-12-03 Thread Andy Yan
-off-by: Andy Yan andy@rock-chips.com Reviewed-by: Daniel Kurtz djku...@chromium.org --- Changes in v16: None Changes in v15: None Changes in v14: None Changes in v13: - patch against drm-next Changes in v12: None Changes in v11: None Changes in v10: None Changes in v9: None Changes in v8: None

[PATCH v16 02/12] drm: imx: imx-hdmi: return defer if can't get ddc i2c adapter

2014-12-03 Thread Andy Yan
drm driver may probe before the i2c bus, so the driver should defer probing until it is available Signed-off-by: Andy Yan andy@rock-chips.com Reviewed-by: Daniel Kurtz djku...@chromium.org --- Changes in v16: None Changes in v15: None Changes in v14: None Changes in v13: None Changes in v12

[PATCH v16 03/12] drm: imx: imx-hdmi: convert imx-hdmi to drm_bridge mode

2014-12-03 Thread Andy Yan
://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2014-July/053484.html Signed-off-by: Andy Yan andy@rock-chips.com Signed-off-by: Yakir Yang y...@rock-chips.com --- Changes in v16: - use the common binding for the clocks Changes in v15: None Changes in v14: - add defer probing, adviced

[PATCH v16 04/12] drm: imx: imx-hdmi: split phy configuration to platform driver

2014-12-03 Thread Andy Yan
hdmi phy configuration is platform specific, which can be adusted according to the board to get the best SI Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v16: None Changes in v15: None Changes in v14: None Changes in v13: - split phy configuration from patch#4 Changes in v12

[PATCH v16 05/12] drm: imx: imx-hdmi: move imx-hdmi to bridge/dw_hdmi

2014-12-03 Thread Andy Yan
the original imx hdmi driver is under drm/imx/, which depends on imx-drm, so move the imx hdmi driver out to drm/bridge and rename it to dw_hdmi Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v16: None Changes in v15: - add prefix dw_hdmi/DW_HDMI for public used dw_hdmi structs

[PATCH v16 06/12] dt-bindings: add document for dw_hdmi

2014-12-03 Thread Andy Yan
Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v16: - describe ddc-i2c-bus as optional - add common clocks bindings Changes in v15: None Changes in v14: None Changes in v13: None Changes in v12: None Changes in v11: None Changes in v10: None Changes in v9: None Changes in v8

[PATCH v16 07/12] drm: bridge/dw_hdmi: add support for multi-byte register width access

2014-12-03 Thread Andy Yan
On rockchip rk3288, only word(32-bit) accesses are permitted for hdmi registers. Byte width accesses (writeb, readb) generate an imprecise external abort. Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v16: None Changes in v15: - remove unio of the multi-byte register access

[PATCH v16 08/12] drm: bridge/dw_hdmi: add mode_valid support

2014-12-03 Thread Andy Yan
some platform may not support all the display mode, add mode_valid interface check it Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v16: None Changes in v15: None Changes in v14: - remove drm_connector_register, because imx-drm core has registered connector Changes in v13

[PATCH v16 09/12] drm: bridge/dw_hdmi: clear i2cmphy_stat0 reg in hdmi_phy_wait_i2c_done

2014-12-03 Thread Andy Yan
the corresponding bit will hold on forever, this may give a wrong signal for next check. Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v16: None Changes in v15: None Changes in v14: None Changes in v13: None Changes in v12: None Changes in v11: None Changes in v10: None Changes in v9

[PATCH v16 10/12] drm: bridge/dw_hdmi: add function dw_hdmi_phy_enable_spare

2014-12-03 Thread Andy Yan
RK3288 HDMI will not work without the spare bit of HDMI_PHY_CONF0 enable Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v16: None Changes in v15: None Changes in v14: None Changes in v13: None Changes in v12: None Changes in v11: None Changes in v10: None Changes in v9: None

[PATCH v16 11/12] dt-bindings: Add documentation for rockchip dw hdmi

2014-12-03 Thread Andy Yan
Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v16: - modify clocks bindings - descrbie ddc-i2c-bus as optional Changes in v15: None Changes in v14: None Changes in v13: None Changes in v12: None Changes in v11: None Changes in v10: None Changes in v9: None Changes in v8: - Add

[PATCH v16 12/12] drm: bridge/dw_hdmi: add rockchip rk3288 support

2014-12-03 Thread Andy Yan
Rockchip RK3288 hdmi is compatible with dw_hdmi this patch is depend on patch by Mark Yao see https://lkml.org/lkml/2014/12/2/161 drm: rockchip: Add basic drm driver Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v16: None Changes in v15: - remove THIS_MODULE in platform driver

Re: [PATCH v16 05/12] drm: imx: imx-hdmi: move imx-hdmi to bridge/dw_hdmi

2014-12-03 Thread Andy Yan
Hi Russell: On 2014年12月03日 23:45, Russell King - ARM Linux wrote: On Wed, Dec 03, 2014 at 11:32:12PM +0800, Andy Yan wrote: diff --git a/drivers/gpu/drm/bridge/Kconfig b/drivers/gpu/drm/bridge/Kconfig index 884923f..26162ef 100644 --- a/drivers/gpu/drm/bridge/Kconfig +++ b/drivers/gpu/drm

Re: [PATCH v16 03/12] drm: imx: imx-hdmi: convert imx-hdmi to drm_bridge mode

2014-12-03 Thread Andy Yan
Hi Russell: On 2014年12月03日 23:38, Russell King - ARM Linux wrote: On Wed, Dec 03, 2014 at 11:29:26PM +0800, Andy Yan wrote: +int imx_hdmi_bind(struct device *dev, struct device *master, + void *data, struct drm_encoder *encoder, + const struct imx_hdmi_plat_data

Re: [PATCH v16 03/12] drm: imx: imx-hdmi: convert imx-hdmi to drm_bridge mode

2014-12-03 Thread Andy Yan
On 2014年12月04日 00:11, Russell King - ARM Linux wrote: On Thu, Dec 04, 2014 at 12:04:37AM +0800, Andy Yan wrote: Hi Russell: On 2014年12月03日 23:38, Russell King - ARM Linux wrote: On Wed, Dec 03, 2014 at 11:29:26PM +0800, Andy Yan wrote: +int imx_hdmi_bind(struct device *dev, struct device

Re: [PATCH v16 03/12] drm: imx: imx-hdmi: convert imx-hdmi to drm_bridge mode

2014-12-03 Thread Andy Yan
Hi Russell: On 2014年12月04日 00:33, Russell King - ARM Linux wrote: On Thu, Dec 04, 2014 at 12:30:23AM +0800, Andy Yan wrote: On 2014年12月04日 00:11, Russell King - ARM Linux wrote: I meant that imx_hdmi_bind should be passed these, so that it needs to know nothing about the struct device beyond

Re: [PATCH v16 03/12] drm: imx: imx-hdmi: convert imx-hdmi to drm_bridge mode

2014-12-03 Thread Andy Yan
Hi Russel: On 2014年12月04日 07:40, Russell King - ARM Linux wrote: On Thu, Dec 04, 2014 at 12:56:24AM +0800, Andy Yan wrote: Hi Russell: On 2014年12月04日 00:33, Russell King - ARM Linux wrote: On Thu, Dec 04, 2014 at 12:30:23AM +0800, Andy Yan wrote: On 2014年12月04日 00:11, Russell King - ARM Linux

Re: [PATCH v15 12/12] drm: bridge/dw_hdmi: add rockchip rk3288 support

2014-12-02 Thread Andy Yan
Hi Philipp: On 2014年12月02日 18:24, Philipp Zabel wrote: Hi Andy, Am Dienstag, den 02.12.2014, 15:45 +0800 schrieb Andy Yan: [...] +static int dw_hdmi_rockchip_bind(struct device *dev, struct device *master, +void *data) +{ + struct platform_device *pdev

Re: [PATCH v15 06/12] dt-bindings: add document for dw_hdmi

2014-12-02 Thread Andy Yan
Hi Philipp: On 2014年12月03日 02:23, Philipp Zabel wrote: Hi Andy, Am Dienstag, den 02.12.2014, 15:42 +0800 schrieb Andy Yan: diff --git a/Documentation/devicetree/bindings/drm/bridge/dw_hdmi.txt b/Documentation/devicetree/bindings/drm/bridge/dw_hdmi.txt new file mode 100644 index 000

[PATCH v14 0/12] dw-hdmi: convert imx hdmi to bridge/dw_hdmi

2014-12-01 Thread Andy Yan
: - refactor reg-io-width Changes in v4: - fix checkpatch CHECK - defer probe ddc i2c adapter Changes in v3: - split multi-register access to one indepent patch Andy Yan (12): drm: imx: imx-hdmi: make checkpatch happy drm: imx: imx-hdmi: return defer if can't get ddc i2c adapter drm: imx: imx-hdmi

[PATCH v14 01/12] drm: imx: imx-hdmi: make checkpatch happy

2014-12-01 Thread Andy Yan
-off-by: Andy Yan andy@rock-chips.com Reviewed-by: Daniel Kurtz djku...@chromium.org --- Changes in v14: None Changes in v13: - patch against drm-next Changes in v12: None Changes in v11: None Changes in v10: None Changes in v9: None Changes in v8: None Changes in v7: None Changes in v6

[PATCH v14 02/12] drm: imx: imx-hdmi: return defer if can't get ddc i2c adapter

2014-12-01 Thread Andy Yan
drm driver may probe before the i2c bus, so the driver should defer probing until it is available Signed-off-by: Andy Yan andy@rock-chips.com Reviewed-by: Daniel Kurtz djku...@chromium.org --- Changes in v14: None Changes in v13: None Changes in v12: - refactor of_node_put(ddc_node

[PATCH v14 03/12] drm: imx: imx-hdmi: convert imx-hdmi to drm_bridge mode

2014-12-01 Thread Andy Yan
://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2014-July/053484.html Signed-off-by: Andy Yan andy@rock-chips.com Signed-off-by: Yakir Yang y...@rock-chips.com --- Changes in v14: - add defer probing, adviced by Philipp Zabel Changes in v13: - split platform specific phy configuration Changes

[PATCH v14 04/12] drm: imx: imx-hdmi: split phy configuration to platform driver

2014-12-01 Thread Andy Yan
hdmi phy configuration is platform specific, which can be adusted according to the board to get the best SI Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v14: None Changes in v13: - split phy configuration from patch#4 Changes in v12: None Changes in v11: None Changes in v10

[PATCH v14 05/12] drm: imx: imx-hdmi: move imx-hdmi to bridge/dw_hdmi

2014-12-01 Thread Andy Yan
the original imx hdmi driver is under drm/imx/, which depends on imx-drm, so move the imx hdmi driver out to drm/bridge and rename it to dw_hdmi Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v14: None Changes in v13: None Changes in v12: None Changes in v11: None Changes in v10

[PATCH v14 06/12] dt-bindings: add document for dw_hdmi

2014-12-01 Thread Andy Yan
Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v14: None Changes in v13: None Changes in v12: None Changes in v11: None Changes in v10: None Changes in v9: None Changes in v8: - correct some spelling mistake - modify ddc-i2c-bus and interrupt description Changes in v7: None

[PATCH v14 07/12] drm: bridge/dw_hdmi: add support for multi-byte register width access

2014-12-01 Thread Andy Yan
On rockchip rk3288, only word(32-bit) accesses are permitted for hdmi registers. Byte width accesses (writeb, readb) generate an imprecise external abort. Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v14: None Changes in v13: None Changes in v12: None Changes in v11: None

[PATCH v14 08/12] drm: bridge/dw_hdmi: add mode_valid support

2014-12-01 Thread Andy Yan
some platform may not support all the display mode, add mode_valid interface check it Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v14: - remove drm_connector_register, because imx-drm core has registered connector Changes in v13: None Changes in v12: None Changes in v11

[PATCH v14 09/12] drm: bridge/dw_hdmi: clear i2cmphy_stat0 reg in hdmi_phy_wait_i2c_done

2014-12-01 Thread Andy Yan
the corresponding bit will hold on forever, this may give a wrong signal for next check. Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v14: None Changes in v13: None Changes in v12: None Changes in v11: None Changes in v10: None Changes in v9: None Changes in v8: None Changes in v7: None

[PATCH v14 11/12] dt-bindings: Add documentation for rockchip dw hdmi

2014-12-01 Thread Andy Yan
Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v14: None Changes in v13: None Changes in v12: None Changes in v11: None Changes in v10: None Changes in v9: None Changes in v8: - Add documentation for rockchip dw hdmi Changes in v7: None Changes in v6: None Changes in v5: None

[PATCH v14 12/12] drm: bridge/dw_hdmi: add rockchip rk3288 support

2014-12-01 Thread Andy Yan
Rockchip RK3288 hdmi is compatible with dw_hdmi this patch is depend on patch by Mark Yao Add drm driver for Rockchip Socs see https://lkml.org/lkml/2014/11/19/1153 Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v14: None Changes in v13: None Changes in v12: - add comment

Re: [PATCH v14 05/12] drm: imx: imx-hdmi: move imx-hdmi to bridge/dw_hdmi

2014-12-01 Thread Andy Yan
Hi Philipp: On 2014年12月01日 19:42, Philipp Zabel wrote: Hi Andy, Am Montag, den 01.12.2014, 19:24 +0800 schrieb Andy Yan: [...] diff --git a/include/drm/bridge/dw_hdmi.h b/include/drm/bridge/dw_hdmi.h new file mode 100644 index 000..1bbf3ca --- /dev/null +++ b/include/drm/bridge/dw_hdmi.h

[PATCH v15 0/12] dw-hdmi: convert imx hdmi to bridge/dw_hdmi

2014-12-01 Thread Andy Yan
adapter Changes in v3: - split multi-register access to one indepent patch Andy Yan (12): drm: imx: imx-hdmi: make checkpatch happy drm: imx: imx-hdmi: return defer if can't get ddc i2c adapter drm: imx: imx-hdmi: convert imx-hdmi to drm_bridge mode drm: imx: imx-hdmi: split phy configuration

[PATCH v15 01/12] drm: imx: imx-hdmi: make checkpatch happy

2014-12-01 Thread Andy Yan
-off-by: Andy Yan andy@rock-chips.com Reviewed-by: Daniel Kurtz djku...@chromium.org --- Changes in v15: None Changes in v14: None Changes in v13: - patch against drm-next Changes in v12: None Changes in v11: None Changes in v10: None Changes in v9: None Changes in v8: None Changes in v7: None

[PATCH v15 02/12] drm: imx: imx-hdmi: return defer if can't get ddc i2c adapter

2014-12-01 Thread Andy Yan
drm driver may probe before the i2c bus, so the driver should defer probing until it is available Signed-off-by: Andy Yan andy@rock-chips.com Reviewed-by: Daniel Kurtz djku...@chromium.org --- Changes in v15: None Changes in v14: None Changes in v13: None Changes in v12: - refactor

[PATCH v15 03/12] drm: imx: imx-hdmi: convert imx-hdmi to drm_bridge mode

2014-12-01 Thread Andy Yan
://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2014-July/053484.html Signed-off-by: Andy Yan andy@rock-chips.com Signed-off-by: Yakir Yang y...@rock-chips.com --- Changes in v15: None Changes in v14: - add defer probing, adviced by Philipp Zabel Changes in v13: - split platform specific phy

[PATCH v15 04/12] drm: imx: imx-hdmi: split phy configuration to platform driver

2014-12-01 Thread Andy Yan
hdmi phy configuration is platform specific, which can be adusted according to the board to get the best SI Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v15: None Changes in v14: None Changes in v13: - split phy configuration from patch#4 Changes in v12: None Changes in v11

[PATCH v15 05/12] drm: imx: imx-hdmi: move imx-hdmi to bridge/dw_hdmi

2014-12-01 Thread Andy Yan
the original imx hdmi driver is under drm/imx/, which depends on imx-drm, so move the imx hdmi driver out to drm/bridge and rename it to dw_hdmi Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v15: - add prefix dw_hdmi/DW_HDMI for public used dw_hdmi structs adviced by Philipp

[PATCH v15 07/12] drm: bridge/dw_hdmi: add support for multi-byte register width access

2014-12-01 Thread Andy Yan
On rockchip rk3288, only word(32-bit) accesses are permitted for hdmi registers. Byte width accesses (writeb, readb) generate an imprecise external abort. Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v15: - remove unio of the multi-byte register access, adviced by Philipp

[PATCH v15 06/12] dt-bindings: add document for dw_hdmi

2014-12-01 Thread Andy Yan
Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v15: None Changes in v14: None Changes in v13: None Changes in v12: None Changes in v11: None Changes in v10: None Changes in v9: None Changes in v8: - correct some spelling mistake - modify ddc-i2c-bus and interrupt description

[PATCH v15 09/12] drm: bridge/dw_hdmi: clear i2cmphy_stat0 reg in hdmi_phy_wait_i2c_done

2014-12-01 Thread Andy Yan
the corresponding bit will hold on forever, this may give a wrong signal for next check. Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v15: None Changes in v14: None Changes in v13: None Changes in v12: None Changes in v11: None Changes in v10: None Changes in v9: None Changes in v8

[PATCH v15 08/12] drm: bridge/dw_hdmi: add mode_valid support

2014-12-01 Thread Andy Yan
some platform may not support all the display mode, add mode_valid interface check it Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v15: None Changes in v14: - remove drm_connector_register, because imx-drm core has registered connector Changes in v13: None Changes in v12

[PATCH v15 10/12] drm: bridge/dw_hdmi: add function dw_hdmi_phy_enable_spare

2014-12-01 Thread Andy Yan
RK3288 HDMI will not work without the spare bit of HDMI_PHY_CONF0 enable Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v15: None Changes in v14: None Changes in v13: None Changes in v12: None Changes in v11: None Changes in v10: None Changes in v9: None Changes in v8: None

[PATCH v15 11/12] dt-bindings: Add documentation for rockchip dw hdmi

2014-12-01 Thread Andy Yan
Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v15: None Changes in v14: None Changes in v13: None Changes in v12: None Changes in v11: None Changes in v10: None Changes in v9: None Changes in v8: - Add documentation for rockchip dw hdmi Changes in v7: None Changes in v6: None

[PATCH v15 12/12] drm: bridge/dw_hdmi: add rockchip rk3288 support

2014-12-01 Thread Andy Yan
Rockchip RK3288 hdmi is compatible with dw_hdmi this patch is depend on patch by Mark Yao Add drm driver for Rockchip Socs see https://lkml.org/lkml/2014/11/19/1153 Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v15: - remove THIS_MODULE in platform driver Changes in v14

Re: [PATCH v13 07/12] drm: bridge/dw_hdmi: add support for multi-byte register width access

2014-11-28 Thread Andy Yan
Hi Zabel: On 2014年11月27日 00:34, Philipp Zabel wrote: Am Mittwoch, den 26.11.2014, 21:32 +0800 schrieb Andy Yan: On rockchip rk3288, only word(32-bit) accesses are permitted for hdmi registers. Byte width accesses (writeb, readb) generate an imprecise external abort. Signed-off-by: Andy Yan

Re: [PATCH v13 08/12] drm: bridge/dw_hdmi: add mode_valid support

2014-11-28 Thread Andy Yan
Hi Philipp: On 2014年11月27日 00:23, Philipp Zabel wrote: Am Mittwoch, den 26.11.2014, 21:33 +0800 schrieb Andy Yan: some platform may not support all the display mode, add mode_valid interface check it also add drm_connector_register which add a debugfs interface for dump display modes and edid

[PATCH v13 0/12] dw-hdmi: convert imx hdmi to bridge/dw_hdmi

2014-11-26 Thread Andy Yan
indepent patch Andy Yan (12): drm: imx: imx-hdmi: make checkpatch happy drm: imx: imx-hdmi: return defer if can't get ddc i2c adapter drm: imx: imx-hdmi: convert imx-hdmi to drm_bridge mode drm: imx: imx-hdmi: split phy configuration to platform driver drm: imx: imx-hdmi: move imx-hdmi

[PATCH v13 01/12] drm: imx: imx-hdmi: make checkpatch happy

2014-11-26 Thread Andy Yan
-off-by: Andy Yan andy@rock-chips.com Reviewed-by: Daniel Kurtz djku...@chromium.org --- Changes in v13: - patch against drm-next Changes in v12: None Changes in v11: None Changes in v10: None Changes in v9: None Changes in v8: None Changes in v7: None Changes in v6: - rearrange the patch order

[PATCH v13 05/12] drm: imx: imx-hdmi: move imx-hdmi to bridge/dw_hdmi

2014-11-26 Thread Andy Yan
the original imx hdmi driver is under drm/imx/, which depends on imx-drm, so move the imx hdmi driver out to drm/bridge and rename it to dw_hdmi Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v13: None Changes in v12: None Changes in v11: None Changes in v10: None Changes in v9

[PATCH v13 06/12] dt-bindings: add document for dw_hdmi

2014-11-26 Thread Andy Yan
Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v13: None Changes in v12: None Changes in v11: None Changes in v10: None Changes in v9: None Changes in v8: - correct some spelling mistake - modify ddc-i2c-bus and interrupt description Changes in v7: None Changes in v6: None

[PATCH v13 07/12] drm: bridge/dw_hdmi: add support for multi-byte register width access

2014-11-26 Thread Andy Yan
On rockchip rk3288, only word(32-bit) accesses are permitted for hdmi registers. Byte width accesses (writeb, readb) generate an imprecise external abort. Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v13: None Changes in v12: None Changes in v11: None Changes in v10: None

[PATCH v13 08/12] drm: bridge/dw_hdmi: add mode_valid support

2014-11-26 Thread Andy Yan
some platform may not support all the display mode, add mode_valid interface check it also add drm_connector_register which add a debugfs interface for dump display modes and edid information Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v13: None Changes in v12: None Changes

[PATCH v13 09/12] drm: bridge/dw_hdmi: clear i2cmphy_stat0 reg in hdmi_phy_wait_i2c_done

2014-11-26 Thread Andy Yan
the corresponding bit will hold on forever, this may give a wrong signal for next check. Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v13: None Changes in v12: None Changes in v11: - split form patch dw_hdmi: add rk3288 support Changes in v10: None Changes in v9: None Changes in v8

[PATCH v13 10/12] drm: bridge/dw_hdmi: add function dw_hdmi_phy_enable_spare

2014-11-26 Thread Andy Yan
RK3288 HDMI will not work without the spare bit of HDMI_PHY_CONF0 enable Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v13: None Changes in v12: None Changes in v11: None Changes in v10: None Changes in v9: None Changes in v8: None Changes in v7: None Changes in v6: None Changes

Re: [PATCH v12 0/11] dw-hdmi: convert imx hdmi to bridge/dw_hdmi

2014-11-24 Thread Andy Yan
Hi ZubairLK: On 2014年11月24日 22:22, Zubair Lutfullah Kakakhel wrote: Hi Andy, On 24/11/14 14:17, Andy Yan wrote: Hi ZubairLK, Russel King, Greg Kroah-Hartman , Philipp Zabel and Daniel: Do you have any further opinions or suggestions about the the current patch set? I have reviewed

[PATCH v12 0/11] dw-hdmi: convert imx hdmi to bridge/dw_hdmi

2014-11-17 Thread Andy Yan
Changes in v3: - split multi-register access to one indepent patch Changes in v2: - use git format -M to generate these patch Andy Yan (11): staging: imx-drm: imx-hdmi: make checkpatch happy staging: imx-drm: imx-hdmi: return defer if can't get ddc i2c adapter staging: imx-drm: imx-hdmi: convert

[PATCH v12 01/11] staging: imx-drm: imx-hdmi: make checkpatch happy

2014-11-17 Thread Andy Yan
-off-by: Andy Yan andy@rock-chips.com Reviewed-by: Daniel Kurtz djku...@chromium.org --- Changes in v12: None Changes in v11: None Changes in v10: None Changes in v9: None Changes in v8: None Changes in v7: None Changes in v6: - rearrange the patch order Changes in v5: None Changes in v4: - fix

[PATCH v12 02/11] staging: imx-drm: imx-hdmi: return defer if can't get ddc i2c adapter

2014-11-17 Thread Andy Yan
drm driver may probe before the i2c bus, so the driver should defer probing until it is available Signed-off-by: Andy Yan andy@rock-chips.com Reviewed-by: Daniel Kurtz djku...@chromium.org --- Changes in v12: - refactor of_node_put(ddc_node) Changes in v11: None Changes in v10: None

[PATCH v12 04/11] staging: imx-drm: imx-hdmi: move imx-hdmi to bridge/dw_hdmi

2014-11-17 Thread Andy Yan
-off-by: Andy Yan andy@rock-chips.com --- Changes in v12: None Changes in v11: None Changes in v10: None Changes in v9: None Changes in v8: None Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: - use git format -M to generate

[PATCH v12 05/11] dt-bindings: add document for dw_hdmi

2014-11-17 Thread Andy Yan
Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v12: None Changes in v11: None Changes in v10: None Changes in v9: None Changes in v8: - correct some spelling mistake - modify ddc-i2c-bus and interrupt description Changes in v7: None Changes in v6: None Changes in v5: None

[PATCH v12 06/11] drm: bridge/dw_hdmi: add support for multi-byte register width access

2014-11-17 Thread Andy Yan
On rockchip rk3288, only word(32-bit) accesses are permitted for hdmi registers. Byte width accesses (writeb, readb) generate an imprecise external abort. Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v12: None Changes in v11: None Changes in v10: None Changes in v9: None

[PATCH v12 07/11] drm: bridge/dw_hdmi: add mode_valid support

2014-11-17 Thread Andy Yan
some platform may not support all the display mode, add mode_valid interface check it also add drm_connector_register which add a debugfs interface for dump display modes and edid information Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v12: None Changes in v11: None Changes

[PATCH v12 10/11] dt-bindings: Add documentation for rockchip dw hdmi

2014-11-17 Thread Andy Yan
Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v12: None Changes in v11: None Changes in v10: None Changes in v9: None Changes in v8: - Add documentation for rockchip dw hdmi Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None

  1   2   3   >