Re: [PATCH v1 1/1] treewide: Align match_string() with sysfs_match_string()

2024-06-06 Thread AngeloGioacchino Del Regno
-by: AngeloGioacchino Del Regno

Re: [PATCH v5 2/3] dt-bindings: arm: mediatek: mmsys: Add OF graph support for board path

2024-06-06 Thread AngeloGioacchino Del Regno
Il 06/06/24 08:46, Chen-Yu Tsai ha scritto: On Wed, Jun 5, 2024 at 7:15 PM AngeloGioacchino Del Regno wrote: Il 05/06/24 03:38, CK Hu (胡俊光) ha scritto: Hi, Angelo: On Tue, 2024-05-21 at 09:57 +0200, AngeloGioacchino Del Regno wrote: Document OF graph on MMSYS/VDOSYS: this supports up

Re: [PATCH] drm/mediatek: Don't print error if EDEFER_PROBE returned on component_add

2024-06-06 Thread AngeloGioacchino Del Regno
Il 05/06/24 18:50, Nícolas F. R. A. Prado ha scritto: Use dev_err_probe() in the component_add() error path to prevent printing an error when the probe is deferred. This was observed on mt8195 with the disp-rdma driver: mediatek-disp-rdma 1c002000.rdma: Failed to add component: -517 But the

Re: [PATCH v2 2/2] drm/panfrost: Add support for Mali on the MT8188 SoC

