[PATCH v5] leds: qcom-lpg: Add PM660L configuration and compatible

2024-02-04 Thread Marijn Suijten
-by: Marijn Suijten Reviewed-by: Bjorn Andersson --- Changes since v4: - Rebased on -next and resolve conflict with removed lpg_remove(); - v4: https://lore.kernel.org/linux-leds/20220719211848.1653920-2-marijn.suij...@somainline.org/ --- drivers/leds/rgb/leds-qcom-lpg.c | 18 ++ 1 file

Re: [PATCH v4 2/2] leds: qcom-lpg: Add PM660L configuration and compatible

2024-02-04 Thread Marijn Suijten
On 2023-12-19 10:17:21, Marijn Suijten wrote: > Hi Johan and Lee, > > On 2023-12-19 09:22:43, Johan Hovold wrote: > > Hi Marijn and Lee, > > > > On Tue, Jul 19, 2022 at 11:18:48PM +0200, Marijn Suijten wrote: > > > Inherit PM660L PMIC LPG/triled block configu

Re: [PATCH v2 06/14] arm64: dts: qcom: sdm630: Drop RPM bus clocks

2024-01-02 Thread Marijn Suijten
ia XA2 Ultra. Thanks! Reviewed-by: Marijn Suijten +cc Dmitry who was talking to me about this SoC. > --- > arch/arm64/boot/dts/qcom/sdm630.dtsi | 49 > +++- > 1 file changed, 9 insertions(+), 40 deletions(-) > > diff --git a/arch/arm64/boot/

Re: [PATCH v4 2/2] leds: qcom-lpg: Add PM660L configuration and compatible

2023-12-19 Thread Marijn Suijten
On 2023-12-19 10:33:25, Johan Hovold wrote: > On Tue, Dec 19, 2023 at 10:17:16AM +0100, Marijn Suijten wrote: > > > Note that I have one more unmerged leds patch around, that hasn't been > > looked > > at either. Would it help to send this once again, perhaps

Re: [PATCH v4 2/2] leds: qcom-lpg: Add PM660L configuration and compatible

2023-12-19 Thread Marijn Suijten
Hi Johan and Lee, On 2023-12-19 09:22:43, Johan Hovold wrote: > Hi Marijn and Lee, > > On Tue, Jul 19, 2022 at 11:18:48PM +0200, Marijn Suijten wrote: > > Inherit PM660L PMIC LPG/triled block configuration from downstream > > drivers and DT sources, consisting of a triled

Re: [PATCH v6 2/4] leds: Add driver for Qualcomm LPG

2021-04-18 Thread Marijn Suijten
Hi Bjorn, On 10/21/20 10:12 PM, Bjorn Andersson wrote: The Light Pulse Generator (LPG) is a PWM-block found in a wide range of PMICs from Qualcomm. It can operate on fixed parameters or based on a lookup-table, altering the duty cycle over time - which provides the means for e.g. hardware

[PATCH] leds: ledtrig-pattern: Use last_repeat when applying hw pattern

2021-04-18 Thread Marijn Suijten
is - together with `1` - the only valid value in the upcoming Qualcomm LPG driver. It is thus unexpected when `repeat` with an initialization value of `0` is passed into the the driver, when the sysfs property clearly presents a value of `-1`. Signed-off-by: Marijn Suijten --- drivers/leds/trigger

Re: [Freedreno] [PATCH 1/3] drm/msm/mdp5: Configure PP_SYNC_HEIGHT to double the vtotal

2021-04-09 Thread Marijn Suijten
scritto: Hi Marijn On 2021-04-06 14:47, Marijn Suijten wrote: Leaving this at a close-to-maximum register value 0xFFF0 means it takes very long for the MDSS to generate a software vsync interrupt when the hardware TE interrupt doesn't arrive. Configuring this to double the vtotal (like some

[PATCH 3/3] drm/msm/mdp5: Disable pingpong autorefresh at tearcheck init

2021-04-06 Thread Marijn Suijten
From: AngeloGioacchino Del Regno If pp autorefresh is up (from bootloader splash), we will surely get vblank and pp timeouts. Ensure it is turned off. Signed-off-by: AngeloGioacchino Del Regno Signed-off-by: Marijn Suijten --- drivers/gpu/drm/msm/disp/mdp5/mdp5_cmd_encoder.c | 1 + 1 file

[PATCH 0/3] drm/msm/mdp5: Emit vsync signal often enough

2021-04-06 Thread Marijn Suijten
not arriving at all. AngeloGioacchino Del Regno (1): drm/msm/mdp5: Disable pingpong autorefresh at tearcheck init Marijn Suijten (2): drm/msm/mdp5: Configure PP_SYNC_HEIGHT to double the vtotal drm/msm/mdp5: Do not multiply vclk line count by 100 drivers/gpu/drm/msm/disp/mdp5/mdp

[PATCH 2/3] drm/msm/mdp5: Do not multiply vclk line count by 100

2021-04-06 Thread Marijn Suijten
/la/kernel/msm-3.18/tree/drivers/video/msm/mdss/mdss_dsi_panel.c?h=LA.UM.8.6.c26-02400-89xx.0#n1648 Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Marijn Suijten --- drivers/gpu/drm/msm/disp/mdp5/mdp5_cmd_encoder.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH 1/3] drm/msm/mdp5: Configure PP_SYNC_HEIGHT to double the vtotal

2021-04-06 Thread Marijn Suijten
until said gpio is properly hooked up to an irq. Suggested-by: AngeloGioacchino Del Regno Signed-off-by: Marijn Suijten Reviewed-by: AngeloGioacchino Del Regno --- drivers/gpu/drm/msm/disp/mdp5/mdp5_cmd_encoder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/dr

[PATCH] backlight: qcom-wled: Use sink_addr for sync toggle

2021-03-14 Thread Marijn Suijten
because sink and ctrl base addresses are the same. This allows adjusting the brightness without having to disable then reenable the module. Signed-off-by: Obeida Shamoun Signed-off-by: Konrad Dybcio Signed-off-by: Marijn Suijten --- drivers/video/backlight/qcom-wled.c | 4 ++-- 1 file changed

[PATCH] clk: qcom: rcg2: Rectify clk_gfx3d rate rounding without mux division

2021-03-03 Thread Marijn Suijten
with the clock rate the caller is expecting. Fixes: 7cbb78a99db6 ("clk: qcom: rcg2: Stop hardcoding gfx3d pingpong parent numbers") Reported-by: Konrad Dybcio Tested-by: Konrad Dybcio Reviewed-By: AngeloGioacchino Del Regno Signed-off-by: Marijn Suijten --- drivers/clk/qcom/clk-r

[PATCH] drm/msm: a5xx: Make preemption reset case reentrant

2020-11-02 Thread Marijn Suijten
ure the condition in such a way that shadow buffer setup only ever happens when has_whereami is true; otherwise preemption is only finalized when the number of ring buffers has not been reset to 1 yet. Fixes: 8907afb476ac ("drm/msm: Allow a5xx to mark the RPTR shadow as privileged") Signed-o