[PATCH] drm/panel: Modify innolux hj110iz panel inital code

2023-05-06 Thread Cong Yang
Optimize flickering problem and power off sequence GOP timing at sleep in mode. When display sleep in raise the potential of all GOP signals to VGHO and then lower to GND. Signed-off-by: Cong Yang --- .../gpu/drm/panel/panel-boe-tv101wum-nl6.c| 391 +++--- 1 file changed, 232

[PATCH] drm/panel: Modify innolux hj110iz panel inital code

2023-05-06 Thread Cong Yang
Optimize flickering problem and power off sequence GOP timing at sleep in mode. When display sleep in raise the potential of all GOP signals to VGHO and then lower to GND. Signed-off-by: Cong Yang --- .../gpu/drm/panel/panel-boe-tv101wum-nl6.c| 397 +++--- 1 file changed, 235

[PATCH] drm/panel: Fine tune Starry-ili9882t panel HFP and HBP

2023-06-26 Thread Cong Yang
Because the setting of hproch is too small, there will be warning in kernel log[1]. After fine tune the HFP and HBP, this warning can be solved. The actual measurement frame rate is 60.1Hz. [1]: WARNING kernel:[drm] HFP + HBP less than d-phy, FPS will under 60Hz Signed-off-by: Cong Yang

[v2] drm/panel: Fine tune Starry-ili9882t panel HFP and HBP

2023-06-26 Thread Cong Yang
panel: Support for Starry-ili9882t TDDI MIPI-DSI panel") Signed-off-by: Cong Yang Reviewed-by: Neil Armstrong --- v2: - Update commit add Fixes tag --- drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/p

Re: [v2] drm/panel: Fine tune Starry-ili9882t panel HFP and HBP

2023-06-27 Thread cong yang
Hi, Doug On Wed, Jun 28, 2023 at 5:17 AM Doug Anderson wrote: > > Hi, > > On Mon, Jun 26, 2023 at 10:01 PM Cong Yang > wrote: > > > > Because the setting of hproch is too small, there will be warning in > > kernel log[1]. After fine tune the HFP and HBP, th

Re: [PATCH] drm/panel: Modify innolux hj110iz panel inital code

2023-05-08 Thread cong yang
, 2023 at 10:28 PM Doug Anderson wrote: > Hi, > > On Sat, May 6, 2023 at 2:32 AM Cong Yang > wrote: > > > > Optimize flickering problem and power off sequence GOP timing at sleep > in mode. > > When display sleep in raise the potential of all GOP signals to

[v2] drm/panel: Modify innolux hj110iz panel inital code

2023-05-08 Thread Cong Yang
GOP signals to VGHO and then drop to GND. b)Increased the Vertical back Porch and Vertical pulse width, so need to update vsync_end and vtotal and CLK in drm_display_mode. Signed-off-by: Cong Yang --- v2: Modify commit message .../gpu/drm/panel/panel-boe-tv101wum-nl6.c| 397

[PATCH] drm/panel: Support for Starry-himax83102-j02 TDDI MIPI-DSI panel

2023-05-18 Thread Cong Yang
b.com/HimaxSoftware/Doc/tree/main/Himax_Chipset_Power_Sequence Signed-off-by: Cong Yang --- .../gpu/drm/panel/panel-boe-tv101wum-nl6.c| 103 +- 1 file changed, 102 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c b/drivers/gpu/drm/panel/pane

[v1 0/2] *** Support Starry-himax83102-j02 and Starry-ili9882t TDDI MIPI-DSI panel ***

2023-05-19 Thread Cong Yang
The previous patch is not based on drm-misc-next, resend this series. Support Starry-himax83102-j02 and Starry-ili9882t TDDI MIPI-DSI panel, set the default high for RST at boe_panel_add and add lp11_before_reset flag. Cong Yang (2): drm/panel: Support for Starry-himax83102-j02 TDDI MIPI-DSI

[v1 1/2] drm/panel: Support for Starry-himax83102-j02 TDDI MIPI-DSI panel

2023-05-19 Thread Cong Yang
LP11 state before the lcm_reset pin is pulled high,So increase lp11_before_reset flag. [1]: https://github.com/HimaxSoftware/Doc/tree/main/Himax_Chipset_Power_Sequence Signed-off-by: Cong Yang --- .../gpu/drm/panel/panel-boe-tv101wum-nl6.c| 103 +- 1 file changed, 102 inser

[v1 2/2] drm/panel: Support for Starry-ili9882t TDDI MIPI-DSI panel

2023-05-19 Thread Cong Yang
The Starry-ili9882 panel also is a TDDI IC. From the datasheet,panel need the RST signal is high when touch communicate and also MIPI needs to keep the LP11 state before the lcm_reset pin is pulled high. So add enable_gpio_init_value and lp11_before_reset flag. Signed-off-by: Cong Yang

Re: [v1 2/2] drm/panel: Support for Starry-ili9882t TDDI MIPI-DSI panel

2023-05-19 Thread cong yang
nly when the RST state is high touch HID can ready. On Fri, May 19, 2023 at 4:02 PM Cong Yang < yangco...@huaqin.corp-partner.google.com> wrote: > The Starry-ili9882 panel also is a TDDI IC. From the datasheet,panel > need the RST signal is high when touch communicate and also MIPI need

Re: [PATCH] drm/panel: Support for Starry-himax83102-j02 TDDI MIPI-DSI panel

2023-05-22 Thread cong yang
May 22, 2023 at 5:13 PM wrote: > Hi, > > On 19/05/2023 05:23, Cong Yang wrote: > > The Starry-himax83102-j02 panel is a TDDI IC. From the datasheet[1], > > it seems that the touch can communicate successfully only when the RST > > signal is high. Since i2c_hid_core_probe com

[v2 0/4] Support Starry-himax83102-j02 and Starry-ili9882t TDDI MIPI-DSI panel

