Re: [PATCH] drm/panel: himax-hx83102: Adjust power and gamma to optimize brightness

2024-10-11 Thread cong yang
Hi, Linus Walleij 于2024年10月11日周五 15:03写道: > > On Fri, Oct 11, 2024 at 4:08 AM Cong Yang > wrote: > > > The current panel brightness is only 360 nit. Adjust the power and gamma to > > optimize the panel brightness. The brightness after adjustment is 390 nit. > >

[PATCH] drm/panel: himax-hx83102: Adjust power and gamma to optimize brightness

2024-10-10 Thread Cong Yang
The current panel brightness is only 360 nit. Adjust the power and gamma to optimize the panel brightness. The brightness after adjustment is 390 nit. Fixes: 3179338750d8 ("drm/panel: Support for IVO t109nw41 MIPI-DSI panel") Signed-off-by: Cong Yang --- drivers/gpu/drm/panel/p

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] 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 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 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

[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 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 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 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 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 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 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 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

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 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

[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 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 v8 6/6] drm/panel: himax-hx83102: Support for IVO t109nw41 MIPI-DSI panel

2024-05-16 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 Reviewed-by: Douglas Anderson Reviewed-by: Linus Walleij ---

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

2024-05-16 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 V8: - No change. V7: https://lore.kernel.org/all/20240515014643.2715010-7-y

[PATCH v8 4/6] drm/panel: himax-hx83102: Support for BOE nv110wum-l60 MIPI-DSI panel

2024-05-16 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 Reviewed-by: Douglas Anderson Reviewed-by: Linus Walleij ---

[PATCH v8 3/6] dt-bindings: display: panel: Add compatible for BOE nv110wum-l60

2024-05-16 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 V8: - No change. V7: https://lore.kernel.org/all/20240515014643.2715010-5-y

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

2024-05-16 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 Reviewed-by: Douglas Anderson Reviewed-by: Linus Walleij --- Chage since V8: - Fix Doug comment "return ret" change to "goto powerof

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

2024-05-16 Thread Cong Yang
nv110wum-l60 in dt-bindings. - PATCH 5/7: Support for BOE nv110wum-l60 MIPI-DSI panel. - PATCH 6/7: Add compatible for IVO t109nw41 in dt-bindings.. - PATCH 7/7: Support for IVO t109nw41 MIPI-DSI panel. - Link to v1: https://lore.kernel.org/all/20240410071439.2152588-1-yangco...@huaqin.corp-partn

[PATCH v8 1/6] dt-bindings: display: panel: Add himax hx83102 panel bindings

2024-05-16 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 V8: - No change. V7

Re: [v7 3/7] arm64: defconfig: Enable HIMAX_HX83102 panel

2024-05-15 Thread cong yang
Hi: If it is determined that a separately patch needs to be sent, then I will remove this patch in V8 series? Doug Anderson 于2024年5月16日周四 05:28写道: > > Hi, > > On Wed, May 15, 2024 at 2:16 PM wrote: > > > > Hi, > > > > On 15/05/2024 03:46, Cong Yang wro

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

2024-05-14 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 Reviewed-by: Douglas Anderson Reviewed-by: Linus Walleij ---

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

2024-05-14 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 V7: - No change. V6: https://lore.kernel.org/all/20240511021326.288728-7-y

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

2024-05-14 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 Reviewed-by: Douglas Anderson Reviewed-by: Linus Walleij ---

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

2024-05-14 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 V7: - No change. V6: https://lore.kernel.org/all/20240511021326.288728-5-y

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

2024-05-14 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 Reviewed-by: Douglas Anderson Reviewed-by: Linus Walleij --- Chage since V7: - Fix Doug comment "return ret" change to "goto powerof

[v7 3/7] arm64: defconfig: Enable HIMAX_HX83102 panel

2024-05-14 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

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

2024-05-14 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 V7: - No change. V6

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

2024-05-14 Thread Cong Yang
w41 MIPI-DSI panel. - Link to v1: https://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 HI

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

2024-05-10 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 V6: - No change. V5: https://lore.kernel.org/all/20240509015207.3271370-7-y

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

2024-05-10 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 V6: - Add hx83102_enable_extended_cmds(&dsi_c

[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

[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 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 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 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 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

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 =

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); > > +

[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

[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 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 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 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 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 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

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 =

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 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

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

2024-05-07 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 V4: - inital cmds use lowercasehex. V3:

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

2024-05-07 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 --- Chage since V4: - No change. V3: https://lore.kernel.org/all/20240424023010.2099949-7-yangco...@huaqin.corp-partner.googl

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

2024-05-07 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 V4: - Depend Dous'series [1].

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

2024-05-07 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 --- Chage since V4: - No change. V3: https://lore.kernel.org/all/20240424023010.2099949-5-yangco...@huaqin

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

2024-05-07 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 v4 2/7] drm/panel: himax-hx83102: Break out as separate driver

2024-05-07 Thread Cong Yang
future. [1]: https://lore.kernel.org/all/CACRpkdbzYZAS0=zbqjuc4cb2wj4s1h6n6asazqvdmv95r3z...@mail.gmail.com Signed-off-by: Cong Yang --- Chage since V4: - Add hx83102_enable_extended_cmds function, rename UNKNOWN CMDS and depend Dous'series [1]. [1]: https://lore.kernel.or

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

2024-05-07 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 V4: - Update commit message and add fallback compatible.

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

2024-05-07 Thread Cong Yang
panel. - Link to v1: https://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

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

2024-05-07 Thread cong yang
Hi, Thanks for review. Doug Anderson 于2024年5月1日周三 03:19写道: > > Hi, > > On Tue, Apr 23, 2024 at 7:30 PM Cong Yang > wrote: > > > > The Starry HX83102 based mipi panel should never have been part of the boe > > tv101wum driver. Discussion with Doug and Linus

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

2024-04-27 Thread cong yang
Hi, Conor Dooley 于2024年4月27日周六 01:06写道: > > On Thu, Apr 25, 2024 at 02:03:24PM +0800, cong yang wrote: > > Conor Dooley 于2024年4月25日周四 00:55写道: > > > On Wed, Apr 24, 2024 at 10:30:04AM +0800, Cong Yang wrote: > > > > > +++ b/Documentation/devicetree/bindi

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

2024-04-24 Thread cong yang
Hi, Thanks for review. Conor Dooley 于2024年4月25日周四 00:55写道: > > On Wed, Apr 24, 2024 at 10:30:04AM +0800, Cong Yang wrote: > > In V1, discussed with Doug and Linus [1], we need break out as separate > > driver for the himax83102-j02 controller. Beacuse "starry,himax831

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

2024-04-23 Thread cong yang
Hi, Thanks reply. Doug Anderson 于2024年4月24日周三 00:26写道: > > Hi, > > On Tue, Apr 23, 2024 at 2:37 AM cong yang > wrote: > > > > > > +static int starry_init_cmd(struct hx83102 *ctx) > > > > +{ > > > > + struct mipi_dsi_device *dsi = c

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

2024-04-23 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 V3: - inital cmds use lowercasehex. V2:

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

2024-04-23 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 --- Chage since V3: - Update commit message. V2: https://lore.kernel.org/all/20240422090310.3311429-7-yangco...@huaqin

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

2024-04-23 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 V3: - inital cmds use lowercasehex. V2:

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

2024-04-23 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 --- Chage since V3: - Update commit message. V2: https://lore.kernel.org/all/20240422090310.3311429-5-yangco...@huaqin

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

2024-04-23 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 v3 2/7] drm/panel: himax-hx83102: Break out as separate driver

2024-04-23 Thread Cong Yang
future. [1]: https://lore.kernel.org/all/CACRpkdbzYZAS0=zbqjuc4cb2wj4s1h6n6asazqvdmv95r3z...@mail.gmail.com Signed-off-by: Cong Yang --- Chage since V3: - Drop excess flags and function, inital cmds use lowercasehex. V2: https://lore.kernel.org/all/20240422090310.3311429-3-yangco

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

2024-04-23 Thread Cong Yang
documentation for this panels. [1]: https://lore.kernel.org/all/CACRpkdbzYZAS0=zbqjuc4cb2wj4s1h6n6asazqvdmv95r3z...@mail.gmail.com Signed-off-by: Cong Yang --- Chage since V3: - Update commit message. V2: https://lore.kernel.org/all/20240422090310.3311429-2-yangco...@huaqin.corp-partner.goog

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

2024-04-23 Thread Cong Yang
t109nw41 MIPI-DSI panel. - Link to v1: https://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

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

2024-04-23 Thread cong yang
Hi, Thanks for review. Rob Herring 于2024年4月22日周一 23:16写道: > > On Mon, Apr 22, 2024 at 05:03:07PM +0800, Cong Yang wrote: > > The BOE nv110wum-l60 is a 11.0" WUXGA TFT LCD panel, which fits in nicely > > with the existing himax-hx83102 driver. > > From a h/w perspec

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

2024-04-23 Thread cong yang
Hi, Thanks for review. Doug Anderson 于2024年4月23日周二 05:24写道: > > Hi, > > On Mon, Apr 22, 2024 at 2:03 AM Cong Yang > wrote: > > > > The Starry HX83102 based mipi panel should never have been part of the boe > > tv101wum driver. Discussion with Doug and Linus

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

2024-04-22 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 --- drivers/gpu/drm/panel/panel-himax-hx83102.c

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

2024-04-22 Thread Cong Yang
The IVO t109nw41 is a 11.0" WUXGA TFT LCD panel, which fits in nicely with the existing himax-hx83102 driver. Hence, we add a new compatible with panel specific config. Signed-off-by: Cong Yang --- .../devicetree/bindings/display/panel/himax,hx83102.yaml| 2 ++ 1 file chang

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

2024-04-22 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 --- drivers/gpu/drm/panel/panel-himax-hx83102.c

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

2024-04-22 Thread Cong Yang
The BOE nv110wum-l60 is a 11.0" WUXGA TFT LCD panel, which fits in nicely with the existing himax-hx83102 driver. Hence, we add a new compatible with panel specific config. Signed-off-by: Cong Yang --- .../devicetree/bindings/display/panel/himax,hx83102.yaml| 2 ++ 1 file chang

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

2024-04-22 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 --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/

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

2024-04-22 Thread Cong Yang
future. [1]: https://lore.kernel.org/all/CACRpkdbzYZAS0=zbqjuc4cb2wj4s1h6n6asazqvdmv95r3z...@mail.gmail.com 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

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

2024-04-22 Thread Cong Yang
e: Himax HX83102 MIPI-DSI LCD panel controller + +maintainers: + - Cong Yang + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: +enum: +# STARRY himax83102-j02 10.51" WUXGA TFT LCD panel + - starry,himax83102-j02 + + reg: +description: the virtual chan

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

2024-04-22 Thread Cong Yang
-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 for BOE nv110wum-l60 drm

Re: [PATCH v1 2/4] drm/panel: boe-tv101wum-nl6: Support for BOE nv110wum-l60 MIPI-DSI panel

2024-04-18 Thread cong yang
Hi, Linus Walleij 于2024年4月18日周四 22:00写道: > > On Thu, Apr 18, 2024 at 2:42 PM cong yang > wrote: > > > I learned from himax that even if the same controller is used with > > different glasses, the corresponding parameters are not fixed. > > > > For example:

Re: [PATCH v1 2/4] drm/panel: boe-tv101wum-nl6: Support for BOE nv110wum-l60 MIPI-DSI panel

2024-04-18 Thread cong yang
Hi, Linus Walleij 于2024年4月11日周四 16:25写道: > > On Thu, Apr 11, 2024 at 9:40 AM Doug Anderson wrote: > > On Wed, Apr 10, 2024 at 12:15 AM Cong Yang > > wrote: > > > > > > The BOE nv110wum-l60 is a 11.0" WUXGA TFT LCD panel, which fits in nicely >

Re: [PATCH v1 2/4] drm/panel: boe-tv101wum-nl6: Support for BOE nv110wum-l60 MIPI-DSI panel

2024-04-11 Thread cong yang
Hi, Doug Anderson 于2024年4月11日周四 15:48写道: > > Hi, > > On Wed, Apr 10, 2024 at 12:15 AM Cong Yang > wrote: > > > > The BOE nv110wum-l60 is a 11.0" WUXGA TFT LCD panel, which fits in nicely > > with the existing panel-boe-tv101wum-nl6 driver. Hence, we add a

Re: [PATCH v1 1/4] dt-bindings: display: panel: Add compatible for BOE nv110wum-l60

2024-04-10 Thread cong yang
Hi, Krzysztof Kozlowski 于2024年4月10日周三 16:24写道: > > On 10/04/2024 09:14, Cong Yang wrote: > > The BOE nv110wum-l60 is a 11.0" WUXGA TFT LCD panel, which fits in nicely > > with the existing panel-boe-tv101wum-nl6 driver. Hence, we add a new > > compatib

[PATCH v1 3/4] dt-bindings: display: panel: Add compatible for IVO t109nw41

2024-04-10 Thread Cong Yang
The IVO t109nw41 is a 11.0" 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 file ch

[PATCH v1 4/4] drm/panel: boe-tv101wum-nl6: Support for IVO t109nw41 MIPI-DSI panel

2024-04-10 Thread Cong Yang
The IVO t109nw41 is a 11.0" 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 --- .../gpu/drm/panel/panel-boe-tv101wum-nl6.c| 98 +++ 1 file ch

[PATCH v1 2/4] drm/panel: boe-tv101wum-nl6: Support for BOE nv110wum-l60 MIPI-DSI panel

2024-04-10 Thread Cong Yang
The BOE nv110wum-l60 is a 11.0" 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 --- .../gpu/drm/panel/panel-boe-tv101wum-nl6.c| 115 ++ 1

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

2024-04-10 Thread Cong Yang
The BOE nv110wum-l60 is a 11.0" 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

[PATCH v1 0/2] Support BOE nv110wum-l60 and IVO t109nw41 MIPI-DSI panel

2024-04-10 Thread Cong Yang
BOE nv110wum-l60 and IVO t109nw41 both 11.0" WUXGA TFT LCD panel, which fits in nicely with the existing panel-boe-tv101wum-nl6 driver. Add compatible for BOE nv110wum-l60 and IVO t109nw41 in dt-bindings. Cong Yang (4): dt-bindings: display: panel: Add compatible for BOE nv110wum-l60

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 > >

[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] 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] 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

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

2023-11-19 Thread Cong Yang
t pixel clock?). If you use a different DSI controller, you may need to readjust these parameters. Now this panel looks like it's only used by me on the MTK platform, so let's change this set of parameters. Fixes: 1bc2ef065f13 ("drm/panel: Support for Starry-himax83102-j02 TDDI MIPI-DSI

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

2023-11-19 Thread cong yang
Hi, On Sat, Nov 18, 2023 at 1:11 AM Doug Anderson wrote: > > Hi, > > On Thu, Nov 16, 2023 at 7:25 PM Cong Yang > wrote: > > > > The refresh reported by modetest is 60.46Hz, and the actual measurement > > is 60.01Hz, which is outside the expected tolerance.

  1   2   >