[RFC PATCH 00/10] Support simple-framebuffer on imx8m

2024-10-28 Thread Dario Binacchi
-dario.binac...@amarulasolutions.com/T/ Dario Binacchi (10): dt-bindings: soc: imx-blk-ctrl: add 'fsl,power-domains-boot-on' property pmdomain: imx8m-blk-ctrl: don't turn on a power domain already on dt-bindings: power: gpcv2: add 'fsl,boot-on' property pmdomain: imx: gpc

[RFC PATCH 10/10] drm/mxsfb: stop controller and drain FIFOs if already initialized

2024-10-28 Thread Dario Binacchi
zed by the bootloader. Signed-off-by: Dario Binacchi --- drivers/gpu/drm/mxsfb/mxsfb_drv.c | 3 +++ drivers/gpu/drm/mxsfb/mxsfb_drv.h | 1 + drivers/gpu/drm/mxsfb/mxsfb_kms.c | 14 +- 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/mxsfb/mxsfb_drv.c b/drive

[RFC PATCH 09/10] dt-bindings: lcdif: add 'fsl,boot-on' property

2024-10-28 Thread Dario Binacchi
The property states that the (e)LCDIF display controller has been initialized and left on by the bootloader. This information becomes relevant in the case of supporting the simple framebuffer. Signed-off-by: Dario Binacchi --- Documentation/devicetree/bindings/display/fsl,lcdif.yaml | 5

[RFC PATCH 08/10] drm: bridge: samsung-dsim: don't re-activate the bridge if already setup

2024-10-28 Thread Dario Binacchi
-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- drivers/gpu/drm/bridge/samsung-dsim.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bridge/samsung-dsim.c b/drivers/gpu/drm/bridge/samsung-dsim.c index 430f8adebf9c..7c03215bb004

[RFC PATCH 06/10] drm/panel: synaptics-r63353: don't re-activate the panel if already setup

2024-10-28 Thread Dario Binacchi
-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- drivers/gpu/drm/panel/panel-synaptics-r63353.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/panel/panel-synaptics-r63353.c b/drivers/gpu/drm/panel/panel-synaptics-r63353.c index

[RFC PATCH 07/10] dt-bindings: bridge: samsung-dsim: add 'samsung, boot-on' property

2024-10-28 Thread Dario Binacchi
The property states that the bridge controller has been initialized and left on by the bootloader. This information becomes relevant in the case of supporting the simple framebuffer. Signed-off-by: Dario Binacchi --- .../bindings/display/bridge/samsung,mipi-dsim.yaml | 5 + 1

[RFC PATCH 05/10] dt-bindings: display: panel: add 'syna, boot-on' property

2024-10-28 Thread Dario Binacchi
The property states that the panel display has been initialized and left on by the bootloader. This information becomes relevant in the case of supporting the simple framebuffer. Signed-off-by: Dario Binacchi --- .../devicetree/bindings/display/panel/synaptics,r63353.yaml | 5 + 1 file

[PATCH v2] drm/panel: synaptics-r63353: Fix regulator unbalance

2024-10-25 Thread Dario Binacchi
63353 panel driver") Tested-by: Dario Binacchi Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi Reviewed-by: Neil Armstrong --- Changes in v2: - Add 'Fixes' tag. - Add 'Reviewed-by' tag of Neil Armstrong. drivers/gpu/drm/panel/panel-synaptics-r633

[PATCH v2] drm/mxsfb: Remove generic DRM drivers in probe function

2024-10-25 Thread Dario Binacchi
Use aperture helpers to remove all generic graphics drivers before loading mxsfb. Makes mxsfb compatible with simpledrm. Co-developed-by: Michael Trimarchi Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- Changes in v2: - Use aperture_remove_all_conflicting_devices

[PATCH] drm/panel: synaptics-r63353: Fix regulator unbalance

2024-10-25 Thread Dario Binacchi
From: Michael Trimarchi The shutdown function can be called when the display is already unprepared. For example during reboot this trigger a kernel backlog. Calling the drm_panel_unprepare, allow us to avoid to trigger the kernel warning. Tested-by: Dario Binacchi Signed-off-by: Michael

[PATCH] drm/mxsfb: Remove generic DRM drivers in probe function

2024-10-24 Thread Dario Binacchi
Use aperture helpers to remove all generic graphics drivers before loading mxsfb. Makes mxsfb compatible with simpledrm. Co-developed-by: Michael Trimarchi Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- drivers/gpu/drm/mxsfb/mxsfb_drv.c | 10 ++ 1 file changed

Re: [drm-drm-misc:drm-misc-next v2] dt-bindings: nt35510: document 'port' property

2024-02-25 Thread Dario Binacchi
Hi, On Wed, Feb 14, 2024 at 10:47 AM Alexandre TORGUE wrote: > > Hi Heiko > > On 1/31/24 16:53, Conor Dooley wrote: > > On Wed, Jan 31, 2024 at 10:28:44AM +0100, Dario Binacchi wrote: > >> Allow 'port' property (coming from panel-common.yaml) to be used in

Re: linux-next: manual merge of the drm-misc tree with Linus' tree

2024-02-06 Thread Dario Binacchi
hat state the drm-misc tree is. > > -michael > > [1] > https://lore.kernel.org/dri-devel/CAPM=9tytMB9frxNeD08hu1qsusY=wee3bjofmuga1rspabw...@mail.gmail.com/ > [2] > https://lore.kernel.org/dri-devel/31e1a38a1d012a32d6f7bc8372b63...@kernel.org/ Unfortunately, in this recent perio

