Skip to contentSkip to conversation

arm64: dts: imx8mq: Add NWL DSI host controller to Librem 5 Devkit

PATCH Applied Guido Günther 2 participants 5 messages Aug 23, 2020 – Aug 24, 2020

lore
Share & tools
lore
#0 lore raw

v4 cover arm64: dts: imx8mq: Add NWL DSI host controller to Librem 5 Devkit

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/[email protected]/T/#m067f2d659fcd1c0cb7792b22d0c4db06ed235815
https://lore.kernel.org/linux-arm-kernel/[email protected]/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(-)
Signature · 1 line
2.26.2
#1 lore raw

PATCH v4 1/2 arm64: defconfig: re-sync DRM related defconfig bits

This moves the CONFIG_DRM_SIMPLE_BRIDGE entry around making further updates simpler.

---
 arch/arm64/configs/defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/configs/defconfig +1 -1
index 6d04b9577b0b..43200a86fe10 100644
@@ -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
Signature · 1 line
2.26.2
#2 lore raw

PATCH v4 2/2 arm64: defconfig: Enable imx8mq-librem5-devkit display stack

In reply to Guido Günther

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

---
 arch/arm64/configs/defconfig | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm64/configs/defconfig +4 -0
index 43200a86fe10..185904e0c5d5 100644
@@ -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
Signature · 1 line
2.26.2
Applied
#3 lore raw
In reply to Guido Günther
Quoted 24 lines · Guido Günther

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/[email protected]/T/#m067f2d659fcd1c0cb7792b22d0c4db06ed235815
https://lore.kernel.org/linux-arm-kernel/[email protected]/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.

Quoted 3 lines

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

Applied both, thanks.

#4 lore raw

Hi,

Quoted 25 lines · Shawn Guo
Quoted 24 lines · Guido Günther

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/[email protected]/T/#m067f2d659fcd1c0cb7792b22d0c4db06ed235815
https://lore.kernel.org/linux-arm-kernel/[email protected]/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.

Quoted 5 lines
Quoted 3 lines

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

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel