[PATCH v2 2/2] drm/panel: boe-th101mb31ig002: Modify Starry panel timing

2024-09-23 Thread Zhaoxiong Lv
uot; from 100ms to 120ms. The panel spec: 1. https://github.com/Vme5o/power-on-off-sequential Fixes: e4bd1db1c1f7 ("drm/panel: boe-th101mb31ig002: Support for starry-er88577 MIPI-DSI panel") Signed-off-by: Zhaoxiong Lv --- Changes between V2 and V1: - 1. Modify the commit messag

[PATCH v2 1/2] drm/panel: jd9365da: Modify Kingdisplay and Melfas panel timing

2024-09-23 Thread Zhaoxiong Lv
ec: https://github.com/chiohsin-lo/TDY-JD_LIB Fixes: 2b976ad760dc ("drm/panel: jd9365da: Support for kd101ne3-40ti MIPI-DSI panel") Fixes: c4ce398cf18a ("drm/panel: jd9365da: Support for Melfas lmfbx101117480 MIPI-DSI panel") Signed-off-by: Zhaoxiong Lv --- Changes betw

[PATCH v2 0/2] Modify the timing of three panels

2024-09-23 Thread Zhaoxiong Lv
backlight_off_to_display_off_delay_ms. -Modify the value of enter_sleep_to_reset_down_delay_ms. - Link to v1: https://lore.kernel.org/all/20240915080830.11318-1-lvzhaoxi...@huaqin.corp-partner.google.com/ Zhaoxiong Lv (2): drm/panel: jd9365da: Modify Kingdisplay and Melfas panel timing drm/panel

Re: [PATCH v1 2/2] drm/panel: boe-th101mb31ig002: Modify Starry panel timing

2024-09-23 Thread zhaoxiong lv
On Mon, Sep 23, 2024 at 8:07 PM Dmitry Baryshkov wrote: > > On Mon, Sep 23, 2024 at 05:22:20PM GMT, zhaoxiong lv wrote: > > On Mon, Sep 16, 2024 at 1:15 PM Dmitry Baryshkov > > wrote: > > > > > > Same comment as the one that I've provided to the other

Re: [PATCH v1 1/2] drm/panel: jd9365da: Modify Kingdisplay and Melfas panel timing

2024-09-23 Thread zhaoxiong lv
On Mon, Sep 23, 2024 at 8:05 PM Dmitry Baryshkov wrote: > > On Mon, Sep 23, 2024 at 05:22:11PM GMT, zhaoxiong lv wrote: > > On Mon, Sep 16, 2024 at 1:11 PM Dmitry Baryshkov > > wrote: > > > > > > On Sun, 15 Sept 2024 at 10:10, Zhaoxiong Lv > > >

Re: [PATCH v1 2/2] drm/panel: boe-th101mb31ig002: Modify Starry panel timing

2024-09-23 Thread zhaoxiong lv
On Mon, Sep 16, 2024 at 1:15 PM Dmitry Baryshkov wrote: > > Same comment as the one that I've provided to the other patch, plus: > > On Sun, 15 Sept 2024 at 10:11, Zhaoxiong Lv > wrote: > > > > In order to meet the timing, remove the delay between "back

Re: [PATCH v1 1/2] drm/panel: jd9365da: Modify Kingdisplay and Melfas panel timing

2024-09-23 Thread zhaoxiong lv
On Mon, Sep 16, 2024 at 1:11 PM Dmitry Baryshkov wrote: > > On Sun, 15 Sept 2024 at 10:10, Zhaoxiong Lv > wrote: > > > > In order to meet the timing, remove the delay between "backlight off" > > and "display off" > > > > Removing var

[PATCH v1 2/2] drm/panel: boe-th101mb31ig002: Modify Starry panel timing

2024-09-15 Thread Zhaoxiong Lv
In order to meet the timing, remove the delay between "backlight off" and "display off", and reduce the delay between "display_off" and "enter_sleep" Removing variables: display_off_to_enter_sleep_delay_ms Signed-off-by: Zhaoxiong Lv --- drivers/gpu/

[PATCH v1 1/2] drm/panel: jd9365da: Modify Kingdisplay and Melfas panel timing

2024-09-15 Thread Zhaoxiong Lv
In order to meet the timing, remove the delay between "backlight off" and "display off" Removing variables: display_off_to_enter_sleep_delay_ms Signed-off-by: Zhaoxiong Lv --- drivers/gpu/drm/panel/panel-jadard-jd9365da-h3.c | 6 -- 1 file changed, 6 deletions(-) diff

[PATCH v1 0/2] Modify the timing of three panels

2024-09-15 Thread Zhaoxiong Lv
Modify the power-off sequence of the Kingdisplay/Starry/Melfas panel. Zhaoxiong Lv (2): drm/panel: jd9365da: Modify Kingdisplay and Melfas panel timing drm/panel: boe-th101mb31ig002: Modify Starry panel timing drivers/gpu/drm/panel/panel-boe-th101mb31ig002-28a.c | 11 +-- drivers

[PATCH v3 0/2] Modify the method of sending "exit sleep

2024-08-07 Thread Zhaoxiong Lv
Link to v1: https://lore.kernel.org/all/20240725083245.12253-1-lvzhaoxi...@huaqin.corp-partner.google.com/ Zhaoxiong Lv (2): drm/panel: jd9365da: Move "exit sleep mode" and "set display on" cmds drm/panel: jd9365da: Modify the init code of Melfas .../gpu/drm/panel/panel-ja

[PATCH v3 1/2] drm/panel: jd9365da: Move "exit sleep mode" and "set display on" cmds

2024-08-07 Thread Zhaoxiong Lv
bles "exit_sleep_to_display_on_delay_ms" and "display_on_delay_ms". Reviewed-by: Douglas Anderson Signed-off-by: Zhaoxiong Lv --- Changes between V3 and V2: - 1. The code has not changed, Just modified the nit in the commit - information mentioned by Doug. v2: https:/

[PATCH v3 2/2] drm/panel: jd9365da: Modify the init code of Melfas