[drm-drm-misc:drm-misc-next v2] dt-bindings: nt35510: document 'port' property

2024-01-31 Thread Dario Binacchi
Allow 'port' property (coming from panel-common.yaml) to be used in DTS: st/stm32f769-disco-mb1166-reva09.dtb: panel@0: 'port' does not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Dario Binacchi Cc: Alexandre Torgue --- Changes in v2: - Rework

Re: [PATCH] drm: bridge: samsung-dsim: Don't use FORCE_STOP_STATE

2024-01-30 Thread Dario Binacchi
ble(struct drm_bridge *bridge, { struct samsung_dsim *dsi = bridge_to_dsi(bridge); + if (!samsung_dsim_hw_is_exynos(dsi->plat_data->hw_type)) + samsung_dsim_set_stop_state(dsi, true); + dsi->state &= ~DSIM_STATE_ENABLED; pm_runtime_p

[drm-drm-misc:drm-misc-next] dt-bindings: nt35510: document 'port' property

2024-01-27 Thread Dario Binacchi
Allow 'port' property (coming from panel-common.yaml) to be used in DTS: st/stm32f769-disco-mb1166-reva09.dtb: panel@0: 'port' does not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Dario Binacchi Cc: Alexandre Torgue --- .../display/panel/no

[RESEND PATCH v9 2/2] drm: bridge: samsung-dsim: complete the CLKLANE_STOP setting

2024-01-15 Thread Dario Binacchi
The patch completes the setting of CLKLANE_STOP for the imx8m{m,n,p} platforms (i. e. not exynos). Co-developed-by: Michael Trimarchi Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- Changes in v9: - Updated commit message - Drop [3/3] arm64: dts: imx8mn-bsh-smm-s2/pro: add

[RESEND PATCH v9 1/2] drm: bridge: samsung-dsim: enter display mode in the enable() callback

2024-01-15 Thread Dario Binacchi
r63353_panel_unprepare -> send DSI commands samsung_dsim_atomic_post_disable Co-developed-by: Michael Trimarchi Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- (no changes since v1) drivers/gpu/drm/bridge/samsung-dsim.c | 7 +-- 1 file changed, 5 insertions(+), 2 d

[RESEND PATCH v9 0/2] Add displays support for bsh-smm-s2/pro boards

2024-01-15 Thread Dario Binacchi
lowing patches: - 0001 drm/bridge: Fix bridge disable logic - 0002 drm/bridge: Fix a use case in the bridge disable logic - 0003 samsung-dsim: enter display mode in the enable() callback - 0004 drm: bridge: samsung-dsim: complete the CLKLANE_STOP setting Dario Binacchi (2): drm: bridge:

Re: [PATCH v5 5/8] dt-bindings: nt35510: add compatible for FRIDA FRD400B25025-A-CTK

2024-01-09 Thread Dario Binacchi
Hi Linus, On Tue, Jan 9, 2024 at 1:51 PM Linus Walleij wrote: > > Hi Dario, > > do you want me to apply patches 5,7,8 to the dri-misc > tree? > > Yours, > Linus Walleij Yes, I would appreciate that very much. Thanks and Regards, Dario Binacchi -- Dario Binacch

[PATCH v5 8/8] drm/panel: nt35510: support FRIDA FRD400B25025-A-CTK

2024-01-08 Thread Dario Binacchi
found in the datasheet. [1] https://github.com/STMicroelectronics/STM32CubeF7/blob/master/Drivers/BSP/Components/nt35510/ Signed-off-by: Dario Binacchi --- Changes in v5: - Replace GPIOD_ASIS with GPIOD_OUT_HIGH in the call to devm_gpiod_get_optional(). Changes in v2: - Re-write the patch [8/8

[PATCH v5 7/8] drm/panel: nt35510: move hardwired parameters to configuration

2024-01-08 Thread Dario Binacchi
This patch, preparatory for future developments, move the hardwired parameters to configuration data to allow the addition of new NT35510-based panels. Signed-off-by: Dario Binacchi Reviewed-by: Linus Walleij Tested-by: Linus Walleij --- Changes in v5: - Replace NT35510_ROTATE_180_SETTING

[PATCH v5 5/8] dt-bindings: nt35510: add compatible for FRIDA FRD400B25025-A-CTK

2024-01-08 Thread Dario Binacchi
The patch adds the FRIDA FRD400B25025-A-CTK panel, which belongs to the Novatek NT35510-based panel family. Signed-off-by: Dario Binacchi Acked-by: Krzysztof Kozlowski Reviewed-by: Linus Walleij --- Changes in v5: - Add Acked-by tag of Krzysztof Kozlowski - Add Reviewed-by tag of Linus

[PATCH v5 0/8] Add display support for stm32f769-disco board

2024-01-08 Thread Dario Binacchi
pport FRIDA FRD400B25025-A-CTK" in the same style as the original driver. Dario Binacchi (8): dt-bindings: mfd: stm32f7: Add binding definition for DSI ARM: dts: stm32: add DSI support on stm32f769 ARM: dts: stm32: rename mmc_vcard to vcc-3v3 on stm32f769-disco ARM: dts: stm32: a

Re: [PATCH v4 8/8] drm/panel: nt35510: support FRIDA FRD400B25025-A-CTK

2024-01-08 Thread Dario Binacchi
On Sun, Jan 7, 2024 at 9:02 PM Linus Walleij wrote: > > On Sat, Jan 6, 2024 at 12:07 PM Dario Binacchi > wrote: > > > After submitting v4, I tested the driver under different conditions, > > i. e. without enabling display support in > > U-Boot (I also implemented

Re: [PATCH v4 8/8] drm/panel: nt35510: support FRIDA FRD400B25025-A-CTK

2024-01-06 Thread Dario Binacchi
On Fri, Jan 5, 2024 at 8:09 PM Linus Walleij wrote: > > On Thu, Jan 4, 2024 at 9:42 AM Dario Binacchi > wrote: > > > The initialization commands are taken from the STMicroelectronics driver > > found at [1]. > > To ensure backward compatibility, flags h

Re: [PATCH v4 7/8] drm/panel: nt35510: move hardwired parameters to configuration

2024-01-06 Thread Dario Binacchi
On Fri, Jan 5, 2024 at 8:08 PM Linus Walleij wrote: > > On Thu, Jan 4, 2024 at 9:42 AM Dario Binacchi > wrote: > > > This patch, preparatory for future developments, move the hardwired > > parameters to configuration data to allow the addition of new > > NT35510-ba

[PATCH v4 8/8] drm/panel: nt35510: support FRIDA FRD400B25025-A-CTK

2024-01-04 Thread Dario Binacchi
found in the datasheet. [1] https://github.com/STMicroelectronics/STM32CubeF7/blob/master/Drivers/BSP/Components/nt35510/ Signed-off-by: Dario Binacchi --- (no changes since v2) Changes in v2: - Re-write the patch [8/8] "drm/panel: nt35510: support FRIDA FRD400B25025-A-CTK" in the

[PATCH v4 7/8] drm/panel: nt35510: move hardwired parameters to configuration

2024-01-04 Thread Dario Binacchi
This patch, preparatory for future developments, move the hardwired parameters to configuration data to allow the addition of new NT35510-based panels. Signed-off-by: Dario Binacchi --- (no changes since v2) Changes in v2: - Re-write the patch [7/8] "drm/panel: nt35510: refactor

[PATCH v4 5/8] dt-bindings: nt35510: add compatible for FRIDA FRD400B25025-A-CTK

2024-01-04 Thread Dario Binacchi
The patch adds the FRIDA FRD400B25025-A-CTK panel, which belongs to the Novatek NT35510-based panel family. Signed-off-by: Dario Binacchi --- Changes in v4: - Put the "enum" list in alphabetical order Changes in v3: - Use "enum" to have less code changed Changes in v2: -

[PATCH v4 0/8] Add display support for stm32f769-disco board

2024-01-04 Thread Dario Binacchi
25025-A-CTK" in the same style as the original driver. Dario Binacchi (8): dt-bindings: mfd: stm32f7: Add binding definition for DSI ARM: dts: stm32: add DSI support on stm32f769 ARM: dts: stm32: rename mmc_vcard to vcc-3v3 on stm32f769-disco ARM: dts: stm32: add display support o

[PATCH v3 8/8] drm/panel: nt35510: support FRIDA FRD400B25025-A-CTK

2024-01-03 Thread Dario Binacchi
found in the datasheet. [1] https://github.com/STMicroelectronics/STM32CubeF7/blob/master/Drivers/BSP/Components/nt35510/ Signed-off-by: Dario Binacchi --- (no changes since v2) Changes in v2: - Re-write the patch [8/8] "drm/panel: nt35510: support FRIDA FRD400B25025-A-CTK" in the

[PATCH v3 7/8] drm/panel: nt35510: move hardwired parameters to configuration

2024-01-03 Thread Dario Binacchi
This patch, preparatory for future developments, move the hardwired parameters to configuration data to allow the addition of new NT35510-based panels. Signed-off-by: Dario Binacchi --- (no changes since v2) Changes in v2: - Re-write the patch [7/8] "drm/panel: nt35510: refactor

[PATCH v3 5/8] dt-bindings: nt35510: add compatible for FRIDA FRD400B25025-A-CTK

2024-01-03 Thread Dario Binacchi
The patch adds the FRIDA FRD400B25025-A-CTK panel, which belongs to the Novatek NT35510-based panel family. Signed-off-by: Dario Binacchi --- Changes in v3: - Use "enum" to have less code changed Changes in v2: - Add a dash in front of each "items:" .../devicetree/bi

[PATCH v3 0/8] Add display support for stm32f769-disco board

2024-01-03 Thread Dario Binacchi
atch [7/8] "drm/panel: nt35510: refactor panel initialization" in the same style as the original driver in order to maintain the same structure. - Re-write the patch [8/8] "drm/panel: nt35510: support FRIDA FRD400B25025-A-CTK" in the same style as the original driver. Da

[PATCH v2 8/8] drm/panel: nt35510: support FRIDA FRD400B25025-A-CTK

2024-01-01 Thread Dario Binacchi
found in the datasheet. [1] https://github.com/STMicroelectronics/STM32CubeF7/blob/master/Drivers/BSP/Components/nt35510/ Signed-off-by: Dario Binacchi --- Changes in v2: - Re-write the patch [8/8] "drm/panel: nt35510: support FRIDA FRD400B25025-A-CTK" in the same style as the origi

[PATCH v2 7/8] drm/panel: nt35510: move hardwired parameters to configuration

2024-01-01 Thread Dario Binacchi
This patch, preparatory for future developments, move the hardwired parameters to configuration data to allow the addition of new NT35510-based panels. Signed-off-by: Dario Binacchi --- Changes in v2: - Re-write the patch [7/8] "drm/panel: nt35510: refactor panel initialization" i

[PATCH v2 5/8] dt-bindings: nt35510: add compatible for FRIDA FRD400B25025-A-CTK

2024-01-01 Thread Dario Binacchi
The patch adds the FRIDA FRD400B25025-A-CTK panel, which belongs to the Novatek NT35510-based panel family. Signed-off-by: Dario Binacchi --- Changes in v2: - Add a dash in front of each "items:" .../bindings/display/panel/novatek,nt35510.yaml| 10 +++--- 1 file

[PATCH v2 0/8] Add display support for stm32f769-disco board

2024-01-01 Thread Dario Binacchi
ot; in the same style as the original driver in order to maintain the same structure. - Re-write the patch [8/8] "drm/panel: nt35510: support FRIDA FRD400B25025-A-CTK" in the same style as the original driver. Dario Binacchi (8): dt-bindings: mfd: stm32f7: Add binding defin

Re: [PATCH 7/8] drm/panel: nt35510: refactor panel initialization

2023-12-30 Thread Dario Binacchi
Hi Linus, On Fri, Dec 29, 2023 at 6:43 PM Linus Walleij wrote: > > On Fri, Dec 29, 2023 at 2:52 PM Dario Binacchi > wrote: > > > The previous implementation did not make it easy to support new > > NT35510-based panels with different initialization sequences. > &g

Re: [PATCH 5/8] dt-bindings: nt35510: add compatible for FRIDA FRD400B25025-A-CTK

2023-12-30 Thread Dario Binacchi
Hi Linus, On Fri, Dec 29, 2023 at 6:34 PM Linus Walleij wrote: > > Hi Dario, > > thanks for your patch! > > On Fri, Dec 29, 2023 at 2:52 PM Dario Binacchi > wrote: > > > The patch adds the FRIDA FRD400B25025-A-CTK panel, which belongs to the > >

[PATCH 7/8] drm/panel: nt35510: refactor panel initialization

2023-12-29 Thread Dario Binacchi
panels. Signed-off-by: Dario Binacchi --- drivers/gpu/drm/panel/panel-novatek-nt35510.c | 797 -- 1 file changed, 165 insertions(+), 632 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-novatek-nt35510.c b/drivers/gpu/drm/panel/panel-novatek-nt35510.c index d6dceb858008

[PATCH 8/8] drm/panel: nt35510: support FRIDA FRD400B25025-A-CTK

2023-12-29 Thread Dario Binacchi
The initialization commands are taken from the STMicroelectronics driver found at https://github.com/STMicroelectronics/STM32CubeF7/blob/master/Drivers/BSP/Components/nt35510/ Signed-off-by: Dario Binacchi --- drivers/gpu/drm/panel/panel-novatek-nt35510.c | 75 +++ 1 file

[PATCH 5/8] dt-bindings: nt35510: add compatible for FRIDA FRD400B25025-A-CTK

2023-12-29 Thread Dario Binacchi
The patch adds the FRIDA FRD400B25025-A-CTK panel, which belongs to the Novatek NT35510-based panel family. Signed-off-by: Dario Binacchi --- .../display/panel/novatek,nt35510.yaml| 20 +++ 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/Documentation

[PATCH 0/8] Add display support for stm32f769-disco board

2023-12-29 Thread Dario Binacchi
. Dario Binacchi (8): dt-bindings: mfd: stm32f7: Add binding definition for DSI ARM: dts: stm32: add DSI support on stm32f769 ARM: dts: stm32: rename mmc_vcard to vcc-3v3 on stm32f769-disco ARM: dts: stm32: add display support on stm32f769-disco dt-bindings: nt35510: add compatible for

[PATCH v2] drm/debugfs: drop unneeded DEBUG_FS guard

2023-12-23 Thread Dario Binacchi
The Makefile enables/disables the file compilation depending on CONFIG_DEBUG_FS. Signed-off-by: Dario Binacchi Reviewed-by: Jani Nikula --- Changes in v2: - Add 'Reviewed-by' tag of Jani Nikula drivers/gpu/drm/drm_debugfs.c | 4 1 file changed, 4 deletions(-) diff --git a/d

[PATCH v9 0/2] Add displays support for bsh-smm-s2/pro boards

2023-12-18 Thread Dario Binacchi
c - 0003 samsung-dsim: enter display mode in the enable() callback - 0004 drm: bridge: samsung-dsim: complete the CLKLANE_STOP setting Dario Binacchi (2): drm: bridge: samsung-dsim: enter display mode in the enable() callback drm: bridge: samsung-dsim: complete the CLKLANE_STOP setting

[PATCH v9 2/2] drm: bridge: samsung-dsim: complete the CLKLANE_STOP setting

2023-12-18 Thread Dario Binacchi
The patch completes the setting of CLKLANE_STOP for the imx8m{m,n,p} platforms (i. e. not exynos). Co-developed-by: Michael Trimarchi Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- Changes in v9: - Updated commit message - Drop [3/3] arm64: dts: imx8mn-bsh-smm-s2/pro: add

[PATCH v9 1/2] drm: bridge: samsung-dsim: enter display mode in the enable() callback

2023-12-18 Thread Dario Binacchi
r63353_panel_unprepare -> send DSI commands samsung_dsim_atomic_post_disable Co-developed-by: Michael Trimarchi Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- (no changes since v1) drivers/gpu/drm/bridge/samsung-dsim.c | 7 +-- 1 file changed, 5 insertions(+), 2 d

[PATCH v8 1/3] drm: bridge: samsung-dsim: enter display mode in the enable() callback

2023-12-14 Thread Dario Binacchi
r63353_panel_unprepare -> send DSI commands samsung_dsim_atomic_post_disable Co-developed-by: Michael Trimarchi Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- (no changes since v1) drivers/gpu/drm/bridge/samsung-dsim.c | 7 +-- 1 file changed, 5 insertions(+), 2 d

[PATCH v8 0/3] Add displays support for bsh-smm-s2/pro boards

2023-12-14 Thread Dario Binacchi
es it includes. - Added to the series the following patches: - 0001 drm/bridge: Fix bridge disable logic - 0002 drm/bridge: Fix a use case in the bridge disable logic - 0003 samsung-dsim: enter display mode in the enable() callback - 0004 drm: bridge: samsung-dsim: complete the CLKLANE_S

[PATCH v8 2/3] drm: bridge: samsung-dsim: complete the CLKLANE_STOP setting

2023-12-14 Thread Dario Binacchi
The patch completes the setting of CLKLANE_STOP for the imx8mn and imx8mp platforms (i. e. not exynos). Co-developed-by: Michael Trimarchi Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- (no changes since v1) drivers/gpu/drm/bridge/samsung-dsim.c | 7 ++- 1 file

[PATCH v7 1/3] drm: bridge: samsung-dsim: enter display mode in the enable() callback

2023-12-13 Thread Dario Binacchi
r63353_panel_unprepare -> send DSI commands samsung_dsim_atomic_post_disable Co-developed-by: Michael Trimarchi Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- (no changes since v1) drivers/gpu/drm/bridge/samsung-dsim.c | 7 +-- 1 file changed, 5 insertions(+), 2 d

[PATCH v7 2/3] drm: bridge: samsung-dsim: complete the CLKLANE_STOP setting

2023-12-13 Thread Dario Binacchi
The patch completes the setting of CLKLANE_STOP for the imx8mn and imx8mp platforms (i. e. not exynos). Co-developed-by: Michael Trimarchi Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- (no changes since v1) drivers/gpu/drm/bridge/samsung-dsim.c | 7 ++- 1 file

[PATCH v7 0/3] Add displays support for bsh-smm-s2/pro boards

2023-12-13 Thread Dario Binacchi
drm: bridge: samsung-dsim: complete the CLKLANE_STOP setting Dario Binacchi (2): drm: bridge: samsung-dsim: enter display mode in the enable() callback drm: bridge: samsung-dsim: complete the CLKLANE_STOP setting Michael Trimarchi (1): arm64: dts: imx8mn-bsh-smm-s2/pro: add display setup .../

[PATCH v6 3/4] dt-bindings: display: panel: Add synaptics r63353 panel controller

2023-12-13 Thread Dario Binacchi
From: Michael Trimarchi Add documentation for "synaptics,r63353" panel. Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi Reviewed-by: Krzysztof Kozlowski --- (no changes since v3) Changes in v3: - Add 'Reviewed-by' tag of Krzysztof Kozlowski. - Repla

[PATCH v6 1/4] drm: bridge: samsung-dsim: enter display mode in the enable() callback

2023-12-13 Thread Dario Binacchi
r63353_panel_unprepare -> send DSI commands samsung_dsim_atomic_post_disable Co-developed-by: Michael Trimarchi Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- (no changes since v1) drivers/gpu/drm/bridge/samsung-dsim.c | 7 +-- 1 file changed, 5 insertions(+), 2 d

[PATCH v6 2/4] drm: bridge: samsung-dsim: complete the CLKLANE_STOP setting

2023-12-13 Thread Dario Binacchi
The patch completes the setting of CLKLANE_STOP for the imx8mn and imx8mp platforms (i. e. not exynos). Co-developed-by: Michael Trimarchi Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- (no changes since v1) drivers/gpu/drm/bridge/samsung-dsim.c | 7 ++- 1 file

[PATCH v6 0/4] Add displays support for bsh-smm-s2/pro boards

2023-12-13 Thread Dario Binacchi
following patches: - 0001 drm/bridge: Fix bridge disable logic - 0002 drm/bridge: Fix a use case in the bridge disable logic - 0003 samsung-dsim: enter display mode in the enable() callback - 0004 drm: bridge: samsung-dsim: complete the CLKLANE_STOP setting Dario Binacchi (2): drm: brid

Re: (subset) [PATCH v5 00/10] Add displays support for bsh-smm-s2/pro boards

2023-12-13 Thread Dario Binacchi
Hi Neil, On Mon, Dec 11, 2023 at 10:16 AM Neil Armstrong wrote: > > Hi, > > On Thu, 07 Dec 2023 15:16:29 +0100, Dario Binacchi wrote: > > The series adds drivers for the displays used by bsh-smm-s2/pro boards. > > This required applying some patches to the sam

Re: [PATCH v4 02/10] drm/bridge: Fix a use case in the bridge disable logic

2023-12-13 Thread Dario Binacchi
Hi Jagan and Dave, On Wed, Dec 6, 2023 at 2:57 PM Michael Nazzareno Trimarchi wrote: > > Hi Jagan > > On Wed, Dec 6, 2023 at 2:31 PM Jagan Teki wrote: > > > > Hi Dario, > > > > On Wed, Dec 6, 2023 at 6:57 PM Dario Binacchi > > wrote: > > >

[linux-next:master] drm/panel: synaptics-r63353: adjust the includes

2023-12-13 Thread Dario Binacchi
Adjust the includes to explicitly include the correct headers. Suggested-by: Rob Herring Signed-off-by: Dario Binacchi --- drivers/gpu/drm/panel/panel-synaptics-r63353.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-synaptics-r63353.c b

[linux-next:master] drm/panel: ilitek-ili9805: adjust the includes

2023-12-13 Thread Dario Binacchi
Adjust the includes to explicitly include the correct headers. Suggested-by: Rob Herring Signed-off-by: Dario Binacchi --- drivers/gpu/drm/panel/panel-ilitek-ili9805.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-ilitek-ili9805.c b/drivers

[PATCH] drm/bridge: samsung-dsim: check the return value only if necessary

2023-12-07 Thread Dario Binacchi
It was useless to check again the "ret" variable if the function register_host() was not called. Signed-off-by: Dario Binacchi --- drivers/gpu/drm/bridge/samsung-dsim.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/bridge/samsung-dsim.c

[PATCH v5 09/10] drm/panel: ilitek-ili9805: add support for Tianma TM041XDHG01 panel

2023-12-07 Thread Dario Binacchi
From: Michael Trimarchi Tianma TM041XDHG01 utilizes the Ilitek ILI9805 controller. Add this panel's initialzation sequence and timing to ILI9805 driver. Signed-off-by: Michael Trimarchi Reviewed-by: Neil Armstrong Signed-off-by: Dario Binacchi --- (no changes since v4) Changes

[PATCH v5 08/10] drm/panel: Add Ilitek ILI9805 panel driver

2023-12-07 Thread Dario Binacchi
From: Michael Trimarchi The GPM1790A0 panel is based on the Ilitek ILI9805 Controller. Add a driver for it. Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- (no changes since v4) Changes in v4: - Remove duplicated code for prepare/unprepare callbacks MAINTAINERS

[PATCH v5 05/10] dt-bindings: display: panel: Add synaptics r63353 panel controller

2023-12-07 Thread Dario Binacchi
From: Michael Trimarchi Add documentation for "synaptics,r63353" panel. Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi Reviewed-by: Krzysztof Kozlowski --- (no changes since v3) Changes in v3: - Add 'Reviewed-by' tag of Krzysztof Kozlowski. - Repla

[PATCH v5 06/10] drm/panel: Add Synaptics R63353 panel driver

2023-12-07 Thread Dario Binacchi
From: Michael Trimarchi The LS068B3SX02 panel is based on the Synaptics R63353 Controller. Add a driver for it. Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- Changes in v5: - Replace a 'return ret' with a 'goto fail' in the r63353_panel_activate()

[PATCH v5 04/10] drm: bridge: samsung-dsim: complete the CLKLANE_STOP setting

2023-12-07 Thread Dario Binacchi
The patch completes the setting of CLKLANE_STOP for the imx8mn and imx8mp platforms (i. e. not exynos). Co-developed-by: Michael Trimarchi Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- (no changes since v1) drivers/gpu/drm/bridge/samsung-dsim.c | 7 ++- 1 file

[PATCH v5 07/10] dt-bindings: display: panel: Add Ilitek ili9805 panel controller

2023-12-07 Thread Dario Binacchi
From: Michael Trimarchi Add documentation for "ilitek,ili9805" panel. Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi Reviewed-by: Krzysztof Kozlowski --- Changes in v5: - Add 'Reviewed-by' tag of Krzysztof Kozlowski Changes in v3: - Drop power-supply

[PATCH v5 03/10] drm: bridge: samsung-dsim: enter display mode in the enable() callback

2023-12-07 Thread Dario Binacchi
r63353_panel_unprepare -> send DSI commands samsung_dsim_atomic_post_disable Co-developed-by: Michael Trimarchi Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- (no changes since v1) drivers/gpu/drm/bridge/samsung-dsim.c | 7 +-- 1 file changed, 5 insertions(+), 2 d

[PATCH v5 01/10] drm/bridge: Fix bridge disable logic

2023-12-07 Thread Dario Binacchi
uot;pre_enable_prev_first" flag to true. Fixes: 4fb912e5e190 ("drm/bridge: Introduce pre_enable_prev_first to alter bridge init order") Signed-off-by: Dario Binacchi --- (no changes since v1) drivers/gpu/drm/drm_bridge.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) dif

[PATCH v5 00/10] Add displays support for bsh-smm-s2/pro boards

2023-12-07 Thread Dario Binacchi
patches merged into the mainline in the dtsi files it includes. - Added to the series the following patches: - 0001 drm/bridge: Fix bridge disable logic - 0002 drm/bridge: Fix a use case in the bridge disable logic - 0003 samsung-dsim: enter display mode in the enable() callback - 0004 drm: br

[PATCH v5 02/10] drm/bridge: Fix a use case in the bridge disable logic

2023-12-07 Thread Dario Binacchi
e. The use of a new iteration variable (i. e. "iter") ensures that the value of the "next" variable is not invalidated. Fixes: 4fb912e5e190 ("drm/bridge: Introduce pre_enable_prev_first to alter bridge init order") Co-developed-by: Michael Trimarchi Signed-off-by

[PATCH] drm/debugfs: drop unneeded DEBUG_FS guard

2023-12-06 Thread Dario Binacchi
The Makefile enables/disables the file compilation depending on CONFIG_DEBUG_FS. Signed-off-by: Dario Binacchi --- drivers/gpu/drm/drm_debugfs.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/gpu/drm/drm_debugfs.c b/drivers/gpu/drm/drm_debugfs.c index f291fb4b359f..f80d9cf3e71a

Re: [PATCH v4 02/10] drm/bridge: Fix a use case in the bridge disable logic

2023-12-06 Thread Dario Binacchi
Hi Dave and Jagan, On Tue, Dec 5, 2023 at 4:39 PM Dave Stevenson wrote: > > Hi Dario > > On Tue, 5 Dec 2023 at 10:54, Dario Binacchi > wrote: > > > > The patch fixes the code for finding the next bridge with the > > "pre_enable_prev_first" flag set

[PATCH v4 09/10] drm/panel: ilitek-ili9805: add support for Tianma TM041XDHG01 panel

2023-12-05 Thread Dario Binacchi
From: Michael Trimarchi Tianma TM041XDHG01 utilizes the Ilitek ILI9805 controller. Add this panel's initialzation sequence and timing to ILI9805 driver. Signed-off-by: Michael Trimarchi Reviewed-by: Neil Armstrong Signed-off-by: Dario Binacchi --- Changes in v4: - Add Reviewed-by t

[PATCH v4 08/10] drm/panel: Add Ilitek ILI9805 panel driver

2023-12-05 Thread Dario Binacchi
From: Michael Trimarchi The GPM1790A0 panel is based on the Ilitek ILI9805 Controller. Add a driver for it. Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- Changes in v4: - Remove duplicated code for prepare/unprepare callbacks MAINTAINERS

[PATCH v4 04/10] drm: bridge: samsung-dsim: complete the CLKLANE_STOP setting

2023-12-05 Thread Dario Binacchi
The patch completes the setting of CLKLANE_STOP for the imx8mn and imx8mp platforms (i. e. not exynos). Co-developed-by: Michael Trimarchi Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- (no changes since v1) drivers/gpu/drm/bridge/samsung-dsim.c | 7 ++- 1 file

[PATCH v4 07/10] dt-bindings: display: panel: Add Ilitek ili9805 panel controller

2023-12-05 Thread Dario Binacchi
From: Michael Trimarchi Add documentation for "ilitek,ili9805" panel. Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- (no changes since v3) Changes in v3: - Drop power-supply Changes in v2: - Add $ref to panel-common.yaml - Drop port, reset-gpios, and backl

[PATCH v4 06/10] drm/panel: Add Synaptics R63353 panel driver

2023-12-05 Thread Dario Binacchi
From: Michael Trimarchi The LS068B3SX02 panel is based on the Synaptics R63353 Controller. Add a driver for it. Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- Changes in v4: - Set the reset gpio to low in a single operation - Remove duplicated code for prepare/unprepare

[PATCH v4 05/10] dt-bindings: display: panel: Add synaptics r63353 panel controller

2023-12-05 Thread Dario Binacchi
From: Michael Trimarchi Add documentation for "synaptics,r63353" panel. Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi Reviewed-by: Krzysztof Kozlowski --- (no changes since v3) Changes in v3: - Add 'Reviewed-by' tag of Krzysztof Kozlowski. - Repla

[PATCH v4 03/10] drm: bridge: samsung-dsim: enter display mode in the enable() callback

2023-12-05 Thread Dario Binacchi
r63353_panel_unprepare -> send DSI commands samsung_dsim_atomic_post_disable Co-developed-by: Michael Trimarchi Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- (no changes since v1) drivers/gpu/drm/bridge/samsung-dsim.c | 7 +-- 1 file changed, 5 insertions(+), 2 d

[PATCH v4 02/10] drm/bridge: Fix a use case in the bridge disable logic

2023-12-05 Thread Dario Binacchi
e. The use of a new iteration variable (i. e. "iter") ensures that the value of the "next" variable is not invalidated. Fixes: 4fb912e5e190 ("drm/bridge: Introduce pre_enable_prev_first to alter bridge init order") Co-developed-by: Michael Trimarchi Signed-off-by

[PATCH v4 01/10] drm/bridge: Fix bridge disable logic

2023-12-05 Thread Dario Binacchi
uot;pre_enable_prev_first" flag to true. Fixes: 4fb912e5e190 ("drm/bridge: Introduce pre_enable_prev_first to alter bridge init order") Signed-off-by: Dario Binacchi --- (no changes since v1) drivers/gpu/drm/drm_bridge.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) dif

[PATCH v4 00/10] Add displays support for bsh-smm-s2/pro boards

2023-12-05 Thread Dario Binacchi
- 0003 samsung-dsim: enter display mode in the enable() callback - 0004 drm: bridge: samsung-dsim: complete the CLKLANE_STOP setting Dario Binacchi (4): drm/bridge: Fix bridge disable logic drm/bridge: Fix a use case in the bridge disable logic drm: bridge: samsung-dsim: enter display mo

[PATCH v3 09/10] drm/panel: ilitek-ili9805: add support for Tianma TM041XDHG01 panel

2023-11-30 Thread Dario Binacchi
From: Michael Trimarchi Tianma TM041XDHG01 utilizes the Ilitek ILI9805 controller. Add this panel's initialzation sequence and timing to ILI9805 driver. Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- (no changes since v1) drivers/gpu/drm/panel/panel-ilitek-ili9

[PATCH v3 07/10] dt-bindings: display: panel: Add Ilitek ili9805 panel controller

2023-11-30 Thread Dario Binacchi
From: Michael Trimarchi Add documentation for "ilitek,ili9805" panel. Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- Changes in v3: - Drop power-supply Changes in v2: - Add $ref to panel-common.yaml - Drop port, reset-gpios, and backlight - Set port and ba

[PATCH v3 06/10] drm/panel: Add Synaptics R63353 panel driver

2023-11-30 Thread Dario Binacchi
From: Michael Trimarchi The LS068B3SX02 panel is based on the Synaptics R63353 Controller. Add a driver for it. Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- (no changes since v2) Changes in v2: - Adjust the timings of the panel reset MAINTAINERS

[PATCH v3 04/10] drm: bridge: samsung-dsim: complete the CLKLANE_STOP setting

2023-11-30 Thread Dario Binacchi
The patch completes the setting of CLKLANE_STOP for the imx8mn and imx8mp platforms (i. e. not exynos). Co-developed-by: Michael Trimarchi Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- (no changes since v1) drivers/gpu/drm/bridge/samsung-dsim.c | 7 ++- 1 file

[PATCH v3 02/10] drm/bridge: Fix a use case in the bridge disable logic

2023-11-30 Thread Dario Binacchi
e. The use of a new iteration variable (i. e. "iter") ensures that the value of the "next" variable is not invalidated. Fixes: 4fb912e5e190 ("drm/bridge: Introduce pre_enable_prev_first to alter bridge init order") Co-developed-by: Michael Trimarchi Signed-off-by

[PATCH v3 05/10] dt-bindings: display: panel: Add synaptics r63353 panel controller

2023-11-30 Thread Dario Binacchi
From: Michael Trimarchi Add documentation for "synaptics,r63353" panel. Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi Reviewed-by: Krzysztof Kozlowski --- Changes in v3: - Add 'Reviewed-by' tag of Krzysztof Kozlowski. - Replace "synaptics,r633

[PATCH v3 03/10] drm: bridge: samsung-dsim: enter display mode in the enable() callback

2023-11-30 Thread Dario Binacchi
r63353_panel_unprepare -> send DSI commands samsung_dsim_atomic_post_disable Co-developed-by: Michael Trimarchi Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- (no changes since v1) drivers/gpu/drm/bridge/samsung-dsim.c | 7 +-- 1 file changed, 5 insertions(+), 2 d

[PATCH v3 08/10] drm/panel: Add Ilitek ILI9805 panel driver

2023-11-30 Thread Dario Binacchi
From: Michael Trimarchi The GPM1790A0 panel is based on the Ilitek ILI9805 Controller. Add a driver for it. Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- (no changes since v1) MAINTAINERS | 6 + drivers/gpu/drm/panel/Kconfig

[PATCH v3 01/10] drm/bridge: Fix bridge disable logic

2023-11-30 Thread Dario Binacchi
uot;pre_enable_prev_first" flag to true. Fixes: 4fb912e5e190 ("drm/bridge: Introduce pre_enable_prev_first to alter bridge init order") Signed-off-by: Dario Binacchi --- (no changes since v1) drivers/gpu/drm/drm_bridge.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) dif

[PATCH v3 00/10] Add displays support for bsh-smm-s2/pro boards

2023-11-30 Thread Dario Binacchi
le logic - 0003 samsung-dsim: enter display mode in the enable() callback - 0004 drm: bridge: samsung-dsim: complete the CLKLANE_STOP setting Dario Binacchi (4): drm/bridge: Fix bridge disable logic drm/bridge: Fix a use case in the bridge disable logic drm: bridge: samsung-dsim: en

[PATCH v2 10/11] drm/panel: ilitek-ili9805: add support for Tianma TM041XDHG01 panel

2023-11-26 Thread Dario Binacchi
From: Michael Trimarchi Tianma TM041XDHG01 utilizes the Ilitek ILI9805 controller. Add this panel's initialzation sequence and timing to ILI9805 driver. Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- (no changes since v1) drivers/gpu/drm/panel/panel-ilitek-ili9

[PATCH v2 09/11] dt-bindings: ili9805: add compatible string for Tianma TM041XDHG01

2023-11-26 Thread Dario Binacchi
From: Michael Trimarchi Add Tianma TM041XDHG01 that utilizes an Ilitek ILI9805 controller chip, so its compatible string should be added to ilitek,ili9805 file. Add the compatible string for it. Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- (no changes since v1

[PATCH v2 03/11] drm: bridge: samsung-dsim: enter display mode in the enable() callback

2023-11-26 Thread Dario Binacchi
r63353_panel_unprepare -> send DSI commands samsung_dsim_atomic_post_disable Co-developed-by: Michael Trimarchi Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- (no changes since v1) drivers/gpu/drm/bridge/samsung-dsim.c | 7 +-- 1 file changed, 5 insertions(+), 2 d

[PATCH v2 07/11] dt-bindings: display: panel: Add Ilitek ili9805 panel controller

2023-11-26 Thread Dario Binacchi
From: Michael Trimarchi Add documentation for "ilitek,ili9805" panel. Signed-off-by: Michael Trimarchi Signed-off-by: Dario Binacchi --- Changes in v2: - Add $ref to panel-common.yaml - Drop port, reset-gpios, and backlight - Set port and backlight ad required - Replace additional

  1   2   >