[PATCH v2] drm/mediatek: Log errors in probe with dev_err_probe()

2024-06-06 Thread Nícolas F . R . A . Prado
of the error in the log messages. Signed-off-by: Nícolas F. R. A. Prado --- Changes in v2: - Converted all dev_err() in probe functions to dev_err_probe() instead of just the ones in the component_add() error path - Link to v1: https://lore.kernel.org/r/20240605-mtk-disp-rdma-dev-err-probe-v1-1

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

2024-06-06 Thread Nícolas F . R . A . Prado
On Thu, May 16, 2024 at 10:11:01AM +0200, AngeloGioacchino Del Regno wrote: > Changes in v4: > - Fixed a typo that caused pure OF graphs pipelines multiple >concurrent outputs to not get correctly parsed (port->id); > - Added OVL_ADAPTOR support for OF graph specified pipelines; > - Now

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

2024-06-05 Thread Nícolas F . R . A . Prado
update them all. Signed-off-by: Nícolas F. R. A. Prado --- drivers/gpu/drm/mediatek/mtk_disp_aal.c | 2 +- drivers/gpu/drm/mediatek/mtk_disp_ccorr.c | 2 +- drivers/gpu/drm/mediatek/mtk_disp_color.c | 2 +- drivers/gpu/drm/mediatek/mtk_disp_gamma.c | 2 +- drivers/gpu/drm

[PATCH v3 9/9] drm/panel: truly-nt35597: Don't log an error when DSI host can't be found

2024-04-15 Thread Nícolas F . R . A . Prado
-by: Abhinav Kumar Reviewed-by: AngeloGioacchino Del Regno Reviewed-by: Neil Armstrong Reviewed-by: Laurent Pinchart Signed-off-by: Nícolas F. R. A. Prado --- drivers/gpu/drm/panel/panel-truly-nt35597.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm

[PATCH v3 7/9] drm/bridge: dpc3433: Don't log an error when DSI host can't be found

2024-04-15 Thread Nícolas F . R . A . Prado
message so that it's only printed when the devm_mipi_dsi_attach() call fails. Fixes: 6352cd451ddb ("drm: bridge: Add TI DLPC3433 DSI to DMD bridge") Suggested-by: AngeloGioacchino Del Regno Reviewed-by: AngeloGioacchino Del Regno Reviewed-by: Laurent Pinchart Signed-off-by: Ní

[PATCH v3 8/9] drm/panel: novatek-nt35950: Don't log an error when DSI host can't be found

2024-04-15 Thread Nícolas F . R . A . Prado
river for Novatek NT35950 DSI DriverIC panels") Suggested-by: AngeloGioacchino Del Regno Reviewed-by: Laurent Pinchart Signed-off-by: Nícolas F. R. A. Prado --- drivers/gpu/drm/panel/panel-novatek-nt35950.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/p

[PATCH v3 6/9] drm/bridge: tc358775: Don't log an error when DSI host can't be found

2024-04-15 Thread Nícolas F . R . A . Prado
5 DSI/LVDS driver") Suggested-by: AngeloGioacchino Del Regno Reviewed-by: AngeloGioacchino Del Regno Reviewed-by: Laurent Pinchart Signed-off-by: Nícolas F. R. A. Prado --- drivers/gpu/drm/bridge/tc358775.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drive

[PATCH v3 5/9] drm/bridge: lt9611uxc: Don't log an error when DSI host can't be found

2024-04-15 Thread Nícolas F . R . A . Prado
pport for lontium LT9611UXC bridge") Suggested-by: AngeloGioacchino Del Regno Reviewed-by: AngeloGioacchino Del Regno Reviewed-by: Laurent Pinchart Signed-off-by: Nícolas F. R. A. Prado --- drivers/gpu/drm/bridge/lontium-lt9611uxc.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-)

[PATCH v3 4/9] drm/bridge: lt9611: Don't log an error when DSI host can't be found

2024-04-15 Thread Nícolas F . R . A . Prado
1 DSI to HDMI bridge") Suggested-by: AngeloGioacchino Del Regno Reviewed-by: AngeloGioacchino Del Regno Reviewed-by: Laurent Pinchart Signed-off-by: Nícolas F. R. A. Prado --- drivers/gpu/drm/bridge/lontium-lt9611.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git

[PATCH v3 3/9] drm/bridge: lt8912b: Don't log an error when DSI host can't be found

2024-04-15 Thread Nícolas F . R . A . Prado
8912B DSI to HDMI bridge") Suggested-by: AngeloGioacchino Del Regno Reviewed-by: AngeloGioacchino Del Regno Reviewed-by: Laurent Pinchart Signed-off-by: Nícolas F. R. A. Prado --- drivers/gpu/drm/bridge/lontium-lt8912b.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-)

[PATCH v3 2/9] drm/bridge: icn6211: Don't log an error when DSI host can't be found

2024-04-15 Thread Nícolas F . R . A . Prado
d I2C configuration support") Suggested-by: AngeloGioacchino Del Regno Reviewed-by: AngeloGioacchino Del Regno Reviewed-by: Laurent Pinchart Signed-off-by: Nícolas F. R. A. Prado --- drivers/gpu/drm/bridge/chipone-icn6211.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-)

[PATCH v3 0/9] drm: Switch from dev_err to dev_err_probe for missing DSI host error path

2024-04-15 Thread Nícolas F . R . A . Prado
driver - Link to v1: https://lore.kernel.org/r/20240226-anx7625-defer-log-no-dsi-host-v1-1-242b1af31...@collabora.com --- Nícolas F. R. A. Prado (9): drm/bridge: anx7625: Don't log an error when DSI host can't be found drm/bridge: icn6211: Don't log an error when DSI host can't be fo

[PATCH v3 1/9] drm/bridge: anx7625: Don't log an error when DSI host can't be found

2024-04-15 Thread Nícolas F . R . A . Prado
eturn -EPROBE_DEFER if the dsi host was not found") Reviewed-by: AngeloGioacchino Del Regno Reviewed-by: Neil Armstrong Reviewed-by: Laurent Pinchart Signed-off-by: Nícolas F. R. A. Prado --- drivers/gpu/drm/bridge/analogix/anx7625.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletion

Re: Missing commits from drm-misc-next on linux-next

2024-03-20 Thread Nícolas F . R . A . Prado
On Thu, Mar 21, 2024 at 02:08:59AM +0800, Chen-Yu Tsai wrote: > On Thu, Mar 21, 2024 at 1:59 AM Nícolas F. R. A. Prado > wrote: > > > > On Wed, Mar 20, 2024 at 04:19:51PM +0100, Maxime Ripard wrote: > > > Hi, > > > > > > On Wed, Mar 20, 2024 at 1

Re: Missing commits from drm-misc-next on linux-next

2024-03-20 Thread Nícolas F . R . A . Prado
On Wed, Mar 20, 2024 at 04:19:51PM +0100, Maxime Ripard wrote: > Hi, > > On Wed, Mar 20, 2024 at 11:07:34AM -0400, Nícolas F. R. A. Prado wrote: > > I noticed that there are some commits from drm-misc-next [1] that haven't > > been > > added to the for-linux-next [

Missing commits from drm-misc-next on linux-next

2024-03-20 Thread Nícolas F . R . A . Prado
Hi, I noticed that there are some commits from drm-misc-next [1] that haven't been added to the for-linux-next [2] branch, and consequently haven't made their way into linux-next. Namely, commit bf0390e2c95b ("drm/panel: add samsung s6e3fa7 panel driver") and commit 2689b33b8864 ("dt-bindings:

Re: [PATCH v2 8/9] drm/panel: novatek-nt35950: Don't log an error when DSI host can't be found

2024-03-08 Thread Nícolas F . R . A . Prado
On Fri, Mar 01, 2024 at 09:44:51AM +0100, AngeloGioacchino Del Regno wrote: > Il 01/03/24 01:12, Nícolas F. R. A. Prado ha scritto: > > Given that failing to find a DSI host causes the driver to defer probe, > > make use of dev_err_probe() to log the reason. This makes the defer &

Re: [PATCH v2 0/9] drm: Switch from dev_err to dev_err_probe for missing DSI host error path

2024-03-01 Thread Nícolas F . R . A . Prado
On Fri, Mar 01, 2024 at 08:34:31AM +0200, Laurent Pinchart wrote: > Hi Nícolas, > > On Thu, Feb 29, 2024 at 07:12:06PM -0500, Nícolas F. R. A. Prado wrote: > > This series changes every occurence of the following pattern: > > > > dsi_host = of_fin

[PATCH v2 9/9] drm/panel: truly-nt35597: Don't log an error when DSI host can't be found

2024-02-29 Thread Nícolas F . R . A . Prado
-by: Nícolas F. R. A. Prado --- drivers/gpu/drm/panel/panel-truly-nt35597.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-truly-nt35597.c b/drivers/gpu/drm/panel/panel-truly-nt35597.c index b73448cf349d..d447db912a61 100644 --- a/drivers/gpu

[PATCH v2 8/9] drm/panel: novatek-nt35950: Don't log an error when DSI host can't be found

2024-02-29 Thread Nícolas F . R . A . Prado
river for Novatek NT35950 DSI DriverIC panels") Suggested-by: AngeloGioacchino Del Regno Signed-off-by: Nícolas F. R. A. Prado --- drivers/gpu/drm/panel/panel-novatek-nt35950.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-novatek-nt35950.c b/d

[PATCH v2 7/9] drm/bridge: dpc3433: Don't log an error when DSI host can't be found

2024-02-29 Thread Nícolas F . R . A . Prado
message so that it's only printed when the devm_mipi_dsi_attach() call fails. Fixes: 6352cd451ddb ("drm: bridge: Add TI DLPC3433 DSI to DMD bridge") Suggested-by: AngeloGioacchino Del Regno Signed-off-by: Nícolas F. R. A. Prado --- drivers/gpu/drm/bridge/ti-dlpc3433.c | 17 +---

[PATCH v2 6/9] drm/bridge: tc358775: Don't log an error when DSI host can't be found

2024-02-29 Thread Nícolas F . R . A . Prado
5 DSI/LVDS driver") Suggested-by: AngeloGioacchino Del Regno Signed-off-by: Nícolas F. R. A. Prado --- drivers/gpu/drm/bridge/tc358775.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/bridge/tc358775.c b/drivers/gpu/drm/bridge/tc358775.c index 90

[PATCH v2 5/9] drm/bridge: lt9611uxc: Don't log an error when DSI host can't be found

2024-02-29 Thread Nícolas F . R . A . Prado
pport for lontium LT9611UXC bridge") Suggested-by: AngeloGioacchino Del Regno Signed-off-by: Nícolas F. R. A. Prado --- drivers/gpu/drm/bridge/lontium-lt9611uxc.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/bridge/lontium-lt9611uxc.c b/drivers/gpu/

[PATCH v2 4/9] drm/bridge: lt9611: Don't log an error when DSI host can't be found

2024-02-29 Thread Nícolas F . R . A . Prado
1 DSI to HDMI bridge") Suggested-by: AngeloGioacchino Del Regno Signed-off-by: Nícolas F. R. A. Prado --- drivers/gpu/drm/bridge/lontium-lt9611.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/bridge/lontium-lt9611.c b/drivers/gpu/drm/bridge/lont

[PATCH v2 3/9] drm/bridge: lt8912b: Don't log an error when DSI host can't be found

2024-02-29 Thread Nícolas F . R . A . Prado
8912B DSI to HDMI bridge") Suggested-by: AngeloGioacchino Del Regno Signed-off-by: Nícolas F. R. A. Prado --- drivers/gpu/drm/bridge/lontium-lt8912b.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/bridge/lontium-lt8912b.c b/drivers/gpu/drm/brid

[PATCH v2 2/9] drm/bridge: icn6211: Don't log an error when DSI host can't be found

2024-02-29 Thread Nícolas F . R . A . Prado
d I2C configuration support") Suggested-by: AngeloGioacchino Del Regno Signed-off-by: Nícolas F. R. A. Prado --- drivers/gpu/drm/bridge/chipone-icn6211.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/bridge/chipone-icn6211.c b/drivers/gpu/drm/brid

[PATCH v2 1/9] drm/bridge: anx7625: Don't log an error when DSI host can't be found

2024-02-29 Thread Nícolas F . R . A . Prado
eturn -EPROBE_DEFER if the dsi host was not found") Reviewed-by: AngeloGioacchino Del Regno Reviewed-by: Neil Armstrong Signed-off-by: Nícolas F. R. A. Prado --- drivers/gpu/drm/bridge/analogix/anx7625.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/

[PATCH v2 0/9] drm: Switch from dev_err to dev_err_probe for missing DSI host error path

2024-02-29 Thread Nícolas F . R . A . Prado
e() helper. Changes in v2: - Added patches 2 onwards to fix all occurences of this pattern instead of just for the anx7625 driver - Link to v1: https://lore.kernel.org/r/20240226-anx7625-defer-log-no-dsi-host-v1-1-242b1af31...@collabora.com --- Nícolas F. R. A. Prado (9): drm/bridge: anx7625

[PATCH] drm/bridge: anx7625: Don't log an error when DSI host can't be found

2024-02-26 Thread Nícolas F . R . A . Prado
eturn -EPROBE_DEFER if the dsi host was not found") Signed-off-by: Nícolas F. R. A. Prado --- drivers/gpu/drm/bridge/analogix/anx7625.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/bridge/analogix/anx7625.c b/drivers/gpu/drm/bridge/analogix/anx76

[PATCH v2] drm/mediatek: dp: Add phy_mtk_dp module as pre-dependency

2023-11-21 Thread Nícolas F . R . A . Prado
as a module. Suggested-by: AngeloGioacchino Del Regno Fixes: f70ac097a2cf ("drm/mediatek: Add MT8195 Embedded DisplayPort driver") Signed-off-by: Nícolas F. R. A. Prado Reviewed-by: AngeloGioacchino Del Regno --- Changes in v2: - Added missing Suggested-by tag drivers/gpu/drm/mediate

Re: [PATCH] drm/mediatek: dp: Add phy_mtk_dp module as pre-dependency

2023-11-21 Thread Nícolas F . R . A . Prado
On Tue, Nov 21, 2023 at 11:59:14AM +0100, AngeloGioacchino Del Regno wrote: > Il 20/11/23 21:28, Nícolas F. R. A. Prado ha scritto: > > The mtk_dp driver registers a phy device which is handled by the > > phy_mtk_dp driver and assumes that the phy probe will complete > > sync

[PATCH] drm/mediatek: dp: Add phy_mtk_dp module as pre-dependency

2023-11-20 Thread Nícolas F . R . A . Prado
as a module. Fixes: f70ac097a2cf ("drm/mediatek: Add MT8195 Embedded DisplayPort driver") Signed-off-by: Nícolas F. R. A. Prado --- drivers/gpu/drm/mediatek/mtk_dp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/mediatek/mtk_dp.c b/drivers/gpu/drm/mediatek/mtk_

Re: [PATCH v11 08/16] drm/mediatek: De-commonize disp_aal/disp_gamma gamma_set functions

2023-10-12 Thread Nícolas F . R . A . Prado
; for device driver data) for just a few bits. > > This commit brings no functional changes. > > Signed-off-by: AngeloGioacchino Del Regno > Reviewed-by: Nícolas F. R. A. Prado Thanks, Nícolas

Re: [PATCH v10 08/16] drm/mediatek: De-commonize disp_aal/disp_gamma gamma_set functions

2023-10-11 Thread Nícolas F . R . A . Prado
On Fri, Aug 04, 2023 at 09:28:42AM +0200, AngeloGioacchino Del Regno wrote: > In preparation for adding a 12-bits gamma support for the DISP_GAMMA > IP, remove the mtk_gamma_set_common() function and move the relevant > bits in mtk_gamma_set() for DISP_GAMMA and mtk_aal_gamma_set() for > DISP_AAL:

Re: [PATCH v10 07/16] drm/mediatek: aal: Use bitfield macros

2023-10-11 Thread Nícolas F . R . A . Prado
On Fri, Aug 04, 2023 at 09:28:41AM +0200, AngeloGioacchino Del Regno wrote: > Make the code more robust and improve readability by using bitfield > macros instead of open coding bit operations. > > Signed-off-by: AngeloGioacchino Del Regno > Reviewed-by: Nícolas F. R. A.

Re: [PATCH v2 2/2] drm/mediatek: dpi/dsi: fix possible_crtcs calculation

2023-09-01 Thread Nícolas F . R . A . Prado
_in_ddp(dev, > priv_n->data->main_path, > + priv_n->data->main_len, > + priv_n->ddp_comp)) My only nit is that you're sometimes using data, sometimes using priv_n->data. Just us

Re: [PATCH v7 09/11] drm/mediatek: dp: Add support for embedded DisplayPort aux-bus

2023-08-29 Thread Nícolas F . R . A . Prado
On Tue, Aug 29, 2023 at 03:30:24PM +0200, Michael Walle wrote: > Hi Nícolas, > > > > But the real reason I've enabled it was because I'll get an kernel > > > oops otherwise. I thought it might be some quirk that you'll need > > > both, > > > because eDP will register even if theres no display -

Re: [PATCH 2/2] drm/mediatek: dpi/dsi: fix possible_crtcs calculation

2023-08-29 Thread Nícolas F . R . A . Prado
647676 ("drm/mediatek: dpi/dsi: Change the getting possible_crtc > way") > Suggested-by: Nícolas F. R. A. Prado > Signed-off-by: Michael Walle > --- > drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 41 ++--- > 1 file changed, 27 insertions(+),

Re: [PATCH 1/2] drm/mediathek: fix kernel oops if no crtc is found

2023-08-29 Thread Nícolas F . R . A . Prado
ixes: 0d9eee9118b7 ("drm/mediatek: Add drm ovl_adaptor sub driver for > MT8195") > Signed-off-by: Michael Walle There's also a typo in the commit subject: mediathek -> mediatek. But regardless, Reviewed-by: Nícolas F. R. A. Prado Tested-by: Nícolas F. R. A. Prado (tested th

Re: [PATCH v7 09/11] drm/mediatek: dp: Add support for embedded DisplayPort aux-bus

2023-08-25 Thread Nícolas F . R . A . Prado
On Fri, Aug 25, 2023 at 05:42:59PM +0200, Michael Walle wrote: > Hi Nicolas, > > > > > For the eDP case we can support using aux-bus on MediaTek DP: this > > > > gives us the possibility to declare our panel as generic "panel-edp" > > > > which will automatically configure the timings and

Re: [PATCH v7 09/11] drm/mediatek: dp: Add support for embedded DisplayPort aux-bus

2023-08-25 Thread Nícolas F . R . A . Prado
Hi, On Fri, Aug 25, 2023 at 02:01:09PM +0200, Michael Walle wrote: > Hi AngeloGioacchino, > > > For the eDP case we can support using aux-bus on MediaTek DP: this > > gives us the possibility to declare our panel as generic "panel-edp" > > which will automatically configure the timings and

Re: [PATCH v3 9/9] drm/mediatek: dp: Add support for embedded DisplayPort aux-bus

2023-06-23 Thread Nícolas F . R . A . Prado
On Tue, Apr 04, 2023 at 12:48:00PM +0200, AngeloGioacchino Del Regno wrote: > For the eDP case we can support using aux-bus on MediaTek DP: this > gives us the possibility to declare our panel as generic "panel-edp" > which will automatically configure the timings and available modes > via the

Re: [PATCH v3 9/9] drm/mediatek: dp: Add support for embedded DisplayPort aux-bus

2023-06-23 Thread Nícolas F . R . A . Prado
On Tue, Apr 04, 2023 at 12:48:00PM +0200, AngeloGioacchino Del Regno wrote: > For the eDP case we can support using aux-bus on MediaTek DP: this > gives us the possibility to declare our panel as generic "panel-edp" > which will automatically configure the timings and available modes > via the

[PATCH] drm/bridge: anx7625: Prevent endless probe loop

2023-05-18 Thread Nícolas F . R . A . Prado
n -EPROBE_DEFER if the dsi host was not found") Reported-by: "kernelci.org bot" Signed-off-by: Nícolas F. R. A. Prado --- drivers/gpu/drm/bridge/analogix/anx7625.c | 128 +++--- 1 file changed, 88 insertions(+), 40 deletions(-) diff --git a/drivers/gpu/drm/bridge/analogi

Re: [PATCH v11 6/9] drm/bridge: anx7625: Register Type C mode switches

2023-02-17 Thread Nícolas F . R . A . Prado
On Sat, Feb 04, 2023 at 09:30:37PM +0800, Pin-yen Lin wrote: [..] > --- a/drivers/gpu/drm/bridge/analogix/anx7625.c > +++ b/drivers/gpu/drm/bridge/analogix/anx7625.c [..] > +static void anx7625_set_crosspoint_switch(struct anx7625_data *ctx, > + enum

Re: [PATCH] drm/bridge: anx7625: Drop device lock before drm_helper_hpd_irq_event()

2023-02-16 Thread Nícolas F . R . A . Prado
Hi, On Mon, Jan 16, 2023 at 03:22:34PM +0800, Chen-Yu Tsai wrote: > The device lock is used to serialize the low level power sequencing > operations. Since drm_helper_hpd_irq_event() could end up calling > .atomic_enable, which also calls power sequencing functions through > runtime PM, this

Re: [PATCH] drm/bridge: anx7625: Use common macros for DP power sequencing commands

2023-02-16 Thread Nícolas F . R . A . Prado
Fixes: 27f26359de9b ("drm/bridge: anx7625: Set downstream sink into normal > status") > Signed-off-by: Chen-Yu Tsai Reviewed-by: Nícolas F. R. A. Prado In the same way, 0x68028 should be switched for DP_AUX_HDCP_BCAPS and 0x01 for DP_BCAPS_HDCP_CAPABLE, though those aren't part of

Re: [PATCH v7, 5/7] media: mediatek: vcodec: Different codec using different capture format

2023-01-13 Thread Nícolas F . R . A . Prado
On Fri, Jan 13, 2023 at 03:25:46AM +, Yunfei Dong (董云飞) wrote: > Hi Nicolas, > > Thanks for your information. > On Thu, 2023-01-12 at 15:58 -0500, Nícolas F. R. A. Prado wrote: > > On Wed, May 18, 2022 at 08:30:02PM +0800, Yunfei Dong wrote: > > > Vp8 need to use

Re: [PATCH v7, 5/7] media: mediatek: vcodec: Different codec using different capture format

2023-01-12 Thread Nícolas F . R . A . Prado
On Wed, May 18, 2022 at 08:30:02PM +0800, Yunfei Dong wrote: > Vp8 need to use MM21, but vp9 and h264 need to use HyFbc mode > for mt8195. Vp8/vp9/h264 use the same MM21 format for mt8192. Hi Yunfei, why do VP9 and H264 need to use HyFbc (is this the same as MT21C?) mode on MT8195? The SCP

Re: [PATCH v28 6/7] drm/mediatek: add drm ovl_adaptor sub driver for MT8195

2022-11-25 Thread Nícolas F . R . A . Prado
by: AngeloGioacchino Del Regno > > Tested-by: Bo-Chen Chen > Tested-by: Nícolas F. R. A. Prado > --- [..] > diff --git a/drivers/gpu/drm/mediatek/mtk_drm_crtc.c > b/drivers/gpu/drm/mediatek/mtk_drm_crtc.c > index 30dcb65d8a5a..ce5617ad04cb 100644 > --- a/drivers/gpu/drm

Re: [PATCH v2] drm/mediatek: Clean dangling pointer on bind error path

2022-11-25 Thread Nícolas F . R . A . Prado
On Wed, Nov 23, 2022 at 10:15:25AM +0100, AngeloGioacchino Del Regno wrote: > Il 22/11/22 15:39, Nícolas F. R. A. Prado ha scritto: > > mtk_drm_bind() can fail, in which case drm_dev_put() is called, > > destroying the drm_device object. However a pointer to it was still

[PATCH v2] drm/mediatek: Clean dangling pointer on bind error path

2022-11-22 Thread Nícolas F . R . A . Prado
in a panic. Clean the pointer when destroying the object in the error path to prevent this from happening. Fixes: 119f5173628a ("drm/mediatek: Add DRM Driver for Mediatek SoC MT8173.") Signed-off-by: Nícolas F. R. A. Prado --- Changes in v2: - Added Fixes tag drivers/gpu/drm/mediatek/mtk_drm

[PATCH] drm/mediatek: Clean dangling pointer on bind error path

2022-11-21 Thread Nícolas F . R . A . Prado
in a panic. Clean the pointer when destroying the object in the error path to prevent this from happening. Signed-off-by: Nícolas F. R. A. Prado --- drivers/gpu/drm/mediatek/mtk_drm_drv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_drv.c b/drivers/gpu/drm

Re: [PATCH v28 05/11] soc: mediatek: refine code to use mtk_mmsys_update_bits API

2022-11-08 Thread Nícolas F . R . A . Prado
y: CK Hu > > Tested-by: AngeloGioacchino Del Regno > > > > Tested-by: Bo-Chen Chen > > Reviewed-by: Nícolas F. R. A. Prado > > --- > > drivers/soc/mediatek/mtk-mmsys.c | 45 > > 1 file changed, 16 insertions(+), 29

Re: [PATCH v28 04/11] soc: mediatek: add mtk-mmsys support for mt8195 vdosys1

2022-11-08 Thread Nícolas F . R . A . Prado
On Tue, Nov 08, 2022 at 06:46:54PM +0100, Matthias Brugger wrote: > On 07/11/2022 08:22, Nancy.Lin wrote: [..] > > --- a/drivers/soc/mediatek/mtk-mmsys.c > > +++ b/drivers/soc/mediatek/mtk-mmsys.c > > @@ -80,6 +80,12 @@ static const struct mtk_mmsys_driver_data > > mt8195_vdosys0_driver_data = {

Re: [PATCH v27 6/7] drm/mediatek: add drm ovl_adaptor sub driver for MT8195

2022-11-04 Thread Nícolas F . R . A . Prado
On Fri, Nov 04, 2022 at 10:57:28AM +, Nancy Lin (林欣螢) wrote: > Dear Nicolas, > > Thanks for the review. > > On Thu, 2022-11-03 at 17:28 -0400, Nícolas F. R. A. Prado wrote: > > On Thu, Nov 03, 2022 at 11:26:09AM +0800, Nancy.Lin wrote: > > > Add drm ov

Re: [PATCH v27 6/7] drm/mediatek: add drm ovl_adaptor sub driver for MT8195

2022-11-03 Thread Nícolas F . R . A . Prado
by: AngeloGioacchino Del Regno > > Tested-by: Bo-Chen Chen > Tested-by: Nícolas F. R. A. Prado > Change-Id: I0501f3c80e78ec8279366cba9c137a2edd7a852e > --- > drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 61 - > drivers/gpu/drm/mediatek/mtk_drm_crtc.h | 2 +- &

Re: [PATCH v27 2/7] drm/mediatek: add ETHDR support for MT8195

2022-11-03 Thread Nícolas F . R . A . Prado
On Thu, Nov 03, 2022 at 11:26:05AM +0800, Nancy.Lin wrote: [..] > --- /dev/null > +++ b/drivers/gpu/drm/mediatek/mtk_ethdr.h [..] > +void mtk_ethdr_unregister_vblank_cb(struct device *dev); > +void mtk_ethdr_enable_vblank(struct device *dev); > +void mtk_ethdr_disable_vblank(struct device *dev); >

Re: [PATCH v27 08/11] soc: mediatek: mmsys: add mmsys for support 64 reset bits

2022-11-03 Thread Nícolas F . R . A . Prado
30ad6c4f74a6b2ebf75fc0e3f9f207b0416d1 Again, no Change-Id please. Reviewed-by: Nícolas F. R. A. Prado Thanks, Nícolas

Re: [PATCH v27 05/11] soc: mediatek: refine code to use mtk_mmsys_update_bits API

2022-11-03 Thread Nícolas F . R . A . Prado
p; > + > + tmp = readl_relaxed(mmsys->regs + offset); > + tmp = (tmp & ~mask) | val; You should mask the value before writing to prevent bad values from overwriting bits outside the mask. tmp = (tmp & ~mask) | (val & mask); With that, Reviewed-by: Nícolas F. R. A. Prado Thanks, Nícolas

Re: [PATCH v27 06/11] soc: mediatek: add mtk-mmsys config API for mt8195 vdosys1

2022-11-03 Thread Nícolas F . R . A . Prado
On Thu, Nov 03, 2022 at 11:25:07AM +0800, Nancy.Lin wrote: > Add four mmsys config APIs. The config APIs are used for config > mmsys reg. Some mmsys regs need to be set according to the > HW engine binding to the mmsys simultaneously. > > 1. mtk_mmsys_merge_async_config: config merge async

Re: [PATCH v27 01/11] dt-bindings: arm: mediatek: mmsys: add vdosys1 compatible for MT8195

2022-11-03 Thread Nícolas F . R . A . Prado
> > Signed-off-by: Nancy.Lin > Change-Id: I8065205ce44baa417f58176adaae9e1eefa6eadb No Change-Id tag, please. There are some other commits with it as well. Otherwise, Reviewed-by: Nícolas F. R. A. Prado Thanks, Nícolas

Re: [PATCH v12,2/3] drm: mediatek: Set dpi format in mmsys

2022-10-21 Thread Nícolas F . R . A . Prado
On Fri, Oct 21, 2022 at 08:18:25PM +0800, xinlei.lee wrote: > On Thu, 2022-10-20 at 12:40 -0400, Nícolas F. R. A. Prado wrote: > > On Wed, Oct 19, 2022 at 10:52:15AM +0800, xinlei@mediatek.com > > wrote: [..] > > > @@ -448,8 +453,12 @@ static void mtk_dpi_dual_edge(s

Re: [PATCH v12,1/3] soc: mediatek: Add all settings to mtk_mmsys_ddp_dpi_fmt_config func

2022-10-21 Thread Nícolas F . R . A . Prado
On Fri, Oct 21, 2022 at 07:59:02PM +0800, xinlei.lee wrote: > On Thu, 2022-10-20 at 12:33 -0400, Nícolas F. R. A. Prado wrote: > > Hi, > > > > On Wed, Oct 19, 2022 at 10:52:14AM +0800, xinlei@mediatek.com > > wrote: > > > From: Xinlei Lee > > >

Re: [PATCH v12,3/3] drm: mediatek: Add mt8186 dpi compatibles and platform data

2022-10-20 Thread Nícolas F . R . A . Prado
ys is set to true for this platform. > > Signed-off-by: Xinlei Lee > Reviewed-by: CK Hu > Reviewed-by: AngeloGioacchino Del Regno > Reviewed-by: Nícolas F. R. A. Prado Thanks, Nícolas > --- [..]

Re: [PATCH v12,2/3] drm: mediatek: Set dpi format in mmsys

2022-10-20 Thread Nícolas F . R . A . Prado
On Wed, Oct 19, 2022 at 10:52:15AM +0800, xinlei@mediatek.com wrote: [..] > @@ -134,6 +137,7 @@ struct mtk_dpi_yc_limit { > * @yuv422_en_bit: Enable bit of yuv422. > * @csc_enable_bit: Enable bit of CSC. > * @pixels_per_iter: Quantity of transferred pixels per iteration. > + *

Re: [PATCH v12,1/3] soc: mediatek: Add all settings to mtk_mmsys_ddp_dpi_fmt_config func

2022-10-20 Thread Nícolas F . R . A . Prado
e_bits(mmsys, MT8186_MMSYS_DPI_OUTPUT_FORMAT, > + DPI_FORMAT_MASK, DPI_RGB888_DDR_CON); > + break; > + } To be honest I don't really see the point of making the function slightly more platform-agnostic like this. With a single platform making use of it it's just an unneeded extra abstraction, and it could easily be done when a second platform starts requiring this as well... In any case, Reviewed-by: Nícolas F. R. A. Prado Thanks, Nícolas > } [..]

[PATCH] drm/bridge: anx7625: Notify audio framework of connector status changes

2022-09-22 Thread Nícolas F . R . A . Prado
of this. Signed-off-by: Nícolas F. R. A. Prado --- drivers/gpu/drm/bridge/analogix/anx7625.c | 48 --- 1 file changed, 25 insertions(+), 23 deletions(-) diff --git a/drivers/gpu/drm/bridge/analogix/anx7625.c b/drivers/gpu/drm/bridge/analogix/anx7625.c index b0ff1ecb80a5

Re: [PATCH v4,2/2] drm: mediatek: Adjust the dpi output format to MT8186

2022-08-29 Thread Nícolas F . R . A . Prado
On Mon, Aug 29, 2022 at 11:21:48AM +0800, xinlei@mediatek.com wrote: > From: Xinlei Lee > > Dpi output needs to adjust the output format to dual edge for MT8186. > > Co-developed-by: Jitao Shi > Signed-off-by: Jitao Shi > Signed-off-by: Xinlei Lee Reviewed-by: N

Re: [PATCH v3,2/2] drm: mediatek: Adjust the dpi output format to MT8186

2022-08-26 Thread Nícolas F . R . A . Prado
On Fri, Aug 26, 2022 at 11:58:29AM +0800, xinlei.lee wrote: > On Wed, 2022-08-24 at 11:44 -0400, Nícolas F. R. A. Prado wrote: > > On Wed, Aug 24, 2022 at 09:59:21AM +0800, xinlei.lee wrote: > > > On Tue, 2022-08-23 at 16:16 -0400, Nícolas F. R. A. Prado wrote: > > > &

Re: [PATCH v3,1/2] soc: mediatek: Add mmsys func to adapt to dpi output for MT8186

2022-08-26 Thread Nícolas F . R . A . Prado
On Fri, Aug 26, 2022 at 02:12:00PM +0800, xinlei.lee wrote: > On Thu, 2022-08-25 at 17:04 +0200, Matthias Brugger wrote: > > > > On 23/08/2022 22:17, Nícolas F. R. A. Prado wrote: > > > On Tue, Aug 23, 2022 at 02:38:22PM +0800, xinlei@mediatek.com > > >

Re: [PATCH v3,2/2] drm: mediatek: Adjust the dpi output format to MT8186

2022-08-24 Thread Nícolas F . R . A . Prado
On Wed, Aug 24, 2022 at 09:59:21AM +0800, xinlei.lee wrote: > On Tue, 2022-08-23 at 16:16 -0400, Nícolas F. R. A. Prado wrote: > > On Tue, Aug 23, 2022 at 02:18:37PM +0800, xinlei@mediatek.com > > wrote: > > > From: Xinlei Lee > > > > > > Dpi output

Re: [PATCH v3,1/2] soc: mediatek: Add mmsys func to adapt to dpi output for MT8186

2022-08-23 Thread Nícolas F . R . A . Prado
On Tue, Aug 23, 2022 at 02:38:22PM +0800, xinlei@mediatek.com wrote: > From: Xinlei Lee > > Add mmsys function to manipulate dpi output format configuration for MT8186. > > Co-developed-by: Jitao Shi > Signed-off-by: Jitao Shi > Signed-off-by: Xinlei Lee Revi

Re: [PATCH v3,2/2] drm: mediatek: Adjust the dpi output format to MT8186

2022-08-23 Thread Nícolas F . R . A . Prado
On Tue, Aug 23, 2022 at 02:18:37PM +0800, xinlei@mediatek.com wrote: > From: Xinlei Lee > > Dpi output needs to adjust the output format to dual edge for MT8186. > Because MT8186 HW has been modified at that time, SW needs to cooperate. > And the register (MMSYS) reserved for dpi will be

Re: [PATCH v2,1/2] soc: mediatek: Add mmsys func to adapt to dpi output for MT8186

2022-08-22 Thread Nícolas F . R . A . Prado
On Mon, Aug 22, 2022 at 08:50:45PM +0800, xinlei.lee wrote: [..] > Hi Nícolas: > > Thanks for your careful review. > I will correct it in the next version: > 1. Modify key nouns in the description; > 2. Modify the label of jitao to Co-developed-by; To be clear, you shouldn't change jitao's

Re: [PATCH v26 6/7] drm/mediatek: add drm ovl_adaptor sub driver for MT8195

2022-08-19 Thread Nícolas F . R . A . Prado
by: AngeloGioacchino Del Regno > > Tested-by: Bo-Chen Chen Tested-by: Nícolas F. R. A. Prado Display and external display still work on mt8192 as they should. Thanks, Nícolas

Re: [PATCH v26 5/7] drm/mediatek: modify mediatek-drm for mt8195 multi mmsys support

2022-08-19 Thread Nícolas F . R . A . Prado
cchino Del Regno > > Tested-by: Bo-Chen Chen Tested-by: Nícolas F. R. A. Prado Display and external display still work on mt8192 as it should. Thanks, Nícolas

Re: [PATCH v2,1/2] soc: mediatek: Add mmsys func to adapt to dpi output for MT8186

2022-08-19 Thread Nícolas F . R . A . Prado
Hi Xinlei, On Fri, Aug 05, 2022 at 05:57:40PM +0800, xinlei@mediatek.com wrote: > From: Xinlei Lee > > Add mmsys func to manipulate dpi output format config for MT8186. func -> function config -> configuration > > Signed-off-by: Jitao Shi Same thing about the co-developed-by. >

Re: [PATCH v2,2/2] drm: mediatek: Adjust the dpi output format to MT8186

2022-08-19 Thread Nícolas F . R . A . Prado
Hi Xinlei, On Fri, Aug 05, 2022 at 05:57:41PM +0800, xinlei@mediatek.com wrote: > From: Xinlei Lee > > Dpi output needs to adjust the output format to dual edge for MT8186. Could you explain a bit more why this is needed? What does this configuration do? And why is MMSYS involved in a DPI

Re: [PATCH v25 07/10] soc: mediatek: mmsys: add mmsys for support 64 reset bits

2022-08-19 Thread Nícolas F . R . A . Prado
On Fri, Aug 19, 2022 at 12:13:23PM +0800, Nancy.Lin wrote: > Hi Nicolas, > > > On Fri, 2022-08-19 at 10:09 +0800, Nancy.Lin wrote: > > Hi Nicolas, > > > > Thanks for the review. > > > > On Thu, 2022-08-18 at 17:47 -0400, Nícolas F. R. A. Prado wrote: &

Re: [PATCH v25 00/10] Add MediaTek SoC(vdosys1) support for mt8195

2022-08-18 Thread Nícolas F . R . A . Prado
On Fri, Aug 05, 2022 at 06:04:08PM +0800, Nancy.Lin wrote: [..] > Hello Matthias, > > This series is about mmsys configuration of external display path. > > It is in version *25*, and it is reviewed by many reviewers, like CK > and Angelo. > The reset.h is also reviewed by Krzysztof. > > This

Re: [PATCH v25 07/10] soc: mediatek: mmsys: add mmsys for support 64 reset bits

2022-08-18 Thread Nícolas F . R . A . Prado
Hi Nancy, On Mon, Jul 11, 2022 at 03:52:42PM +0800, Nancy.Lin wrote: [..] > static const struct mtk_mmsys_driver_data mt2701_mmsys_driver_data = { > .clk_driver = "clk-mt2701-mm", > .routes = mmsys_default_routing_table, > @@ -86,6 +88,7 @@ static const struct mtk_mmsys_driver_data

Re: [PATCH v25 1/7] dt-bindings: mediatek: add ethdr definition for mt8195

2022-08-18 Thread Nícolas F . R . A . Prado
Hi Nancy, On Thu, Aug 04, 2022 at 03:28:21PM +0800, Nancy.Lin wrote: > Add vdosys1 ETHDR definition. > > Signed-off-by: Nancy.Lin > Reviewed-by: Chun-Kuang Hu > Reviewed-by: AngeloGioacchino Del Regno > Some line-wrapping happened to your patch when sending, so it's corrupted and won't

Re: [PATCH] drm/mediatek: dsi: Add atomic {destroy, duplicate}_state, reset callbacks

2022-08-10 Thread Nícolas F . R . A . Prado
; Tested bridge chain: DSI <=> ANX7625 => aux-bus panel > > Fixes: 7f6335c6a258 ("drm/mediatek: Modify dsi funcs to atomic operations") > Signed-off-by: AngeloGioacchino Del Regno > Reviewed-by: Nícolas F. R. A. Prado Tested-by: Nícolas F. R. A. Prado Tested on m

[PATCH] drm/mediatek: dsi: Move mtk_dsi_stop() call back to mtk_dsi_poweroff()

2022-08-04 Thread Nícolas F . R . A . Prado
nk timeout warnings. Fixes: cde7e2e35c28 ("drm/mediatek: Separate poweron/poweroff from enable/disable and define new funcs") Signed-off-by: Nícolas F. R. A. Prado --- drivers/gpu/drm/mediatek/mtk_dsi.c | 21 ++--- 1 file changed, 10 insertions(+), 11 deletions(-) diff --g

[PATCH v2] drm/panel-edp: Add panel entry for B120XAN01.0

2022-07-20 Thread Nícolas F . R . A . Prado
Add panel identification entry for the AUO B120XAN01.0 (product ID: 0x1062) panel. Signed-off-by: Nícolas F. R. A. Prado --- v1: https://lore.kernel.org/all/20220719203857.1488831-3-nfrapr...@collabora.com Changes in v2: - Move entry to the top so it respects the sorting drivers/gpu/drm

Re: [PATCH 1/3] drm/panel-edp: Add panel entry for R140NWF5 RH

2022-07-20 Thread Nícolas F . R . A . Prado
On Wed, Jul 20, 2022 at 09:49:35AM +0200, AngeloGioacchino Del Regno wrote: > Il 20/07/22 00:40, Doug Anderson ha scritto: > > Hi, > > > > On Tue, Jul 19, 2022 at 1:39 PM Nícolas F. R. A. Prado > > wrote: > > > > > > Add panel identificat

Re: [PATCH 2/3] drm/panel-edp: Add panel entry for B120XAN01.0

2022-07-20 Thread Nícolas F . R . A . Prado
On Tue, Jul 19, 2022 at 03:41:43PM -0700, Doug Anderson wrote: > Hi, > > On Tue, Jul 19, 2022 at 1:39 PM Nícolas F. R. A. Prado > wrote: > > > > Add panel identification entry for the AUO B120XAN01.0 (product ID: > > 0x1062) panel. > > >

[PATCH 1/3] drm/panel-edp: Add panel entry for R140NWF5 RH

2022-07-19 Thread Nícolas F . R . A . Prado
Add panel identification entry for the IVO R140NWF5 RH (product ID: 0x057d) panel. Signed-off-by: Nícolas F. R. A. Prado --- The comments on the driver indicate that the T3 timing should be set on hpd_absent, while hpd_reliable would have a shorter time just while the HPD line stabilizes on low

[PATCH 0/3] New eDP panels and a bugfix

2022-07-19 Thread Nícolas F . R . A . Prado
This series adds two new eDP panel entries in the first two patches, and fixes a typo in the third one that prevented usage of the DT properties. Please see the note in patch 1 for a question on hpd_reliable vs. hpd_absent. Nícolas F. R. A. Prado (3): drm/panel-edp: Add panel entry

[PATCH 2/3] drm/panel-edp: Add panel entry for B120XAN01.0

2022-07-19 Thread Nícolas F . R . A . Prado
Add panel identification entry for the AUO B120XAN01.0 (product ID: 0x1062) panel. Signed-off-by: Nícolas F. R. A. Prado --- drivers/gpu/drm/panel/panel-edp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/panel/panel-edp.c b/drivers/gpu/drm/panel/panel-edp.c index

[PATCH 3/3] drm/panel-edp: Fix variable typo when saving hpd absent delay from DT

2022-07-19 Thread Nícolas F . R . A . Prado
The value read from the "hpd-absent-delay-ms" property in DT was being saved to the wrong variable, overriding the hpd_reliable delay. Fix the typo. Fixes: 5540cf8f3e8d ("drm/panel-edp: Implement generic "edp-panel"s probed by EDID") Signed-off-by: Nícolas F. R. A

Re: [PATCH v2 0/7] usb: typec: Introduce typec-switch binding

2022-06-13 Thread Nícolas F . R . A . Prado
/bridge: anx7625: Add mode-switch support > drm/bridge: anx7625: Register number of Type C switches > drm/bridge: anx7625: Register Type-C mode switches For the whole series, Reviewed-by: Nícolas F. R. A. Prado Tested-by: Nícolas F. R. A. Prado Tested that external display works on b

Re: [PATCH v2 7/7] drm/bridge: anx7625: Add typec_mux_set callback function

2022-06-13 Thread Nícolas F . R . A . Prado
Hi Prashant, On Thu, Jun 09, 2022 at 06:09:46PM +, Prashant Malani wrote: > From: Pin-Yen Lin > > Add the callback function when the driver receives state > changes of the Type-C port. The callback function configures the > crosspoint switch of the anx7625 bridge chip, which can change the

Re: [PATCH v2 5/7] drm/bridge: anx7625: Register number of Type C switches

2022-06-13 Thread Nícolas F . R . A . Prado
Hi Prashant, On Thu, Jun 09, 2022 at 06:09:44PM +, Prashant Malani wrote: > Parse the "switches" node, if available, and count and store the number > of Type-C switches within it. Since we currently don't do anything with > this info, no functional changes are expected from this change. > >

Re: [PATCH v2 3/7] dt-bindings: usb: Add Type-C switch binding

2022-06-13 Thread Nícolas F . R . A . Prado
Hi Prashant, thanks for the patch. Please see sugestions below. On Thu, Jun 09, 2022 at 06:09:42PM +, Prashant Malani wrote: > Introduce a binding which represents a component that can control the > routing of USB Type-C data lines as well as address data line > orientation (based on CC

[PATCH] drm/bridge: anx7625: Zero error variable when panel bridge not present

2022-06-13 Thread Nícolas F . R . A . Prado
eck for the presence of a panel bridge by testing the trueness of that variable. In order to ensure proper behavior, zero out pdata->panel_bridge before returning when no panel bridge is found. Fixes: 9e82ea0fb1df ("drm/bridge: anx7625: switch to devm_drm_of_get_bridge") Signed-off-by: Nícola

Re: [PATCH v12, 00/17] media: mtk-vcodec: support for M8192 decoder

2022-05-12 Thread Nícolas F . R . A . Prado
to get merged), I was able to get the following fluster scores on mt8192-asurada-spherion: VP8: 59/61 VP9: 249/303 H.264: 92/135 So for the whole series: Tested-by: Nícolas F. R. A. Prado Thanks, Nícolas [1] https://lore.kernel.org/all/2537b84fbba82a77ee0a517b12bdcdd5e6ac1503.ca...@mediatek.com/

Re: [PATCH v10, 16/17] media: mediatek: vcodec: support stateless VP9 decoding

2022-05-05 Thread Nícolas F . R . A . Prado
On Tue, Apr 26, 2022 at 06:08:27PM +0800, Yunfei Dong wrote: > Add support for VP9 decoding using the stateless API, > as supported by MT8192. And the drivers is lat and core architecture. > > Signed-off-by: Yunfei Dong > Signed-off-by: George Sun > Reviewed-by: AngeloGioacchino Del Regno > >

Re: [PATCH] drm/bridge: anx7625: Use irq flags from devicetree

2022-04-08 Thread Nícolas F . R . A . Prado
On Fri, Apr 08, 2022 at 12:15:44PM +0200, AngeloGioacchino Del Regno wrote: > Il 08/04/22 03:33, Nícolas F. R. A. Prado ha scritto: > > Read the irq flags, like which edge to trigger on, from the devicetree > > and use those when registering the irq instead of hardcoding them. &

  1   2   >