2024-08-07 Thread Zhaoxiong Lv
Modify the Melfas panel init code to satisfy the gamma value of 2.2 Acked-by: Jessica Zhang Signed-off-by: Zhaoxiong Lv --- Changes between V3 and V2: - 1. No changed. v2: https://lore.kernel.org/all/20240806034015.11884-3-lvzhaoxi...@huaqin.corp-partner.google.com/ Changes between V2 and V1

[PATCH v2 2/2] drm/panel: jd9365da: Modify the init code of Melfas

2024-08-05 Thread Zhaoxiong Lv
Modify the Melfas panel init code to satisfy the gamma value of 2.2 Acked-by: Jessica Zhang Signed-off-by: Zhaoxiong Lv --- Changes between V2 and V1: - 1. No changed. v1: https://lore.kernel.org/all/20240725083245.12253-3-lvzhaoxi...@huaqin.corp-partner.google.com/ --- .../gpu/drm/panel

[PATCH v2 1/2] drm/panel: jd9365da: Move the location of "exit sleep mode" and "set display on" commands

2024-08-05 Thread Zhaoxiong Lv
el and melfas_lmfbx101117480 panel, and it seems that there is no garbage on the panel, so we delete enable() function. After moving the "exit sleep mode" and "set display on" command to the init() function, we no longer need additional delay judgment, so we deletevariables "

[PATCH v2 0/2] Modify the method of sending "exit sleep

2024-08-05 Thread Zhaoxiong Lv
: - PATCH 1/2: Modify the commit message and subject. - PATCH 2/2: No changes. - Link to v1: https://lore.kernel.org/all/20240725083245.12253-1-lvzhaoxi...@huaqin.corp-partner.google.com/ Zhaoxiong Lv (2): drm/panel: jd9365da: Move the location of "exit sleep mode" and "set

Re: [PATCH v1 1/2] drm/panel: jd9365da: Move the sending location of the 11/29 command

2024-08-04 Thread zhaoxiong lv
Hi all Do you have any other suggestions for this patch? Looking forward to your reply, thank you BR On Tue, Jul 30, 2024 at 4:09 AM Dmitry Baryshkov wrote: > > On Mon, 29 Jul 2024 at 06:10, zhaoxiong lv > wrote: > > > > On Sun, Jul 28, 2024 at 12:59 AM Dmitry

Re: [PATCH v1 1/2] drm/panel: jd9365da: Move the sending location of the 11/29 command

2024-07-28 Thread zhaoxiong lv
On Sun, Jul 28, 2024 at 12:59 AM Dmitry Baryshkov wrote: > > On Thu, Jul 25, 2024 at 04:32:44PM GMT, Zhaoxiong Lv wrote: > > Move the 11/29 command from enable() to init() function > > > > As mentioned in the patch: > > https://lore.kernel.org/all/20240624141926.

Re: [PATCH v1 1/2] drm/panel: jd9365da: Move the sending location of the 11/29 command

2024-07-25 Thread zhaoxiong lv
On Thu, Jul 25, 2024 at 4:41 PM Jani Nikula wrote: > > On Thu, 25 Jul 2024, Zhaoxiong Lv > wrote: > > Move the 11/29 command from enable() to init() function > > OOC, what is the "11/29" command? > > BR, > Jani. hi Jani Sorry, maybe I didn't descri

[PATCH v1 1/2] drm/panel: jd9365da: Move the sending location of the 11/29 command

2024-07-25 Thread Zhaoxiong Lv
lay_on_delay_ms". Signed-off-by: Zhaoxiong Lv --- .../gpu/drm/panel/panel-jadard-jd9365da-h3.c | 59 ++- 1 file changed, 32 insertions(+), 27 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-jadard-jd9365da-h3.c b/drivers/gpu/drm/panel/panel-jadard-jd9365da-h3.

[PATCH v1 2/2] drm/panel: jd9365da: Modify the init code of Melfas

2024-07-25 Thread Zhaoxiong Lv
Modify the Melfas panel init code to satisfy the gamma value of 2.2 Signed-off-by: Zhaoxiong Lv --- .../gpu/drm/panel/panel-jadard-jd9365da-h3.c | 78 +-- 1 file changed, 39 insertions(+), 39 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-jadard-jd9365da-h3.c b/drivers

[PATCH v1 0/2] Modify the method of sending 11/29 commands

2024-07-25 Thread Zhaoxiong Lv
This 11/29 command needs to be sent in LP mode, so move 11/29 command to the init() function. Modify the Melfas panel init code to satisfy the gamma value of 2.2. Zhaoxiong Lv (2): drm/panel: jd9365da: Move the sending location of the 11/29 command drm/panel: jd9365da: Modify the init code

[PATCH v4 2/2] drm/panel: boe-th101mb31ig002 : using drm_connector_helper_get_modes_fixed()

2024-07-22 Thread Zhaoxiong Lv
Use public functions( drm_connector_helper_get_modes_fixed()) to get porch parameters. Signed-off-by: Zhaoxiong Lv --- Changes between V4 and V3: - 1.Modify the return value, return drm_connector_helper_get_modes_fixed(connector, desc_mode). v3: https://lore.kernel.org/all

[PATCH v4 1/2] drm/panel: boe-th101mb31ig002 : Fix the way to get porch parameters

2024-07-22 Thread Zhaoxiong Lv
The current driver can only obtain the porch parameters of boe-th101mb31ig002. Modify it to obtain the porch parameters of the panel currently being used. Reviewed-by: Douglas Anderson Signed-off-by: Zhaoxiong Lv --- Changes between V4 and V3: - 1. No changes. v3: https://lore.kernel.org/all

[PATCH v4 0/2] Modify the method of obtaining porch parameters

2024-07-22 Thread Zhaoxiong Lv
...@huaqin.corp-partner.google.com/ Zhaoxiong Lv (2): drm/panel: boe-th101mb31ig002 : Fix the way to get porch parameters drm/panel: boe-th101mb31ig002 : using drm_connector_helper_get_modes_fixed() .../drm/panel/panel-boe-th101mb31ig002-28a.c | 22 +++ 1 file changed, 3

[PATCH v3 2/2] drm/panel: boe-th101mb31ig002 : using drm_connector_helper_get_modes_fixed()

2024-07-22 Thread Zhaoxiong Lv
Use public functions( drm_connector_helper_get_modes_fixed()) to get porch parameters. Signed-off-by: Zhaoxiong Lv --- Changes between V3 and V2: - 1. Keep bpc settings and drm_connector_set_panel_orientation() function.. v2: https://lore.kernel.org/all/20240716121112.14435-3-lvzhaoxi

[PATCH v3 1/2] drm/panel: boe-th101mb31ig002 : Fix the way to get porch parameters

2024-07-22 Thread Zhaoxiong Lv
The current driver can only obtain the porch parameters of boe-th101mb31ig002. Modify it to obtain the porch parameters of the panel currently being used. Reviewed-by: Douglas Anderson Signed-off-by: Zhaoxiong Lv --- Changes between V3 and V2: - 1. No changes. v2: https://lore.kernel.org/all

[PATCH v3 0/2] Modify the method of obtaining porch parameters

2024-07-22 Thread Zhaoxiong Lv
drm_connector_helper_get_modes_fixed(). - Link to v1: https://lore.kernel.org/all/20240715031845.6687-1-lvzhaoxi...@huaqin.corp-partner.google.com/ Zhaoxiong Lv (2): drm/panel: boe-th101mb31ig002 : Fix the way to get porch parameters drm/panel: boe-th101mb31ig002 : using drm_connector_helper_get_modes_fixed

[PATCH v4 2/2] HID: i2c-hid: elan: Add elan-ekth6a12nay timing

2024-07-22 Thread Zhaoxiong Lv
Elan-ekth6a12nay requires reset to pull down time greater than 10ms, so the configuration post_power_delay_ms is 10, and the chipset initial time is required to be greater than 300ms, so the post_gpio_reset_on_delay_ms is set to 300. Reviewed-by: Douglas Anderson Signed-off-by: Zhaoxiong Lv

[PATCH v4 1/2] dt-bindings: HID: i2c-hid: elan: Introduce Elan ekth6a12nay

2024-07-22 Thread Zhaoxiong Lv
The Elan ekth6a12nay touch screen chip same as Elan eKTH6915 controller has a reset gpio. The difference is that they have different post_power_delay_ms. Acked-by: Rob Herring (Arm) Signed-off-by: Zhaoxiong Lv --- Changes between V4 and V3: - 1. Combine the 2 const into an enum. v3: https

[PATCH v4 0/2] Add Add elan-ekth6a12nay on the basis of elan-ekth6915

2024-07-22 Thread Zhaoxiong Lv
on top of v6.10. - PATCH 2/2: No changes. - Link to v1: https://lore.kernel.org/all/2024070408.11204-1-lvzhaoxi...@huaqin.corp-partner.google.com/ Zhaoxiong Lv (2): dt-bindings: HID: i2c-hid: elan: Introduce Elan ekth6a12nay HID: i2c-hid: elan: Add elan-ekth6a12nay timing .../devicetree/bind

[PATCH v2 2/2] drm/panel: boe-th101mb31ig002 : using drm_connector_helper_get_modes_fixed()

2024-07-16 Thread Zhaoxiong Lv
Use public functions(drm_connector_helper_get_modes_fixed()) to get porch parameters. Signed-off-by: Zhaoxiong Lv --- .../drm/panel/panel-boe-th101mb31ig002-28a.c | 26 ++- 1 file changed, 2 insertions(+), 24 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-boe

[PATCH v2 1/2] drm/panel: boe-th101mb31ig002 : Fix the way to get porch parameters

2024-07-16 Thread Zhaoxiong Lv
The current driver can only obtain the porch parameters of boe-th101mb31ig002. Modify it to obtain the porch parameters of the panel currently being used. Fixes: 24179ff9a2e4524 ("drm/panel: boe-th101mb31ig002 : Make it compatible with other panel.") Signed-off-by: Zhaoxiong Lv -

[PATCH v2 0/2] Modify the method of obtaining porch parameters

2024-07-16 Thread Zhaoxiong Lv
changes. - PATCH 2/2: Switch to the drm_connector_helper_get_modes_fixed(). - Link to v1: https://lore.kernel.org/all/20240715031845.6687-1-lvzhaoxi...@huaqin.corp-partner.google.com/ Zhaoxiong Lv (2): drm/panel: boe-th101mb31ig002 : Fix the way to get porch parameters drm/panel: boe

[PATCH v3 2/2] HID: i2c-hid: elan: Add elan-ekth6a12nay timing

2024-07-16 Thread Zhaoxiong Lv
Elan-ekth6a12nay requires reset to pull down time greater than 10ms, so the configuration post_power_delay_ms is 10, and the chipset initial time is required to be greater than 300ms, so the post_gpio_reset_on_delay_ms is set to 300. Reviewed-by: Douglas Anderson Signed-off-by: Zhaoxiong Lv

[PATCH v3 1/2] dt-bindings: HID: i2c-hid: elan: Introduce Elan ekth6a12nay

2024-07-16 Thread Zhaoxiong Lv
The Elan ekth6a12nay touch screen chip same as Elan eKTH6915 controller has a reset gpio. The difference is that they have different post_power_delay_ms. Signed-off-by: Zhaoxiong Lv --- Changes between V3 and V2: - 1. "ekth6915" isn't a fallback, modify it. v2: https://lore

[PATCH v3 0/2] Add Add elan-ekth6a12nay on the basis of elan-ekth6915

2024-07-16 Thread Zhaoxiong Lv
-partner.google.com/ Changes between V2 and V1: - PATCH 1/2: Respin the series on top of v6.10. - PATCH 2/2: No changes. - Link to v1: https://lore.kernel.org/all/2024070408.11204-1-lvzhaoxi...@huaqin.corp-partner.google.com/ Zhaoxiong Lv (2): dt-bindings: HID: i2c-hid: elan: Introduce Elan ekth6a12nay HID

