Re: Bug in mipi_dbi_hw_reset() causes incorrect DT entries

2025-03-21 Thread Alex Lanzano
On Sun, Mar 16, 2025 at 12:51:29PM +0100, Krzysztof Kozlowski wrote: > On 15/03/2025 16:20, Alex Lanzano wrote: > > Hi all, > > > > There is a bug in the mipi_dbi_hw_reset() function that handles the > > reset logic of the controller. Currently, it will set the reset

Re: drm: mipi_dbi_hw_reset() keeps display in reset

2025-03-15 Thread Alex Lanzano
On Sat, Mar 15, 2025 at 11:43:54AM +0100, Noralf Trønnes wrote: > > > On 15.03.2025 00:50, Alex Lanzano wrote: > > On Fri, Mar 14, 2025 at 12:57:27PM +0100, Josef Luštický wrote: > >> On Mon, Mar 10, 2025 at 7:33 PM Alex Lanzano > >> wrote: > >>> &

Re: drm: mipi_dbi_hw_reset() keeps display in reset

2025-03-14 Thread Alex Lanzano
On Fri, Mar 14, 2025 at 12:57:27PM +0100, Josef Luštický wrote: > On Mon, Mar 10, 2025 at 7:33 PM Alex Lanzano wrote: > > > > On Fri, Mar 07, 2025 at 10:25:18AM +0100, Josef Luštický wrote: > > > Ok, I'll implement the change and post it for a review. > > >

Re: drm: mipi_dbi_hw_reset() keeps display in reset

2025-03-10 Thread Alex Lanzano
;reset-gpios" property was fixed. > What are your thoughts? > You probably wnat something more concise and in present tense like 'invert-reset-gpio' Best regards, Alex > On Tue, Feb 25, 2025 at 2:46 PM Alex Lanzano wrote: > > > > On Tue, Feb 25, 2025 at 12:5

Re: drm: mipi_dbi_hw_reset() keeps display in reset

2025-02-25 Thread Alex Lanzano
On Tue, Feb 25, 2025 at 12:59:59PM +0100, Josef Luštický wrote: > On Mon, Feb 24, 2025 at 12:13 AM Alex Lanzano wrote: > > > > On Mon, Feb 17, 2025 at 12:39:01PM +0100, Josef Luštický wrote: > > > On Sat, Feb 15, 2025 at 8:14 PM Alex Lanzano > > > wrote: > &

Re: [PATCH] drm/repaper: fix integer overflows in repeat functions

2025-02-24 Thread Alex Lanzano
On Thu, Jan 16, 2025 at 05:48:01AM -0800, Nikita Zhandarovich wrote: > There are conditions, albeit somewhat unlikely, under which right hand > expressions, calculating the end of time period in functions like > repaper_frame_fixed_repeat(), may overflow. > > For instance, if 'factor10x' in repape

Re: drm: mipi_dbi_hw_reset() keeps display in reset

2025-02-24 Thread Alex Lanzano
On Mon, Feb 17, 2025 at 12:39:01PM +0100, Josef Luštický wrote: > On Sat, Feb 15, 2025 at 8:14 PM Alex Lanzano wrote: > > > > On Fri, Feb 14, 2025 at 08:04:41PM -0500, Alex Lanzano wrote: > > > On Fri, Feb 14, 2025 at 10:29:29AM +0100, Josef Luštický wrote: > > >

Re: drm: mipi_dbi_hw_reset() keeps display in reset

2025-02-15 Thread Alex Lanzano
On Fri, Feb 14, 2025 at 08:04:41PM -0500, Alex Lanzano wrote: > On Fri, Feb 14, 2025 at 10:29:29AM +0100, Josef Luštický wrote: > > Hello Alex, > > there is a bug in mipi_dbi_hw_reset() function that implements the logic of > > display reset contrary. > > It keeps the

Re: [PATCH] drm/repaper: fix integer overflows in repeat functions

2025-02-15 Thread Alex Lanzano
7; to wider type before > any multiplication is done. > > Found by Linux Verification Center (linuxtesting.org) with static > analysis tool SVACE. > > Fixes: 3589211e9b03 ("drm/tinydrm: Add RePaper e-ink driver") > Cc: sta...@vger.kernel.org > Signed-off-by: Ni

Re: [PATCH] drm/repaper: fix integer overflows in repeat functions

2025-02-15 Thread Alex Lanzano
On Sat, Feb 15, 2025 at 11:48:00AM +, David Laight wrote: > On Fri, 14 Feb 2025 20:02:01 -0500 > Alex Lanzano wrote: > > > On Fri, Feb 14, 2025 at 01:29:10PM +, David Laight wrote: > > > On Thu, 13 Feb 2025 20:54:59 -0500 > > > Alex Lanzano wrote: >