2023-05-24 Thread Cong Yang
Compare V1:Add compatible for Starry himax83102-j02 and Starry-ili9882t in dt-bindings. Cong Yang (4): drm/panel: Support for Starry-himax83102-j02 TDDI MIPI-DSI panel dt-bindings: display: panel: Add compatible for Starry himax83102-j02 drm/panel: Support for Starry-ili9882t TDDI MIPI-DSI

[v2 1/4] drm/panel: Support for Starry-himax83102-j02 TDDI MIPI-DSI panel

2023-05-24 Thread Cong Yang
tware/Doc/tree/main/Himax_Chipset_Power_Sequence Signed-off-by: Cong Yang --- .../gpu/drm/panel/panel-boe-tv101wum-nl6.c| 100 ++ 1 file changed, 100 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c b/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c

[v2 2/4] dt-bindings: display: panel: Add compatible for Starry himax83102-j02

2023-05-24 Thread Cong Yang
The STARRY himax83102-j02 is a 10.51" WUXGA TFT LCD panel, which fits in nicely with the existing panel-boe-tv101wum-nl6 driver. Hence, we add a new compatible with panel specific config. Signed-off-by: Cong Yang --- .../devicetree/bindings/display/panel/boe,tv101wum-nl6.yaml | 2 ++ 1

[v2 3/4] drm/panel: Support for Starry-ili9882t TDDI MIPI-DSI panel

2023-05-24 Thread Cong Yang
The Starry-ili9882 is a 10.51" WUXGA TFT panel. which fits in nicely with the existing panel-boe-tv101wum-nl6 driver. From the datasheet,MIPI need to keep the LP11 state before the lcm_reset pin is pulled high. So add lp11_before_reset flag. Signed-off-by: Cong Yang --- .../gpu/drm/panel/

[v2 4/4] dt-bindings: display: panel: Add compatible for Starry ili9882t

2023-05-24 Thread Cong Yang
The STARRY ili9882t is a 10.51" WUXGA TFT LCD panel, which fits in nicely with the existing panel-boe-tv101wum-nl6 driver. Hence, we add a new compatible with panel specific config. Signed-off-by: Cong Yang --- .../devicetree/bindings/display/panel/boe,tv101wum-nl6.yaml | 2 ++ 1

[v3 0/4] Support Starry-himax83102-j02 and Starry-ili9882t TDDI MIPI-DSI panel

2023-05-24 Thread Cong Yang
Compare V2: order of the tables match the order they're referenced. Cong Yang (4): dt-bindings: display: panel: Add compatible for Starry himax83102-j02 drm/panel: Support for Starry-himax83102-j02 TDDI MIPI-DSI panel dt-bindings: display: panel: Add compatible for Starry ili9882t

[v3 1/4] dt-bindings: display: panel: Add compatible for Starry himax83102-j02

2023-05-24 Thread Cong Yang
The STARRY himax83102-j02 is a 10.51" WUXGA TFT LCD panel, which fits in nicely with the existing panel-boe-tv101wum-nl6 driver. Hence, we add a new compatible with panel specific config. Signed-off-by: Cong Yang Reviewed-by: Douglas Anderson Acked-by: Conor Dooley --- .../devicetree/bin

[v3 2/4] drm/panel: Support for Starry-himax83102-j02 TDDI MIPI-DSI panel

2023-05-24 Thread Cong Yang
tware/Doc/tree/main/Himax_Chipset_Power_Sequence Signed-off-by: Cong Yang Reviewed-by: Douglas Anderson Acked-by: Conor Dooley --- .../gpu/drm/panel/panel-boe-tv101wum-nl6.c| 100 ++ 1 file changed, 100 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6

[v3 3/4] dt-bindings: display: panel: Add compatible for Starry ili9882t

2023-05-24 Thread Cong Yang
The STARRY ili9882t is a 10.51" WUXGA TFT LCD panel, which fits in nicely with the existing panel-boe-tv101wum-nl6 driver. Hence, we add a new compatible with panel specific config. Signed-off-by: Cong Yang Reviewed-by: Douglas Anderson Acked-by: Conor Dooley --- .../devicetree/bin

[v3 4/4] drm/panel: Support for Starry-ili9882t TDDI MIPI-DSI panel

2023-05-24 Thread Cong Yang
The Starry-ili9882 is a 10.51" WUXGA TFT panel. which fits in nicely with the existing panel-boe-tv101wum-nl6 driver. From the datasheet,MIPI need to keep the LP11 state before the lcm_reset pin is pulled high. So add lp11_before_reset flag. Signed-off-by: Cong Yang Reviewed-by: Douglas And

[v4 0/4] Support Starry-himax83102-j02 and Starry-ili9882t TDDI MIPI-DSI panel

2023-05-25 Thread Cong Yang
Copare V3:Resend without Conor's acks on patches 2 and 4. Cong Yang (4): dt-bindings: display: panel: Add compatible for Starry himax83102-j02 drm/panel: Support for Starry-himax83102-j02 TDDI MIPI-DSI panel dt-bindings: display: panel: Add compatible for Starry ili9882t drm/

[v4 1/4] dt-bindings: display: panel: Add compatible for Starry himax83102-j02

2023-05-25 Thread Cong Yang
The STARRY himax83102-j02 is a 10.51" WUXGA TFT LCD panel, which fits in nicely with the existing panel-boe-tv101wum-nl6 driver. Hence, we add a new compatible with panel specific config. Signed-off-by: Cong Yang Reviewed-by: Douglas Anderson Acked-by: Conor Dooley --- .../devicetree/bin

[v4 2/4] drm/panel: Support for Starry-himax83102-j02 TDDI MIPI-DSI panel

2023-05-25 Thread Cong Yang
tware/Doc/tree/main/Himax_Chipset_Power_Sequence Signed-off-by: Cong Yang Reviewed-by: Douglas Anderson --- .../gpu/drm/panel/panel-boe-tv101wum-nl6.c| 100 ++ 1 file changed, 100 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c b/drivers/gpu/drm/