[PATCH v2 2/2] HID: i2c-hid: elan: Add elan-ekth6a12nay timing

2024-07-15 Thread Zhaoxiong Lv
Elan-ekth6a12nay requires reset to pull down time greater than 10ms, so the configuration post_power_delay_ms is 10, and the chipset initial time is required to be greater than 300ms, so the post_gpio_reset_on_delay_ms is set to 300. Signed-off-by: Zhaoxiong Lv Reviewed-by: Douglas Anderson

[PATCH v2 1/2] dt-bindings: HID: i2c-hid: elan: Introduce Elan ekth6a12nay

2024-07-15 Thread Zhaoxiong Lv
The Elan ekth6a12nay touch screen chip same as Elan eKTH6915 controller has a reset gpio. The difference is that they have different post_power_delay_ms. Signed-off-by: Zhaoxiong Lv Acked-by: Conor Dooley --- Changes between V2 and V1: - 1. Respin the series on top of v6.10. v1: https

[PATCH v2 0/2] HID: i2c-hid: elan: Add elan-ekth6a12nay timing

2024-07-15 Thread Zhaoxiong Lv
top of v6.10. - PATCH 2/2: No changes. - Link to v1: https://lore.kernel.org/all/20240704072958.27876-1-lvzhaoxi...@huaqin.corp-partner.google.com/ Zhaoxiong Lv (2): dt-bindings: HID: i2c-hid: elan: Introduce Elan ekth6a12nay HID: i2c-hid: elan: Add elan-ekth6a12nay timing .../devicetree

[PATCH v1 1/1] drm/panel: boe-th101mb31ig002 : Fix the way to get porch parameters

2024-07-14 Thread Zhaoxiong Lv
The current driver can only obtain the porch parameters of boe-th101mb31ig002. Modify it to obtain the porch parameters of the panel currently being used. Fixes: 24179ff9a2e4524 ("drm/panel: boe-th101mb31ig002 : Make it compatible with other panel.") Signed-off-by: Zhaoxiong Lv --

[PATCH v1 0/1] Fix the way to get porch parameters

2024-07-14 Thread Zhaoxiong Lv
The current driver can only obtain the porch parameters of boe-th101mb31ig002. Modify it to obtain the porch parameters of the panel currently being used. Zhaoxiong Lv (1): drm/panel: boe-th101mb31ig002 : Fix the way to get porch parameters drivers/gpu/drm/panel/panel-boe-th101mb31ig002-28a.c

[PATCH v6 5/5] drm/panel: boe-th101mb31ig002: Support for starry-er88577 MIPI-DSI panel

2024-07-09 Thread Zhaoxiong Lv
The init_code of the starry-er88577 panel is very similar to the panel-boe-th101mb31ig002-28a.c driver, so we make it compatible with the panel-boe-th101mb31ig002-28a.c driver Signed-off-by: Zhaoxiong Lv Reviewed-by: Neil Armstrong --- Changes between V6 and V5: - 1. Add two lines of init_code

[PATCH v6 4/5] dt-bindings: display: panel: Add compatible for starry-er88577

2024-07-09 Thread Zhaoxiong Lv
e definition of "reset gpio" in binding, reset gpio was added in binding, but since the starry-er88577 panel did not use "reset gpio", a judgment was added here. Signed-off-by: Zhaoxiong Lv Acked-by: Conor Dooley --- Changes between V6 and V5: - 1. Modify the commit in

[PATCH v6 3/5] drm/panel: boe-th101mb31ig002: use wrapped MIPI DCS functions

2024-07-09 Thread Zhaoxiong Lv
Remove conditional code and always use mipi_dsi_dcs_*multi() wrappers to simplify driver's init/enable/exit code. Convert the hex in init_code from UPPERCASE to lowercase. Signed-off-by: Zhaoxiong Lv Reviewed-by: Neil Armstrong --- Changes between V6 and V5: - 1. No changes. v5:

[PATCH v6 2/5] drm/panel: boe-th101mb31ig002: switch to devm_gpiod_get_optional() for reset_gpio

2024-07-09 Thread Zhaoxiong Lv
Switch the driver to use devm_gpiod_get_optional() on reset_gpio to avoid driver probe issues when reset line is not specified. Signed-off-by: Zhaoxiong Lv --- Changes between V6 and V5: - 1. No changes. v5: https://lore.kernel.org/all/20240704072958.27876-3-lvzhaoxi...@huaqin.corp

[PATCH v6 1/5] drm/panel: boe-th101mb31ig002 : Make it compatible with other panel.

2024-07-09 Thread Zhaoxiong Lv
This driver currently only applies to one panel. Modify it to be compatible with other panels. Signed-off-by: Zhaoxiong Lv --- Changes between V6 and V5: - 1. Corrected the use of "->init" in struct panel_desc, - 2. Modify indentation in "boe_th101mb31ig002_of_m

[PATCH v6 0/5] Support Starry er88577 MIPI-DSI panel

2024-07-09 Thread Zhaoxiong Lv
configuration in panel-kingdisplay-kd101ne3 driver. - Link to v1: https://lore.kernel.org/all/20240418081548.12160-1-lvzhaoxi...@huaqin.corp-partner.google.com/ Zhaoxiong Lv (5): drm/panel: boe-th101mb31ig002 : Make it compatible with other panel. drm/panel: boe-th101mb31ig002: switch to d

[PATCH v1 2/2] HID: i2c-hid: elan: Add elan-ekth6a12nay timing

2024-07-04 Thread Zhaoxiong Lv
Elan-ekth6a12nay requires reset to pull down time greater than 10ms, so the configuration post_power_delay_ms is 10, and the chipset initial time is required to be greater than 300ms, so the post_gpio_reset_on_delay_ms is set to 300. Signed-off-by: Zhaoxiong Lv --- drivers/hid/i2c-hid/i2c-hid

[PATCH v1 1/2] dt-bindings: HID: i2c-hid: elan: Introduce Elan ekth6a12nay

2024-07-04 Thread Zhaoxiong Lv
The Elan ekth6a12nay touch screen chip same as Elan eKTH6915 controller has a reset gpio. The difference is that they have different post_power_delay_ms. Signed-off-by: Zhaoxiong Lv --- Documentation/devicetree/bindings/input/elan,ekth6915.yaml | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v1 0/2] HID: i2c-hid: elan: Add elan-ekth6a12nay timing

2024-07-04 Thread Zhaoxiong Lv
Elan-ekth6a12nay requires reset to pull down time greater than 10ms, so the configuration post_power_delay_ms is 10, and the chipset initial time is required to be greater than 300ms, so the post_gpio_reset_on_delay_ms is set to 300. Zhaoxiong Lv (2): dt-bindings: HID: i2c-hid: elan: Introduce

[PATCH v5 5/5] drm/panel: :boe-th101mb31ig002: Support for starry-er88577 MIPI-DSI panel

2024-07-04 Thread Zhaoxiong Lv
The init_code of the starry-er88577 panel is very similar to the panel-boe-th101mb31ig002-28a.c driver, so we make it compatible with the panel-boe-th101mb31ig002-28a.c driver Signed-off-by: Zhaoxiong Lv --- Changes between V5 and V4: - 1. Compatible with starry-er88577 panel in panel-boe

[PATCH v5 4/5] dt-bindings: display: panel: Add compatible for starry-er88577

2024-07-04 Thread Zhaoxiong Lv
The starry-er88577 is a 10.1" WXGA TFT-LCD panel. Hence, we add a new compatible with panel specific config. Signed-off-by: Zhaoxiong Lv --- Changes between V5 and V4: - 1. We are compatible with starry-er88577 panels in the boe-th101mb31ig002 - driver, so add it to the "boe,th10

[PATCH v5 3/5] drm/panel: boe-th101mb31ig002: use wrapped MIPI DCS functions

2024-07-04 Thread Zhaoxiong Lv
Remove conditional code and always use mipi_dsi_dcs_*multi() wrappers to simplify driver's init/enable/exit code. Convert the hex in init_code from UPPERCASE to lowercase. Signed-off-by: Zhaoxiong Lv --- .../drm/panel/panel-boe-th101mb31ig002-28a.c | 143 -- 1 file change

[PATCH v5 2/5] drm/panel: boe-th101mb31ig002: switch to devm_gpiod_get_optional() for reset_gpio

2024-07-04 Thread Zhaoxiong Lv
Switch the driver to use devm_gpiod_get_optional() on reset_gpio to avoid driver probe issues when reset line is not specified. Signed-off-by: Zhaoxiong Lv --- drivers/gpu/drm/panel/panel-boe-th101mb31ig002-28a.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu

[PATCH v5 1/5] drm/panel: boe-th101mb31ig002 : Make it compatible with other panel.

2024-07-04 Thread Zhaoxiong Lv
This driver currently only applies to one panel. Modify it to be compatible with other panels. Signed-off-by: Zhaoxiong Lv --- .../drm/panel/panel-boe-th101mb31ig002-28a.c | 40 +++ 1 file changed, 33 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-boe

[PATCH v5 0/5] Support Starry er88577 MIPI-DSI panel

2024-07-04 Thread Zhaoxiong Lv
nction, deleted some unnecessary functions. - PATCH 3/4: Add compatible for Starry-er88577. - PATCH 4/4: Add starry panel configuration in panel-kingdisplay-kd101ne3 driver. - Link to v1: https://lore.kernel.org/all/20240418081548.12160-1-lvzhaoxi...@huaqin.corp-partner.google.com/ Zhaoxiong

Re: [PATCH v4 2/2] drm/panel: starry-er88577: add new panel driver

2024-06-30 Thread zhaoxiong lv
On Fri, Jun 21, 2024 at 9:43 AM zhaoxiong lv wrote: > > On Fri, Jun 21, 2024 at 3:56 AM Dmitry Baryshkov > wrote: > > > > On Thu, Jun 20, 2024 at 07:52:45PM GMT, Zhaoxiong Lv wrote: > > > The bias IC of this starry-er88577 panel is placed > > > on the pane

[PATCH v6 5/5] drm/panel: jd9365da: Add the function of adjusting orientation

2024-06-28 Thread Zhaoxiong Lv
This driver does not have the function to adjust the orientation, so this function is added. Signed-off-by: Zhaoxiong Lv Reviewed-by: Douglas Anderson Reviewed-by: Jessica Zhang --- Changes between V6 and V5: - 1. No changes. V5: https://lore.kernel.org/all/20240624141926.5250-6-lvzhaoxi

[PATCH v6 4/5] drm/panel: jd9365da: Support for kd101ne3-40ti MIPI-DSI panel

2024-06-28 Thread Zhaoxiong Lv
ming will be slightly different, so we added some variables in struct jadard_panel_desc to control the timing. Signed-off-by: Zhaoxiong Lv Reviewed-by: Douglas Anderson Acked-by: Jessica Zhang --- Changes between V6 and V5: - 1. No changes. V5:https://lore.kernel.org/all/20240624141926.5250-5

[PATCH v6 3/5] drm/panel: panel-jadard-jd9365da-h3: use wrapped MIPI DCS functions

2024-06-28 Thread Zhaoxiong Lv
Remove conditional code and always use mipi_dsi_dcs_*multi() wrappers to simplify driver's init/enable/exit code. Signed-off-by: Zhaoxiong Lv Reviewed-by: Dmitry Baryshkov Reviewed-by: Douglas Anderson Reviewed-by: Jessica Zhang --- Changes between V6 and V5: - 1. Convert the hex in init

[PATCH v6 2/5] dt-bindings: display: panel: Add compatible for kingdisplay-kd101ne3

2024-06-28 Thread Zhaoxiong Lv
The kingdisplay-kd101ne3 is a 10.1" WXGA TFT-LCD panel with jadard-jd9365da controller. Hence, we add a new compatible with panel specific config. Signed-off-by: Zhaoxiong Lv Acked-by: Conor Dooley --- Changes between V6 and V5: - 1. No changes. V5:https://lore.kernel.or