2024-06-05 Thread AngeloGioacchino Del Regno
Il 05/06/24 11:18, Steven Price ha scritto: On 04/06/2024 13:39, AngeloGioacchino Del Regno wrote: MediaTek MT8188 has a Mali-G57 MC3 (Valhall-JM): add a new compatible and platform data using the same supplies and the same power domain lists as MT8183 (one regulator, three power domains

Re: [PATCH 2/6] clk: mediatek: Add mt8173-mfgtop driver

2024-06-05 Thread AngeloGioacchino Del Regno
Il 05/06/24 10:39, Chen-Yu Tsai ha scritto: On Thu, May 30, 2024 at 6:16 PM Chen-Yu Tsai wrote: On Thu, May 30, 2024 at 5:59 PM AngeloGioacchino Del Regno wrote: Il 30/05/24 10:35, Chen-Yu Tsai ha scritto: The MFG (GPU) block on the MT8173 has a small glue layer, named MFG_TOP

Re: [PATCH 5/6] arm64: dts: mediatek: mt8173: Fix MFG_ASYNC power domain clock

2024-06-05 Thread AngeloGioacchino Del Regno
Il 05/06/24 10:25, Chen-Yu Tsai ha scritto: On Thu, May 30, 2024 at 6:03 PM AngeloGioacchino Del Regno wrote: Il 30/05/24 10:35, Chen-Yu Tsai ha scritto: The MFG_ASYNC domain, which is likely associated to the whole MFG block, currently specifies clk26m as its domain clock. This is bogus

Re: [PATCH v5 2/3] dt-bindings: arm: mediatek: mmsys: Add OF graph support for board path

2024-06-05 Thread AngeloGioacchino Del Regno
Il 05/06/24 03:38, CK Hu (胡俊光) ha scritto: Hi, Angelo: On Tue, 2024-05-21 at 09:57 +0200, AngeloGioacchino Del Regno wrote: Document OF graph on MMSYS/VDOSYS: this supports up to three DDP paths per HW instance (so potentially up to six displays for multi-vdo SoCs). The MMSYS or VDOSYS

[PATCH v2 2/2] drm/panfrost: Add support for Mali on the MT8188 SoC

2024-06-04 Thread AngeloGioacchino Del Regno
MediaTek MT8188 has a Mali-G57 MC3 (Valhall-JM): add a new compatible and platform data using the same supplies and the same power domain lists as MT8183 (one regulator, three power domains). Signed-off-by: AngeloGioacchino Del Regno --- drivers/gpu/drm/panfrost/panfrost_drv.c | 9 + 1

[PATCH v2 1/2] dt-bindings: gpu: mali-bifrost: Add compatible for MT8188 SoC

2024-06-04 Thread AngeloGioacchino Del Regno
Add a compatible for the MediaTek MT8188 SoC, with an integrated ARM Mali G57 MC3 (Valhall-JM) GPU. Signed-off-by: AngeloGioacchino Del Regno --- Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation

[PATCH v2 0/2] drm/panfrost: Add MT8188 support

2024-06-04 Thread AngeloGioacchino Del Regno
Changes in v2: - Fixed bindings to restrict number of power domains for MT8188's GPU to three like MT8183(b). This series adds support for MT8188's Mali-G57 MC3. AngeloGioacchino Del Regno (2): dt-bindings: gpu: mali-bifrost: Add compatible for MT8188 SoC drm/panfrost: Add support

Re: [PATCH 2/6] clk: mediatek: Add mt8173-mfgtop driver

2024-05-30 Thread AngeloGioacchino Del Regno
Il 30/05/24 12:16, Chen-Yu Tsai ha scritto: On Thu, May 30, 2024 at 5:59 PM AngeloGioacchino Del Regno wrote: Il 30/05/24 10:35, Chen-Yu Tsai ha scritto: The MFG (GPU) block on the MT8173 has a small glue layer, named MFG_TOP in the datasheet, that contains clock gates, some power sequence

Re: [PATCH 6/6] arm64: dts: mediatek: mt8173: Add GPU device nodes

2024-05-30 Thread AngeloGioacchino Del Regno
-by: Chen-Yu Tsai Reviewed-by: AngeloGioacchino Del Regno

Re: [PATCH 5/6] arm64: dts: mediatek: mt8173: Fix MFG_ASYNC power domain clock

2024-05-30 Thread AngeloGioacchino Del Regno
iatek: Add mt8173 power domain controller") Signed-off-by: Chen-Yu Tsai Just one question... what happens if there's no GPU support at all and this power domain gets powered off? I expect the answer to be "nothing", so I'm preventively giving you my Reviewed-by: Angelo

Re: [PATCH 4/6] drm/imagination: Add compatible string entry for Series6XT

2024-05-30 Thread AngeloGioacchino Del Regno
Il 30/05/24 10:35, Chen-Yu Tsai ha scritto: The MediaTek MT8173 comes with a PowerVR Rogue GX6250, which is part of the Series6XT, another variation of the Rogue family of GPUs. Signed-off-by: Chen-Yu Tsai Reviewed-by: AngeloGioacchino Del Regno

Re: [PATCH 3/6] dt-bindings: gpu: powervr-rogue: Add MediaTek MT8173 GPU

2024-05-30 Thread AngeloGioacchino Del Regno
/6eeccb26e09aad67fb30ffcd523c793a43c79c2a.ca...@imgtec.com/ Signed-off-by: Chen-Yu Tsai Reviewed-by: AngeloGioacchino Del Regno

Re: [PATCH 2/6] clk: mediatek: Add mt8173-mfgtop driver

2024-05-30 Thread AngeloGioacchino Del Regno
Il 30/05/24 10:35, Chen-Yu Tsai ha scritto: The MFG (GPU) block on the MT8173 has a small glue layer, named MFG_TOP in the datasheet, that contains clock gates, some power sequence signal delays, and other unknown registers that get toggled when the GPU is powered on. The clock gates are

Re: [PATCH v4 1/3] dt-bindings: mailbox: Add mediatek,gce-props.yaml

2024-05-28 Thread AngeloGioacchino Del Regno
Il 26/05/24 17:04, Jason-JH Lin (林睿祥) ha scritto: Hi Angelo, Jassi, Could you help me apply this series? Thanks! That's not me, it's Jassi - green light from me, btw. Cheers, Angelo Regards, Jason-JH.Lin On Wed, 2024-01-24 at 09:57 +0100, AngeloGioacchino Del Regno wrote: Il 24/01/24 02

Re: [PATCH v6 2/8] dt-bindings: mailbox: Add property for CMDQ secure driver

2024-05-28 Thread AngeloGioacchino Del Regno
Il 26/05/24 01:08, Jason-JH.Lin ha scritto: 1. Add mboxes property to define a GCE loopping thread as a secure IRQ handler. The CMDQ secure driver requests a mbox channel and sends a looping command to the GCE thread. The looping command will wait for a secure packet done event signal from

Re: [PATCH v6 4/8] mailbox: mtk-cmdq: Support GCE loop packets in interrupt handler

2024-05-28 Thread AngeloGioacchino Del Regno
Del Regno

Re: [PATCH v6 3/8] soc: mediatek: cmdq: Add cmdq_pkt_logic_command to support math operation

2024-05-28 Thread AngeloGioacchino Del Regno
Il 26/05/24 01:08, Jason-JH.Lin ha scritto: Add cmdq_pkt_logic_command to support math operation. cmdq_pkt_logic_command can append logic command to the CMDQ packet, ask GCE to execute a arithmetic calculate instruction, such as add, subtract, multiply, AND, OR and NOT, etc. Note that all

[PATCH 2/2] drm/panfrost: Add support for Mali on the MT8188 SoC

2024-05-27 Thread AngeloGioacchino Del Regno
MediaTek MT8188 has a Mali-G57 MC3 (Valhall-JM): add a new compatible and platform data using the same supplies and the same power domain lists as MT8183 (one regulator, three power domains). Signed-off-by: AngeloGioacchino Del Regno --- drivers/gpu/drm/panfrost/panfrost_drv.c | 9 + 1

[PATCH 1/2] dt-bindings: gpu: mali-bifrost: Add compatible for MT8188 SoC

2024-05-27 Thread AngeloGioacchino Del Regno
Add a compatible for the MediaTek MT8188 SoC, with an integrated ARM Mali G57 MC3 (Valhall-JM) GPU. Signed-off-by: AngeloGioacchino Del Regno --- Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings

[PATCH 0/2] drm/panfrost: Add MT8188 support

2024-05-27 Thread AngeloGioacchino Del Regno
This series adds support for MT8188's Mali-G57 MC3. AngeloGioacchino Del Regno (2): dt-bindings: gpu: mali-bifrost: Add compatible for MT8188 SoC drm/panfrost: Add support for Mali on the MT8188 SoC .../devicetree/bindings/gpu/arm,mali-bifrost.yaml| 1 + drivers/gpu/drm/panfrost

Re: [PATCH v13] drm/bridge: it6505: fix hibernate to resume no display issue

2024-05-22 Thread AngeloGioacchino Del Regno
Kuro Chung Signed-off-by: Hermes Wu Reviewed-by: AngeloGioacchino Del Regno

[PATCH v5 1/3] dt-bindings: display: mediatek: Add OF graph support for board path

2024-05-21 Thread AngeloGioacchino Del Regno
) Reviewed-by: Alexandre Mergnat Tested-by: Alexandre Mergnat Signed-off-by: AngeloGioacchino Del Regno --- .../display/mediatek/mediatek,aal.yaml| 40 +++ .../display/mediatek/mediatek,ccorr.yaml | 21 ++ .../display/mediatek/mediatek,color.yaml | 22

[PATCH v5 2/3] dt-bindings: arm: mediatek: mmsys: Add OF graph support for board path

2024-05-21 Thread AngeloGioacchino Del Regno
defines the starting point for one of the (currently three) possible hardware paths. Reviewed-by: Rob Herring (Arm) Reviewed-by: Alexandre Mergnat Tested-by: Alexandre Mergnat Signed-off-by: AngeloGioacchino Del Regno --- .../bindings/arm/mediatek/mediatek,mmsys.yaml | 28 +++ 1

