linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/2] arm64: dts: imx8mq: Add NWL DSI host controller to Librem 5 Devkit
@ 2020-08-23  7:18 Guido Günther
  2020-08-23  7:18 ` [PATCH v4 1/2] arm64: defconfig: re-sync DRM related defconfig bits Guido Günther
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Guido Günther @ 2020-08-23  7:18 UTC (permalink / raw)
  To: Rob Herring, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team,
	Fabio Estevam, NXP Linux Team, Catalin Marinas, Will Deacon,
	Martin Kepplinger, Angus Ainslie (Purism),
	Guido Günther, Anson Huang, Peng Fan, Dong Aisheng,
	Leonard Crestez, Philipp Zabel, Lucas Stach, Andrey Smirnov,
	Li Jun, Bjorn Andersson, Li Yang, Arnd Bergmann,
	Geert Uytterhoeven, Michael Walle, Olof Johansson, devicetree,
	linux-arm-kernel, linux-kernel

These patches add the NWL host controller to the imx8mq and make use of it on
the Librem 5 Devkit enabling the built in MIPI DSI LCD panel.

I opted to add imx8mq internal ports and endpoints between nwl and lcdif to the
generic dtsi since those are SOC rather than board specific properties.

Changes from v3
- Rebase patch 3 and 4 against Shawn's imx/defconfig
  Patches 1 an 2 got already applies, thanks!

Changes from v2
- Add Tested-by from Martin Kepplinger, thanks!
  https://lore.kernel.org/linux-arm-kernel/cover.1597913263.git.agx@sigxcpu.org/T/#m067f2d659fcd1c0cb7792b22d0c4db06ed235815
  https://lore.kernel.org/linux-arm-kernel/cover.1597913263.git.agx@sigxcpu.org/T/#m9aff315ee38fd9bbcd3a896876726c14b2fb7048

Changes from v1
- Add Reviewed-by from Fabio Estevam, thanks!
  https://lore.kernel.org/linux-arm-kernel/CAOMZO5DUA5eS8apZPbte0EcSQ4Vwpg6YLK7D0YdjSUy+kdBu8Q@mail.gmail.com/
  https://lore.kernel.org/linux-arm-kernel/CAOMZO5ANrd2JCmHyxZ0Sv0WNcU9T-q3MbaeADxbOwf+31MQ4LQ@mail.gmail.com/#t
  https://lore.kernel.org/linux-arm-kernel/CAOMZO5Dg5NGpJ0SQkYny04Kv3ky0619J7YwT-0eE1dsK19o1-w@mail.gmail.com/
- As per review comment by Fabio Estevam
  Re-sync DRM related defconfig bits. I didn't resyc the whole defconfig since
  this is pretty much kernel version dependent.

Guido Günther (2):
  arm64: defconfig: re-sync DRM related defconfig bits
  arm64: defconfig: Enable imx8mq-librem5-devkit display stack

 arch/arm64/configs/defconfig | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

-- 
2.26.2


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH v4 1/2] arm64: defconfig: re-sync DRM related defconfig bits
  2020-08-23  7:18 [PATCH v4 0/2] arm64: dts: imx8mq: Add NWL DSI host controller to Librem 5 Devkit Guido Günther
@ 2020-08-23  7:18 ` Guido Günther
  2020-08-23  7:18 ` [PATCH v4 2/2] arm64: defconfig: Enable imx8mq-librem5-devkit display stack Guido Günther
  2020-08-24 12:46 ` [PATCH v4 0/2] arm64: dts: imx8mq: Add NWL DSI host controller to Librem 5 Devkit Shawn Guo
  2 siblings, 0 replies; 5+ messages in thread
From: Guido Günther @ 2020-08-23  7:18 UTC (permalink / raw)
  To: Rob Herring, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team,
	Fabio Estevam, NXP Linux Team, Catalin Marinas, Will Deacon,
	Martin Kepplinger, Angus Ainslie (Purism),
	Guido Günther, Anson Huang, Peng Fan, Dong Aisheng,
	Leonard Crestez, Philipp Zabel, Lucas Stach, Andrey Smirnov,
	Li Jun, Bjorn Andersson, Li Yang, Arnd Bergmann,
	Geert Uytterhoeven, Michael Walle, Olof Johansson, devicetree,
	linux-arm-kernel, linux-kernel