[PATCH v6 1/5] drm/panel: jd9365da: Modify the method of sending commands

2024-06-28 Thread Zhaoxiong Lv
, The prepare() function can directly send init_code (LP->cmd) in LP mode, but the enable() function is in HS mode and needs to switch to LP mode before sending init code (HS->LP->cmd->HS). Therefore, it takes longer to send the command. Signed-off-by: Zhaoxiong Lv Reviewed-by: Doug

[PATCH v6 0/5] Add kd101ne3-40ti configuration in driver jd9365da

2024-06-28 Thread Zhaoxiong Lv
H 3/4: Add compatible for Starry-er88577. - PATCH 4/4: Add starry panel configuration in panel-kingdisplay-kd101ne3 driver. - Link to v1: https://lore.kernel.org/all/20240418081548.12160-1-lvzhaoxi...@huaqin.corp-partner.google.com/ Zhaoxiong Lv (5): drm/panel: jd9365da: Modify the method of sendin

Re: [PATCH v5 1/5] drm/panel: jd9365da: Modify the method of sending commands

2024-06-26 Thread zhaoxiong lv
On Wed, Jun 26, 2024 at 1:49 AM Jessica Zhang wrote: > > > > On 6/25/2024 5:13 AM, zhaoxiong lv wrote: > > On Tue, Jun 25, 2024 at 7:41 AM Jessica Zhang > > wrote: > >> > >> > >> > >> On 6/24/2024 7:19 AM, Zhaoxiong Lv wrote: >

Re: [PATCH v5 1/5] drm/panel: jd9365da: Modify the method of sending commands

2024-06-25 Thread zhaoxiong lv
On Tue, Jun 25, 2024 at 7:41 AM Jessica Zhang wrote: > > > > On 6/24/2024 7:19 AM, Zhaoxiong Lv wrote: > > Currently, the init_code of the jd9365da driver is placed > > in the enable() function and sent, but this seems to take > > a long time. It takes 17ms to

[PATCH v5 5/5] drm/panel: jd9365da: Add the function of adjusting orientation

2024-06-24 Thread Zhaoxiong Lv
This driver does not have the function to adjust the orientation, so this function is added. Signed-off-by: Zhaoxiong Lv --- Changes between V5 and V4: - 1. Change dev_err() to dev_err_probe(). V4:https://lore.kernel.org/all/20240620080509.18504-5-lvzhaoxi...@huaqin.corp-partner.google.com

[PATCH v5 4/5] drm/panel: jd9365da: Support for kd101ne3-40ti MIPI-DSI panel

2024-06-24 Thread Zhaoxiong Lv
ming will be slightly different, so we added some variables in struct jadard_panel_desc to control the timing. Signed-off-by: Zhaoxiong Lv --- Changes between V5 and V4: - 1. Add a "_ms" suffix to the variables. - 2. Use more "_multi" in the enable/disable function - 3. Use

[PATCH v5 3/5] drm/panel: panel-jadard-jd9365da-h3: use wrapped MIPI DCS functions

2024-06-24 Thread Zhaoxiong Lv
Remove conditional code and always use mipi_dsi_dcs_*multi() wrappers to simplify driver's init/enable/exit code. Signed-off-by: Zhaoxiong Lv --- .../gpu/drm/panel/panel-jadard-jd9365da-h3.c | 793 +- 1 file changed, 390 insertions(+), 403 deletions(-) diff --git a/driver

[PATCH v5 2/5] dt-bindings: display: panel: Add compatible for kingdisplay-kd101ne3

2024-06-24 Thread Zhaoxiong Lv
The kingdisplay-kd101ne3 is a 10.1" WXGA TFT-LCD panel with jadard-jd9365da controller. Hence, we add a new compatible with panel specific config. Signed-off-by: Zhaoxiong Lv Acked-by: Conor Dooley --- Changes between V5 and V4: - 1. No changes. V4:https://lore.kernel.or

[PATCH v5 1/5] drm/panel: jd9365da: Modify the method of sending commands

2024-06-24 Thread Zhaoxiong Lv
, The prepare() function can directly send init_code (LP->cmd) in LP mode, but the enable() function is in HS mode and needs to switch to LP mode before sending init code (HS->LP->cmd->HS). Therefore, it takes longer to send the command. Signed-off-by: Zhaoxiong Lv --- Changes between V5

[PATCH v5 0/5] Add kd101ne3-40ti configuration in driver jd9365da

2024-06-24 Thread Zhaoxiong Lv
H 3/4: Add compatible for Starry-er88577. - PATCH 4/4: Add starry panel configuration in panel-kingdisplay-kd101ne3 driver. - Link to v1: https://lore.kernel.org/all/20240418081548.12160-1-lvzhaoxi...@huaqin.corp-partner.google.com/ Zhaoxiong Lv (5): drm/panel: jd9365da: Modify the method of

Re: [PATCH v4 2/2] drm/panel: starry-er88577: add new panel driver

2024-06-20 Thread zhaoxiong lv
On Fri, Jun 21, 2024 at 3:56 AM Dmitry Baryshkov wrote: > > On Thu, Jun 20, 2024 at 07:52:45PM GMT, Zhaoxiong Lv wrote: > > The bias IC of this starry-er88577 panel is placed > > on the panel side, so when the panel is powered on, > > there is no need to control AVD

[PATCH v4 2/2] drm/panel: starry-er88577: add new panel driver

2024-06-20 Thread Zhaoxiong Lv
The bias IC of this starry-er88577 panel is placed on the panel side, so when the panel is powered on, there is no need to control AVDD and AVEE in the driver, only 3.3v and reset are needed. Signed-off-by: Zhaoxiong Lv --- Chage since V3: - 1. Adjust the ".clock" assignment format.

[PATCH v4 1/2] dt-bindings: display: panel-simple-dsi: add Starry-er88577 DSI panel bindings