[PATCH v5 3/3] drm/mediatek: Implement OF graphs support for display paths

2024-05-21 Thread AngeloGioacchino Del Regno
of arrays for each board and SoC combination, also paving the way to share the same mtk_mmsys_driver_data between multiple SoCs, making it more straightforward to add support for new chips. Reviewed-by: Alexandre Mergnat Tested-by: Alexandre Mergnat Signed-off-by: AngeloGioacchino Del Regno

[PATCH v5 0/3] drm/mediatek: Add support for OF graphs

2024-05-21 Thread AngeloGioacchino Del Regno
t is already present in this driver). This series was tested on MT8195 Cherry Tomato and on MT8395 Radxa NIO-12L with both hardcoded paths, OF graph support and partially hardcoded paths, and pure OF graph support including pipelines that require OVL_ADAPTOR support. AngeloGioacchino Del Reg

Re: [PATCH v4 2/3] dt-bindings: arm: mediatek: mmsys: Add OF graph support for board path

2024-05-20 Thread AngeloGioacchino Del Regno
Il 20/05/24 13:49, Alexandre Mergnat ha scritto: On 20/05/2024 12:53, AngeloGioacchino Del Regno wrote: So, I don't know how you want to manage multiple display, but IMHO there are 2 ways: - removing the current "oneOf". ...eh I think this should be anyOf instead :-) I'll c

Re: [PATCH v4 2/3] dt-bindings: arm: mediatek: mmsys: Add OF graph support for board path

2024-05-20 Thread AngeloGioacchino Del Regno
Il 19/05/24 19:18, Alexandre Mergnat ha scritto: Hi Angelo, On 16/05/2024 10:11, AngeloGioacchino Del Regno wrote: +    oneOf: +  - required: +  - endpoint@0 +  - required: +  - endpoint@1 +  - required: +  - endpoint@2 I'm not sure this is what you expect

Re: [PATCH v4 14/16] arm64: defconfig: enable mt8365 sound

2024-05-20 Thread AngeloGioacchino Del Regno
Il 26/04/24 19:22, Alexandre Mergnat ha scritto: Enable the MediaTek MT8365-EVK sound support. The audio feature is handled by the MT8365 SoC and the MT6357 PMIC codec audio. Signed-off-by: Alexandre Mergnat Reviewed-by: AngeloGioacchino Del Regno

Re: [PATCH v4 05/16] SoC: mediatek: mt8365: support audio clock control

2024-05-20 Thread AngeloGioacchino Del Regno
Il 26/04/24 19:22, Alexandre Mergnat ha scritto: Add audio clock wrapper and audio tuner control. Signed-off-by: Alexandre Mergnat --- sound/soc/mediatek/mt8365/mt8365-afe-clk.c | 443 + sound/soc/mediatek/mt8365/mt8365-afe-clk.h | 49 2 files changed, 492

Re: [PATCH v4 11/16] ASoC: mediatek: mt8365: Add platform driver

2024-05-20 Thread AngeloGioacchino Del Regno
Il 26/04/24 19:22, Alexandre Mergnat ha scritto: Add mt8365 platform driver. Since you have to anyway send a v5: Add a driver for the Analog Front End (AFE) PCM blahblah MT8365 blahblah :-) after which Reviewed-by: AngeloGioacchino Del Regno

Re: [PATCH v4 10/16] ASoc: mediatek: mt8365: Add a specific soundcard for EVK

2024-05-20 Thread AngeloGioacchino Del Regno
tible = "mediatek,mt8365-mt6357", .data = _mt6357_card }, { /* sentinel */ } after which Reviewed-by: AngeloGioacchino Del Regno

Re: [PATCH v4 09/16] ASoC: mediatek: mt8365: Add PCM DAI support

2024-05-20 Thread AngeloGioacchino Del Regno
if (lrck_inv) + val |= PCM_INTF_CON1_SYNC_IN_INV; + if (bck_inv) + val |= PCM_INTF_CON1_BCLK_IN_INV; + + // TODO: add asrc setting /* TODO ... */ after which: Reviewed-by: AngeloGioacchino Del Regno

Re: [PATCH v4 07/16] ASoC: mediatek: mt8365: Add ADDA DAI support

2024-05-20 Thread AngeloGioacchino Del Regno
Il 26/04/24 19:22, Alexandre Mergnat ha scritto: Add ADDA Device Audio Interface support for MT8365 SoC. Signed-off-by: Alexandre Mergnat --- sound/soc/mediatek/mt8365/mt8365-dai-adda.c | 315 1 file changed, 315 insertions(+) diff --git

Re: [PATCH v4 06/16] ASoC: mediatek: mt8365: Add I2S DAI support

2024-05-20 Thread AngeloGioacchino Del Regno
Il 26/04/24 19:22, Alexandre Mergnat ha scritto: Add I2S Device Audio Interface support for MT8365 SoC. Signed-off-by: Alexandre Mergnat --- sound/soc/mediatek/mt8365/mt8365-dai-i2s.c | 854 + 1 file changed, 854 insertions(+) diff --git

Re: [PATCH v4 08/16] ASoC: mediatek: mt8365: Add DMIC DAI support

2024-05-20 Thread AngeloGioacchino Del Regno
Il 26/04/24 19:22, Alexandre Mergnat ha scritto: Add Digital Micro Device Audio Interface support for MT8365 SoC. Signed-off-by: Alexandre Mergnat --- sound/soc/mediatek/mt8365/mt8365-dai-dmic.c | 347 1 file changed, 347 insertions(+) diff --git

Re: [PATCH 3/8] drm/panel: boe-tv101wum-nl6: Check for errors on the NOP in prepare()