This moves the CONFIG_DRM_SIMPLE_BRIDGE entry around making further
updates simpler.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
---
 arch/arm64/configs/defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 6d04b9577b0b..43200a86fe10 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -640,10 +640,10 @@ CONFIG_DRM_MSM=m
 CONFIG_DRM_TEGRA=m
 CONFIG_DRM_PANEL_LVDS=m
 CONFIG_DRM_PANEL_SIMPLE=m
-CONFIG_DRM_SIMPLE_BRIDGE=m
 CONFIG_DRM_PANEL_TRULY_NT35597_WQXGA=m
 CONFIG_DRM_DISPLAY_CONNECTOR=m
 CONFIG_DRM_SII902X=m
+CONFIG_DRM_SIMPLE_BRIDGE=m
 CONFIG_DRM_THINE_THC63LVD1024=m
 CONFIG_DRM_TI_SN65DSI86=m
 CONFIG_DRM_I2C_ADV7511=m
-- 
2.26.2


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH v4 2/2] arm64: defconfig: Enable imx8mq-librem5-devkit display stack
  2020-08-23  7:18 [PATCH v4 0/2] arm64: dts: imx8mq: Add NWL DSI host controller to Librem 5 Devkit Guido Günther
  2020-08-23  7:18 ` [PATCH v4 1/2] arm64: defconfig: re-sync DRM related defconfig bits Guido Günther
@ 2020-08-23  7:18 ` Guido Günther
  2020-08-24 12:46 ` [PATCH v4 0/2] arm64: dts: imx8mq: Add NWL DSI host controller to Librem 5 Devkit Shawn Guo
  2 siblings, 0 replies; 5+ messages in thread
From: Guido Günther @ 2020-08-23  7:18 UTC (permalink / raw)
  To: Rob Herring, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team,
	Fabio Estevam, NXP Linux Team, Catalin Marinas, Will Deacon,
	Martin Kepplinger, Angus Ainslie (Purism),
	Guido Günther, Anson Huang, Peng Fan, Dong Aisheng,
	Leonard Crestez, Philipp Zabel, Lucas Stach, Andrey Smirnov,
	Li Jun, Bjorn Andersson, Li Yang, Arnd Bergmann,
	Geert Uytterhoeven, Michael Walle, Olof Johansson, devicetree,
	linux-arm-kernel, linux-kernel

Enable the panel, NWL DSI host controller and dphy. This
also needs the reset controller.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
---
 arch/arm64/configs/defconfig | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 43200a86fe10..185904e0c5d5 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -640,8 +640,10 @@ CONFIG_DRM_MSM=m
 CONFIG_DRM_TEGRA=m
 CONFIG_DRM_PANEL_LVDS=m
 CONFIG_DRM_PANEL_SIMPLE=m
+CONFIG_DRM_PANEL_SITRONIX_ST7703=m
 CONFIG_DRM_PANEL_TRULY_NT35597_WQXGA=m
 CONFIG_DRM_DISPLAY_CONNECTOR=m
+CONFIG_DRM_NWL_MIPI_DSI=m
 CONFIG_DRM_SII902X=m
 CONFIG_DRM_SIMPLE_BRIDGE=m
 CONFIG_DRM_THINE_THC63LVD1024=m
@@ -949,11 +951,13 @@ CONFIG_PWM_SAMSUNG=y
 CONFIG_PWM_SUN4I=m
 CONFIG_PWM_TEGRA=m
 CONFIG_QCOM_PDC=y
+CONFIG_RESET_IMX7=y
 CONFIG_RESET_QCOM_AOSS=y
 CONFIG_RESET_QCOM_PDC=m
 CONFIG_RESET_TI_SCI=y
 CONFIG_PHY_XGENE=y
 CONFIG_PHY_SUN4I_USB=y
+CONFIG_PHY_MIXEL_MIPI_DPHY=m
 CONFIG_PHY_HI6220_USB=y
 CONFIG_PHY_HISTB_COMBPHY=y
 CONFIG_PHY_HISI_INNO_USB2=y
-- 
2.26.2


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH v4 0/2] arm64: dts: imx8mq: Add NWL DSI host controller to Librem 5 Devkit
  2020-08-23  7:18 [PATCH v4 0/2] arm64: dts: imx8mq: Add NWL DSI host controller to Librem 5 Devkit Guido Günther
  2020-08-23  7:18 ` [PATCH v4 1/2] arm64: defconfig: re-sync DRM related defconfig bits Guido Günther
  2020-08-23  7:18 ` [PATCH v4 2/2] arm64: defconfig: Enable imx8mq-librem5-devkit display stack Guido Günther
@ 2020-08-24 12:46 ` Shawn Guo
  2020-08-24 13:35   ` Guido Günther
  2 siblings, 1 reply; 5+ messages in thread
From: Shawn Guo @ 2020-08-24 12:46 UTC (permalink / raw)
  To: Guido Günther
  Cc: Rob Herring, Sascha Hauer, Pengutronix Kernel Team,
	Fabio Estevam, NXP Linux Team, Catalin Marinas, Will Deacon,
	Martin Kepplinger, Angus Ainslie (Purism),
	Anson Huang, Peng Fan, Dong Aisheng, Leonard Crestez,
	Philipp Zabel, Lucas Stach, Andrey Smirnov, Li Jun,
	Bjorn Andersson, Li Yang, Arnd Bergmann, Geert Uytterhoeven,
	Michael Walle, Olof Johansson, devicetree, linux-arm-kernel,
	linux-kernel

On Sun, Aug 23, 2020 at 09:18:06AM +0200, Guido Günther wrote:
> These patches add the NWL host controller to the imx8mq and make use of it on
> the Librem 5 Devkit enabling the built in MIPI DSI LCD panel.
> 
> I opted to add imx8mq internal ports and endpoints between nwl and lcdif to the
> generic dtsi since those are SOC rather than board specific properties.
> 
> Changes from v3
> - Rebase patch 3 and 4 against Shawn's imx/defconfig
>   Patches 1 an 2 got already applies, thanks!
> 
> Changes from v2
> - Add Tested-by from Martin Kepplinger, thanks!
>   https://lore.kernel.org/linux-arm-kernel/cover.1597913263.git.agx@sigxcpu.org/T/#m067f2d659fcd1c0cb7792b22d0c4db06ed235815
>   https://lore.kernel.org/linux-arm-kernel/cover.1597913263.git.agx@sigxcpu.org/T/#m9aff315ee38fd9bbcd3a896876726c14b2fb7048
> 
> Changes from v1
> - Add Reviewed-by from Fabio Estevam, thanks!
>   https://lore.kernel.org/linux-arm-kernel/CAOMZO5DUA5eS8apZPbte0EcSQ4Vwpg6YLK7D0YdjSUy+kdBu8Q@mail.gmail.com/
>   https://lore.kernel.org/linux-arm-kernel/CAOMZO5ANrd2JCmHyxZ0Sv0WNcU9T-q3MbaeADxbOwf+31MQ4LQ@mail.gmail.com/#t
>   https://lore.kernel.org/linux-arm-kernel/CAOMZO5Dg5NGpJ0SQkYny04Kv3ky0619J7YwT-0eE1dsK19o1-w@mail.gmail.com/
> - As per review comment by Fabio Estevam
>   Re-sync DRM related defconfig bits. I didn't resyc the whole defconfig since
>   this is pretty much kernel version dependent.
> 
> Guido Günther (2):
>   arm64: defconfig: re-sync DRM related defconfig bits
>   arm64: defconfig: Enable imx8mq-librem5-devkit display stack

Applied both, thanks.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH v4 0/2] arm64: dts: imx8mq: Add NWL DSI host controller to Librem 5 Devkit
  2020-08-24 12:46 ` [PATCH v4 0/2] arm64: dts: imx8mq: Add NWL DSI host controller to Librem 5 Devkit Shawn Guo
