From: Philippe CORNU <philippe.cornu@st.com>
To: Alexandre Torgue <alexandre.torgue@st.com>,
Thierry Reding <thierry.reding@gmail.com>,
David Airlie <airlied@linux.ie>,
Maxime Coquelin <mcoquelin.stm32@gmail.com>,
Russell King <linux@armlinux.org.uk>,
Mark Rutland <mark.rutland@arm.com>,
Rob Herring <robh+dt@kernel.org>, Arnd Bergmann <arnd@arndb.de>,
Benjamin Gaignard <benjamin.gaignard@linaro.org>,
Yannick Fertre <yannick.fertre@st.com>,
Neil Armstrong <narmstrong@baylibre.com>,
Archit Taneja <architt@codeaurora.org>,
Eric Anholt <eric@anholt.net>, Chris Zhong <zyw@rock-chips.com>,
Andrzej Hajda <a.hajda@samsung.com>,
Xinliang Liu <xinliang.liu@linaro.org>,
zourongrong@gmail.com,
Xinwei Kong <kong.kongxinwei@hisilicon.com>,
Chen Feng <puck.chen@hisilicon.com>,
Mark Yao <mark.yao@rock-chips.com>
Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
Philippe Cornu <philippe.cornu@st.com>,
Fabien Dessenne <fabien.dessenne@st.com>,
dri-devel@lists.freedesktop.org,
Mickael Reulier <mickael.reulier@st.com>,
Vincent Abriou <vincent.abriou@st.com>,
Gabriel Fernandez <gabriel.fernandez@st.com>,
Ludovic Barre <ludovic.barre@st.com>
Subject: [PATCH v5 0/7] STM32 DSI HOST
Date: Mon, 3 Jul 2017 10:41:20 +0200 [thread overview]
Message-ID: <1499071287-10414-1-git-send-email-philippe.cornu@st.com> (raw)
Version 5:
- bridge/synopsis/dw-mipi-dsi.c: Improve the direct call to panel
bridge post_disable() & related comments (Archit Taneja)
- stm/ltdc.c: fix leak of pixel clock enable in some error
paths (Eric Anholt)
- bindings/display/bridge/dw_mipi_dsi.txt: add pixel clock & remove
"driver" (Rob Herring, Archit Taneja)
- bindings/display/st,stm32-ltdc.txt: remove "driver" (Rob Herring,
Archit Taneja)
Version 4:
- bridge/synopsis/dw-mipi-dsi.c: Add panel-bridge support (-45 lines,
but no so easy to do) and is_panel_bridge for a better clean up, add
stm copyright/remove dpms_mode/remove drm_of.h/improve clk
management/add mode_valid (thanks to comments of Archit Taneja), use
"DesignWare" instead of "Designware (thanks to comments of Neil
Armstrong)
- bridge/synopsis/Kconfig: Remove help section to hide it in menuconfig
(thanks to comments of Archit Taneja)
- include/drm/bridge/dw_mipi_dsi.h: Remove drmP.h (thanks to comments
of Archit Taneja)
- bindings/display/bridge/dw_mipi_dsi.txt: Improve optional property
explanations (thanks to comments of Neil Armstrong)
- stm/ltdc.c: Add is_panel_bridge for a better clean up/remove
drm_encoder_helper_add() (thanks to comments of Eric Anholt)
- stm/dw_mipi_dsi-stm.c: remove math64.h/use DRM_WARN/remove warnings
(thanks to comments of Archit Taneja), minor alignment fix (thanks to
comments of Neil Armstrong)
- bindings/display/st,stm32-ltdc.txt: use graph binding in the
example/improve ports usage doc (thanks to comments of Rob Herring),
use "DSI" instead of "dsi" where relevant (thanks to comments of Neil
Armstrong)
Version 3:
- stm/ltdc: Use panel-bridge (-170 lines), thanks to comments of Eric Anholt,
Boris Brezillon, Archit Taneja & Andrzej Hajda.
- Synopsys dsi: Add dw_mipi_dsi.h (forgotten in v2), thanks to comments of
Neil Armstrong.
- Synopsys dsi/dw-mipi-dsi.c: add dw_mipi_dsi_dphy_init() &
dw_mipi_dsi_dphy_enable() to better manage DW phy-dedicated regs, remove
dw_mipi_dsi_mode enum, remove stm32 patch for lpm, remove pllref (manage in
the vendor phy) thanks to comments of Archit Taneja. Add mode_flags to phy
parameters to better adjust lane mbps according to dsi burst and non burst
modes todos in caps.
- stm/dw_mipi_dsi-stm.c: Add pllref management.
- dt-bindings/display/stm: Split dt-bindings patch in two (parent node
removal/ dsi), add required nodes (port & panel/bridge), updates thanks to
comments of Rob Herring.
- dt-bindings/display/Synopsys dsi: remove port as part of the vendor
documentation, add panel/bridge node, update dt-bindings thanks to comments
of Rob Herring.
- Add more people from Hisilicon & Rockchip.
Version 2:
- Add a generic Synopsys DesignWare MIPI DSI bridge driver following
comments from Neil Armstrong & Archit Taneja.
- Use drm_of_find_panel_or_bridge() thanks to Eric Anholt comments
- Update dt-bindings thanks to Rob Herring comments
Version 1:
- Initial commit
The purpose of this set of patches is to add the mipi dsi host driver
to the stm32 family.
This mipi dsi host driver is based on the Rockchip version of the
Synopsys Designware mipi dsi driver (rockchip/dw-mipi-dsi.c)
modified for the stm32 family:
- replace Rockchip digital & phy specific extensions with stm32's ones.
- add a bridge
Philippe CORNU (7):
drm/stm: ltdc: Fix leak of px clk enable in some error paths
drm/stm: ltdc: Add panel-bridge support
dt-bindings: display: Add Synopsys DW MIPI DSI host controller
drm/bridge/synopsys: Add MIPI DSI host controller bridge
dt-bindings: display: stm32: remove st-display-subsystem parent node
requirement
dt-bindings: display: stm32: Add DSI controller
drm/stm: Add STM32 DSI controller driver
.../bindings/display/bridge/dw_mipi_dsi.txt | 32 +
.../devicetree/bindings/display/st,stm32-ltdc.txt | 105 ++-
drivers/gpu/drm/bridge/synopsys/Kconfig | 6 +
drivers/gpu/drm/bridge/synopsys/Makefile | 2 +
drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c | 979 +++++++++++++++++++++
drivers/gpu/drm/stm/Kconfig | 9 +-
drivers/gpu/drm/stm/Makefile | 2 +
drivers/gpu/drm/stm/dw_mipi_dsi-stm.c | 352 ++++++++
drivers/gpu/drm/stm/ltdc.c | 220 +----
drivers/gpu/drm/stm/ltdc.h | 3 +-
include/drm/bridge/dw_mipi_dsi.h | 39 +
11 files changed, 1566 insertions(+), 183 deletions(-)
create mode 100644 Documentation/devicetree/bindings/display/bridge/dw_mipi_dsi.txt
create mode 100644 drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c
create mode 100644 drivers/gpu/drm/stm/dw_mipi_dsi-stm.c
create mode 100644 include/drm/bridge/dw_mipi_dsi.h
--
1.9.1
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
next reply other threads:[~2017-07-03 8:46 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-03 8:41 Philippe CORNU [this message]
2017-07-03 8:41 ` [PATCH v5 1/7] drm/stm: ltdc: Fix leak of px clk enable in some error paths Philippe CORNU
2017-07-03 8:41 ` [PATCH v5 2/7] drm/stm: ltdc: Add panel-bridge support Philippe CORNU
2017-07-03 8:41 ` [PATCH v5 3/7] dt-bindings: display: Add Synopsys DW MIPI DSI host controller Philippe CORNU
[not found] ` <1499071287-10414-4-git-send-email-philippe.cornu-qxv4g6HH51o@public.gmane.org>
2017-07-07 15:53 ` Rob Herring
2017-07-03 8:41 ` [PATCH v5 4/7] drm/bridge/synopsys: Add MIPI DSI host controller bridge Philippe CORNU
2017-07-12 6:05 ` Archit Taneja
2017-07-17 7:54 ` Philippe CORNU
2017-07-17 8:06 ` Archit Taneja
2017-07-03 8:41 ` [PATCH v5 5/7] dt-bindings: display: stm32: remove st-display-subsystem parent node requirement Philippe CORNU
2017-07-03 8:41 ` [PATCH v5 6/7] dt-bindings: display: stm32: Add DSI controller Philippe CORNU
2017-07-03 8:41 ` [PATCH v5 7/7] drm/stm: Add STM32 DSI controller driver Philippe CORNU
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1499071287-10414-1-git-send-email-philippe.cornu@st.com \
--to=philippe.cornu@st.com \
--cc=a.hajda@samsung.com \
--cc=airlied@linux.ie \
--cc=alexandre.torgue@st.com \
--cc=architt@codeaurora.org \
--cc=arnd@arndb.de \
--cc=benjamin.gaignard@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=eric@anholt.net \
--cc=fabien.dessenne@st.com \
--cc=gabriel.fernandez@st.com \
--cc=kong.kongxinwei@hisilicon.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux@armlinux.org.uk \
--cc=ludovic.barre@st.com \
--cc=mark.rutland@arm.com \
--cc=mark.yao@rock-chips.com \
--cc=mcoquelin.stm32@gmail.com \
--cc=mickael.reulier@st.com \
--cc=narmstrong@baylibre.com \
--cc=puck.chen@hisilicon.com \
--cc=robh+dt@kernel.org \
--cc=thierry.reding@gmail.com \
--cc=vincent.abriou@st.com \
--cc=xinliang.liu@linaro.org \
--cc=yannick.fertre@st.com \
--cc=zourongrong@gmail.com \
--cc=zyw@rock-chips.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox