2020-08-23 07:19:17

by Guido Günther

[permalink] [raw]
Subject: [PATCH v4 0/2] 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(-)

--
2.26.2


2020-08-23 07:21:02

by Guido Günther

[permalink] [raw]
Subject: [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.

Signed-off-by: Guido Günther <[email protected]>
---
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

2020-08-23 07:22:15

by Guido Günther

[permalink] [raw]
Subject: [PATCH v4 2/2] arm64: defconfig: Enable imx8mq-librem5-devkit display stack

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

Signed-off-by: Guido Günther <[email protected]>
Reviewed-by: Fabio Estevam <[email protected]>
---
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

2020-08-24 12:49:57

by Shawn Guo

[permalink] [raw]
Subject: Re: [PATCH v4 0/2] arm64: dts: imx8mq: Add NWL DSI host controller to Librem 5 Devkit

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/[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

Applied both, thanks.

2020-08-24 13:44:08

by Guido Günther

[permalink] [raw]
Subject: Re: [PATCH v4 0/2] arm64: dts: imx8mq: Add NWL DSI host controller to Librem 5 Devkit

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/[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
>
> Applied both, thanks.

Thanks!
-- Guido