2024-05-20 Thread AngeloGioacchino Del Regno
inspection. Fixes: 812562b8d881 ("drm/panel: boe-tv101wum-nl6: Fine tune the panel power sequence") Signed-off-by: Douglas Anderson Reviewed-by: AngeloGioacchino Del Regno

Re: [PATCH v4 3/3] drm/mediatek: Implement OF graphs support for display paths

2024-05-20 Thread AngeloGioacchino Del Regno
Il 17/05/24 11:49, Michael Walle ha scritto: Hi Angelo, On Thu May 16, 2024 at 10:11 AM CEST, AngeloGioacchino Del Regno wrote: Implement OF graphs support to the mediatek-drm drivers, allowing to stop hardcoding the paths, and preventing this driver to get a huge amount of arrays for each

Re: [PATCH v9] drm/bridge: it6505: This patch fixes hibernate to resume no display issue

2024-05-17 Thread AngeloGioacchino Del Regno
Il 17/05/24 04:16, kuro ha scritto: From: Kuro Chung This patch added a FIFO reset bit for input video. When system power resume, the TTL input of it6505 may get some noise before video signal stable and the hardware function reset is required. But the input FIFO reset will also trigger error

Re: [PATCH 2/4] drm/mediatek: Convert to platform remove callback returning void

2024-05-16 Thread AngeloGioacchino Del Regno
to .remove(). Trivially convert this driver from always returning zero in the remove callback to the void returning variant. Signed-off-by: Uwe Kleine-König Reviewed-by: AngeloGioacchino Del Regno --- drivers/gpu/drm/mediatek/mtk_padding.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions

Re: [PATCH v5 2/9] scatterlist: Add a flag for the restricted memory

2024-05-16 Thread AngeloGioacchino Del Regno
Il 15/05/24 13:23, Yong Wu ha scritto: Introduce a FLAG for the restricted memory which means the memory is protected by TEE or hypervisor, then it's inaccessiable for kernel. Currently we don't use sg_dma_unmark_restricted, thus this interface has not been added. Signed-off-by: Yong Wu ---

Re: [PATCH v4 2/3] dt-bindings: arm: mediatek: mmsys: Add OF graph support for board path

2024-05-16 Thread AngeloGioacchino Del Regno
Il 16/05/24 11:23, CK Hu (胡俊光) ha scritto: Hi, Angelo: On Thu, 2024-05-16 at 10:11 +0200, AngeloGioacchino Del Regno wrote: Document OF graph on MMSYS/VDOSYS: this supports up to three DDP paths per HW instance (so potentially up to six displays for multi-vdo SoCs). The MMSYS or VDOSYS

[PATCH v4 2/3] dt-bindings: arm: mediatek: mmsys: Add OF graph support for board path

2024-05-16 Thread AngeloGioacchino Del Regno
defines the starting point for one of the (currently three) possible hardware paths. Reviewed-by: Rob Herring (Arm) Signed-off-by: AngeloGioacchino Del Regno --- .../bindings/arm/mediatek/mediatek,mmsys.yaml | 28 +++ 1 file changed, 28 insertions(+) diff --git a/Documentation

[PATCH v4 3/3] drm/mediatek: Implement OF graphs support for display paths

2024-05-16 Thread AngeloGioacchino Del Regno
of arrays for each board and SoC combination, also paving the way to share the same mtk_mmsys_driver_data between multiple SoCs, making it more straightforward to add support for new chips. Signed-off-by: AngeloGioacchino Del Regno --- drivers/gpu/drm/mediatek/mtk_disp_drv.h | 1 + .../gpu/drm

[PATCH v4 0/3] drm/mediatek: Add support for OF graphs

2024-05-16 Thread AngeloGioacchino Del Regno
a NIO-12L with both hardcoded paths, OF graph support and partially hardcoded paths, and pure OF graph support including pipelines that require OVL_ADAPTOR support. AngeloGioacchino Del Regno (3): dt-bindings: display: mediatek: Add OF graph support for board path dt-bindings: arm: mediatek: mmsys: Add

[PATCH v4 1/3] dt-bindings: display: mediatek: Add OF graph support for board path

2024-05-16 Thread AngeloGioacchino Del Regno
) Signed-off-by: AngeloGioacchino Del Regno --- .../display/mediatek/mediatek,aal.yaml| 40 +++ .../display/mediatek/mediatek,ccorr.yaml | 21 ++ .../display/mediatek/mediatek,color.yaml | 22 ++ .../display/mediatek/mediatek,dither.yaml | 22

Re: [PATCH v2 2/3] dt-bindings: arm: mediatek: mmsys: Add OF graph support for board path

2024-05-16 Thread AngeloGioacchino Del Regno
Il 13/05/24 08:15, CK Hu (胡俊光) ha scritto: On Fri, 2024-05-10 at 12:14 +0200, AngeloGioacchino Del Regno wrote: Il 10/05/24 11:34, CK Hu (胡俊光) ha scritto: On Thu, 2024-05-09 at 11:27 +0200, AngeloGioacchino Del Regno wrote: Il 09/05/24 07:42, CK Hu (胡俊光) ha scritto: On Wed, 2024-05-08 at 15

Re: [PATCH v2 0/3] drm/mediatek: Add support for OF graphs

2024-05-14 Thread AngeloGioacchino Del Regno
? If it does, that's the actual issue; otherwise, there may be some mistake on your side, because the EPs' ports<->ids relationship was verified before sending this to the lists. Cheers, Angelo On 02/05/2024 18:53, Alexandre Mergnat wrote: On 30/04/2024 13:33, AngeloGioacchino Del Regno wrot

Re: [PATCH v2 2/3] dt-bindings: arm: mediatek: mmsys: Add OF graph support for board path

2024-05-13 Thread AngeloGioacchino Del Regno
Il 13/05/24 08:15, CK Hu (胡俊光) ha scritto: On Fri, 2024-05-10 at 12:14 +0200, AngeloGioacchino Del Regno wrote: Il 10/05/24 11:34, CK Hu (胡俊光) ha scritto: On Thu, 2024-05-09 at 11:27 +0200, AngeloGioacchino Del Regno wrote: Il 09/05/24 07:42, CK Hu (胡俊光) ha scritto: On Wed, 2024-05-08 at 15

Re: [PATCH v2 1/2] Add write DP phyd register from parse dts

2024-05-13 Thread AngeloGioacchino Del Regno
Il 10/05/24 13:04, Liankun Yang ha scritto: During the testing phase, screen flickering is observed when using displayport for screen casting. Relevant SSC register parameters are set in dts to address the screen flickering issue effectively and improve compatibility with different devices by

Re: [PATCH v2 2/3] dt-bindings: arm: mediatek: mmsys: Add OF graph support for board path

2024-05-10 Thread AngeloGioacchino Del Regno
Il 10/05/24 11:34, CK Hu (胡俊光) ha scritto: On Thu, 2024-05-09 at 11:27 +0200, AngeloGioacchino Del Regno wrote: Il 09/05/24 07:42, CK Hu (胡俊光) ha scritto: On Wed, 2024-05-08 at 15:03 +0200, AngeloGioacchino Del Regno wrote: Il 08/05/24 09:19, CK Hu (胡俊光) ha scritto: On Tue, 2024-05-07 at 16

Re: [PATCH v1 1/1] Fix get efuse issue for MT8188 DPTX

2024-05-10 Thread AngeloGioacchino Del Regno
Il 10/05/24 08:16, Liankun Yang ha scritto: Fix get efuse issue for MT8188 DPTX. Signed-off-by: Liankun Yang I may agree with this commit, but: 1. The commit title is incorrect - I don't see "drm/mediatek:" - please look at the history to find out the right titles for your commits; and 2.

Re: [PATCH v1 1/1] Support YUV422 for DPTX.

2024-05-10 Thread AngeloGioacchino Del Regno
Il 10/05/24 04:15, Liankun Yang ha scritto: Adjust the training sequence.Detects the actual link condition and calculates the bandwidth where the relevant resolution resides. The bandwidth is recalculated and modes that exceed the bandwidth are filtered. Example Modify bandwidth filtering

Re: [PATCH v2 2/3] dt-bindings: arm: mediatek: mmsys: Add OF graph support for board path

2024-05-09 Thread AngeloGioacchino Del Regno
Il 09/05/24 07:42, CK Hu (胡俊光) ha scritto: On Wed, 2024-05-08 at 15:03 +0200, AngeloGioacchino Del Regno wrote: Il 08/05/24 09:19, CK Hu (胡俊光) ha scritto: On Tue, 2024-05-07 at 16:07 +0200, AngeloGioacchino Del Regno wrote: Il 07/05/24 08:59, CK Hu (胡俊光) ha scritto: On Thu, 2024-05-02 at 10

Re: [PATCH v2 2/3] dt-bindings: arm: mediatek: mmsys: Add OF graph support for board path

2024-05-08 Thread AngeloGioacchino Del Regno
Il 08/05/24 09:19, CK Hu (胡俊光) ha scritto: On Tue, 2024-05-07 at 16:07 +0200, AngeloGioacchino Del Regno wrote: Il 07/05/24 08:59, CK Hu (胡俊光) ha scritto: On Thu, 2024-05-02 at 10:50 +0200, AngeloGioacchino Del Regno wrote: Il 25/04/24 04:23, CK Hu (胡俊光) ha scritto: Hi, Angelo: On Tue, 2024

Re: [PATCH v2] mailbox: mtk-cmdq: Fix sleeping function called from invalid context

2024-05-08 Thread AngeloGioacchino Del Regno
Il 08/05/24 11:51, Jason-JH.Lin ha scritto: When we run kernel with lockdebug option, we will get the BUG below: [ 106.692124] BUG: sleeping function called from invalid context at drivers/base/power/runtime.c:1164 [ 106.692190] in_atomic(): 1, irqs_disabled(): 128, non_block: 0, pid: 3616,

Re: [PATCH v2 2/3] dt-bindings: arm: mediatek: mmsys: Add OF graph support for board path

2024-05-07 Thread AngeloGioacchino Del Regno
Il 07/05/24 08:59, CK Hu (胡俊光) ha scritto: On Thu, 2024-05-02 at 10:50 +0200, AngeloGioacchino Del Regno wrote: Il 25/04/24 04:23, CK Hu (胡俊光) ha scritto: Hi, Angelo: On Tue, 2024-04-09 at 14:02 +0200, AngeloGioacchino Del Regno wrote: Document OF graph on MMSYS/VDOSYS: this supports up

Re: [PATCH v2 0/3] drm/mediatek: Add support for OF graphs

2024-05-06 Thread AngeloGioacchino Del Regno
Il 06/05/24 15:17, Michael Walle ha scritto: Hi Angelo, On Mon May 6, 2024 at 1:22 PM CEST, AngeloGioacchino Del Regno wrote: The problem with this is that you need DDP_COMPONENT_DRM_OVL_ADAPTOR... which is a software thing and not HW, so that can't be described in devicetree. The only thing

Re: [PATCH v2 3/3] drm/mediatek: Implement OF graphs support for display paths