[v4 3/4] dt-bindings: display: panel: Add compatible for Starry ili9882t

2023-05-25 Thread Cong Yang
The STARRY ili9882t is a 10.51" WUXGA TFT LCD panel, which fits in nicely with the existing panel-boe-tv101wum-nl6 driver. Hence, we add a new compatible with panel specific config. Signed-off-by: Cong Yang Reviewed-by: Douglas Anderson Acked-by: Conor Dooley --- .../devicetree/bin

[v4 4/4] drm/panel: Support for Starry-ili9882t TDDI MIPI-DSI panel

2023-05-25 Thread Cong Yang
The Starry-ili9882 is a 10.51" WUXGA TFT panel. which fits in nicely with the existing panel-boe-tv101wum-nl6 driver. From the datasheet,MIPI need to keep the LP11 state before the lcm_reset pin is pulled high. So add lp11_before_reset flag. Signed-off-by: Cong Yang Reviewed-by: Douglas And

Re: [PATCH v3 3/4] drm/panel: ili9882t: Break out as separate driver

2023-07-31 Thread cong yang
Hi, On Mon, Jul 3, 2023 at 9:21 PM Linus Walleij wrote: > > The Starry ILI9882t-based panel should never have been part of the boe > tv101wum driver, it is clearly based on the Ilitek ILI9882t display > controller and if you look at the custom command sequences for the > panel these clearly conta

Re: [v4 1/4] dt-bindings: display: panel: Add compatible for Starry himax83102-j02

2023-05-31 Thread cong yang
Hi,Doug: Can you help me merge the V4 seria patch.thanks. On Thu, May 25, 2023 at 5:32 PM Cong Yang < yangco...@huaqin.corp-partner.google.com> wrote: > The STARRY himax83102-j02 is a 10.51" WUXGA TFT LCD panel, > which fits in nicely with the existing panel-boe-tv101wum-nl

Re: [PATCH v3 3/4] drm/panel: ili9882t: Break out as separate driver

2023-08-13 Thread cong yang
Hi,Linus On Mon, Jul 3, 2023 at 9:21 PM Linus Walleij wrote: > > The Starry ILI9882t-based panel should never have been part of the boe > tv101wum driver, it is clearly based on the Ilitek ILI9882t display > controller and if you look at the custom command sequences for the > panel these clearly

[PATCH] drm/panel: Add avdd/avee delay for Starry-himax83102-j02 and Starry-ili9882t panel

2023-07-03 Thread Cong Yang
of panel. [1]: https://github.com/HimaxSoftware/Doc/tree/main/Himax_Chipset_Power_Sequence Fixes: 59bba51ec2a5 ("drm/panel: Fine tune Starry-ili9882t panel HFP and HBP") Signed-off-by: Cong Yang --- drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c | 6 ++ 1 file changed, 6 insertion

Re: [PATCH v3 0/4] Fix up the boe-tv101wum-nl6 panel driver

2023-07-04 Thread cong yang
Hi,Linus Walleij On Mon, Jul 3, 2023 at 9:21 PM Linus Walleij wrote: > > This is two patches fixing things I would normally complain about > in reviews, but alas I missed this one, so I go in and fix it up > myself. > > Discovering that a completely unrelated driver has been merged > into this pa

Re: [PATCH v3 0/4] Fix up the boe-tv101wum-nl6 panel driver

2023-07-04 Thread cong yang
Hi, On Tue, Jul 4, 2023 at 6:16 PM Linus Walleij wrote: > > On Tue, Jul 4, 2023 at 12:04 PM cong yang > wrote: > > On Mon, Jul 3, 2023 at 9:21 PM Linus Walleij > > wrote: > > > > I am surprised that contributors from manufacturers do not seem > &g

Re: [PATCH v3 4/4] drm/panel: ili9882t: Break out function for switching page

2023-07-06 Thread cong yang
q(dsi, 0xBD, 0x92); > mipi_dsi_dcs_write_seq(dsi, 0xBE, 0xA1); > > - mipi_dsi_dcs_write_seq(dsi, 0xFF, 0x98, 0x82, 0x05); > + ili9882t_switch_page(dsi, 0x05); > mipi_dsi_dcs_write_seq(dsi, 0x86, 0x87); > > - mipi_dsi_dcs_write_seq(dsi, 0xFF, 0x98, 0x82, 0x06); > + ili9882t_switch_page(dsi, 0x06); > mipi_dsi_dcs_write_seq(dsi, 0x92, 0x22); > > - mipi_dsi_dcs_write_seq(dsi, 0xFF, 0x98, 0x82, 0x00); > + ili9882t_switch_page(dsi, 0x00); > > ret = mipi_dsi_dcs_exit_sleep_mode(dsi); > if (ret) > > -- > 2.34.1 > Tested-by: Cong Yang

Re: [PATCH] drm/panel: Add avdd/avee delay for Starry-himax83102-j02 and Starry-ili9882t panel

2023-07-06 Thread cong yang
Hi, On Fri, Jul 7, 2023 at 3:32 AM Doug Anderson wrote: > > Hi, > > On Mon, Jul 3, 2023 at 10:07 PM Cong Yang > wrote: > > > > From power on/off sequence for panel data sheet[1], T2 timing VSP to VSN > > needs 1ms delay when power on, and VSN to VSP also needs 1

Re: [PATCH] drm/panel: Add avdd/avee delay for Starry-himax83102-j02 and Starry-ili9882t panel

2023-07-11 Thread cong yang
Hi, On Fri, Jul 7, 2023 at 11:15 PM Doug Anderson wrote: > > Hi, > > On Thu, Jul 6, 2023 at 6:20 PM cong yang > wrote: > > > > Hi, > > > > On Fri, Jul 7, 2023 at 3:32 AM Doug Anderson wrote: > > > > > > Hi, > >