2024-06-20 Thread Zhaoxiong Lv
This add the bindings for the 1280x800 TFT LCD Starry-er88577 DSI panel to panel-simple-dsi. Signed-off-by: Zhaoxiong Lv --- Changes between V4 and V3: - 1. Move positions to keep the list sorted. v3: https://lore.kernel.org/all/20240614145609.25432-2-lvzhaoxi...@huaqin.corp

[PATCH v4 0/2] Support Starry er88577 MIPI-DSI panel

2024-06-20 Thread Zhaoxiong Lv
ulti() function, deleted some unnecessary functions. - PATCH 3/4: Add compatible for Starry-er88577. - PATCH 4/4: Add starry panel configuration in panel-kingdisplay-kd101ne3 driver. - Link to v1: https://lore.kernel.org/all/20240418081548.12160-1-lvzhaoxi...@huaqin.corp-partner.google.com/ Zhaoxio

Re: [PATCH v3 2/2] drm/panel: starry-er88577: add new panel driver

2024-06-20 Thread zhaoxiong lv
PM GMT, Zhaoxiong Lv wrote: > > The bias IC of this starry-er88577 panel is placed > > on the panel side, so when the panel is powered on, > > there is no need to control AVDD and AVEE in the driver, > > only 3.3v and reset are needed. > > > > Signed-off-by: Zhaoxi

[PATCH v4 4/4] drm/panel: jd9365da: Add the function of adjusting orientation

2024-06-20 Thread Zhaoxiong Lv
This driver does not have the function to adjust the orientation, so this function is added. Signed-off-by: Zhaoxiong Lv --- Changes between V4 and V3: - No changes. --- drivers/gpu/drm/panel/panel-jadard-jd9365da-h3.c | 16 +++- 1 file changed, 15 insertions(+), 1 deletion

[PATCH v4 3/4] drm/panel: jd9365da: Support for kd101ne3-40ti MIPI-DSI panel.

2024-06-20 Thread Zhaoxiong Lv
ming will be slightly different, so we added some variables in struct jadard_panel_desc to control the timing Signed-off-by: Zhaoxiong Lv --- Changes between V4 and V3: - 1. Use mipi_dsi_msleep. - 2. Adjust the ".clock" assignment format. - 3. Adjust "compatible" positions

[PATCH v4 2/4] dt-bindings: display: panel: Add compatible for kingdisplay-kd101ne3

2024-06-20 Thread Zhaoxiong Lv
The kingdisplay-kd101ne3 is a 10.1" WXGA TFT-LCD panel with jadard-jd9365da controller. Hence, we add a new compatible with panel specific config. Signed-off-by: Zhaoxiong Lv --- Changes between V4 and V3: - 1. Move positions to keep the list sorted. V2:https://lore.kernel.or

[PATCH v4 1/4] drm/panel: jd9365da: Modify the method of sending commands

2024-06-20 Thread Zhaoxiong Lv
, The prepare() function can directly send init_code (LP->cmd) in LP mode, but the enable() function is in HS mode and needs to switch to LP mode before sending init code (HS->LP->cmd->HS). Therefore, it takes longer to send the command. Signed-off-by: Zhaoxiong Lv --- Changes between V4

[PATCH v4 0/4] Add kd101ne3-40ti configuration in driver jd9365da

2024-06-20 Thread Zhaoxiong Lv
nction, deleted some unnecessary functions. - PATCH 3/4: Add compatible for Starry-er88577. - PATCH 4/4: Add starry panel configuration in panel-kingdisplay-kd101ne3 driver. - Link to v1: https://lore.kernel.org/all/20240418081548.12160-1-lvzhaoxi...@huaqin.corp-partner.google.com/ Zhaoxiong

[PATCH v3 0/2] Support Starry er88577 MIPI-DSI panel

2024-06-14 Thread Zhaoxiong Lv
.corp-partner.google.com/ Zhaoxiong Lv (2): dt-bindings: display: panel-simple-dsi: add Starry-er88577 DSI panel bindings drm/panel: starry-er88577: add new panel driver .../display/panel/panel-simple-dsi.yaml | 2 + drivers/gpu/drm/panel/Kconfig | 9 + drivers/gpu/drm/

[PATCH v3 3/4] drm/panel: jd9365da: Support for kd101ne3-40ti MIPI-DSI panel.

2024-06-14 Thread Zhaoxiong Lv
ming will be slightly different, so we added some variables in struct jadard_panel_desc to control the timing Signed-off-by: Zhaoxiong Lv --- Chage since V3: - 1. Give up creating a new driver and re-add K&d kd101ne3-40ti - configuration to the panel-jadard-jd9365da-h3.c driv

[PATCH v3 4/4] drm/panel: jd9365da: Add the function of adjusting orientation

2024-06-14 Thread Zhaoxiong Lv
This driver does not have the function to adjust the orientation, so this function is added. Signed-off-by: Zhaoxiong Lv --- drivers/gpu/drm/panel/panel-jadard-jd9365da-h3.c | 16 +++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/panel/panel-jadard

[PATCH v3 2/2] drm/panel: starry-er88577: add new panel driver

2024-06-14 Thread Zhaoxiong Lv
The bias IC of this starry-er88577 panel is placed on the panel side, so when the panel is powered on, there is no need to control AVDD and AVEE in the driver, only 3.3v and reset are needed. Signed-off-by: Zhaoxiong Lv --- Chage since V3: - Separate Starry-er88577 from the panel-kingdisplay

[PATCH v3 1/2] dt-bindings: display: panel-simple-dsi: add Starry-er88577 DSI panel bindings

2024-06-14 Thread Zhaoxiong Lv
This add the bindings for the 1280x800 TFT LCD Starry-er88577 DSI panel to panel-simple-dsi. Signed-off-by: Zhaoxiong Lv --- Chage since V3: - Separate the Starry bindings from kingdisplay, and add it to panel-simple-dsi.yaml v2: https://lore.kernel.org/all/20240601084528.22502-4-lvzhaoxi

[PATCH v3 2/4] dt-bindings: display: panel: Add compatible for kingdisplay-kd101ne3

