Re: [PATCH v5 1/3] drm/bridge: synopsys: Add audio support for dw-hdmi-qp

2025-02-07 Thread Quentin Schulz
Hi Detlev, On 2/6/25 9:40 PM, Detlev Casanova wrote: Hi Quentin, On Tuesday, 4 February 2025 04:59:12 EST Quentin Schulz wrote: Hi Detlev, Just some drive-by comment inline. On 2/3/25 6:16 PM, Detlev Casanova wrote: [...] +static void dw_hdmi_qp_set_audio_interface(struct dw_hdmi_qp *hdmi

Re: [PATCH v5 2/3] arm64: dts: rockchip: Add HDMI0 audio output for rk3588 SoC

2025-02-04 Thread Quentin Schulz
ther address/bus-less devices, which for Rockchip SoCs is at the top of the DT? c.f. https://www.kernel.org/doc/html/latest/devicetree/bindings/dts-coding-style.html **I** would put it between the firmware and the pmu-a55 nodes. Tested-by: Quentin Schulz # RK3588 Tiger Haikou Thanks! Quentin

Re: [PATCH v5 1/3] drm/bridge: synopsys: Add audio support for dw-hdmi-qp

2025-02-04 Thread Quentin Schulz
functions. The driver uses the generic HDMI Codec framework in order to implement the HDMI audio support. Signed-off-by: Sugar Zhang Reviewed-by: Dmitry Baryshkov Tested-by: Quentin Schulz Signed-off-by: Detlev Casanova --- drivers/gpu/drm/bridge/synopsys/dw-hdmi-qp.c | 497

Re: [PATCH v5 3/3] arm64: dts: rockchip: Enable HDMI0 audio output for Rock 5B

2025-02-04 Thread Quentin Schulz
Hi Detlev, On 2/3/25 6:16 PM, Detlev Casanova wrote: HDMI audio is available on the Rock 5B HDMI TX port. Enable it. Signed-off-by: Detlev Casanova Reviewed-by: Quentin Schulz Will try to remember to send patches for RK3588 Tiger Haikou and RK3588 Jaguar once those patches get merged

Re: [PATCH v3 2/2] arm64: dts: rockchip: Add HDMI0 audio output on rock-5b

2025-02-03 Thread Quentin Schulz
Hi Detlev, On 1/31/25 6:18 PM, Detlev Casanova wrote: Hi Quentin, On Friday, 31 January 2025 11:38:34 EST Quentin Schulz wrote: Hi Detlev, On 1/30/25 5:45 PM, Detlev Casanova wrote: [...] The only hesitation I have is that HDMI0 can use either I2S or SPDIF for audio, both audio controllers

Re: [PATCH v3 1/2] drm/bridge: synopsys: Add audio support for dw-hdmi-qp

2025-02-01 Thread Quentin Schulz
ht is right, therefore: Tested-by: Quentin Schulz Thanks! Quentin

Re: [PATCH v3 2/2] arm64: dts: rockchip: Add HDMI0 audio output on rock-5b

2025-02-01 Thread Quentin Schulz
Hi Detlev, On 1/30/25 5:45 PM, Detlev Casanova wrote: Use the simple-audio-card driver with the hdmi0 QP node as CODEC and the i2s5 device as CPU. The simple-audio-card,mclk-fs value is set to 128 as it is done in the downstream driver. The #sound-dai-cells value is set to 0 in the hdmi0 node

Re: [PATCH 1/2] drm/rockchip: vop2: fix rk3588 dp+dsi maxclk verification

2024-11-15 Thread Quentin Schulz
Hi Andy, On 11/14/24 1:50 AM, Andy Yan wrote: Hi, At 2024-05-06 15:44:36, "Quentin Schulz" wrote: Hi Heiko, On 4/25/24 9:55 PM, Heiko Stuebner wrote: From: Heiko Stuebner The clock is in Hz while the value checked against is in kHz, so actual frequencies will never be able t

Re: [RFT PATCH v2 14/48] drm/panel: ltk050h3146w: Stop tracking prepared

2024-05-07 Thread Quentin Schulz
drm_panel"), we want to remove needless code from panel drivers that was storing and double-checking the prepared/enabled state. Even if someone was relying on the double-check before, that double-check is now in the core and not needed in individual drivers. Cc: "Heiko Stübner" Cc: Q

Re: [RFT PATCH v2 15/48] drm/panel: ltk050h3146w: Don't call unprepare+disable at shutdown/remove

2024-05-07 Thread Quentin Schulz
[1] https://lore.kernel.org/r/20230901234015.566018-1-diand...@chromium.org [2] https://lore.kernel.org/r/20230901234202.566951-1-diand...@chromium.org [3] https://lore.kernel.org/r/20230921192749.1542462-1-diand...@chromium.org Cc: "Heiko Stübner" Cc: Quentin Schulz Signed-off-by: Dougl

Re: [PATCH 1/2] drm/rockchip: vop2: fix rk3588 dp+dsi maxclk verification

2024-05-06 Thread Quentin Schulz
(vop2->drm, "MIPI dclk out of range, dclk_out_rate: %ld KHZ\n", Ditto. Otherwise, Reviewed-by: Quentin Schulz Thanks! Quentin

Re: [PATCH 2/2] drm/rockchip: vop2: configure layers for vp3 on rk3588

2024-05-06 Thread Quentin Schulz
op2_video_port vps[ROCKCHIP_MAX_CRTC]; so we don't necessarily need it in this specific location and can group it with the others. Cosmetic suggestion though. Otherwise, the change itself makes sense to me, so: Reviewed-by: Quentin Schulz Thanks! Quentin

Re: [PATCH 2/2] drm/panel: ltk050h3146w: drop duplicate commands from LTK050H3148W init

2024-03-21 Thread Quentin Schulz
duplicates. Fixes: e5f9d543419c ("drm/panel: ltk050h3146w: add support for Leadtek LTK050H3148W-CTA6 variant") Signed-off-by: Heiko Stuebner Reviewed-by: Quentin Schulz Thanks! Quentin

Re: [PATCH 1/2] drm/panel: ltk050h3146w: add MIPI_DSI_MODE_VIDEO to LTK050H3148W flags

2024-03-21 Thread Quentin Schulz
set. Other DSI drivers might handle this differently, so add the flag. Fixes: e5f9d543419c ("drm/panel: ltk050h3146w: add support for Leadtek LTK050H3148W-CTA6 variant") Signed-off-by: Heiko Stuebner Reviewed-by: Quentin Schulz Thanks! Quentin

Re: [PATCH 0/3] drm/panel: add one more Leadtek panel, the ltk101b4029w

2024-02-15 Thread Quentin Schulz
drm/panel: ltk500hd1829: add panel type for ltk101b4029w For the whole series: Reviewed-by: Quentin Schulz Thanks, Quentin

[PATCH 2/2] drm/panel: ltk050h3146w: use dev_err_probe wherever possible

2024-01-04 Thread Quentin Schulz
From: Quentin Schulz This is only a cosmetic change. This replaces a hand-crafted EPROBE_DEFER handling for deciding to print an error message with dev_err_probe. A side-effect is that dev_err_probe also adds a debug message when it's not EPROBE_DEFER, but this is seen as an improvement

[PATCH 1/2] drm/panel: ltk050h3146w: only print message when GPIO getting is not EPROBE_DEFER

2024-01-04 Thread Quentin Schulz
From: Quentin Schulz devm_gpiod_get_optional may return EPROBE_DEFER in case the GPIO controller isn't yet probed when the panel driver is being probed. In that case, a spurious and confusing error message about not being able to get the reset GPIO is printed even though later on the d

[PATCH 0/2] drm/panel: ltk050h3146w: error-path debug message improvements

2024-01-04 Thread Quentin Schulz
This hides an error message if EPROBE_DEFER was returned when trying to get the reset GPIO. This also makes use of dev_err_probe in lieu of hand-crafted logic inside the driver. Thanks, Quentin Signed-off-by: Quentin Schulz --- Quentin Schulz (2): drm/panel: ltk050h3146w: only print

Re: [PATCH] drm/rockchip: lvds: do not print error message when deferring probe

2023-11-20 Thread Quentin Schulz
Hi Fabio, On 11/17/23 20:27, Fabio Estevam wrote: Hi Quentin, On Fri, Nov 17, 2023 at 3:31 PM Quentin Schulz wrote: From: Quentin Schulz This scary message may happen if the panel or bridge is not probed before the LVDS controller is, resulting in some head scratching because the LVDS

[PATCH v2 2/2] drm/rockchip: lvds: do not print scary message when probing defer

2023-11-20 Thread Quentin Schulz
From: Quentin Schulz This scary message can misled the user into thinking something bad has happened and needs to be fixed, however it could simply be part of a normal boot process where EPROBE_DEFER is taken into account. Therefore, let's use dev_err_probe so that this message doesn't

[PATCH v2 1/2] drm/rockchip: lvds: do not overwrite error code

2023-11-20 Thread Quentin Schulz
From: Quentin Schulz ret variable stores the return value of drm_of_find_panel_or_bridge which can return error codes different from EPROBE_DEFER. Therefore, let's just return that error code instead of forcing it to EPROBE_DEFER. Fixes: 34cc0aa25456 ("drm/rockchip: Add support for Ro

[PATCH v2 0/2] drm/rockchip: lvds: improve erroring out when drm_of_find_panel_or_bridge fails

2023-11-20 Thread Quentin Schulz
users. Signed-off-by: Quentin Schulz --- Changes in v2: - add a patch for not overwriting return code with EPROBE_DEFER - use dev_err_probe instead of DRM_DEV_DEBUG - Link to v1: https://lore.kernel.org/r/20231117-rk-lvds-defer-msg-v1-1-1e6894cf9...@theobroma-systems.com --- Quentin Schulz

[PATCH] drm/rockchip: lvds: do not print error message when deferring probe

2023-11-17 Thread Quentin Schulz
From: Quentin Schulz This scary message may happen if the panel or bridge is not probed before the LVDS controller is, resulting in some head scratching because the LVDS panel is actually working, since a later try will eventually find the panel or bridge. Therefore let's demote this

Re: [PATCH 1/3] drm/panel: ltk050h3146w: add mipi_dsi_device.mode_flags to of_match_data

2022-05-04 Thread Quentin Schulz
Hi all, Seems I'm not the only one who forgot about this patch series, so, kindly pinging :) Thanks! Quentin On 1/31/22 17:47, quentin.sch...@theobroma-systems.com wrote: From: Quentin Schulz To prepare for a new display to be supported by this driver which has a slightly different s

[PATCH 3/3] dt-bindings: ltk050h3146w: add compatible for LTK050H3148W-CTA6 variant

2022-02-01 Thread quentin . schulz
From: Quentin Schulz The LTK050H3148W-CTA6 is a 5.0" 720x1280 DSI display, whose driving controller is a Himax HX8394-F, slightly different from LTK050H3146W by its init sequence, mode details and mode flags. Cc: Quentin Schulz Signed-off-by: Quentin Schulz --- .../devicetree/bin

[PATCH 2/3] drm/panel: ltk050h3146w: add support for Leadtek LTK050H3148W-CTA6 variant

2022-02-01 Thread quentin . schulz
From: Klaus Goger The LTK050H3148W-CTA6 is a 5.0" 720x1280 DSI display, whose driving controller is a Himax HX8394-F, slightly different from LTK050H3146W by its init sequence, mode details and mode flags. Cc: Quentin Schulz Signed-off-by: Klaus Goger Signed-off-by: Quentin S

[PATCH] dt-bindings: ltk050h3146w: replace Heiko Stuebner by myself as maintainer

2022-02-01 Thread quentin . schulz
From: Quentin Schulz Heiko does not work at Theobroma Systems anymore and the boards using those panels are downstream, maintained internally by the company, so let's relieve Heiko of maintainership duties. Cc: Heiko Stuebner Cc: Quentin Schulz Signed-off-by: Quentin S

[PATCH 1/3] drm/panel: ltk050h3146w: add mipi_dsi_device.mode_flags to of_match_data

2022-02-01 Thread quentin . schulz
From: Quentin Schulz To prepare for a new display to be supported by this driver which has a slightly different set of DSI mode related flags, let's move the currently hardcoded mode flags to the .data field of of_device_id structure. Cc: Quentin Schulz Signed-off-by: Quentin S

Re: [PATCH v4 2/5] drm/dp: fix link probing for devices supporting DP 1.4+

2018-10-01 Thread Quentin Schulz
rg/patch/249400/ > If I'm not mistaken, you could get rid of the patch in the Intel driver when we have this one merged. Is there any reason not to, have I missed something? Thanks, Quentin > Reviewed-by: Manasi Navare > > Manasi > > > On Thu, Sep 20, 2018 at 03:54:37PM +