Re: [PATCH] drm/panel: fix null pointer dereference in hx83102_get_modes

2024-08-22 Thread cong yang
Hi, Charles Han 于2024年8月22日周四 17:34写道: > > In hx83102_get_modes(), the return value of drm_mode_duplicate() > is assigned to mode, which will lead to a possible NULL > pointer dereference on failure of drm_mode_duplicate(). Add a > check to avoid npd. > > Fixes: 0ef94554dc40 ("drm/panel: himax-hx

Re: [PATCH v2 1/1] drm/panel: fix null pointer dereference in hx83102_get_modes

2024-08-23 Thread cong yang
Hi, Charles Han 于2024年8月23日周五 16:37写道: > > In hx83102_get_modes(), the return value of drm_mode_duplicate() is > assigned to mode, which will lead to a possible NULL pointer > dereference on failure of drm_mode_duplicate(). Add a check to avoid > npd. > > Fixes: 0ef94554dc40 ("drm/panel: himax-hx

Re: [PATCH V2] drm/panel: boe-tv101wum-nl6: Fine tune Himax83102-j02 panel HFP and HBP (again)

2024-03-05 Thread cong yang
Hi, Doug Anderson 于2024年3月6日周三 08:23写道: > > Cong, > > On Mon, Mar 4, 2024 at 5:26 PM Cong Yang > wrote: > > > > The current measured frame rate is 59.95Hz, which does not meet the > > requirements of touch-stylus and stylus cannot work normally. After > >

[v1 0/2] Break out as separate driver from boe-tv101wum-nl6 panel driver

2023-10-06 Thread Cong Yang
e. [1]: https://lore.kernel.org/all/20230703-fix-boe-tv101wum-nl6-v3-0-bd6e9432c...@linaro.org Cong Yang (1): drm/panel: ili9882t: Avoid blurred screen from fast sleep Linus Walleij (1): drm/panel: ili9882t: Break out as separate driver drivers/gpu/drm/panel/Kconfig | 9 + drivers/gpu/drm

[v1 1/2] drm/panel: ili9882t: Break out as separate driver

2023-10-06 Thread Cong Yang
: Linus Walleij Signed-off-by: Cong Yang --- drivers/gpu/drm/panel/Kconfig | 9 + drivers/gpu/drm/panel/Makefile| 1 + .../gpu/drm/panel/panel-boe-tv101wum-nl6.c| 371 - drivers/gpu/drm/panel/panel-ilitek-ili9882t.c | 752 ++ 4 files

[v1 2/2] drm/panel: ili9882t: Avoid blurred screen from fast sleep

2023-10-06 Thread Cong Yang
also suggested switching the page before entering sleep to avoid panel IC not receiving 0x28/0x10 command. Note: 0x28 is display off, 0x10 is sleep in. [1]: https://github.com/ILITEK-LoganLin/Document/tree/main/ILITEK_Power_Sequence Signed-off-by: Cong Yang --- drivers/gpu/drm/panel/panel-i

Re: [v1 1/2] drm/panel: ili9882t: Break out as separate driver

2023-10-10 Thread cong yang
Thanks for the review,I will modify these in V2. On Tue, Oct 10, 2023 at 4:44 AM Doug Anderson wrote: > > Hi, > > On Fri, Oct 6, 2023 at 11:07 PM Cong Yang > wrote: > > > > From: Linus Walleij > > > > The Starry ILI9882t-based panel should never have b

Re: [v1 2/2] drm/panel: ili9882t: Avoid blurred screen from fast sleep

2023-10-10 Thread cong yang
Hi, On Tue, Oct 10, 2023 at 4:44 AM Doug Anderson wrote: > > Hi, > > On Fri, Oct 6, 2023 at 11:07 PM Cong Yang > wrote: > > > > At present, we have found that there may be a problem of blurred > > screen during fast sleep/resume. The direct cause of the blurr

[v2 0/3] Break out as separate driver from boe-tv101wum-nl6 panel driver

2023-10-10 Thread Cong Yang
new config in defconfig. - Link to v1: https://lore.kernel.org/all/20231007060639.725350-1-yangco...@huaqin.corp-partner.google.com/ Cong Yang (3): drm/panel: ili9882t: Break out as separate driver drm/panel: ili9882t: Avoid blurred screen from fast sleep arm64: defconfig: Enable ILITEK_

[v2 1/3] drm/panel: ili9882t: Break out as separate driver

2023-10-10 Thread Cong Yang
-off-by: Linus Walleij Reviewed-by: Linus Walleij Signed-off-by: Cong Yang --- drivers/gpu/drm/panel/Kconfig | 9 + drivers/gpu/drm/panel/Makefile| 1 + .../gpu/drm/panel/panel-boe-tv101wum-nl6.c| 371 - drivers/gpu/drm/panel/panel-ilitek-ili9882t.c

[v2 2/3] drm/panel: ili9882t: Avoid blurred screen from fast sleep

2023-10-10 Thread Cong Yang
also suggested switching the page before entering sleep to avoid panel IC not receiving 0x28/0x10 command. Note: 0x28 is display off, 0x10 is sleep in. [1]: https://github.com/ILITEK-LoganLin/Document/tree/main/ILITEK_Power_Sequence Signed-off-by: Cong Yang --- drivers/gpu/drm/panel/panel-i

[v2 3/3] arm64: defconfig: Enable ILITEK_ILI9882T panel

2023-10-10 Thread Cong Yang
Enable ILITEK_ILI9882T panel. Signed-off-by: Cong Yang --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 0777bcae9104..c3453dcbad3e 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64

Re: [v2 1/3] drm/panel: ili9882t: Break out as separate driver

2023-10-10 Thread cong yang
Hi, On Wed, Oct 11, 2023 at 3:11 AM Doug Anderson wrote: > > Hi, > > On Tue, Oct 10, 2023 at 5:14 AM Cong Yang > wrote: > > > > diff --git a/drivers/gpu/drm/panel/panel-ilitek-ili9882t.c > > b/drivers/gpu/drm/panel/panel-ilitek-ili9882t.c > > new

Re: [v1 2/2] drm/panel: ili9882t: Avoid blurred screen from fast sleep

2023-10-10 Thread cong yang
Hi, On Wed, Oct 11, 2023 at 3:11 AM Doug Anderson wrote: > > Hi, > > On Tue, Oct 10, 2023 at 4:36 AM cong yang > wrote: > > > > Hi, > > > > On Tue, Oct 10, 2023 at 4:44 AM Doug Anderson wrote: > > > > > > Hi, > >

Re: [v1 2/2] drm/panel: ili9882t: Avoid blurred screen from fast sleep

2023-10-12 Thread cong yang
Hi, On Wed, Oct 11, 2023 at 3:11 AM Doug Anderson wrote: > > Hi, > > On Tue, Oct 10, 2023 at 4:36 AM cong yang > wrote: > > > > Hi, > > > > On Tue, Oct 10, 2023 at 4:44 AM Doug Anderson wrote: > > > > > > Hi, > >

[v3 0/3] Break out as separate driver from boe-tv101wum-nl6 panel driver

2023-10-12 Thread Cong Yang
PATCH 1/3: fix Doug comments,define "_INIT_SWITCH_PAGE_CMD" and remove the "shutdown". - PATCH 2/3: Modify ili9882t_switch_page function instead of hardcoding. - PATCH 3/3: Enable new config in defconfig. - Link to v1: https://lore.kernel.org/all/20231007060639.725350-1-yangco...@huaq

[v3 1/3] drm/panel: ili9882t: Break out as separate driver

2023-10-12 Thread Cong Yang
-off-by: Linus Walleij Reviewed-by: Linus Walleij Reviewed-by: Douglas Anderson Signed-off-by: Cong Yang --- drivers/gpu/drm/panel/Kconfig | 9 + drivers/gpu/drm/panel/Makefile| 1 + .../gpu/drm/panel/panel-boe-tv101wum-nl6.c| 371 - drivers/gpu/drm

[v3 2/3] drm/panel: ili9882t: Avoid blurred screen from fast sleep

2023-10-12 Thread Cong Yang
://github.com/ILITEK-LoganLin/Document/tree/main/ILITEK_Power_Sequence Signed-off-by: Cong Yang --- drivers/gpu/drm/panel/panel-ilitek-ili9882t.c | 22 ++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/panel/panel-ilitek-ili9882t.c b/drivers/gpu/drm/panel

[v3 3/3] arm64: defconfig: Enable ILITEK_ILI9882T panel

2023-10-12 Thread Cong Yang
DRM_PANEL_ILITEK_ILI9882T is being split out from DRM_PANEL_BOE_TV101WUM_NL6. Since the arm64 defconfig had the BOE panel driver enabled, let's also enable the Ilitek driver. Reviewed-by: Douglas Anderson Signed-off-by: Cong Yang --- arch/arm64/configs/defconfig | 1 + 1 file chang

Re: [v3 2/3] drm/panel: ili9882t: Avoid blurred screen from fast sleep

2023-10-12 Thread cong yang
Hi, On Thu, Oct 12, 2023 at 11:15 PM Doug Anderson wrote: > > Hi, > > On Thu, Oct 12, 2023 at 5:10 AM Cong Yang > wrote: > > > > At present, we have found that there may be a problem of blurred > > screen during fast sleep/resume. The direct cause of the blurr

Re: [v3 2/3] drm/panel: ili9882t: Avoid blurred screen from fast sleep

2023-10-12 Thread cong yang
Hi, On Fri, Oct 13, 2023 at 10:28 AM Doug Anderson wrote: > > Hi, > > On Thu, Oct 12, 2023 at 6:12 PM cong yang > wrote: > > > > Hi, > > > > On Thu, Oct 12, 2023 at 11:15 PM Doug Anderson wrote: > > > > > > Hi, > >

[v4 0/3] Break out as separate driver from boe-tv101wum-nl6 panel driver

2023-10-13 Thread Cong Yang
hardcoding. - PATCH 3/3: Enable new config in defconfig. - Link to v1: https://lore.kernel.org/all/20231007060639.725350-1-yangco...@huaqin.corp-partner.google.com/ Cong Yang (3): drm/panel: ili9882t: Break out as separate driver drm/panel: ili9882t: Avoid blurred screen from fast sleep arm6

[v4 1/3] drm/panel: ili9882t: Break out as separate driver

2023-10-13 Thread Cong Yang
-off-by: Linus Walleij Reviewed-by: Linus Walleij Reviewed-by: Douglas Anderson Signed-off-by: Cong Yang --- drivers/gpu/drm/panel/Kconfig | 9 + drivers/gpu/drm/panel/Makefile| 1 + .../gpu/drm/panel/panel-boe-tv101wum-nl6.c| 371 - drivers/gpu/drm

[v4 2/3] drm/panel: ili9882t: Avoid blurred screen from fast sleep

2023-10-13 Thread Cong Yang
://github.com/ILITEK-LoganLin/Document/tree/main/ILITEK_Power_Sequence Signed-off-by: Cong Yang --- drivers/gpu/drm/panel/panel-ilitek-ili9882t.c | 22 ++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/panel/panel-ilitek-ili9882t.c b/drivers/gpu/drm/panel

[v4 3/3] arm64: defconfig: Enable ILITEK_ILI9882T panel

2023-10-13 Thread Cong Yang
DRM_PANEL_ILITEK_ILI9882T is being split out from DRM_PANEL_BOE_TV101WUM_NL6. Since the arm64 defconfig had the BOE panel driver enabled, let's also enable the Ilitek driver. Reviewed-by: Douglas Anderson Signed-off-by: Cong Yang --- arch/arm64/configs/defconfig | 1 + 1 file chang

[PATCH v1 0/2] Support for Melfas lmfbx101117480 MIPI-DSI panel

2024-07-02 Thread Cong Yang
Melfas lmfbx101117480 is a 10.1" WXGA TFT LCD panel with jadard-jd9365da controller, which fits in nicely with the existing panel-jadard-jd9365da-h3 driver. Add compatible for melfas lmfbx101117480 in dt-bindings. Cong Yang (2): dt-bindings: display: panel: Add compatible for m

[PATCH v1 2/2] drm/panel: jd9365da: Support for Melfas lmfbx101117480 MIPI-DSI panel

2024-07-02 Thread Cong Yang
The Melfas lmfbx101117480 is a 10.1" WXGA TFT-LCD panel, use jd9365da controller, which fits in nicely with the existing panel-jadard-jd9365da-h3 driver. Hence, we add a new compatible with panel specific config. Signed-off-by: Cong Yang --- .../gpu/drm/panel/panel-jadard-jd9365da-h3.c

[PATCH v1 1/2] dt-bindings: display: panel: Add compatible for melfas lmfbx101117480

2024-07-02 Thread Cong Yang
The Melfas lmfbx101117480 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: Cong Yang --- .../devicetree/bindings/display/panel/jadard,jd9365da-h3.yaml| 1 + 1 file changed, 1 insertion(+) diff --g

Re: [PATCH v1 2/2] drm/panel: jd9365da: Support for Melfas lmfbx101117480 MIPI-DSI panel

2024-07-03 Thread cong yang
Hi, Linus Walleij 于2024年7月3日周三 21:10写道: > > On Tue, Jul 2, 2024 at 3:02 PM Cong Yang > wrote: > > > The Melfas lmfbx101117480 is a 10.1" WXGA TFT-LCD panel, use jd9365da > > controller, which fits in nicely with the existing panel-jadard-jd9365da-h3 > > dri

[PATCH v2 0/3] Support for Melfas lmfbx101117480 MIPI-DSI panel

2024-07-03 Thread Cong Yang
functions. - Link to v1: https://lore.kernel.org/dri-devel/20240702130138.2543711-1-yangco...@huaqin.corp-partner.google.com/ Cong Yang (3): dt-bindings: display: panel: Add compatible for melfas lmfbx101117480 drm/panel: jd9365da: Support for Melfas lmfbx101117480 MIPI-DSI panel drm/panel

[PATCH v2 2/3] drm/panel: jd9365da: Support for Melfas lmfbx101117480 MIPI-DSI panel

2024-07-03 Thread Cong Yang
The Melfas lmfbx101117480 is a 10.1" WXGA TFT-LCD panel, use jd9365da controller, which fits in nicely with the existing panel-jadard-jd9365da-h3 driver. Hence, we add a new compatible with panel specific config. Signed-off-by: Cong Yang Acked-by: Linus Walleij --- .../gpu/drm/panel/

[PATCH v2 1/3] dt-bindings: display: panel: Add compatible for melfas lmfbx101117480

2024-07-03 Thread Cong Yang
The Melfas lmfbx101117480 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: Cong Yang Acked-by: Conor Dooley --- .../devicetree/bindings/display/panel/jadard,jd9365da-h3.yaml| 1 + 1 file chang

[PATCH v2 3/3] drm/panel: jd9365da: Break some CMDS into helper functions

2024-07-03 Thread Cong Yang
These panels have some common cmds (e0h~e3h,80h), let's break them into helper functions. Signed-off-by: Cong Yang --- .../gpu/drm/panel/panel-jadard-jd9365da-h3.c | 89 +++ 1 file changed, 53 insertions(+), 36 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-j

[PATCH v1 0/4] Break some CMDS into helper functions

2024-07-10 Thread Cong Yang
://lore.kernel.org/dri-devel/CAD=FV=vssfzbxwh6i4e_mhht8vz_cnxcruhoetueo5xn-fm...@mail.gmail.com/ Cong Yang (4): drm/panel: boe-tv101wum-nl6: Break some CMDS into helper functions drm/panel: nt35521: Break some CMDS into helper functions drm/panel: nt36672e: Break some CMDS into helper functions drm

[PATCH v1 1/4] drm/panel: boe-tv101wum-nl6: Break some CMDS into helper functions

2024-07-10 Thread Cong Yang
hj110iz-01a and tv110c9m-ll3 both nt36523 controller, and they have some common cmds, so let's break them into helper functions. Signed-off-by: Cong Yang --- .../gpu/drm/panel/panel-boe-tv101wum-nl6.c| 190 ++ 1 file changed, 63 insertions(+), 127 deletions(-) diff --

[PATCH v1 2/4] drm/panel: nt35521: Break some CMDS into helper functions

2024-07-10 Thread Cong Yang
Break select page cmds into helper functions. Signed-off-by: Cong Yang --- .../panel/panel-sony-tulip-truly-nt35521.c| 29 ++- 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-sony-tulip-truly-nt35521.c b/drivers/gpu/drm/panel/panel

[PATCH v1 3/4] drm/panel: nt36672e: Break some CMDS into helper functions

2024-07-10 Thread Cong Yang
Break select page cmds and reload cmds into helper functions. Signed-off-by: Cong Yang --- .../gpu/drm/panel/panel-novatek-nt36672e.c| 69 --- 1 file changed, 44 insertions(+), 25 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-novatek-nt36672e.c b/drivers/gpu/drm

[PATCH v1 4/4] drm/panel: ili9806e: Break some CMDS into helper functions

2024-07-10 Thread Cong Yang
Break select page cmds into helper function. Signed-off-by: Cong Yang --- drivers/gpu/drm/panel/panel-ilitek-ili9806e.c | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-ilitek-ili9806e.c b/drivers/gpu/drm/panel/panel-ilitek

Re: [PATCH v1 4/4] drm/panel: ili9806e: Break some CMDS into helper functions

2024-07-10 Thread cong yang
Hi, Michael Walle 于2024年7月11日周四 03:38写道: > > On Wed Jul 10, 2024 at 9:12 PM CEST, Doug Anderson wrote: > > Hi, > > > > On Wed, Jul 10, 2024 at 2:02 AM Michael Walle wrote: > > > > > > On Wed Jul 10, 2024 at 10:47 AM CEST, Cong Yang wrote: > >

[PATCH] drm/panel: boe-tv101wum-nl6: Fine tune Himax83102-j02 panel HFP and HBP

2023-11-10 Thread Cong Yang
2-j02 TDDI MIPI-DSI panel") Signed-off-by: Cong Yang --- drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c b/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c index 4f

Re: [PATCH] drm/panel: boe-tv101wum-nl6: Fine tune Himax83102-j02 panel HFP and HBP

2023-11-13 Thread cong yang
Hi, On Sat, Nov 11, 2023 at 5:10 AM Doug Anderson wrote: > > Hi, > > On Fri, Nov 10, 2023 at 1:46 AM Cong Yang > wrote: > > > > The refresh reported by modotest is 60.46Hz, and the actual measurement > > s/modotets/modetest/ > > > is 60.01Hz, which

[PATCH] drm/panel: boe-tv101wum-nl6: Fine tune Himax83102-j02 panel HFP and HBP

2024-02-29 Thread Cong Yang
rs. Fixes: cea7008190ad ("drm/panel: Fine tune Himax83102-j02 panel HFP and HBP") Signed-off-by: Cong Yang --- drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c b/d

Re: [PATCH] drm/panel: boe-tv101wum-nl6: Fine tune Himax83102-j02 panel HFP and HBP

2024-03-04 Thread cong yang
Hi, On Tue, Mar 5, 2024 at 12:51 AM Doug Anderson wrote: > > Hi, > > On Thu, Feb 29, 2024 at 10:11 PM Cong Yang > wrote: > > > > The current measured frame rate is 59.95Hz, which does not meet the > > requirements of touch-stylus and stylus cannot work normally.

[PATCH V2] drm/panel: boe-tv101wum-nl6: Fine tune Himax83102-j02 panel HFP and HBP (again)

2024-03-04 Thread Cong Yang
rs. Fixes: cea7008190ad ("drm/panel: boe-tv101wum-nl6: Fine tune Himax83102-j02 panel HFP and HBP") Signed-off-by: Cong Yang --- drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-b

Re: [PATCH v4 1/7] dt-bindings: display: panel: Add himax hx83102 panel bindings

2024-05-08 Thread cong yang
Hi, Doug &Conor Doug Anderson 于2024年5月8日周三 00:40写道: > > Hi, > > On Tue, May 7, 2024 at 8:14 AM Rob Herring (Arm) wrote: > > > > > > On Tue, 07 May 2024 21:52:28 +0800, Cong Yang wrote: > > > In V1, discussed with Doug and Linus [1], we need break out

Re: [PATCH v4 2/7] drm/panel: himax-hx83102: Break out as separate driver

2024-05-08 Thread cong yang
Hi, Doug Anderson 于2024年5月8日周三 07:35写道: > > Hi, > > On Tue, May 7, 2024 at 6:53 AM Cong Yang > wrote: > > > > +static int hx83102_enable_extended_cmds(struct hx83102 *ctx, bool enable) > > +{ > > + struct mipi_dsi_multi_context dsi_ctx = { .dsi = c

Re: [PATCH v4 5/7] drm/panel: himax-hx83102: Support for BOE nv110wum-l60 MIPI-DSI panel

2024-05-08 Thread cong yang
Hi, Doug Anderson 于2024年5月8日周三 07:35写道: > > Hi, > > On Tue, May 7, 2024 at 6:53 AM Cong Yang > wrote: > > > > +static int boe_nv110wum_init(struct hx83102 *ctx) > > +{ > > + struct mipi_dsi_multi_context dsi_ctx = { .dsi =

[PATCH v5 1/7] dt-bindings: display: panel: Add himax hx83102 panel bindings

2024-05-08 Thread Cong Yang
documentation for this panels. For himax83102-j02 controller, no need 3v3 supply, so remove it. [1]: https://lore.kernel.org/all/CACRpkdbzYZAS0=zbqjuc4cb2wj4s1h6n6asazqvdmv95r3z...@mail.gmail.com Signed-off-by: Cong Yang --- Chage since V5: - Modify compatible format. V4: https://lore.kernel.

[PATCH v5 0/7] Break out as separate driver and add BOE nv110wum-l60 IVO t109nw41 MIPI-DSI panel

2024-05-08 Thread Cong Yang
/lore.kernel.org/all/20240410071439.2152588-1-yangco...@huaqin.corp-partner.google.com/ Cong Yang (7): dt-bindings: display: panel: Add himax hx83102 panel bindings drm/panel: himax-hx83102: Break out as separate driver arm64: defconfig: Enable HIMAX_HX83102 panel dt-bindings: display: panel: Add compatible

[PATCH v5 2/7] drm/panel: himax-hx83102: Break out as separate driver

2024-05-08 Thread Cong Yang
mipi_dsi_dcs_exit_sleep_mode 0x29 is mipi_dsi_dcs_set_display_on [1]: https://lore.kernel.org/all/CACRpkdbzYZAS0=zbqjuc4cb2wj4s1h6n6asazqvdmv95r3z...@mail.gmail.com Signed-off-by: Cong Yang --- Chage since V5: - Modify hx83102_enable_extended_cmds function and adjust inital cmds

[PATCH v5 3/7] arm64: defconfig: Enable HIMAX_HX83102 panel

2024-05-08 Thread Cong Yang
DRM_PANEL_HIMAX_HX83102 is being split out from DRM_PANEL_BOE_TV101WUM_NL6. Since the arm64 defconfig had the BOE panel driver enabled, let's also enable the himax driver. Signed-off-by: Cong Yang Reviewed-by: Douglas Anderson --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 inse

[PATCH v5 4/7] dt-bindings: display: panel: Add compatible for BOE nv110wum-l60

2024-05-08 Thread Cong Yang
The BOE nv110wum-l60 is a 11.0" WUXGA TFT LCD panel with himax-hx83102 controller. Hence, we add a new compatible with panel specific config. Signed-off-by: Cong Yang Acked-by: Conor Dooley --- Chage since V5: - No change. V4: https://lore.kernel.org/all/20240507135234.1356855-5-y

[PATCH v5 5/7] drm/panel: himax-hx83102: Support for BOE nv110wum-l60 MIPI-DSI panel

2024-05-08 Thread Cong Yang
The BOE nv110wum-l60 is a 11.0" WUXGA TFT LCD panel, use hx83102 controller which fits in nicely with the existing panel-himax-hx83102 driver. Hence, we add a new compatible with panel specific config. Signed-off-by: Cong Yang --- Chage since V5: - Adjust inital cmds indentation and

[PATCH v5 6/7] dt-bindings: display: panel: Add compatible for IVO t109nw41

2024-05-08 Thread Cong Yang
The IVO t109nw41 is a 11.0" WUXGA TFT LCD panel with himax-hx83102 controller. Hence, we add a new compatible with panel specific config. Signed-off-by: Cong Yang Acked-by: Conor Dooley --- Chage since V5: - No change. V4: https://lore.kernel.org/all/20240507135234.1356855-7-y

[PATCH v5 7/7] drm/panel: himax-hx83102: Support for IVO t109nw41 MIPI-DSI panel

2024-05-08 Thread Cong Yang
The IVO t109nw41 is a 11.0" WUXGA TFT LCD panel, use hx83102 controller which fits in nicely with the existing panel-himax-hx83102 driver. Hence, we add a new compatible with panel specific config. Signed-off-by: Cong Yang --- Chage since V5: - Adjust inital cmds indentation and check accu

Re: [PATCH v5 2/7] drm/panel: himax-hx83102: Break out as separate driver

2024-05-09 Thread cong yang
Hi, Doug Anderson 于2024年5月10日周五 00:42写道: > > Hi, > > On Wed, May 8, 2024 at 6:53 PM Cong Yang > wrote: > > > > +static int hx83102_enable(struct drm_panel *panel) > > +{ > > + struct hx83102 *ctx = panel_to_hx83102(panel); > > +

Re: [PATCH v5 7/7] drm/panel: himax-hx83102: Support for IVO t109nw41 MIPI-DSI panel

2024-05-09 Thread cong yang
Hi, Doug Anderson 于2024年5月10日周五 00:49写道: > > Hi, > > On Wed, May 8, 2024 at 6:53 PM Cong Yang > wrote: > > > > +static int ivo_t109nw41_init(struct hx83102 *ctx) > > +{ > > + struct mipi_dsi_multi_context dsi_ctx = { .dsi =

[PATCH v6 0/7] Break out as separate driver and add BOE nv110wum-l60 IVO t109nw41 MIPI-DSI panel

2024-05-10 Thread Cong Yang
/lore.kernel.org/all/20240410071439.2152588-1-yangco...@huaqin.corp-partner.google.com/ Cong Yang (7): dt-bindings: display: panel: Add himax hx83102 panel bindings drm/panel: himax-hx83102: Break out as separate driver arm64: defconfig: Enable HIMAX_HX83102 panel dt-bindings: display: panel: Add compatible

[PATCH v6 1/7] dt-bindings: display: panel: Add himax hx83102 panel bindings

2024-05-10 Thread Cong Yang
documentation for this panels. For himax83102-j02 controller, no need 3v3 supply, so remove it. [1]: https://lore.kernel.org/all/CACRpkdbzYZAS0=zbqjuc4cb2wj4s1h6n6asazqvdmv95r3z...@mail.gmail.com Signed-off-by: Cong Yang Reviewed-by: Conor Dooley --- Chage since V6: - No change. V5

[PATCH v6 2/7] drm/panel: himax-hx83102: Break out as separate driver

2024-05-10 Thread Cong Yang
mipi_dsi_dcs_set_display_on [1]: https://lore.kernel.org/all/CACRpkdbzYZAS0=zbqjuc4cb2wj4s1h6n6asazqvdmv95r3z...@mail.gmail.com Signed-off-by: Cong Yang --- Chage since V6: - Modify Move mipi_dsi_dcs_exit_sleep_mode and mipi_dsi_dcs_set_display_on from enable() to prepare(). V5: https

[PATCH v6 3/7] arm64: defconfig: Enable HIMAX_HX83102 panel

2024-05-10 Thread Cong Yang
DRM_PANEL_HIMAX_HX83102 is being split out from DRM_PANEL_BOE_TV101WUM_NL6. Since the arm64 defconfig had the BOE panel driver enabled, let's also enable the himax driver. Signed-off-by: Cong Yang Reviewed-by: Douglas Anderson --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 inse

[PATCH v6 4/7] dt-bindings: display: panel: Add compatible for BOE nv110wum-l60

2024-05-10 Thread Cong Yang
The BOE nv110wum-l60 is a 11.0" WUXGA TFT LCD panel with himax-hx83102 controller. Hence, we add a new compatible with panel specific config. Signed-off-by: Cong Yang Acked-by: Conor Dooley --- Chage since V5: - No change. V5: https://lore.kernel.org/all/20240509015207.3271370-5-y

[PATCH v6 5/7] drm/panel: himax-hx83102: Support for BOE nv110wum-l60 MIPI-DSI panel

2024-05-10 Thread Cong Yang
The BOE nv110wum-l60 is a 11.0" WUXGA TFT LCD panel, use hx83102 controller which fits in nicely with the existing panel-himax-hx83102 driver. Hence, we add a new compatible with panel specific config. Signed-off-by: Cong Yang --- Chage since V6: - No change. V5: https://lore.kernel.or

  1   2   >