2024-06-14 Thread Zhaoxiong Lv
The kingdisplay-kd101ne3 is a 10.1" WXGA TFT-LCD panel with jadard-jd9365da controller. Hence, we add a new compatible with panel specific config. Signed-off-by: Zhaoxiong Lv --- Chage since V3: - 1. Abandon the V2 patch and add kingdisplay kd101ne3-40ti binding to -jadard,jd9365da-h3

[PATCH v3 0/4] Add kd101ne3-40ti configuration in driver jd9365da

2024-06-14 Thread Zhaoxiong Lv
-partner.google.com/ Zhaoxiong Lv (4): drm/panel: jd9365da: Modify the method of sending commands dt-bindings: display: panel: Add compatible for kingdisplay-kd101ne3 drm/panel: jd9365da: Support for kd101ne3-40ti MIPI-DSI panel. drm/panel: jd9365da: Add the function of adjusting orientation

[PATCH v3 1/4] drm/panel: jd9365da: Modify the method of sending commands

2024-06-14 Thread Zhaoxiong Lv
inti_code to the prepare() function, and each instruction seemed to take only 25μs. Signed-off-by: Zhaoxiong Lv --- .../gpu/drm/panel/panel-jadard-jd9365da-h3.c | 781 +- 1 file changed, 393 insertions(+), 388 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-jadard-jd9365da

Re: [PATCH v2 2/4] drm/panel: kd101ne3: add new panel driver

2024-06-12 Thread zhaoxiong lv
On Wed, Jun 12, 2024 at 7:35 PM zhaoxiong lv wrote: > > On Fri, Jun 7, 2024 at 8:41 PM Alex Bee wrote: > > > > > > Am 07.06.24 um 14:01 schrieb Dmitry Baryshkov: > > > On Fri, Jun 07, 2024 at 07:44:33PM +0800, zhaoxiong lv wrote: > > >> hi Alex B

Re: [PATCH v2 2/4] drm/panel: kd101ne3: add new panel driver

2024-06-12 Thread zhaoxiong lv
On Fri, Jun 7, 2024 at 8:41 PM Alex Bee wrote: > > > Am 07.06.24 um 14:01 schrieb Dmitry Baryshkov: > > On Fri, Jun 07, 2024 at 07:44:33PM +0800, zhaoxiong lv wrote: > >> hi Alex Bee > >> > >> I compared these two drivers. Although the control IC is the

Re: [PATCH v2 4/4] drm/panel: starry: add new panel driver

2024-06-07 Thread zhaoxiong lv
: > > On Sat, Jun 01, 2024 at 04:45:28PM +0800, Zhaoxiong Lv wrote: > > This Starry panel has the same timing as the Kingdisplay panel, > > so add starry configuration in the Kingdisplay driver. > > Do these two panels share the same driver IC? Programming sequences do > n

Re: [PATCH v2 2/4] drm/panel: kd101ne3: add new panel driver

2024-06-07 Thread zhaoxiong lv
hi Alex Bee I compared these two drivers. Although the control IC is the same, the panel is different, and the init_cmd and timing are also slightly different, so I added a separate driver. thanks On Sun, Jun 2, 2024 at 1:07 PM Alex Bee wrote: > > Am 01.06.24 um 10:45 schrieb Zhaoxi

Re: [PATCH v2 1/4] dt-bindings: display: panel: Add KD101NE3-40TI support

2024-06-07 Thread zhaoxiong lv
hi Dmitry Baryshkov Because this is a separate mipi dsi driver, I did not put it in panel-sample-dsi.yaml. On Sun, Jun 2, 2024 at 12:28 AM Dmitry Baryshkov wrote: > > On Sat, Jun 01, 2024 at 04:45:25PM +0800, Zhaoxiong Lv wrote: > > Create a new dt-scheam for the kd101ne3-40ti. >

[PATCH v2 4/4] drm/panel: starry: add new panel driver

2024-06-01 Thread Zhaoxiong Lv
This Starry panel has the same timing as the Kingdisplay panel, so add starry configuration in the Kingdisplay driver. Signed-off-by: Zhaoxiong Lv --- Chage since V2: - Add compatible for Starry er88577 in panel-kingdisplay-kd101ne3 drivers. --- .../drm/panel/panel-kingdisplay-kd101ne3.c

[PATCH v2 3/4] dt-bindings: display: panel: Add compatible for Starry-er88577

2024-06-01 Thread Zhaoxiong Lv
The Starry-er88577 is a 10.1" WXGA TFT-LCD panel, which fits in nicely with the existing panel-kingdisplay-kd101ne3 driver. Hence, we add a new compatible with panel specific config. Signed-off-by: Zhaoxiong Lv --- Chage since V2: - Add compatible for Starry er88577 in Kingdisplay kd101n

[PATCH v2 2/4] drm/panel: kd101ne3: add new panel driver

2024-06-01 Thread Zhaoxiong Lv
The bias IC of this kindisplay-kd101ne3 panel is placed on the panel side, so when the panel is powered on, there is no need to control AVDD and AVEE in the driver, only 3.3v and reset are needed. Signed-off-by: Zhaoxiong Lv --- Chage since V2: - 1. Use the new mipi_dsi_dcs_write_seq_multi

[PATCH v2 1/4] dt-bindings: display: panel: Add KD101NE3-40TI support

2024-06-01 Thread Zhaoxiong Lv
Create a new dt-scheam for the kd101ne3-40ti. The bias IC of this kindisplay-kd101ne3 panel is placed on the panel side, so when the panel is powered on, there is no need to control AVDD and AVEE in the driver. Signed-off-by: Zhaoxiong Lv --- Chage since V2: - Drop some properties that have

[PATCH v2 0/4] Support Kingdisplay kd101ne3 and Starry er88577 MIPI-DSI panel

2024-06-01 Thread Zhaoxiong Lv
.corp-partner.google.com/ Zhaoxiong Lv (4): dt-bindings: display: panel: Add KD101NE3-40TI support drm/panel: kd101ne3: add new panel driver dt-bindings: display: panel: Add compatible for Starry-er88577 drm/panel: starry: add new panel driver .../panel/kingdisplay,kd101ne3-40ti.yaml

  1   2   >