2024-05-06 Thread AngeloGioacchino Del Regno
Il 06/05/24 11:11, Michael Walle ha scritto: Hi Angelo, On Tue Apr 9, 2024 at 2:02 PM CEST, AngeloGioacchino Del Regno wrote: +static int mtk_drm_of_get_ddp_ep_cid(struct device_node *node, +int output_port, enum mtk_drm_crtc_path crtc_path, Not sure

Re: [PATCH v2 0/3] drm/mediatek: Add support for OF graphs

2024-05-06 Thread AngeloGioacchino Del Regno
Il 06/05/24 12:56, AngeloGioacchino Del Regno ha scritto: Il 06/05/24 12:02, Michael Walle ha scritto: Hi Angelo, On Tue Apr 30, 2024 at 1:33 PM CEST, AngeloGioacchino Del Regno wrote: This series was tested on MT8195 Cherry Tomato and on MT8395 Radxa NIO-12L with both hardcoded paths

Re: [PATCH v2 0/3] drm/mediatek: Add support for OF graphs

2024-05-06 Thread AngeloGioacchino Del Regno
Il 06/05/24 12:02, Michael Walle ha scritto: Hi Angelo, On Tue Apr 30, 2024 at 1:33 PM CEST, AngeloGioacchino Del Regno wrote: This series was tested on MT8195 Cherry Tomato and on MT8395 Radxa NIO-12L with both hardcoded paths, OF graph support and partially hardcoded paths (meaning main

[PATCH v3 3/3] drm/mediatek: Implement OF graphs support for display paths

2024-05-02 Thread AngeloGioacchino Del Regno
of arrays for each board and SoC combination, also paving the way to share the same mtk_mmsys_driver_data between multiple SoCs, making it more straightforward to add support for new chips. Signed-off-by: AngeloGioacchino Del Regno --- drivers/gpu/drm/mediatek/mtk_dpi.c | 16 +- drivers/gpu/drm

[PATCH v3 2/3] dt-bindings: arm: mediatek: mmsys: Add OF graph support for board path

2024-05-02 Thread AngeloGioacchino Del Regno
defines the starting point for one of the (currently three) possible hardware paths. Signed-off-by: AngeloGioacchino Del Regno --- .../bindings/arm/mediatek/mediatek,mmsys.yaml | 23 +++ 1 file changed, 23 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/mediatek

[PATCH v3 1/3] dt-bindings: display: mediatek: Add OF graph support for board path

2024-05-02 Thread AngeloGioacchino Del Regno
type. Add support for OF graphs to most of the MediaTek DDP (display) bindings to add flexibility to build custom hardware paths, hence enabling board specific configuration of the display pipeline and allowing to finally migrate away from using hardcoded paths. Signed-off-by: AngeloGioacchino Del

[PATCH v3 0/3] drm/mediatek: Add support for OF graphs

2024-05-02 Thread AngeloGioacchino Del Regno
eaning main display through OF graph and external display hardcoded, because of OVL_ADAPTOR). AngeloGioacchino Del Regno (3): dt-bindings: display: mediatek: Add OF graph support for board path dt-bindings: arm: mediatek: mmsys: Add OF graph support for board path drm/mediatek: Implement OF

Re: [PATCH v2 2/3] dt-bindings: arm: mediatek: mmsys: Add OF graph support for board path

2024-05-02 Thread AngeloGioacchino Del Regno
Il 25/04/24 04:23, CK Hu (胡俊光) ha scritto: Hi, Angelo: On Tue, 2024-04-09 at 14:02 +0200, AngeloGioacchino Del Regno wrote: Document OF graph on MMSYS/VDOSYS: this supports up to three DDP paths per HW instance (so potentially up to six displays for multi-vdo SoCs). The MMSYS or VDOSYS

Re: [PATCH v2 0/3] drm/mediatek: Add support for OF graphs

2024-04-30 Thread AngeloGioacchino Del Regno
Il 30/04/24 12:17, Alexandre Mergnat ha scritto: Hi Angelo, On 09/04/2024 14:02, AngeloGioacchino Del Regno wrote: This series was tested on MT8195 Cherry Tomato and on MT8395 Radxa NIO-12L with both hardcoded paths, OF graph support and partially hardcoded paths (meaning main display through

Re: [PATCH v3 14/17] drm/mediatek: add MT8365 SoC support

2024-04-19 Thread AngeloGioacchino Del Regno
Il 18/04/24 16:17, amerg...@baylibre.com ha scritto: From: Fabien Parent Add DRM support for MT8365 SoC. Signed-off-by: Fabien Parent Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Alexandre Mergnat There are two things that I want to point out. Please check below. The series

Re: [PATCH v2 2/3] dt-bindings: arm: mediatek: mmsys: Add OF graph support for board path

2024-04-19 Thread AngeloGioacchino Del Regno
Il 10/04/24 21:15, Rob Herring ha scritto: On Tue, Apr 09, 2024 at 02:02:10PM +0200, AngeloGioacchino Del Regno wrote: Document OF graph on MMSYS/VDOSYS: this supports up to three DDP paths per HW instance (so potentially up to six displays for multi-vdo SoCs). The MMSYS or VDOSYS is always

Re: [PATCH v2 1/3] dt-bindings: display: mediatek: Add OF graph support for board path

2024-04-19 Thread AngeloGioacchino Del Regno
Il 10/04/24 21:03, Rob Herring ha scritto: On Tue, Apr 09, 2024 at 02:02:09PM +0200, AngeloGioacchino Del Regno wrote: The display IPs in MediaTek SoCs support being interconnected with different instances of DDP IPs (for example, merge0 or merge1) and/or with different DDP IPs (for example

Re: [PATCH v2 1/3] dt-bindings: display: mediatek: Add OF graph support for board path

2024-04-19 Thread AngeloGioacchino Del Regno
Il 09/04/24 17:45, Dmitry Baryshkov ha scritto: On Tue, 9 Apr 2024 at 18:41, AngeloGioacchino Del Regno wrote: Il 09/04/24 17:20, Dmitry Baryshkov ha scritto: On Tue, Apr 09, 2024 at 02:02:09PM +0200, AngeloGioacchino Del Regno wrote: The display IPs in MediaTek SoCs support being

Re: [PATCH v3 12/17] clk: mediatek: mt8365-mm: fix DPI0 parent

2024-04-19 Thread AngeloGioacchino Del Regno
ng en/disabled by HW control mechanism... ...because that'd make sense, as this is .. well, a DPI clock. That's just out of curiosity though, as I'd really like to understand whenwhatwhy for stuff In any case, whether you have an answer or not, this commit is: Reviewed-by: AngeloGioacchino Del Regno Cheers!

Re: [PATCH v3 07/17] dt-bindings: display: mediatek: dpi: add compatible for MT8365

2024-04-19 Thread AngeloGioacchino Del Regno
Il 18/04/24 16:16, Alexandre Mergnat ha scritto: Add dt-binding documentation of dpi for MediaTek MT8365 SoC. Signed-off-by: Alexandre Mergnat Reviewed-by: AngeloGioacchino Del Regno

Re: [PATCH v2] drm/mediatek/dp: fix mtk_dp_aux_transfer return value

2024-04-17 Thread AngeloGioacchino Del Regno
constantly repeats the transfer request. Fixes: f70ac097a2cf ("drm/mediatek: Add MT8195 Embedded DisplayPort driver") Signed-off-by: Wojciech Macek Reviewed-by: AngeloGioacchino Del Regno

Re: [PATCH v2 11/18] dt-bindings: pwm: mediatek,pwm-disp: add power-domains property

2024-04-17 Thread AngeloGioacchino Del Regno
Il 17/04/24 15:25, Uwe Kleine-König ha scritto: Hello, On Wed, Apr 17, 2024 at 12:19:19PM +0200, AngeloGioacchino Del Regno wrote: Il 16/04/24 17:53, Alexandre Mergnat ha scritto: According to the Mediatek MT8365 datasheet, the display PWM block has a power domain. Signed-off-by: Alexandre

Re: [PATCH v2 18/18] arm64: dts: mediatek: add display support for mt8365-evk

2024-04-17 Thread AngeloGioacchino Del Regno
Il 16/04/24 17:53, Alexandre Mergnat ha scritto: MIPI DSI: - Add "vsys_lcm_reg" regulator support and setup the "mt6357_vsim1_reg", to power the pannel plugged to the DSI connector. - Setup the Display Parallel Interface. - Add the startek kd070fhfid015 pannel support. HDMI: - Add HDMI

Re: [PATCH v2 17/18] arm64: dts: mediatek: add display blocks support for the MT8365 SoC

2024-04-17 Thread AngeloGioacchino Del Regno
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

Re: [PATCH v2 05/18] dt-bindings: display: mediatek: dsi: add compatible for MT8365 SoC

2024-04-17 Thread AngeloGioacchino Del Regno
Il 16/04/24 17:53, Alexandre Mergnat ha scritto: Document the Display Serial Interface on MT8365, which is compatible with that of the MT8183. Signed-off-by: Alexandre Mergnat Reviewed-by: AngeloGioacchino Del Regno

Re: [PATCH v2 01/18] dt-bindings: display: mediatek: aal: add compatible for MT8365 SoC

2024-04-17 Thread AngeloGioacchino Del Regno
Il 16/04/24 17:53, Alexandre Mergnat ha scritto: Document the display Adaptive Ambient Light on MT8365, which is compatible with that of the MT8183. Signed-off-by: Alexandre Mergnat Reviewed-by: AngeloGioacchino Del Regno

Re: [PATCH v2 04/18] dt-bindings: display: mediatek: dither: add compatible for MT8365 SoC

2024-04-17 Thread AngeloGioacchino Del Regno
Il 16/04/24 17:53, Alexandre Mergnat ha scritto: Document the display Dither on MT8365, which is compatible with that of the MT8183. Signed-off-by: Alexandre Mergnat Reviewed-by: AngeloGioacchino Del Regno

Re: [PATCH v2 02/18] dt-bindings: display: mediatek: ccorr: add compatible for MT8365 SoC

2024-04-17 Thread AngeloGioacchino Del Regno
Il 16/04/24 17:53, Alexandre Mergnat ha scritto: Document the display Color Correction on MT8365, which is compatible with that of the MT8183. Signed-off-by: Alexandre Mergnat Reviewed-by: AngeloGioacchino Del Regno

Re: [PATCH v2 03/18] dt-bindings: display: mediatek: color: add compatible for MT8365 SoC

2024-04-17 Thread AngeloGioacchino Del Regno
Il 16/04/24 17:53, Alexandre Mergnat ha scritto: Document the display Color on MT8365, which is compatible with that of the MT8173. Signed-off-by: Alexandre Mergnat Reviewed-by: AngeloGioacchino Del Regno

Re: [PATCH v2 08/18] dt-bindings: display: mediatek: gamma: add compatible for MT8365 SoC

2024-04-17 Thread AngeloGioacchino Del Regno
Il 16/04/24 17:53, Alexandre Mergnat ha scritto: Document the display Gamma on MT8365, which is compatible with that of the MT8183. Signed-off-by: Alexandre Mergnat Reviewed-by: AngeloGioacchino Del Regno

Re: [PATCH v2 09/18] dt-bindings: display: mediatek: ovl: add compatible for MT8365 SoC

2024-04-17 Thread AngeloGioacchino Del Regno
Il 16/04/24 17:53, Alexandre Mergnat ha scritto: Document the display Overlay on MT8365, which is compatible with that of the MT8192. Signed-off-by: Alexandre Mergnat Reviewed-by: AngeloGioacchino Del Regno

Re: [PATCH v2 10/18] dt-bindings: display: mediatek: rdma: add compatible for MT8365 SoC

2024-04-17 Thread AngeloGioacchino Del Regno
Il 16/04/24 17:53, Alexandre Mergnat ha scritto: Document the display Data Path Read DMA on MT8365, which is compatible with that of the MT8183. Signed-off-by: Alexandre Mergnat Reviewed-by: AngeloGioacchino Del Regno

Re: [PATCH v2 11/18] dt-bindings: pwm: mediatek,pwm-disp: add power-domains property

2024-04-17 Thread AngeloGioacchino Del Regno
a mistake. Please add a Fixes tag and resend, after which: Reviewed-by: AngeloGioacchino Del Regno

Re: [PATCH v2 06/18] dt-bindings: display: mediatek: dpi: add power-domains property

2024-04-17 Thread AngeloGioacchino Del Regno
Parent Signed-off-by: Alexandre Mergnat Please add the relevant Fixes tag and resubmit. After which: Reviewed-by: AngeloGioacchino Del Regno

Re: [PATCH v2 14/18] drm/mediatek: add mt8365 dpi support

2024-04-17 Thread AngeloGioacchino Del Regno
Il 16/04/24 17:53, Alexandre Mergnat ha scritto: - Add compatibles and platform data into the Mediatek DPI driver. - Fix the DPI0 parent clock to be consistent. This SoC is compatible with the mt8183 calculate factor. Signed-off-by: Alexandre Mergnat --- drivers/clk/mediatek/clk-mt8365-mm.c

Re: [PATCH v2 07/18] dt-bindings: display: mediatek: dpi: add compatible for MT8365

2024-04-17 Thread AngeloGioacchino Del Regno
Il 16/04/24 17:53, Alexandre Mergnat ha scritto: Add dt-binding documentation of dpi for MediaTek MT8365 SoC. Signed-off-by: Alexandre Mergnat --- Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.yaml | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH v2 1/3] dt-bindings: display: mediatek: Add OF graph support for board path

2024-04-09 Thread AngeloGioacchino Del Regno
Il 09/04/24 17:20, Dmitry Baryshkov ha scritto: On Tue, Apr 09, 2024 at 02:02:09PM +0200, AngeloGioacchino Del Regno wrote: The display IPs in MediaTek SoCs support being interconnected with different instances of DDP IPs (for example, merge0 or merge1) and/or with different DDP IPs

[PATCH v2 3/3] drm/mediatek: Implement OF graphs support for display paths

2024-04-09 Thread AngeloGioacchino Del Regno
of arrays for each board and SoC combination, also paving the way to share the same mtk_mmsys_driver_data between multiple SoCs, making it more straightforward to add support for new chips. Signed-off-by: AngeloGioacchino Del Regno --- drivers/gpu/drm/mediatek/mtk_dpi.c | 16 +- drivers/gpu/drm

[PATCH v2 1/3] dt-bindings: display: mediatek: Add OF graph support for board path

2024-04-09 Thread AngeloGioacchino Del Regno
type. Add support for OF graphs to most of the MediaTek DDP (display) bindings to add flexibility to build custom hardware paths, hence enabling board specific configuration of the display pipeline and allowing to finally migrate away from using hardcoded paths. Signed-off-by: AngeloGioacchino Del

[PATCH v2 2/3] dt-bindings: arm: mediatek: mmsys: Add OF graph support for board path

2024-04-09 Thread AngeloGioacchino Del Regno
defines the starting point for one of the (currently three) possible hardware paths. Signed-off-by: AngeloGioacchino Del Regno --- .../bindings/arm/mediatek/mediatek,mmsys.yaml | 23 +++ 1 file changed, 23 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/mediatek

[PATCH v2 0/3] drm/mediatek: Add support for OF graphs

2024-04-09 Thread AngeloGioacchino Del Regno
ecause of OVL_ADAPTOR). AngeloGioacchino Del Regno (3): dt-bindings: display: mediatek: Add OF graph support for board path dt-bindings: arm: mediatek: mmsys: Add OF graph support for board path drm/mediatek: Implement OF graphs support for display paths .../bindings/arm/mediatek/mediatek,mmsys.yaml

Re: [PATCH v1 2/3] dt-bindings: arm: mediatek: mmsys: Add OF graph support for board path

2024-04-08 Thread AngeloGioacchino Del Regno
Il 08/04/24 05:20, Chen-Yu Tsai ha scritto: On Thu, Apr 4, 2024 at 4:16 PM AngeloGioacchino Del Regno wrote: Document OF graph on MMSYS/VDOSYS: this supports up to three DDP paths per HW instance (so potentially up to six displays for multi-vdo SoCs). The MMSYS or VDOSYS is always the first

[PATCH v1 1/3] dt-bindings: display: mediatek: Add OF graph support for board path

2024-04-04 Thread AngeloGioacchino Del Regno
type. Add support for OF graphs to most of the MediaTek DDP (display) bindings to add flexibility to build custom hardware paths, hence enabling board specific configuration of the display pipeline and allowing to finally migrate away from using hardcoded paths. Signed-off-by: AngeloGioacchino Del

[PATCH v1 3/3] drm/mediatek: Implement OF graphs support for display paths

2024-04-04 Thread AngeloGioacchino Del Regno
of arrays for each board and SoC combination, also paving the way to share the same mtk_mmsys_driver_data between multiple SoCs, making it more straightforward to add support for new chips. Signed-off-by: AngeloGioacchino Del Regno --- drivers/gpu/drm/mediatek/mtk_dpi.c | 16 +- drivers/gpu/drm

[PATCH v1 2/3] dt-bindings: arm: mediatek: mmsys: Add OF graph support for board path

2024-04-04 Thread AngeloGioacchino Del Regno
defines the starting point for one of the (currently three) possible hardware paths. Signed-off-by: AngeloGioacchino Del Regno --- .../bindings/arm/mediatek/mediatek,mmsys.yaml | 23 +++ 1 file changed, 23 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/mediatek

  1   2   3   4   5   6   7   8   9   10   >