Re: drm: mipi_dbi_hw_reset() keeps display in reset

2025-02-14 Thread Alex Lanzano
On Fri, Feb 14, 2025 at 10:29:29AM +0100, Josef Luštický wrote: > Hello Alex, > there is a bug in mipi_dbi_hw_reset() function that implements the logic of > display reset contrary. > It keeps the reset line activated which keeps displays in reset state. > > I reported the bug to > https://gitlab.

Re: [PATCH] drm/repaper: fix integer overflows in repeat functions

2025-02-14 Thread Alex Lanzano
On Fri, Feb 14, 2025 at 01:29:10PM +, David Laight wrote: > On Thu, 13 Feb 2025 20:54:59 -0500 > Alex Lanzano wrote: > > > On Thu, Jan 16, 2025 at 05:48:01AM -0800, Nikita Zhandarovich wrote: > > > There are conditions, albeit somewhat unlikely, under which righ

Re: [PATCH] drm/repaper: fix integer overflows in repeat functions

2025-02-13 Thread Alex Lanzano
On Thu, Jan 16, 2025 at 05:48:01AM -0800, Nikita Zhandarovich wrote: > There are conditions, albeit somewhat unlikely, under which right hand > expressions, calculating the end of time period in functions like > repaper_frame_fixed_repeat(), may overflow. > > For instance, if 'factor10x' in repape

Re: [PATCH] MAINTAINERS: Update maintainer of repaper and mi0283qt

2025-02-11 Thread Alex Lanzano
On Tue, Feb 11, 2025 at 03:16:37PM +0100, Noralf Trønnes wrote: > > > On 11.02.2025 00:32, Alex Lanzano wrote: > > Add myself as the maintainer of the recently orphaned repaper and > > mi0283qt drivers. > > > > Signed-off-by: Alex Lanzano > > --- > &

[PATCH] MAINTAINERS: Update maintainer of repaper and mi0283qt

2025-02-10 Thread Alex Lanzano
Add myself as the maintainer of the recently orphaned repaper and mi0283qt drivers. Signed-off-by: Alex Lanzano --- MAINTAINERS | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 1c5b22f00434..b5e46f23d1ba 100644 --- a/MAINTAINERS +++ b

Maintaining Repaper and MI0283QT

2025-02-07 Thread Alex Lanzano
I saw that Noralf has to unfortunately step down from maintaining the repaper and mi0283qt drivers. I would be more than happy to maintain these two if need be. The repaper device is very similar to the sharp-memory display I currently maintain and I've worked with mi0283qt displays before. best r

Re: [PATCH] drm/tiny: Fix some error handling paths in sharp_memory_probe()

2024-10-28 Thread Alex Lanzano
ret = sharp_memory_init_pwm_vcom_signal(smd); > if (ret) > return ret; > @@ -640,19 +651,6 @@ static void sharp_memory_remove(struct spi_device *spi) > > drm_dev_unplug(&smd->drm); > drm_atomic_helper_shutdown(&smd->drm); > - > - switch (smd->vcom_mode) { > - case SHARP_MEMORY_SOFTWARE_VCOM: > - kthread_stop(smd->sw_vcom_signal); > - break; > - > - case SHARP_MEMORY_EXTERNAL_VCOM: > - break; > - > - case SHARP_MEMORY_PWM_VCOM: > - pwm_disable(smd->pwm_vcom_signal); > - break; > - } > } > > static struct spi_driver sharp_memory_spi_driver = { > -- > 2.47.0 > Tested-by: Alex Lanzano Reviewed-by: Alex Lanzano

Re: [PATCH next] drm/sharp-memory: Fix some checks in sharp_memory_probe()

2024-10-23 Thread Alex Lanzano
optional(dev, "enable", > GPIOD_OUT_HIGH); > + if (IS_ERR(smd->enable_gpio)) > + return PTR_ERR(smd->enable_gpio); > if (!smd->enable_gpio) > dev_warn(dev, "Enable gpio not defined\n"); > > -- > 2.45.2 > Reviewed-by: Alex Lanzano

[PATCH v11 2/2] drm/tiny: Add driver for Sharp Memory LCD

2024-10-15 Thread Alex Lanzano
Add support for the monochrome Sharp Memory LCDs. Co-developed-by: Mehdi Djait Signed-off-by: Mehdi Djait Signed-off-by: Alex Lanzano Reviewed-by: Dmitry Baryshkov Acked-by: Uwe Kleine-König --- MAINTAINERS | 6 + drivers/gpu/drm/tiny/Kconfig| 21

[PATCH v11 1/2] dt-bindings: display: Add Sharp Memory LCD bindings

2024-10-15 Thread Alex Lanzano
Add device tree bindings for the monochrome Sharp Memory LCD Co-developed-by: Mehdi Djait Signed-off-by: Mehdi Djait Signed-off-by: Alex Lanzano Reviewed-by: Krzysztof Kozlowski --- .../bindings/display/sharp,ls010b7dh04.yaml | 92 +++ 1 file changed, 92 insertions

[PATCH v11 0/2] Add driver for Sharp Memory LCD

2024-10-15 Thread Alex Lanzano
/products/Displays/2016_SDE_App_Note_for_Memory_LCD_programming_V1.3.pdf Co-developed-by: Mehdi Djait Signed-off-by: Mehdi Djait Signed-off-by: Alex Lanzano --- Changes in v11: - Replace drm_fbdev_dma_setup with new drm_client_setup interface Changes in v10: - Address comments from from Uwe

Re: [PATCH v10 0/2] Add driver for Sharp Memory LCD

2024-10-14 Thread Alex Lanzano
On Mon, Oct 14, 2024 at 10:35:03AM GMT, Dmitry Baryshkov wrote: > On Mon, Oct 07, 2024 at 11:03:09PM -0400, Alex Lanzano wrote: > > This patch series add support for the monochrome Sharp Memory LCD > > panels. This series is based off of the work done by Mehdi Djait. > > >

[PATCH v10 2/2] drm/tiny: Add driver for Sharp Memory LCD

2024-10-07 Thread Alex Lanzano
Add support for the monochrome Sharp Memory LCDs. Co-developed-by: Mehdi Djait Signed-off-by: Mehdi Djait Signed-off-by: Alex Lanzano Reviewed-by: Dmitry Baryshkov --- MAINTAINERS | 6 + drivers/gpu/drm/tiny/Kconfig| 20 + drivers/gpu/drm/tiny/Makefile

[PATCH v10 1/2] dt-bindings: display: Add Sharp Memory LCD bindings

2024-10-07 Thread Alex Lanzano
Add device tree bindings for the monochrome Sharp Memory LCD Co-developed-by: Mehdi Djait Signed-off-by: Mehdi Djait Signed-off-by: Alex Lanzano Reviewed-by: Krzysztof Kozlowski --- .../bindings/display/sharp,ls010b7dh04.yaml | 92 +++ 1 file changed, 92 insertions

[PATCH v10 0/2] Add driver for Sharp Memory LCD

2024-10-07 Thread Alex Lanzano
/products/Displays/2016_SDE_App_Note_for_Memory_LCD_programming_V1.3.pdf Co-developed-by: Mehdi Djait Signed-off-by: Mehdi Djait Signed-off-by: Alex Lanzano --- Changes in v10: - Address comments from from Uwe - Replaced -EINVAL with PTR_ERR - Error check pwm_apply_might_sleep function

[PATCH v9 2/2] drm/tiny: Add driver for Sharp Memory LCD

2024-10-06 Thread Alex Lanzano
Add support for the monochrome Sharp Memory LCDs. Co-developed-by: Mehdi Djait Signed-off-by: Mehdi Djait Signed-off-by: Alex Lanzano Reviewed-by: Dmitry Baryshkov --- MAINTAINERS | 6 + drivers/gpu/drm/tiny/Kconfig| 20 + drivers/gpu/drm/tiny/Makefile

[PATCH v9 1/2] dt-bindings: display: Add Sharp Memory LCD bindings

2024-10-06 Thread Alex Lanzano
Add device tree bindings for the monochrome Sharp Memory LCD Co-developed-by: Mehdi Djait Signed-off-by: Mehdi Djait Signed-off-by: Alex Lanzano Reviewed-by: Krzysztof Kozlowski --- .../bindings/display/sharp,ls010b7dh04.yaml | 92 +++ 1 file changed, 92 insertions

[PATCH v9 0/2] Add driver for Sharp Memory LCD

2024-10-06 Thread Alex Lanzano
/products/Displays/2016_SDE_App_Note_for_Memory_LCD_programming_V1.3.pdf Co-developed-by: Mehdi Djait Signed-off-by: Mehdi Djait Signed-off-by: Alex Lanzano --- Changes in v9: - Move pwm and software VCOM generation to probe/remove functions instead of crtc enable/disable functions. pwd_disable

Re: [PATCH v8 0/2] Add driver for Sharp Memory LCD

2024-10-03 Thread Alex Lanzano
On Thu, Oct 03, 2024 at 11:27:43AM GMT, Uwe Kleine-König wrote: > Hello Alex, > > On Wed, Oct 02, 2024 at 10:33:13PM -0400, Alex Lanzano wrote: > > On Wed, Oct 02, 2024 at 09:56:38AM GMT, Uwe Kleine-König wrote: > > > On Tue, Oct 01, 2024 at 11:37:35PM -0400, Alex Lanzan

Re: [PATCH v8 0/2] Add driver for Sharp Memory LCD

2024-10-02 Thread Alex Lanzano
On Wed, Oct 02, 2024 at 09:56:38AM GMT, Uwe Kleine-König wrote: > Hello, > > On Tue, Oct 01, 2024 at 11:37:35PM -0400, Alex Lanzano wrote: > > This patch series add support for the monochrome Sharp Memory LCD > > panels. This series is based off of the wor

[PATCH v8 2/2] drm/tiny: Add driver for Sharp Memory LCD

2024-10-01 Thread Alex Lanzano
Add support for the monochrome Sharp Memory LCDs. Co-developed-by: Mehdi Djait Signed-off-by: Mehdi Djait Signed-off-by: Alex Lanzano Reviewed-by: Dmitry Baryshkov --- MAINTAINERS | 6 + drivers/gpu/drm/tiny/Kconfig| 20 + drivers/gpu/drm/tiny/Makefile

[PATCH v8 1/2] dt-bindings: display: Add Sharp Memory LCD bindings

2024-10-01 Thread Alex Lanzano
Add device tree bindings for the monochrome Sharp Memory LCD Co-developed-by: Mehdi Djait Signed-off-by: Mehdi Djait Signed-off-by: Alex Lanzano Reviewed-by: Krzysztof Kozlowski --- .../bindings/display/sharp,ls010b7dh04.yaml | 92 +++ 1 file changed, 92 insertions

[PATCH v8 0/2] Add driver for Sharp Memory LCD

2024-10-01 Thread Alex Lanzano
/products/Displays/2016_SDE_App_Note_for_Memory_LCD_programming_V1.3.pdf Co-developed-by: Mehdi Djait Signed-off-by: Mehdi Djait Signed-off-by: Alex Lanzano --- Changes in v8: - Addressed review comments from Uwe - Replace pwm_get_state with pwm_init_state - Use pwm_set_relative_duty_cycle

Re: [PATCH v6 2/2] drm/tiny: Add driver for Sharp Memory LCD

2024-09-29 Thread Alex Lanzano
Hi thanks for the review! I'll address these in v8. Looks like you missed my v7 of this patch On Wed, Sep 25, 2024 at 11:07:00PM GMT, Uwe Kleine-König wrote: > Hello, > > On Thu, Sep 05, 2024 at 08:44:00AM -0400, Alex Lanzano wrote: > > +static void sharp_memory_crtc_enable(s

[PATCH v7 2/2] drm/tiny: Add driver for Sharp Memory LCD

2024-09-23 Thread Alex Lanzano
Add support for the monochrome Sharp Memory LCDs. Co-developed-by: Mehdi Djait Signed-off-by: Mehdi Djait Signed-off-by: Alex Lanzano Reviewed-by: Dmitry Baryshkov --- MAINTAINERS | 6 + drivers/gpu/drm/tiny/Kconfig| 20 + drivers/gpu/drm/tiny/Makefile

[PATCH v7 1/2] dt-bindings: display: Add Sharp Memory LCD bindings

2024-09-23 Thread Alex Lanzano
Add device tree bindings for the monochrome Sharp Memory LCD Co-developed-by: Mehdi Djait Signed-off-by: Mehdi Djait Signed-off-by: Alex Lanzano Reviewed-by: Krzysztof Kozlowski --- .../bindings/display/sharp,ls010b7dh04.yaml | 92 +++ 1 file changed, 92 insertions

[PATCH v7 0/2] Add driver for Sharp Memory LCD

2024-09-23 Thread Alex Lanzano
/products/Displays/2016_SDE_App_Note_for_Memory_LCD_programming_V1.3.pdf Co-developed-by: Mehdi Djait Signed-off-by: Mehdi Djait Signed-off-by: Alex Lanzano --- Changes in v7: - Add Reviewed-by tag back to dt-binding patch Changes in v6: - Rebase off latest drm-misc-next - Replace pwm_apply_state

Re: [PATCH v6 2/2] drm/tiny: Add driver for Sharp Memory LCD

2024-09-22 Thread Alex Lanzano
On Sun, Sep 22, 2024 at 11:14:17PM GMT, Dmitry Baryshkov wrote: > On Thu, Sep 05, 2024 at 08:44:00AM GMT, Alex Lanzano wrote: > > Add support for the monochrome Sharp Memory LCDs. > > > > Co-developed-by: Mehdi Djait > > Signed-off-by: Mehdi Djait >

Re: [PATCH v6 0/2] Add driver for Sharp Memory LCD

2024-09-14 Thread Alex Lanzano
Hi all, Just a friendly ping. Please send feedback whenever possible. Best regards, Alex On Thu, Sep 05, 2024 at 08:43:58AM GMT, Alex Lanzano wrote: > This patch series add support for the monochrome Sharp Memory LCD > panels. This series is based off of the work done by Mehdi

Re: [PATCH v6 1/2] dt-bindings: display: Add Sharp Memory LCD bindings

2024-09-05 Thread Alex Lanzano
On Thu, Sep 05, 2024 at 11:12:47PM GMT, Krzysztof Kozlowski wrote: > On 05/09/2024 22:27, Alex Lanzano wrote: > > On Thu, Sep 05, 2024 at 03:23:20PM GMT, Krzysztof Kozlowski wrote: > >> On 05/09/2024 14:43, Alex Lanzano wrote: > >>> Add device tree bindings for t

Re: [PATCH v6 1/2] dt-bindings: display: Add Sharp Memory LCD bindings

2024-09-05 Thread Alex Lanzano
On Thu, Sep 05, 2024 at 03:23:20PM GMT, Krzysztof Kozlowski wrote: > On 05/09/2024 14:43, Alex Lanzano wrote: > > Add device tree bindings for the monochrome Sharp Memory LCD > > > > Co-developed-by: Mehdi Djait > > Signed-off-by: Mehdi Djait > > Signed-o

[PATCH v6 2/2] drm/tiny: Add driver for Sharp Memory LCD

2024-09-05 Thread Alex Lanzano
Add support for the monochrome Sharp Memory LCDs. Co-developed-by: Mehdi Djait Signed-off-by: Mehdi Djait Signed-off-by: Alex Lanzano --- MAINTAINERS | 6 + drivers/gpu/drm/tiny/Kconfig| 20 + drivers/gpu/drm/tiny/Makefile | 1 + drivers/gpu/drm/tiny

[PATCH v6 1/2] dt-bindings: display: Add Sharp Memory LCD bindings

2024-09-05 Thread Alex Lanzano
Add device tree bindings for the monochrome Sharp Memory LCD Co-developed-by: Mehdi Djait Signed-off-by: Mehdi Djait Signed-off-by: Alex Lanzano --- .../bindings/display/sharp,ls010b7dh04.yaml | 92 +++ 1 file changed, 92 insertions(+) create mode 100644 Documentation

[PATCH v6 0/2] Add driver for Sharp Memory LCD

2024-09-05 Thread Alex Lanzano
/products/Displays/2016_SDE_App_Note_for_Memory_LCD_programming_V1.3.pdf Co-developed-by: Mehdi Djait Signed-off-by: Mehdi Djait Signed-off-by: Alex Lanzano --- Changes in v6: - Rebase off latest drm-misc-next - Replace pwm_apply_state with pwm_apply_might_sleep Changes in v5: - Address minor style

[PATCH v5 2/2] drm/tiny: Add driver for Sharp Memory LCD

2024-09-01 Thread Alex Lanzano
Add support for the monochrome Sharp Memory LCDs. Co-developed-by: Mehdi Djait Signed-off-by: Mehdi Djait Signed-off-by: Alex Lanzano --- MAINTAINERS | 6 + drivers/gpu/drm/tiny/Kconfig| 20 + drivers/gpu/drm/tiny/Makefile | 1 + drivers/gpu/drm/tiny

[PATCH v5 1/2] dt-bindings: display: Add Sharp Memory LCD bindings

2024-09-01 Thread Alex Lanzano
Add device tree bindings for the monochrome Sharp Memory LCD Co-developed-by: Mehdi Djait Signed-off-by: Mehdi Djait Signed-off-by: Alex Lanzano Reviewed-by: Krzysztof Kozlowski --- .../bindings/display/sharp,ls010b7dh04.yaml | 92 +++ 1 file changed, 92 insertions

[PATCH v5 0/2] Add driver for Sharp Memory LCD

2024-09-01 Thread Alex Lanzano
/products/Displays/2016_SDE_App_Note_for_Memory_LCD_programming_V1.3.pdf Co-developed-by: Mehdi Djait Signed-off-by: Mehdi Djait Signed-off-by: Alex Lanzano --- Changes in v5: - Address minor style issues in sharp-memory.c Changes in v4: - Remove redundant dev_err Changes in v3: - Fix file path in

Re: [RESEND PATCH v4 2/2] drm/tiny: Add driver for Sharp Memory LCD

2024-08-30 Thread Alex Lanzano
On Tue, Aug 20, 2024 at 08:53:07AM GMT, Christophe JAILLET wrote: > Le 19/08/2024 à 23:49, Alex Lanzano a écrit : > > Add support for the monochrome Sharp Memory LCDs. > > Hi, > > a few nitpick below, should thre be a v5. > > ... > > > +struct sharp_memor

[RESEND PATCH v4 2/2] drm/tiny: Add driver for Sharp Memory LCD

2024-08-19 Thread Alex Lanzano
Add support for the monochrome Sharp Memory LCDs. Co-developed-by: Mehdi Djait Signed-off-by: Mehdi Djait Signed-off-by: Alex Lanzano --- MAINTAINERS | 6 + drivers/gpu/drm/tiny/Kconfig| 20 + drivers/gpu/drm/tiny/Makefile | 1 + drivers/gpu/drm/tiny

[RESEND PATCH v4 1/2] dt-bindings: display: Add Sharp Memory LCD bindings

2024-08-19 Thread Alex Lanzano
Add device tree bindings for the monochrome Sharp Memory LCD Co-developed-by: Mehdi Djait Signed-off-by: Mehdi Djait Signed-off-by: Alex Lanzano Reviewed-by: Krzysztof Kozlowski --- .../bindings/display/sharp,ls010b7dh04.yaml | 92 +++ 1 file changed, 92 insertions

[RESEND PATCH v4 0/2] Add driver for Sharp Memory LCD

2024-08-19 Thread Alex Lanzano
/products/Displays/2016_SDE_App_Note_for_Memory_LCD_programming_V1.3.pdf Co-developed-by: Mehdi Djait Signed-off-by: Mehdi Djait Signed-off-by: Alex Lanzano --- Changes in v4: - Remove redundant dev_err Changes in v3: - Fix file path in MAINTAINERS file - Address review comments - Simplify mode

[PATCH v4 2/2] drm/tiny: Add driver for Sharp Memory LCD

2024-08-05 Thread Alex Lanzano
Add support for the monochrome Sharp Memory LCDs. Co-developed-by: Mehdi Djait Signed-off-by: Mehdi Djait Signed-off-by: Alex Lanzano --- MAINTAINERS | 6 + drivers/gpu/drm/tiny/Kconfig| 20 + drivers/gpu/drm/tiny/Makefile | 1 + drivers/gpu/drm/tiny

[PATCH v4 1/2] dt-bindings: display: Add Sharp Memory LCD bindings

2024-08-05 Thread Alex Lanzano
Add device tree bindings for the monochrome Sharp Memory LCD Co-developed-by: Mehdi Djait Signed-off-by: Mehdi Djait Signed-off-by: Alex Lanzano Reviewed-by: Krzysztof Kozlowski --- .../bindings/display/sharp,ls010b7dh04.yaml | 92 +++ 1 file changed, 92 insertions

[PATCH v4 0/2] Add driver for Sharp Memory LCD

2024-08-05 Thread Alex Lanzano
/products/Displays/2016_SDE_App_Note_for_Memory_LCD_programming_V1.3.pdf Co-developed-by: Mehdi Djait Signed-off-by: Mehdi Djait Signed-off-by: Alex Lanzano --- Changes in v4: - Remove redundant dev_err Changes in v3: - Fix file path in MAINTAINERS file - Address review comments - Simplify mode

Re: [PATCH v3 2/2] drm/tiny: Add driver for Sharp Memory LCD

2024-07-29 Thread Alex Lanzano
On Mon, Jul 29, 2024 at 01:00:47PM GMT, Markus Elfring wrote: > … > > +++ b/drivers/gpu/drm/tiny/sharp-memory.c > > @@ -0,0 +1,684 @@ > … > > static int sharp_memory_update_display(struct sharp_memory_device *smd, > > + struct drm_framebuffer *fb, > > +

[PATCH v3 2/2] drm/tiny: Add driver for Sharp Memory LCD

2024-07-28 Thread Alex Lanzano
Add support for the monochrome Sharp Memory LCDs. Co-developed-by: Mehdi Djait Signed-off-by: Mehdi Djait Signed-off-by: Alex Lanzano --- MAINTAINERS | 6 + drivers/gpu/drm/tiny/Kconfig| 20 + drivers/gpu/drm/tiny/Makefile | 1 + drivers/gpu/drm/tiny

[PATCH v3 1/2] dt-bindings: display: Add Sharp Memory LCD bindings

2024-07-28 Thread Alex Lanzano
Add device tree bindings for the monochrome Sharp Memory LCD Co-developed-by: Mehdi Djait Signed-off-by: Mehdi Djait Signed-off-by: Alex Lanzano --- .../bindings/display/sharp,ls010b7dh04.yaml | 92 +++ 1 file changed, 92 insertions(+) create mode 100644 Documentation

[PATCH v3 0/2] Add driver for Sharp Memory LCD

2024-07-28 Thread Alex Lanzano
/products/Displays/2016_SDE_App_Note_for_Memory_LCD_programming_V1.3.pdf Co-developed-by: Mehdi Djait Signed-off-by: Mehdi Djait Signed-off-by: Alex Lanzano --- Changes in v3: - Fix file path in MAINTAINERS file - Address review comments - Simplify mode selection based on match data instead of model

Re: [PATCH 1/2] dt-bindings: display: Add Sharp Memory LCD bindings

2024-07-28 Thread Alex Lanzano
On Sun, Jul 28, 2024 at 04:43:42PM GMT, Krzysztof Kozlowski wrote: > On 28/07/2024 14:56, Alex Lanzano wrote: > >>>>> + > >>>>> + spi-cs-high: true > >>>> > >>>> You can drop it. > >>>> > >>> > >

Re: [PATCH 1/2] dt-bindings: display: Add Sharp Memory LCD bindings

2024-07-28 Thread Alex Lanzano
On Sun, Jul 28, 2024 at 10:40:23AM GMT, Krzysztof Kozlowski wrote: > On 27/07/2024 18:30, Alex Lanzano wrote: > > On Thu, Jul 25, 2024 at 08:17:01AM GMT, Krzysztof Kozlowski wrote: > >> On 25/07/2024 02:47, Alex Lanzano wrote: > >>> + > >>> +proper

Re: [PATCH v2 1/2] dt-bindings: display: Add Sharp Memory LCD bindings

2024-07-27 Thread Alex Lanzano
On Sat, Jul 27, 2024 at 11:06:05AM GMT, Krzysztof Kozlowski wrote: > On 26/07/2024 21:44, Alex Lanzano wrote: > > Add device tree bindings for the monochrome Sharp Memory LCD > > > > Signed-off-by: Alex Lanzano > > Co-developed-by: Mehdi Djait > > Signed-off-b

Re: [PATCH v2 2/2] drm/tiny: Add driver for Sharp Memory LCD

2024-07-27 Thread Alex Lanzano
On Sat, Jul 27, 2024 at 11:03:19AM GMT, Krzysztof Kozlowski wrote: > On 26/07/2024 21:44, Alex Lanzano wrote: > > Add support for the monochrome Sharp Memory LCDs. > > > > Signed-off-by: Alex Lanzano > > Co-developed-by: Mehdi Djait > > Signed-off-by: Mehd

Re: [PATCH v2 0/2] Add driver for Sharp Memory LCD

2024-07-27 Thread Alex Lanzano
On Sat, Jul 27, 2024 at 11:00:08AM GMT, Krzysztof Kozlowski wrote: > On 26/07/2024 21:44, Alex Lanzano wrote: > > This patch series add support for the monochrome Sharp Memory LCD > > panels. This series is based off of the work done by Mehdi Djait. > > > > References:

Re: [PATCH 1/2] dt-bindings: display: Add Sharp Memory LCD bindings

2024-07-27 Thread Alex Lanzano
On Thu, Jul 25, 2024 at 08:17:01AM GMT, Krzysztof Kozlowski wrote: > On 25/07/2024 02:47, Alex Lanzano wrote: > > + > > +properties: > > + compatible: > > +enum: > > + - sharp,ls010b7dh04 > > + - sharp,ls011b7dh03 > > + - sha

Re: [PATCH v2 2/2] drm/tiny: Add driver for Sharp Memory LCD

2024-07-26 Thread Alex Lanzano
On Sat, Jul 27, 2024 at 12:12:01AM GMT, Christophe JAILLET wrote: > Le 26/07/2024 à 21:44, Alex Lanzano a écrit : > > Add support for the monochrome Sharp Memory LCDs. > > > > Signed-off-by: Alex Lanzano > > > > Co-developed-by: Mehdi Djait &g

[PATCH v2 2/2] drm/tiny: Add driver for Sharp Memory LCD

2024-07-26 Thread Alex Lanzano
Add support for the monochrome Sharp Memory LCDs. Signed-off-by: Alex Lanzano Co-developed-by: Mehdi Djait Signed-off-by: Mehdi Djait --- MAINTAINERS | 7 + drivers/gpu/drm/tiny/Kconfig| 20 + drivers/gpu/drm/tiny/Makefile | 1 + drivers/gpu/drm/tiny

[PATCH v2 1/2] dt-bindings: display: Add Sharp Memory LCD bindings

2024-07-26 Thread Alex Lanzano
Add device tree bindings for the monochrome Sharp Memory LCD Signed-off-by: Alex Lanzano Co-developed-by: Mehdi Djait Signed-off-by: Mehdi Djait --- .../bindings/display/sharp,ls010b7dh04.yaml | 94 +++ 1 file changed, 94 insertions(+) create mode 100644 Documentation

[PATCH v2 0/2] Add driver for Sharp Memory LCD

2024-07-26 Thread Alex Lanzano
/products/Displays/2016_SDE_App_Note_for_Memory_LCD_programming_V1.3.pdf Signed-off-by: Alex Lanzano Co-developed-by: Mehdi Djait Signed-off-by: Mehdi Djait --- Changes in v2: - Credited Mehdi Djait in commit messages - Renamed sharp,sharp-memory.yaml to sharp,ls010b7dh04.yaml - Using strings

Re: [PATCH 2/2] drm/tiny: Add driver for Sharp Memory LCD

2024-07-25 Thread Alex Lanzano
On Thu, Jul 25, 2024 at 08:08:57AM GMT, Krzysztof Kozlowski wrote: > On 25/07/2024 02:47, Alex Lanzano wrote: > > +static const struct spi_device_id sharp_memory_ids[] = { > > + {"ls010b7dh04", LS010B7DH04}, > > + {"ls011b7dh03", LS011B7D

Re: [PATCH 1/2] dt-bindings: display: Add Sharp Memory LCD bindings

2024-07-25 Thread Alex Lanzano
On Thu, Jul 25, 2024 at 08:18:44AM GMT, Krzysztof Kozlowski wrote: > On 25/07/2024 02:47, Alex Lanzano wrote: > > Add device tree bindings for the monochrome Sharp Memory LCD > > > > Signed-off-by: Alex Lanzano > > --- > > .../bindings/disp

Re: [PATCH 1/2] dt-bindings: display: Add Sharp Memory LCD bindings

2024-07-25 Thread Alex Lanzano
Thank you for the review! I will address these comments in V2 On Thu, Jul 25, 2024 at 08:17:01AM GMT, Krzysztof Kozlowski wrote: > On 25/07/2024 02:47, Alex Lanzano wrote: > > Add device tree bindings for the monochrome Sharp Memory LCD > > > > Signed

Re: [PATCH 0/2] Add driver for Sharp Memory LCD

2024-07-25 Thread Alex Lanzano
On Thu, Jul 25, 2024 at 07:45:32AM GMT, Thomas Petazzoni wrote: > Hello Alex, > > On Wed, 24 Jul 2024 20:47:01 -0400 > Alex Lanzano wrote: > > > This patch series add support for the monochrome Sharp Memory LCD > > panels. This series is based off of the work done

[PATCH 2/2] drm/tiny: Add driver for Sharp Memory LCD

2024-07-24 Thread Alex Lanzano
Add support for the monochrome Sharp Memory LCDs. Signed-off-by: Alex Lanzano --- MAINTAINERS | 8 + drivers/gpu/drm/tiny/Kconfig| 20 + drivers/gpu/drm/tiny/Makefile | 1 + drivers/gpu/drm/tiny/sharp-memory.c | 742 4

[PATCH 1/2] dt-bindings: display: Add Sharp Memory LCD bindings

2024-07-24 Thread Alex Lanzano
Add device tree bindings for the monochrome Sharp Memory LCD Signed-off-by: Alex Lanzano --- .../bindings/display/sharp,sharp-memory.yaml | 97 +++ include/dt-bindings/display/sharp-memory.h| 9 ++ 2 files changed, 106 insertions(+) create mode 100644 Documentation

[PATCH 0/2] Add driver for Sharp Memory LCD

2024-07-24 Thread Alex Lanzano
/products/Displays/2016_SDE_App_Note_for_Memory_LCD_programming_V1.3.pdf Alex Lanzano (2): dt-bindings: display: Add Sharp Memory LCD bindings drm/tiny: Add driver for Sharp Memory LCD .../bindings/display/sharp,sharp-memory.yaml | 97 +++ MAINTAINERS | 8