Re: [PATCH v9 00/11] Genericize DW MIPI DSI bridge and add i.MX 6 driver
From: Neil Armstrong
Date: Wed Jul 01 2020 - 03:50:17 EST
Hi Heiko,
Do you think someone can have a try of this patchset on a RK SoC ?
Thanks,
Neil
On 01/07/2020 08:35, Adrian Ratiu wrote:
> Hi Neil,
>
> On Mon, 29 Jun 2020, Neil Armstrong <narmstrong@xxxxxxxxxxxx> wrote:
>> Hi Adrian,
>> On 09/06/2020 19:49, Adrian Ratiu wrote:
>>> [Re-submitting to cc dri-devel, sorry about the noise] Hello all, v9 cleanly applies on top of latest next-20200609 tree. v9 does not depend on other patches as the last binding doc has been merged. All feedback up to this point has been addressed. Specific details in individual patch changelogs. The biggest changes are the deprecation of the Synopsys DW bridge bind() API in favor of of_drm_find_bridge() and .attach callbacks, the addition of a TODO entry which outlines future planned bridge driver refactorings and a reordering of some i.MX 6 patches to appease checkpatch. The idea behind the TODO is to get this regmap and i.MX 6 driver merged and then do the rest of refactorings in-tree because it's easier and the refactorings themselves are out-of-scope of this series which is adding i.MX 6 support and is quite big already, so please, if there are more refactoring ideas, let's add them to the TODO doc. :) I intend to tackle those after this series is merged to
>>> avoid two complex inter-dependent simultaneous series.
>>
>> This has been around here for a long time and you seem to have addressed all the reviews.
>>> ÂAs always more testing is welcome especially on Rockchip and STM SoCs.
>>
>> It has been tested on STM, but I'd like a feedback on RK platform before applying the bridge parts.
>> Can the imx & stm patches be applied separately ?
>
> Yes the IMX and STM patches can be applied separately, they just both depend on the common regmap patches.
>
> The binding API removal change which directly touches RK can also be applied separately, but unfortunately I do not have access to a RK board with a DSI display to test it (or the bridge regmap logic on RK btw...), I just "eye-balled" the RK code based on the public docs and it LGTM.
>
>> Neil
>>
>>>
>>> Big thank you to everyone who has contributed to this up to now,
>>> Adrian
>>>
>>> Adrian Ratiu (11):
>>> Â drm: bridge: dw_mipi_dsi: add initial regmap infrastructure
>>> Â drm: bridge: dw_mipi_dsi: abstract register access using reg_fields
>>> Â drm: bridge: dw_mipi_dsi: add dsi v1.01 support
>>> Â drm: bridge: dw_mipi_dsi: remove bind/unbind API
>>> Â dt-bindings: display: add i.MX6 MIPI DSI host controller doc
>>> Â ARM: dts: imx6qdl: add missing mipi dsi properties
>>> Â drm: imx: Add i.MX 6 MIPI DSI host platform driver
>>> Â drm: stm: dw-mipi-dsi: let the bridge handle the HW version check
>>> Â drm: bridge: dw-mipi-dsi: split low power cfg register into fields
>>> Â drm: bridge: dw-mipi-dsi: fix bad register field offsets
>>> Â Documentation: gpu: todo: Add dw-mipi-dsi consolidation plan
>>>
>>> Â.../display/imx/fsl,mipi-dsi-imx6.yamlÂÂÂÂÂÂÂ | 112 +++
>>> ÂDocumentation/gpu/todo.rstÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ |Â 25 +
>>> Âarch/arm/boot/dts/imx6qdl.dtsiÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ |ÂÂ 8 +
>>> Âdrivers/gpu/drm/bridge/synopsys/KconfigÂÂÂÂÂÂ |ÂÂ 1 +
>>> Âdrivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c | 713 ++++++++++++------
>>> Âdrivers/gpu/drm/imx/KconfigÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ |ÂÂ 8 +
>>> Âdrivers/gpu/drm/imx/MakefileÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ |ÂÂ 1 +
>>> Âdrivers/gpu/drm/imx/dw_mipi_dsi-imx6.cÂÂÂÂÂÂÂ | 399 ++++++++++
>>> Â.../gpu/drm/rockchip/dw-mipi-dsi-rockchip.cÂÂ |ÂÂ 7 +-
>>> Âdrivers/gpu/drm/stm/dw_mipi_dsi-stm.cÂÂÂÂÂÂÂÂ |Â 16 +-
>>> Â10 files changed, 1059 insertions(+), 231 deletions(-)
>>> Âcreate mode 100644 Documentation/devicetree/bindings/display/imx/fsl,mipi-dsi-imx6.yaml
>>> Âcreate mode 100644 drivers/gpu/drm/imx/dw_mipi_dsi-imx6.c
>>>