* [PATCH 0/2] ARM: dts: imx7: add MIPI-DSI support
@ 2023-11-27 16:12 Roland Hieber
2023-11-27 16:12 ` [PATCH 1/2] dt-bindings: display: bridge: samsung-dsim: Add i.MX7D support Roland Hieber
2023-11-27 16:12 ` [PATCH 2/2] ARM: dts: imx7: add MIPI-DSI support Roland Hieber
0 siblings, 2 replies; 5+ messages in thread
From: Roland Hieber @ 2023-11-27 16:12 UTC (permalink / raw)
To: Inki Dae, Jagan Teki, Marek Szyprowski, Andrzej Hajda,
Neil Armstrong, Robert Foss, Laurent Pinchart, Jonas Karlman,
Jernej Skrabec, David Airlie, Daniel Vetter, Maarten Lankhorst,
Maxime Ripard, Thomas Zimmermann, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Shawn Guo, Sascha Hauer,
Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team
Cc: dri-devel, devicetree, linux-kernel, linux-arm-kernel,
Roland Hieber, Philipp Zabel, Marco Felsch
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
Marco Felsch (1):
ARM: dts: imx7: add MIPI-DSI support
Philipp Zabel (1):
dt-bindings: display: bridge: samsung-dsim: Add i.MX7D support
.../bindings/display/bridge/samsung,mipi-dsim.yaml | 4 +-
arch/arm/boot/dts/nxp/imx/imx7s.dtsi | 46 ++++++++++++++++++++++
2 files changed, 49 insertions(+), 1 deletion(-)
---
base-commit: 2cc14f52aeb78ce3f29677c2de1f06c0e91471ab
change-id: 20231127-b4-imx7-mipi-dsi-801372e24f13
Best regards,
--
Roland Hieber, Pengutronix e.K. | rhi@pengutronix.de |
Steuerwalder Str. 21 | https://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/2] dt-bindings: display: bridge: samsung-dsim: Add i.MX7D support
2023-11-27 16:12 [PATCH 0/2] ARM: dts: imx7: add MIPI-DSI support Roland Hieber
@ 2023-11-27 16:12 ` Roland Hieber
2023-11-27 17:14 ` Conor Dooley
2023-11-27 16:12 ` [PATCH 2/2] ARM: dts: imx7: add MIPI-DSI support Roland Hieber
1 sibling, 1 reply; 5+ messages in thread
From: Roland Hieber @ 2023-11-27 16:12 UTC (permalink / raw)
To: Inki Dae, Jagan Teki, Marek Szyprowski, Andrzej Hajda,
Neil Armstrong, Robert Foss, Laurent Pinchart, Jonas Karlman,
Jernej Skrabec, David Airlie, Daniel Vetter, Maarten Lankhorst,
Maxime Ripard, Thomas Zimmermann, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Shawn Guo, Sascha Hauer,
Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team
Cc: dri-devel, devicetree, linux-kernel, linux-arm-kernel,
Roland Hieber, Philipp Zabel
From: Philipp Zabel <p.zabel@pengutronix.de>
Add support for the "fsl,imx7d-mipi-dsim" compatible used on i.MX7D.
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
.../devicetree/bindings/display/bridge/samsung,mipi-dsim.yaml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/display/bridge/samsung,mipi-dsim.yaml b/Documentation/devicetree/bindings/display/bridge/samsung,mipi-dsim.yaml
index 4ed7a799ba26..e43fec560941 100644
--- a/Documentation/devicetree/bindings/display/bridge/samsung,mipi-dsim.yaml
+++ b/Documentation/devicetree/bindings/display/bridge/samsung,mipi-dsim.yaml
@@ -27,7 +27,9 @@ properties:
- fsl,imx8mm-mipi-dsim
- fsl,imx8mp-mipi-dsim
- items:
- - const: fsl,imx8mn-mipi-dsim
+ - enum:
+ - fsl,imx7d-mipi-dsim
+ - fsl,imx8mn-mipi-dsim
- const: fsl,imx8mm-mipi-dsim
reg:
--
2.39.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 2/2] ARM: dts: imx7: add MIPI-DSI support
2023-11-27 16:12 [PATCH 0/2] ARM: dts: imx7: add MIPI-DSI support Roland Hieber
2023-11-27 16:12 ` [PATCH 1/2] dt-bindings: display: bridge: samsung-dsim: Add i.MX7D support Roland Hieber
@ 2023-11-27 16:12 ` Roland Hieber
2023-12-06 2:04 ` Shawn Guo
1 sibling, 1 reply; 5+ messages in thread
From: Roland Hieber @ 2023-11-27 16:12 UTC (permalink / raw)
To: Inki Dae, Jagan Teki, Marek Szyprowski, Andrzej Hajda,
Neil Armstrong, Robert Foss, Laurent Pinchart, Jonas Karlman,
Jernej Skrabec, David Airlie, Daniel Vetter, Maarten Lankhorst,
Maxime Ripard, Thomas Zimmermann, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Shawn Guo, Sascha Hauer,
Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team
Cc: dri-devel, devicetree, linux-kernel, linux-arm-kernel,
Roland Hieber, Marco Felsch
From: Marco Felsch <m.felsch@pengutronix.de>
This adds the device tree support for the MIPI-DSI block. The block can
be used as encoder for the parallel signals coming from the lcdif block.
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
arch/arm/boot/dts/nxp/imx/imx7s.dtsi | 46 ++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
diff --git a/arch/arm/boot/dts/nxp/imx/imx7s.dtsi b/arch/arm/boot/dts/nxp/imx/imx7s.dtsi
index 29b8fd03567a..7adadf9c3694 100644
--- a/arch/arm/boot/dts/nxp/imx/imx7s.dtsi
+++ b/arch/arm/boot/dts/nxp/imx/imx7s.dtsi
@@ -818,6 +818,16 @@ lcdif: lcdif@30730000 {
<&clks IMX7D_LCDIF_PIXEL_ROOT_CLK>;
clock-names = "pix", "axi";
status = "disabled";
+
+ port {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ lcdif_out_mipi_dsi: endpoint@0 {
+ reg = <0>;
+ remote-endpoint = <&mipi_dsi_in_lcdif>;
+ };
+ };
};
mipi_csi: mipi-csi@30750000 {
@@ -850,6 +860,42 @@ mipi_vc0_to_csi_mux: endpoint {
};
};
};
+
+ mipi_dsi: dsi@30760000 {
+ compatible = "fsl,imx7d-mipi-dsim", "fsl,imx8mm-mipi-dsim";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ reg = <0x30760000 0x400>;
+ clocks = <&clks IMX7D_MIPI_DSI_ROOT_CLK>,
+ <&clks IMX7D_MIPI_DPHY_ROOT_CLK>;
+ clock-names = "bus_clk", "sclk_mipi";
+ assigned-clocks = <&clks IMX7D_MIPI_DSI_ROOT_SRC>,
+ <&clks IMX7D_PLL_SYS_PFD5_CLK>;
+ assigned-clock-parents = <&clks IMX7D_PLL_SYS_PFD5_CLK>;
+ assigned-clock-rates = <0>, <333000000>;
+ power-domains = <&pgc_mipi_phy>;
+ interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
+ samsung,burst-clock-frequency = <891000000>;
+ samsung,esc-clock-frequency = <20000000>;
+ samsung,pll-clock-frequency = <24000000>;
+ status = "disabled";
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port@0 {
+ reg = <0>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ mipi_dsi_in_lcdif: endpoint@0 {
+ reg = <0>;
+ remote-endpoint = <&lcdif_out_mipi_dsi>;
+ };
+ };
+ };
+ };
};
aips3: bus@30800000 {
--
2.39.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 1/2] dt-bindings: display: bridge: samsung-dsim: Add i.MX7D support
2023-11-27 16:12 ` [PATCH 1/2] dt-bindings: display: bridge: samsung-dsim: Add i.MX7D support Roland Hieber
@ 2023-11-27 17:14 ` Conor Dooley
0 siblings, 0 replies; 5+ messages in thread
From: Conor Dooley @ 2023-11-27 17:14 UTC (permalink / raw)
To: Roland Hieber
Cc: Inki Dae, Jagan Teki, Marek Szyprowski, Andrzej Hajda,
Neil Armstrong, Robert Foss, Laurent Pinchart, Jonas Karlman,
Jernej Skrabec, David Airlie, Daniel Vetter, Maarten Lankhorst,
Maxime Ripard, Thomas Zimmermann, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Shawn Guo, Sascha Hauer,
Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team, dri-devel,
devicetree, linux-kernel, linux-arm-kernel, Philipp Zabel
[-- Attachment #1: Type: text/plain, Size: 1248 bytes --]
On Mon, Nov 27, 2023 at 05:12:28PM +0100, Roland Hieber wrote:
> From: Philipp Zabel <p.zabel@pengutronix.de>
>
> Add support for the "fsl,imx7d-mipi-dsim" compatible used on i.MX7D.
>
> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
> Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Cheers,
Conor.
> ---
> .../devicetree/bindings/display/bridge/samsung,mipi-dsim.yaml | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/display/bridge/samsung,mipi-dsim.yaml b/Documentation/devicetree/bindings/display/bridge/samsung,mipi-dsim.yaml
> index 4ed7a799ba26..e43fec560941 100644
> --- a/Documentation/devicetree/bindings/display/bridge/samsung,mipi-dsim.yaml
> +++ b/Documentation/devicetree/bindings/display/bridge/samsung,mipi-dsim.yaml
> @@ -27,7 +27,9 @@ properties:
> - fsl,imx8mm-mipi-dsim
> - fsl,imx8mp-mipi-dsim
> - items:
> - - const: fsl,imx8mn-mipi-dsim
> + - enum:
> + - fsl,imx7d-mipi-dsim
> + - fsl,imx8mn-mipi-dsim
> - const: fsl,imx8mm-mipi-dsim
>
> reg:
>
> --
> 2.39.2
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 2/2] ARM: dts: imx7: add MIPI-DSI support
2023-11-27 16:12 ` [PATCH 2/2] ARM: dts: imx7: add MIPI-DSI support Roland Hieber
@ 2023-12-06 2:04 ` Shawn Guo
0 siblings, 0 replies; 5+ messages in thread
From: Shawn Guo @ 2023-12-06 2:04 UTC (permalink / raw)
To: Roland Hieber
Cc: Inki Dae, Jagan Teki, Marek Szyprowski, Andrzej Hajda,
Neil Armstrong, Robert Foss, Laurent Pinchart, Jonas Karlman,
Jernej Skrabec, David Airlie, Daniel Vetter, Maarten Lankhorst,
Maxime Ripard, Thomas Zimmermann, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Sascha Hauer,
Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team, dri-devel,
devicetree, linux-kernel, linux-arm-kernel, Marco Felsch
On Mon, Nov 27, 2023 at 05:12:29PM +0100, Roland Hieber wrote:
> From: Marco Felsch <m.felsch@pengutronix.de>
>
> This adds the device tree support for the MIPI-DSI block. The block can
> be used as encoder for the parallel signals coming from the lcdif block.
>
> Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
> Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Applied this one, thanks!
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-12-06 2:04 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-27 16:12 [PATCH 0/2] ARM: dts: imx7: add MIPI-DSI support Roland Hieber
2023-11-27 16:12 ` [PATCH 1/2] dt-bindings: display: bridge: samsung-dsim: Add i.MX7D support Roland Hieber
2023-11-27 17:14 ` Conor Dooley
2023-11-27 16:12 ` [PATCH 2/2] ARM: dts: imx7: add MIPI-DSI support Roland Hieber
2023-12-06 2:04 ` Shawn Guo
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).