@ 2020-08-24 13:35   ` Guido Günther
  0 siblings, 0 replies; 5+ messages in thread
From: Guido Günther @ 2020-08-24 13:35 UTC (permalink / raw)
  To: Shawn Guo
  Cc: Rob Herring, Sascha Hauer, Pengutronix Kernel Team,
	Fabio Estevam, NXP Linux Team, Catalin Marinas, Will Deacon,
	Martin Kepplinger, Angus Ainslie (Purism),
	Anson Huang, Peng Fan, Dong Aisheng, Leonard Crestez,
	Philipp Zabel, Lucas Stach, Andrey Smirnov, Li Jun,
	Bjorn Andersson, Li Yang, Arnd Bergmann, Geert Uytterhoeven,
	Michael Walle, Olof Johansson, devicetree, linux-arm-kernel,
	linux-kernel

Hi,
On Mon, Aug 24, 2020 at 08:46:36PM +0800, Shawn Guo wrote:
> On Sun, Aug 23, 2020 at 09:18:06AM +0200, Guido Günther wrote:
> > These patches add the NWL host controller to the imx8mq and make use of it on
> > the Librem 5 Devkit enabling the built in MIPI DSI LCD panel.
> > 
> > I opted to add imx8mq internal ports and endpoints between nwl and lcdif to the
> > generic dtsi since those are SOC rather than board specific properties.
> > 
> > Changes from v3
> > - Rebase patch 3 and 4 against Shawn's imx/defconfig
> >   Patches 1 an 2 got already applies, thanks!
> > 
> > Changes from v2
> > - Add Tested-by from Martin Kepplinger, thanks!
> >   https://lore.kernel.org/linux-arm-kernel/cover.1597913263.git.agx@sigxcpu.org/T/#m067f2d659fcd1c0cb7792b22d0c4db06ed235815
> >   https://lore.kernel.org/linux-arm-kernel/cover.1597913263.git.agx@sigxcpu.org/T/#m9aff315ee38fd9bbcd3a896876726c14b2fb7048
> > 
> > Changes from v1
> > - Add Reviewed-by from Fabio Estevam, thanks!
> >   https://lore.kernel.org/linux-arm-kernel/CAOMZO5DUA5eS8apZPbte0EcSQ4Vwpg6YLK7D0YdjSUy+kdBu8Q@mail.gmail.com/
> >   https://lore.kernel.org/linux-arm-kernel/CAOMZO5ANrd2JCmHyxZ0Sv0WNcU9T-q3MbaeADxbOwf+31MQ4LQ@mail.gmail.com/#t
> >   https://lore.kernel.org/linux-arm-kernel/CAOMZO5Dg5NGpJ0SQkYny04Kv3ky0619J7YwT-0eE1dsK19o1-w@mail.gmail.com/
> > - As per review comment by Fabio Estevam
> >   Re-sync DRM related defconfig bits. I didn't resyc the whole defconfig since
> >   this is pretty much kernel version dependent.
> > 
> > Guido Günther (2):
> >   arm64: defconfig: re-sync DRM related defconfig bits
> >   arm64: defconfig: Enable imx8mq-librem5-devkit display stack
> 
> Applied both, thanks.

Thanks!
 -- Guido

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-08-24 13:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-23  7:18 [PATCH v4 0/2] arm64: dts: imx8mq: Add NWL DSI host controller to Librem 5 Devkit Guido Günther
2020-08-23  7:18 ` [PATCH v4 1/2] arm64: defconfig: re-sync DRM related defconfig bits Guido Günther
2020-08-23  7:18 ` [PATCH v4 2/2] arm64: defconfig: Enable imx8mq-librem5-devkit display stack Guido Günther
2020-08-24 12:46 ` [PATCH v4 0/2] arm64: dts: imx8mq: Add NWL DSI host controller to Librem 5 Devkit Shawn Guo
2020-08-24 13:35   ` Guido Günther

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).