From: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
To: "Alexandre Mergnat" <amergnat@baylibre.com>,
"Chun-Kuang Hu" <chunkuang.hu@kernel.org>,
"Philipp Zabel" <p.zabel@pengutronix.de>,
"David Airlie" <airlied@gmail.com>,
"Daniel Vetter" <daniel@ffwll.ch>,
"Maarten Lankhorst" <maarten.lankhorst@linux.intel.com>,
"Maxime Ripard" <mripard@kernel.org>,
"Thomas Zimmermann" <tzimmermann@suse.de>,
"Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzysztof.kozlowski+dt@linaro.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"Matthias Brugger" <matthias.bgg@gmail.com>,
"Jitao Shi" <jitao.shi@mediatek.com>,
"CK Hu" <ck.hu@mediatek.com>,
"Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>,
"Michael Turquette" <mturquette@baylibre.com>,
"Stephen Boyd" <sboyd@kernel.org>,
"Catalin Marinas" <catalin.marinas@arm.com>,
"Will Deacon" <will@kernel.org>
Cc: dri-devel@lists.freedesktop.org,
linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, linux-pwm@vger.kernel.org,
linux-clk@vger.kernel.org
Subject: Re: [PATCH v2 17/18] arm64: dts: mediatek: add display blocks support for the MT8365 SoC
Date: Wed, 17 Apr 2024 12:27:52 +0200 [thread overview]
Message-ID: <37ffdb00-8d7a-4305-8814-6794c755c190@collabora.com> (raw)
In-Reply-To: <20231023-display-support-v2-17-33ce8864b227@baylibre.com>
Il 16/04/24 17:53, Alexandre Mergnat ha scritto:
> - Add aliases for each display components to help display drivers.
> - Add the Display Pulse Width Modulation (DISP_PWM) to provide PWM signals
> for the LED driver of mobile LCM.
> - Add the MIPI Display Serial Interface (DSI) PHY support. (up to 4-lane
> output)
> - Add the display mutex support.
> - Add the following display component support:
> - OVL0 (Overlay)
> - RDMA0 (Data Path Read DMA)
> - Color0
> - CCorr0 (Color Correction)
> - AAL0 (Adaptive Ambient Light)
> - GAMMA0
> - Dither0
> - DSI0 (Display Serial Interface)
> - RDMA1 (Data Path Read DMA)
> - DPI0 (Display Parallel Interface)
>
> Signed-off-by: Alexandre Mergnat <amergnat@baylibre.com>
> ---
> arch/arm64/boot/dts/mediatek/mt8365.dtsi | 146 +++++++++++++++++++++++++++++++
> 1 file changed, 146 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/mediatek/mt8365.dtsi b/arch/arm64/boot/dts/mediatek/mt8365.dtsi
> index 24581f7410aa..a95f90da4491 100644
> --- a/arch/arm64/boot/dts/mediatek/mt8365.dtsi
> +++ b/arch/arm64/boot/dts/mediatek/mt8365.dtsi
> @@ -8,6 +8,7 @@
> #include <dt-bindings/clock/mediatek,mt8365-clk.h>
> #include <dt-bindings/interrupt-controller/arm-gic.h>
> #include <dt-bindings/interrupt-controller/irq.h>
> +#include <dt-bindings/memory/mediatek,mt8365-larb-port.h>
> #include <dt-bindings/phy/phy.h>
> #include <dt-bindings/power/mediatek,mt8365-power.h>
>
> @@ -17,6 +18,19 @@ / {
> #address-cells = <2>;
> #size-cells = <2>;
>
> + aliases {
> + aal0 = &aal0;
> + ccorr0 = &ccorr0;
> + color0 = &color0;
> + dither0 = &dither0;
> + dpi0 = &dpi0;
> + dsi0 = &dsi0;
> + gamma0 = &gamma0;
> + ovl0 = &ovl0;
> + rdma0 = &rdma0;
> + rdma1 = &rdma1;
> + };
> +
> cpus {
> #address-cells = <1>;
> #size-cells = <0>;
> @@ -607,6 +621,17 @@ spi: spi@1100a000 {
> status = "disabled";
> };
>
> + disp_pwm: pwm@1100e000 {
> + compatible = "mediatek,mt8365-disp-pwm",
> + "mediatek,mt8183-disp-pwm";
Fits in a single line
> + reg = <0 0x1100e000 0 0x1000>;
> + clock-names = "main", "mm";
> + clocks = <&topckgen CLK_TOP_DISP_PWM_SEL>,
> + <&infracfg CLK_IFR_DISP_PWM>;
same
> + power-domains = <&spm MT8365_POWER_DOMAIN_MM>;
> + #pwm-cells = <2>;
> + };
> +
> i2c3: i2c@1100f000 {
> compatible = "mediatek,mt8365-i2c", "mediatek,mt8168-i2c";
> reg = <0 0x1100f000 0 0xa0>, <0 0x11000200 0 0x80>;
> @@ -703,6 +728,15 @@ ethernet: ethernet@112a0000 {
> status = "disabled";
> };
>
> + mipi_tx0: dsi-phy@11c00000 {
> + compatible = "mediatek,mt8365-mipi-tx", "mediatek,mt8183-mipi-tx";
> + reg = <0 0x11c00000 0 0x800>;
> + clock-output-names = "mipi_tx0_pll";
> + clocks = <&clk26m>;
> + #clock-cells = <0>;
> + #phy-cells = <0>;
> + };
> +
> u3phy: t-phy@11cc0000 {
> compatible = "mediatek,mt8365-tphy", "mediatek,generic-tphy-v2";
> #address-cells = <1>;
> @@ -732,6 +766,13 @@ mmsys: syscon@14000000 {
> #clock-cells = <1>;
> };
>
> + mutex: mutex@14001000 {
> + compatible = "mediatek,mt8365-disp-mutex";
> + reg = <0 0x14001000 0 0x1000>;
> + interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_LOW>;
> + power-domains = <&spm MT8365_POWER_DOMAIN_MM>;
> + };
> +
> smi_common: smi@14002000 {
> compatible = "mediatek,mt8365-smi-common";
> reg = <0 0x14002000 0 0x1000>;
> @@ -755,6 +796,111 @@ larb0: larb@14003000 {
> mediatek,larb-id = <0>;
> };
>
> + ovl0: ovl@1400b000 {
> + compatible = "mediatek,mt8365-disp-ovl",
> + "mediatek,mt8192-disp-ovl";
single line
> + reg = <0 0x1400b000 0 0x1000>;
> + clocks = <&mmsys CLK_MM_MM_DISP_OVL0>;
> + interrupts = <GIC_SPI 161 IRQ_TYPE_LEVEL_LOW>;
> + iommus = <&iommu M4U_PORT_DISP_OVL0>;
> + power-domains = <&spm MT8365_POWER_DOMAIN_MM>;
> + };
> +
> + rdma0: rdma@1400d000 {
> + compatible = "mediatek,mt8365-disp-rdma",
> + "mediatek,mt8183-disp-rdma";
ditto
> + reg = <0 0x1400d000 0 0x1000>;
> + clocks = <&mmsys CLK_MM_MM_DISP_RDMA0>;
> + interrupts = <GIC_SPI 162 IRQ_TYPE_LEVEL_LOW>;
> + iommus = <&iommu M4U_PORT_DISP_RDMA0>;
> + mediatek,rdma-fifo-size = <5120>;
> + power-domains = <&spm MT8365_POWER_DOMAIN_MM>;
> + };
> +
> + color0: color@1400f000 {
> + compatible = "mediatek,mt8365-disp-color",
> + "mediatek,mt8173-disp-color";
...and all the others too (maybe not all, it's fine until 100 cols anyway)
Cheers,
Angelo
next prev parent reply other threads:[~2024-04-17 10:27 UTC|newest]
Thread overview: 53+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-16 15:53 [PATCH v2 00/18] Add display support for the MT8365-EVK board Alexandre Mergnat
2024-04-16 15:53 ` [PATCH v2 01/18] dt-bindings: display: mediatek: aal: add compatible for MT8365 SoC Alexandre Mergnat
2024-04-17 10:19 ` AngeloGioacchino Del Regno
2024-04-17 18:43 ` Rob Herring
2024-04-16 15:53 ` [PATCH v2 02/18] dt-bindings: display: mediatek: ccorr: " Alexandre Mergnat
2024-04-17 10:19 ` AngeloGioacchino Del Regno
2024-04-17 18:43 ` Rob Herring
2024-04-16 15:53 ` [PATCH v2 03/18] dt-bindings: display: mediatek: color: " Alexandre Mergnat
2024-04-17 10:19 ` AngeloGioacchino Del Regno
2024-04-17 18:43 ` Rob Herring
2024-04-16 15:53 ` [PATCH v2 04/18] dt-bindings: display: mediatek: dither: " Alexandre Mergnat
2024-04-17 10:19 ` AngeloGioacchino Del Regno
2024-04-17 18:43 ` Rob Herring
2024-04-16 15:53 ` [PATCH v2 05/18] dt-bindings: display: mediatek: dsi: " Alexandre Mergnat
2024-04-17 10:21 ` AngeloGioacchino Del Regno
2024-04-17 18:44 ` Rob Herring
2024-04-16 15:53 ` [PATCH v2 06/18] dt-bindings: display: mediatek: dpi: add power-domains property amergnat
2024-04-17 10:15 ` AngeloGioacchino Del Regno
2024-04-17 18:44 ` Rob Herring
2024-04-16 15:53 ` [PATCH v2 07/18] dt-bindings: display: mediatek: dpi: add compatible for MT8365 Alexandre Mergnat
2024-04-17 10:14 ` AngeloGioacchino Del Regno
2024-04-16 15:53 ` [PATCH v2 08/18] dt-bindings: display: mediatek: gamma: add compatible for MT8365 SoC Alexandre Mergnat
2024-04-17 10:19 ` AngeloGioacchino Del Regno
2024-04-17 18:47 ` Rob Herring
2024-04-16 15:53 ` [PATCH v2 09/18] dt-bindings: display: mediatek: ovl: " Alexandre Mergnat
2024-04-17 10:19 ` AngeloGioacchino Del Regno
2024-04-17 18:47 ` Rob Herring
2024-04-16 15:53 ` [PATCH v2 10/18] dt-bindings: display: mediatek: rdma: " Alexandre Mergnat
2024-04-17 10:19 ` AngeloGioacchino Del Regno
2024-04-17 18:48 ` Rob Herring
2024-04-16 15:53 ` [PATCH v2 11/18] dt-bindings: pwm: mediatek,pwm-disp: add power-domains property Alexandre Mergnat
2024-04-17 8:01 ` Uwe Kleine-König
2024-04-17 8:06 ` Alexandre Mergnat
2024-04-17 10:19 ` AngeloGioacchino Del Regno
2024-04-17 13:25 ` Uwe Kleine-König
2024-04-17 13:50 ` AngeloGioacchino Del Regno
2024-04-16 15:53 ` [PATCH v2 12/18] dt-bindings: pwm: mediatek,pwm-disp: add compatible for mt8365 SoC Alexandre Mergnat
2024-04-17 8:06 ` Uwe Kleine-König
2024-04-18 9:46 ` Alexandre Mergnat
2024-04-18 16:05 ` Uwe Kleine-König
2024-04-17 18:48 ` Rob Herring
2024-04-16 15:53 ` [PATCH v2 13/18] drm/mediatek: dsi: Improves the DSI lane setup robustness Alexandre Mergnat
2024-04-16 15:53 ` [PATCH v2 14/18] drm/mediatek: add mt8365 dpi support Alexandre Mergnat
2024-04-17 10:14 ` AngeloGioacchino Del Regno
2024-04-16 15:53 ` [PATCH v2 15/18] drm/mediatek: add MT8365 SoC support amergnat
2024-04-16 15:53 ` [PATCH v2 16/18] arm64: defconfig: enable display connector support Alexandre Mergnat
2024-04-16 15:53 ` [PATCH v2 17/18] arm64: dts: mediatek: add display blocks support for the MT8365 SoC Alexandre Mergnat
2024-04-17 10:27 ` AngeloGioacchino Del Regno [this message]
2024-04-16 15:53 ` [PATCH v2 18/18] arm64: dts: mediatek: add display support for mt8365-evk Alexandre Mergnat
2024-04-17 10:27 ` AngeloGioacchino Del Regno
2024-04-18 13:02 ` Alexandre Mergnat
2024-04-17 7:58 ` [PATCH v2 00/18] Add display support for the MT8365-EVK board Uwe Kleine-König
2024-04-17 8:12 ` Alexandre Mergnat
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=37ffdb00-8d7a-4305-8814-6794c755c190@collabora.com \
--to=angelogioacchino.delregno@collabora.com \
--cc=airlied@gmail.com \
--cc=amergnat@baylibre.com \
--cc=catalin.marinas@arm.com \
--cc=chunkuang.hu@kernel.org \
--cc=ck.hu@mediatek.com \
--cc=conor+dt@kernel.org \
--cc=daniel@ffwll.ch \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=jitao.shi@mediatek.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=linux-pwm@vger.kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=matthias.bgg@gmail.com \
--cc=mripard@kernel.org \
--cc=mturquette@baylibre.com \
--cc=p.zabel@pengutronix.de \
--cc=robh@kernel.org \
--cc=sboyd@kernel.org \
--cc=tzimmermann@suse.de \
--cc=u.kleine-koenig@pengutronix.de \
--cc=will@kernel.org \
/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