[PATCH] drm/kmb: Fix for build errors with Warray-bounds

2022-01-27 Thread Anitha Chrisanthus
Bay Display") Signed-off-by: Anitha Chrisanthus --- drivers/gpu/drm/kmb/kmb_plane.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/gpu/drm/kmb/kmb_plane.c b/drivers/gpu/drm/kmb/kmb_plane.c index 00404ba4126d..2735b8eb3537 100644 --- a/drivers/gpu/drm/kmb/kmb_plane.c +++ b/dri

[PATCH v4 2/2] drm/kmb: Enable support for framebuffer console

2021-10-19 Thread Anitha Chrisanthus
Enable support for fbcon (framebuffer console). v2: added missing static clk_enable v3: removed module parameter, use fbdev_emulation instead. Use preferred depth of 24 for color depth. (Thomas Z.) Signed-off-by: Anitha Chrisanthus --- drivers/gpu/drm/kmb/kmb_drv.c | 4 1 file changed, 4

[PATCH v4 1/2] drm/kmb: Enable ADV bridge after modeset

2021-10-19 Thread Anitha Chrisanthus
On KMB, ADV bridge must be programmed and powered on prior to MIPI DSI HW initialization. v2: changed to atomic_bridge_chain_enable (Sam) Fixes: 98521f4d4b4c ("drm/kmb: Mipi DSI part of the display driver") Co-developed-by: Edmund Dea Signed-off-by: Anitha Chrisanthus --- drivers/g

[PATCH v3 6/7] drm/kmb: Enable ADV bridge after modeset

2021-10-13 Thread Anitha Chrisanthus
On KMB, ADV bridge must be programmed and powered on prior to MIPI DSI HW initialization. Fixes: 98521f4d4b4c ("drm/kmb: Mipi DSI part of the display driver") Signed-off-by: Anitha Chrisanthus --- drivers/gpu/drm/kmb/kmb_dsi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drive

[PATCH v3 7/7] drm/kmb: Enable support for framebuffer console

2021-10-13 Thread Anitha Chrisanthus
Enable support for fbcon (framebuffer console). The user can initialize fbcon by loading kmb-drm with the parameter console=1. v2: added missing static clk_enable Signed-off-by: Edmund Dea Signed-off-by: Anitha Chrisanthus --- drivers/gpu/drm/kmb/kmb_drv.c | 11 +++ 1 file changed, 11

[PATCH v3 5/7] drm/kmb: Corrected typo in handle_lcd_irq

2021-10-13 Thread Anitha Chrisanthus
Check for Overflow bits for layer3 in the irq handler. Fixes: 7f7b96a8a0a1 ("drm/kmb: Add support for KeemBay Display") Signed-off-by: Anitha Chrisanthus --- drivers/gpu/drm/kmb/kmb_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/kmb/kmb_drv.c

[PATCH v3 4/7] drm/kmb: Disable change of plane parameters

2021-10-13 Thread Anitha Chrisanthus
From: Edmund Dea Due to HW limitations, KMB cannot change height, width, or pixel format after initial plane configuration. v2: removed memset disp_cfg as it is already zero. Fixes: 7f7b96a8a0a1 ("drm/kmb: Add support for KeemBay Display") Signed-off-by: Edmund Dea Signed-off-

[PATCH v3 3/7] drm/kmb: Remove clearing DPHY regs

2021-10-13 Thread Anitha Chrisanthus
Signed-off-by: Anitha Chrisanthus Signed-off-by: Edmund Dea --- drivers/gpu/drm/kmb/kmb_dsi.c | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/gpu/drm/kmb/kmb_dsi.c b/drivers/gpu/drm/kmb/kmb_dsi.c index 86e8e7943e89..a0669b842ff5 100644 --- a/drivers/gpu/drm/kmb/kmb_dsi.c +++ b/drive

[PATCH v3 2/7] drm/kmb: Limit supported mode to 1080p

2021-10-13 Thread Anitha Chrisanthus
for KeemBay Display") Signed-off-by: Anitha Chrisanthus Signed-off-by: Edmund Dea --- drivers/gpu/drm/kmb/kmb_crtc.c | 34 ++ drivers/gpu/drm/kmb/kmb_drv.h | 13 ++--- 2 files changed, 44 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/

[PATCH v3 1/7] drm/kmb: Work around for higher system clock

2021-10-13 Thread Anitha Chrisanthus
Use a different value for system clock offset in the ppl/llp ratio calculations for clocks higher than 500 Mhz. Fixes: 98521f4d4b4c ("drm/kmb: Mipi DSI part of the display driver") Signed-off-by: Anitha Chrisanthus --- drivers/gpu/drm/kmb/kmb_dsi.c | 11 ++- 1 file c

[PATCH v2 8/8] drm/kmb: Enable support for fbcon (framebuffer console)

2021-08-03 Thread Anitha Chrisanthus
From: Edmund Dea Enable support for fbcon (framebuffer console). The user can initialize fbcon by loading kmb-drm with the parameter console=1. v2: added missing static clk_enable Signed-off-by: Edmund Dea Signed-off-by: Anitha Chrisanthus --- drivers/gpu/drm/kmb/kmb_drv.c | 11

[PATCH v2 7/8] drm/kmb: Enable ADV bridge after modeset

2021-08-03 Thread Anitha Chrisanthus
On KMB, ADV bridge must be programmed and powered on prior to MIPI DSI HW initialization. Fixes: 98521f4d4b4c ("drm/kmb: Mipi DSI part of the display driver") Signed-off-by: Anitha Chrisanthus --- drivers/gpu/drm/kmb/kmb_dsi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drive

[PATCH v2 6/8] drm/kmb: Corrected typo in handle_lcd_irq

2021-08-03 Thread Anitha Chrisanthus
Check for Overflow bits for layer3 in the irq handler. Fixes: 7f7b96a8a0a1 ("drm/kmb: Add support for KeemBay Display") Signed-off-by: Anitha Chrisanthus --- drivers/gpu/drm/kmb/kmb_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/kmb/kmb_drv.c

[PATCH v2 5/8] drm/kmb: Disable change of plane parameters

2021-08-03 Thread Anitha Chrisanthus
From: Edmund Dea Due to HW limitations, KMB cannot change height, width, or pixel format after initial plane configuration. Fixes: 7f7b96a8a0a1 ("drm/kmb: Add support for KeemBay Display") Signed-off-by: Edmund Dea Signed-off-by: Anitha Chrisanthus --- drivers/gpu/drm/kmb/kmb_cr

[PATCH v2 3/8] drm/kmb: Limit supported mode to 1080p

2021-08-03 Thread Anitha Chrisanthus
for KeemBay Display") Signed-off-by: Anitha Chrisanthus Signed-off-by: Edmund Dea --- drivers/gpu/drm/kmb/kmb_crtc.c | 34 ++ drivers/gpu/drm/kmb/kmb_drv.h | 16 ++-- 2 files changed, 48 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/

[PATCH v2 4/8] drm/kmb: Remove clearing DPHY regs

2021-08-03 Thread Anitha Chrisanthus
Signed-off-by: Anitha Chrisanthus Signed-off-by: Edmund Dea --- drivers/gpu/drm/kmb/kmb_dsi.c | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/gpu/drm/kmb/kmb_dsi.c b/drivers/gpu/drm/kmb/kmb_dsi.c index 7e2371ffcb18..5bc6c84073a3 100644 --- a/drivers/gpu/drm/kmb/kmb_dsi.c +++ b/drive

[PATCH v2 2/8] drm/kmb : W/A for 256B cache alignment for video

2021-08-03 Thread Anitha Chrisanthus
priv structure and uses that info for programming stride and offsets in kmb_plane_atomic_update(). v2: simplified logic Fixes: 7f7b96a8a0a1 ("drm/kmb: Add support for KeemBay Display") Signed-off-by: Edmund Dea Signed-off-by: Anitha Chrisanthus --- drivers/gpu/drm/kmb/kmb_pla

[PATCH v2 1/8] drm/kmb: Work around for higher system clock

2021-08-03 Thread Anitha Chrisanthus
Use a different value for system clock offset in the ppl/llp ratio calculations for clocks higher than 500 Mhz. Fixes: 98521f4d4b4c ("drm/kmb: Mipi DSI part of the display driver") Signed-off-by: Anitha Chrisanthus --- drivers/gpu/drm/kmb/kmb_dsi.c | 11 ++- 1 file c

[PATCH 14/14] drm/kmb: Enable support for fbcon (framebuffer console)

2021-07-27 Thread Anitha Chrisanthus
From: Edmund Dea Enable support for fbcon (framebuffer console). The user can initialize fbcon by loading kmb-drm with the parameter console=1. Signed-off-by: Edmund Dea Signed-off-by: Anitha Chrisanthus --- drivers/gpu/drm/kmb/kmb_drv.c | 13 - 1 file changed, 12 insertions

[PATCH 11/14] drm/kmb: Prune display modes with CRTC vfp < 4

2021-07-27 Thread Anitha Chrisanthus
From: Edmund Dea Monitors with vfp < 4 are not supported in KMB display. This change prunes display modes with vfp < 4. Fixes: 7f7b96a8a0a1 ("drm/kmb: Add support for KeemBay Display") Signed-off-by: Edmund Dea --- drivers/gpu/drm/kmb/kmb_crtc.c | 6 ++ drivers/gpu/drm/kmb/kmb_drv.h | 1

[PATCH 12/14] drm/kmb: Fix possible oops in error handling

2021-07-27 Thread Anitha Chrisanthus
t of the display driver") Cc: Dan Carpenter Signed-off-by: Anitha Chrisanthus --- drivers/gpu/drm/kmb/kmb_drv.c | 9 ++--- drivers/gpu/drm/kmb/kmb_dsi.c | 9 + drivers/gpu/drm/kmb/kmb_dsi.h | 3 ++- 3 files changed, 13 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/km

[PATCH 13/14] drm/kmb: Enable alpha blended second plane

2021-07-27 Thread Anitha Chrisanthus
From: Edmund Dea Enable one additional plane that is alpha blended on top of the primary plane. Signed-off-by: Edmund Dea --- drivers/gpu/drm/kmb/kmb_drv.c | 8 ++-- drivers/gpu/drm/kmb/kmb_plane.c | 81 + drivers/gpu/drm/kmb/kmb_plane.h | 5 +-

[PATCH 10/14] drm/kmb: Enable ADV bridge after modeset

2021-07-27 Thread Anitha Chrisanthus
On KMB, ADV bridge must be programmed and powered on prior to MIPI DSI HW initialization. Fixes: 98521f4d4b4c ("drm/kmb: Mipi DSI part of the display driver") Signed-off-by: Anitha Chrisanthus --- drivers/gpu/drm/kmb/kmb_dsi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drive

[PATCH 09/14] drm/kmb : W/A for planar formats

2021-07-27 Thread Anitha Chrisanthus
: 7f7b96a8a0a1 ("drm/kmb: Add support for KeemBay Display") Signed-off-by: Anitha Chrisanthus --- drivers/gpu/drm/kmb/kmb_plane.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/kmb/kmb_plane.c b/drivers/gpu/drm/kmb/kmb_plane.c index da

[PATCH 08/14] drm/kmb: Corrected typo in handle_lcd_irq

2021-07-27 Thread Anitha Chrisanthus
Check for Overflow bits for layer3 in the irq handler. Fixes: 7f7b96a8a0a1 ("drm/kmb: Add support for KeemBay Display") Signed-off-by: Anitha Chrisanthus --- drivers/gpu/drm/kmb/kmb_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/kmb/kmb_drv.c

[PATCH 07/14] drm/kmb: Disable change of plane parameters

2021-07-27 Thread Anitha Chrisanthus
From: Edmund Dea Due to HW limitations, KMB cannot change height, width, or pixel format after initial plane configuration. Fixes: 7f7b96a8a0a1 ("drm/kmb: Add support for KeemBay Display") Signed-off-by: Edmund Dea --- drivers/gpu/drm/kmb/kmb_crtc.c | 2 ++ drivers/gpu/drm/kmb/kmb_drv.h |

[PATCH 06/14] drm/kmb: Remove clearing DPHY regs

2021-07-27 Thread Anitha Chrisanthus
Signed-off-by: Anitha Chrisanthus Signed-off-by: Edmund Dea --- drivers/gpu/drm/kmb/kmb_dsi.c | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/gpu/drm/kmb/kmb_dsi.c b/drivers/gpu/drm/kmb/kmb_dsi.c index 7e2371ffcb18..5bc6c84073a3 100644 --- a/drivers/gpu/drm/kmb/kmb_dsi.c +++ b/drive

[PATCH 05/14] drm/kmb: Limit supported mode to 1080p

2021-07-27 Thread Anitha Chrisanthus
KMB only supports single resolution(1080p), this commit checks for 1920x1080x60 or 1920x1080x59 in crtc_mode_valid. Fixes: 7f7b96a8a0a1 ("drm/kmb: Add support for KeemBay Display") Signed-off-by: Anitha Chrisanthus --- drivers/gpu/drm/kmb/kmb_crtc.c | 28 +++

[PATCH 04/14] drm/kmb : W/A for 256B cache alignment for video

2021-07-27 Thread Anitha Chrisanthus
priv structure and uses that info for programming stride and offsets in kmb_plane_atomic_update(). Fixes: 7f7b96a8a0a1 ("drm/kmb: Add support for KeemBay Display") Signed-off-by: Edmund Dea Signed-off-by: Anitha Chrisanthus --- drivers/gpu/drm/kmb/kmb_drv.h| 1 + drivers/g

[PATCH 03/14] drm/kmb: Work around for higher system clock

2021-07-27 Thread Anitha Chrisanthus
Use a different value for system clock offset in the ppl/llp ratio calculations for clocks higher than 500 Mhz. Fixes: 98521f4d4b4c ("drm/kmb: Mipi DSI part of the display driver") Signed-off-by: Anitha Chrisanthus --- drivers/gpu/drm/kmb/kmb_dsi.c | 11 ++- 1 file c

[PATCH 02/14] drm/kmb: Define driver date and major/minor version

2021-07-27 Thread Anitha Chrisanthus
From: Edmund Dea Added macros for date and version Fixes: 7f7b96a8a0a1 ("drm/kmb: Add support for KeemBay Display") Signed-off-by: Edmund Dea --- drivers/gpu/drm/kmb/kmb_drv.c | 8 drivers/gpu/drm/kmb/kmb_drv.h | 5 + 2 files changed, 9 insertions(+), 4 deletions(-) diff --git

[PATCH 01/14] drm/kmb: Enable LCD DMA for low TVDDCV

2021-07-27 Thread Anitha Chrisanthus
From: Edmund Dea There's an undocumented dependency between LCD layer enable bits [2-5] and the AXI pipelined read enable bit [28] in the LCD_CONTROL register. The proper order of operation is: 1) Clear AXI pipelined read enable bit 2) Set LCD layers 3) Set AXI pipelined read enable bit With

[PATCH] drm/kmb: Fix build warnings

2020-11-10 Thread Anitha Chrisanthus
Fixed the following W=1 kernel build warnings drivers/gpu/drm/kmb/kmb_plane.h:74:18: warning: ‘kmb_formats_v’ defined but not used [-Wunused-const-variable=] drivers/gpu/drm/kmb/kmb_plane.h:61:18: warning: ‘kmb_formats_g’ defined but not used [-Wunused-const-variable=] Signed-off-by: Anitha

[PATCH v13 6/7] drm/kmb: Mipi DSI part of the display driver

2020-11-04 Thread Anitha Chrisanthus
functions review changes from Sam to separate out DSI part, removed dependencies on drm side (Sam R) v11: review changes for separate msscam node (Sam R, Neil A) v12: fixed warnings Reported-by: kernel test robot Signed-off-by: Anitha Chrisanthus Reviewed-by: Sam Ravnborg Cc: Sam

[PATCH v13 4/7] drm/kmb: Keem Bay driver register definition

2020-11-04 Thread Anitha Chrisanthus
definitions, clean up (Sam R) Signed-off-by: Anitha Chrisanthus Reviewed-by: Sam Ravnborg Cc: Sam Ravnborg Cc: Thomas Zimmermann Cc: Daniel Vetter --- drivers/gpu/drm/kmb/kmb_regs.h | 725 + 1 file changed, 725 insertions(+) create mode 100644 drivers

[PATCH v13 5/7] drm/kmb: Add support for KeemBay Display

2020-11-04 Thread Anitha Chrisanthus
rivate and added locks (Daniel V) changes in driver to accommodate changes in DT to separate DSI entries (Sam R) review changes to separate mipi DSI (Sam R) v11: review changes to separate msscam (Neil A,Sam R) v12: fixed warnings Reported-by: kernel test robot Signed-off-by: Anitha Chris

[PATCH v13 2/7] dt-bindings: display: Intel KeemBay MSSCAM

2020-11-04 Thread Anitha Chrisanthus
This patch add bindings for Intel KeemBay MSSCAM syscon v2: fixed compatible (Sam R.) Signed-off-by: Anitha Chrisanthus Cc: Sam Ravnborg Cc: Neil Armstrong Cc: Rob Herring --- .../bindings/display/intel,keembay-msscam.yaml | 43 ++ 1 file changed, 43 insertions

[PATCH v13 7/7] drm/kmb: Build files for KeemBay Display driver

2020-11-04 Thread Anitha Chrisanthus
v2: Added Maintainer entry v3: Added one more Maintainer entry v3: drop videomode_helpers Cc: Sam Ravnborg Signed-off-by: Anitha Chrisanthus Reviewed-by: Sam Ravnborg --- MAINTAINERS | 7 +++ drivers/gpu/drm/Kconfig | 2 ++ drivers/gpu/drm/Makefile | 1

[PATCH v13 1/7] dt-bindings: display: Add support for Intel KeemBay Display

2020-11-04 Thread Anitha Chrisanthus
best to be on this device tree. v4: review changes from Neil Armstrong and Sam - removed msscam entries Signed-off-by: Anitha Chrisanthus Reviewed-by: Sam Ravnborg Cc: Sam Ravnborg Cc: Neil Armstrong Cc: Thomas Zimmermann Cc: Daniel Vetter Cc: Rob Herring --- .../bindings/display/intel

[PATCH v13 3/7] dt-bindings: display: bridge: Intel KeemBay DSI

2020-11-04 Thread Anitha Chrisanthus
This patch adds bindings for Intel KeemBay MIPI DSI v2: corrected description for port Signed-off-by: Anitha Chrisanthus Reviewed-by: Sam Ravnborg Reviewed-by: Neil Armstrong Cc: Sam Ravnborg Cc: Thomas Zimmermann Cc: Daniel Vetter Cc: Rob Herring --- .../bindings/display/bridge/intel

[PATCH v13 0/7] Add support for KeemBay DRM drive

2020-11-04 Thread Anitha Chrisanthus
added description (Sam R) Changes since v12: Fixed warnings Reported-by: kernel test robot Anitha Chrisanthus (7): dt-bindings: display: Add support for Intel KeemBay Display dt-bindings: display: Intel KeemBay MSSCAM dt-bindings: display: bridge: Intel KeemBay DSI drm/kmb: Ke

[PATCH v12 3/7] dt-bindings: display: bridge: Intel KeemBay DSI

2020-11-03 Thread Anitha Chrisanthus
This patch adds bindings for Intel KeemBay MIPI DSI v2: corrected description for port Signed-off-by: Anitha Chrisanthus Reviewed-by: Sam Ravnborg Reviewed-by: Neil Armstrong Cc: Sam Ravnborg Cc: Thomas Zimmermann Cc: Daniel Vetter Cc: Rob Herring --- .../bindings/display/bridge/intel

[PATCH v12 5/7] drm/kmb: Add support for KeemBay Display

2020-11-03 Thread Anitha Chrisanthus
rivate and added locks (Daniel V) changes in driver to accommodate changes in DT to separate DSI entries (Sam R) review changes to separate mipi DSI (Sam R) v11: review changes to separate msscam (Neil A,Sam R) Signed-off-by: Anitha Chrisanthus Reviewed-by: Sam Ravnborg Cc: Sam Ravnbo

[PATCH v12 2/7] dt-bindings: display: Intel KeemBay MSSCAM

2020-11-03 Thread Anitha Chrisanthus
This patch add bindings for Intel KeemBay MSSCAM syscon v2: fixed compatible (Sam R.) Signed-off-by: Anitha Chrisanthus Cc: Sam Ravnborg Cc: Neil Armstrong Cc: Rob Herring --- .../bindings/display/intel,keembay-msscam.yaml | 43 ++ 1 file changed, 43 insertions

[PATCH v12 6/7] drm/kmb: Mipi DSI part of the display driver

2020-11-03 Thread Anitha Chrisanthus
functions review changes from Sam to separate out DSI part, removed dependencies on drm side (Sam R) v11: review changes for separate msscam node (Sam R, Neil A) Signed-off-by: Anitha Chrisanthus Reviewed-by: Sam Ravnborg Cc: Sam Ravnborg Cc: Thomas Zimmermann Cc: Daniel Vetter

[PATCH v12 0/7] Add support for KeemBay DRM driver

2020-11-03 Thread Anitha Chrisanthus
added description (Sam R) Anitha Chrisanthus (7): dt-bindings: display: Add support for Intel KeemBay Display dt-bindings: display: Intel KeemBay MSSCAM dt-bindings: display: bridge: Intel KeemBay DSI drm/kmb: Keem Bay driver register definition drm/kmb: Add support for KeemBay Display d

[PATCH v12 1/7] dt-bindings: display: Add support for Intel KeemBay Display

2020-11-03 Thread Anitha Chrisanthus
best to be on this device tree. v4: review changes from Neil Armstrong and Sam - removed msscam entries Signed-off-by: Anitha Chrisanthus Reviewed-by: Sam Ravnborg Cc: Sam Ravnborg Cc: Neil Armstrong Cc: Thomas Zimmermann Cc: Daniel Vetter Cc: Rob Herring --- .../bindings/display/intel

[PATCH v12 4/7] drm/kmb: Keem Bay driver register definition

2020-11-03 Thread Anitha Chrisanthus
definitions, clean up (Sam R) Signed-off-by: Anitha Chrisanthus Reviewed-by: Sam Ravnborg Cc: Sam Ravnborg Cc: Thomas Zimmermann Cc: Daniel Vetter --- drivers/gpu/drm/kmb/kmb_regs.h | 725 + 1 file changed, 725 insertions(+) create mode 100644 drivers

[PATCH v12 7/7] drm/kmb: Build files for KeemBay Display driver

2020-11-03 Thread Anitha Chrisanthus
v2: Added Maintainer entry v3: Added one more Maintainer entry v3: drop videomode_helpers Cc: Sam Ravnborg Signed-off-by: Anitha Chrisanthus Reviewed-by: Sam Ravnborg --- MAINTAINERS | 7 +++ drivers/gpu/drm/Kconfig | 2 ++ drivers/gpu/drm/Makefile | 1

[PATCH v11 5/7] drm/kmb: Add support for KeemBay Display

2020-11-03 Thread Anitha Chrisanthus
rivate and added locks (Daniel V) changes in driver to accommodate changes in DT to separate DSI entries (Sam R) review changes to separate mipi DSI (Sam R) v11: review changes to separate msscam (Neil A,Sam R) Signed-off-by: Anitha Chrisanthus Reviewed-by: Sam Ravnborg Cc: Sam Ravnbo

[PATCH v11 4/7] drm/kmb: Keem Bay driver register definition

2020-11-03 Thread Anitha Chrisanthus
definitions, clean up (Sam R) Signed-off-by: Anitha Chrisanthus Reviewed-by: Sam Ravnborg Cc: Sam Ravnborg Cc: Thomas Zimmermann Cc: Daniel Vetter --- drivers/gpu/drm/kmb/kmb_regs.h | 725 + 1 file changed, 725 insertions(+) create mode 100644 drivers

[PATCH v11 2/7] dt-bindings: display: Intel KeemBay MSSCAM

2020-11-03 Thread Anitha Chrisanthus
This patch add bindings for Intel KeemBay MSSCAM syscon Signed-off-by: Anitha Chrisanthus Cc: Sam Ravnborg Cc: Neil Armstrong Cc: Rob Herring --- .../bindings/display/intel,keembay-msscam.yaml | 36 ++ 1 file changed, 36 insertions(+) create mode 100644

[PATCH v11 7/7] drm/kmb: Build files for KeemBay Display driver

2020-11-03 Thread Anitha Chrisanthus
v2: Added Maintainer entry v3: Added one more Maintainer entry v3: drop videomode_helpers Cc: Sam Ravnborg Signed-off-by: Anitha Chrisanthus Reviewed-by: Sam Ravnborg --- MAINTAINERS | 7 +++ drivers/gpu/drm/Kconfig | 2 ++ drivers/gpu/drm/Makefile | 1

[PATCH v11 3/7] dt-bindings: display: bridge: Intel KeemBay DSI

2020-11-03 Thread Anitha Chrisanthus
This patch adds bindings for Intel KeemBay MIPI DSI v2: corrected description for port Signed-off-by: Anitha Chrisanthus Reviewed-by: Sam Ravnborg Reviewed-by: Neil Armstrong Cc: Sam Ravnborg Cc: Thomas Zimmermann Cc: Daniel Vetter Cc: Rob Herring --- .../bindings/display/bridge/intel

[PATCH v11 0/7] Add support for KeemBay DRM driver

2020-11-03 Thread Anitha Chrisanthus
d also for connecting mipi and lcd. Corresponding driver changes for the above change (Neil Armstrong, Sam) corrected description for port in dsi DT bindings file updated reviewed by in commits. Anitha Chrisanthus (7): dt-bindings: display: Add support for Intel KeemBay D

[PATCH v11 6/7] drm/kmb: Mipi DSI part of the display driver

2020-11-03 Thread Anitha Chrisanthus
functions review changes from Sam to separate out DSI part, removed dependencies on drm side (Sam R) v11: review changes for separate msscam node (Sam R, Neil A) Signed-off-by: Anitha Chrisanthus Reviewed-by: Sam Ravnborg Cc: Sam Ravnborg Cc: Thomas Zimmermann Cc: Daniel Vetter

[PATCH v11 1/7] dt-bindings: display: Add support for Intel KeemBay Display

2020-11-03 Thread Anitha Chrisanthus
best to be on this device tree. v4: review changes from Neil Armstrong and Sam - removed msscam entries Signed-off-by: Anitha Chrisanthus Reviewed-by: Sam Ravnborg Cc: Sam Ravnborg Cc: Neil Armstrong Cc: Thomas Zimmermann Cc: Daniel Vetter Cc: Rob Herring --- .../bindings/display/intel

[PATCH v10 5/6] drm/kmb: Mipi DSI part of the display driver

2020-10-29 Thread Anitha Chrisanthus
functions review changes from Sam to separate out DSI part, removed dependencies on drm side (Sam R) Signed-off-by: Anitha Chrisanthus Cc: Sam Ravnborg Cc: Thomas Zimmermann Cc: Daniel Vetter --- drivers/gpu/drm/kmb/kmb_dsi.c | 1540 + drivers

[PATCH v10 3/6] drm/kmb: Keem Bay driver register definition

2020-10-29 Thread Anitha Chrisanthus
definitions, clean up (Sam R) Signed-off-by: Anitha Chrisanthus Cc: Sam Ravnborg Cc: Thomas Zimmermann Cc: Daniel Vetter --- drivers/gpu/drm/kmb/kmb_regs.h | 725 + 1 file changed, 725 insertions(+) create mode 100644 drivers/gpu/drm/kmb/kmb_regs.h diff

[PATCH v10 4/6] drm/kmb: Add support for KeemBay Display

2020-10-29 Thread Anitha Chrisanthus
rivate and added locks (Daniel V) changes in driver to accommodate changes in DT to separate DSI entries (Sam R) review changes to separate mipi DSI (Sam R) Signed-off-by: Anitha Chrisanthus Cc: Sam Ravnborg Cc: Thomas Zimmermann Cc: Daniel Vetter --- drivers/gpu/drm/kmb/kmb_crtc.c

[PATCH v10 2/6] dt-bindings: display: bridge: Intel KeemBay DSI

2020-10-29 Thread Anitha Chrisanthus
This patch adds bindings for Intel KeemBay MIPI DSI Signed-off-by: Anitha Chrisanthus Cc: Sam Ravnborg Cc: Thomas Zimmermann Cc: Daniel Vetter --- .../bindings/display/bridge/intel,keembay-dsi.yaml | 101 + 1 file changed, 101 insertions(+) create mode 100644

[PATCH v10 6/6] drm/kmb: Build files for KeemBay Display driver

2020-10-29 Thread Anitha Chrisanthus
v2: Added Maintainer entry v3: Added one more Maintainer entry v3: drop videomode_helpers Cc: Sam Ravnborg Signed-off-by: Anitha Chrisanthus Reviewed-by: Bob Paauwe --- MAINTAINERS | 7 +++ drivers/gpu/drm/Kconfig | 2 ++ drivers/gpu/drm/Makefile | 1

[PATCH v10 1/6] dt-bindings: display: Add support for Intel KeemBay Display

2020-10-29 Thread Anitha Chrisanthus
best to be on this device tree. Signed-off-by: Anitha Chrisanthus Cc: Sam Ravnborg Cc: Thomas Zimmermann Cc: Daniel Vetter --- .../bindings/display/intel,keembay-display.yaml| 75 ++ 1 file changed, 75 insertions(+) create mode 100644 Documentation/devicetree/bindings

[PATCH v10 0/6] Add support for KeemBay DRM driver

2020-10-29 Thread Anitha Chrisanthus
_event in atomic_flush (Daniel V) moved global vars to kmb_private and added locks (Daniel V) added comments to clarify empty dsi host functions (Daniel V) Anitha Chrisanthus (6): dt-bindings: display: Add support for Intel KeemBay Display dt-bindings: display: bridge: Intel KeemBay DSI

[PATCH v9 0/5] Add support for KeemBay DRM driver

2020-10-08 Thread Anitha Chrisanthus
niel V) complimentary changes to device tree changes (Rob) removed redundant definitions in kmb_dsi.h Anitha Chrisanthus (5): dt-bindings: display: Add support for Intel KeemBay Display drm/kmb: Keem Bay driver register definition drm/kmb: Add support for KeemBay Display drm/kmb

[PATCH v9 2/5] drm/kmb: Keem Bay driver register definition

2020-10-08 Thread Anitha Chrisanthus
Signed-off-by: Anitha Chrisanthus Reviewed-by: Bob Paauwe --- drivers/gpu/drm/kmb/kmb_regs.h | 739 + 1 file changed, 739 insertions(+) create mode 100644 drivers/gpu/drm/kmb/kmb_regs.h diff --git a/drivers/gpu/drm/kmb/kmb_regs.h b/drivers/gpu/drm/kmb

[PATCH v9 5/5] drm/kmb: Build files for KeemBay Display driver

2020-10-08 Thread Anitha Chrisanthus
v2: Added Maintainer entry v3: Added one more Maintainer entry Cc: Sam Ravnborg Signed-off-by: Anitha Chrisanthus Reviewed-by: Bob Paauwe --- MAINTAINERS | 7 +++ drivers/gpu/drm/Kconfig | 2 ++ drivers/gpu/drm/Makefile | 1 + drivers/gpu/drm/kmb/Kconfig | 13

[PATCH v9 4/5] drm/kmb: Mipi DSI part of the display driver

2020-10-08 Thread Anitha Chrisanthus
and drm_connector_attach_encoder to bridge's connector (Sam) v8: call drm_bridge_attach with DRM_BRIDGE_ATTACH_NO_CONNECTOR v9: renamed kmb_dsi_hw_init to kmb_dsi_mode_set (Daniel V) Cc: Sam Ravnborg Signed-off-by: Anitha Chrisanthus Reviewed-by: Bob Paauwe --- drivers/gpu/drm/kmb/kmb_dsi.c | 1524

[PATCH v9 3/5] drm/kmb: Add support for KeemBay Display

2020-10-08 Thread Anitha Chrisanthus
call drm_atomic_helper_shutdown in remove (Daniel V) use drm_crtc_handle_vblank (Daniel V) renamed kmb_dsi_hw_init to kmb_dsi_mode_set (Daniel V) complimentary changes to device tree changes (Rob) Cc: Sam Ravnborg Signed-off-by: Anitha Chrisanthus Reviewed-by: Bob Paauwe --- drivers/gpu/d

[PATCH v9 1/5] dt-bindings: display: Add support for Intel KeemBay Display

2020-10-08 Thread Anitha Chrisanthus
This patch adds bindings for Intel KeemBay Display v2: review changes from Rob Herring Signed-off-by: Anitha Chrisanthus --- .../bindings/display/intel,keembay-display.yaml| 99 ++ 1 file changed, 99 insertions(+) create mode 100644 Documentation/devicetree/bindings

[PATCH v8 0/4] Add support for KeemBay DRM driver

2020-10-02 Thread Anitha Chrisanthus
_plane and removed kmb_plane_state (Sam) Changes since v7: - tested with 5.9 kernel and made the following changes get clk_pll0 from display node in dt call drm_bridge_attach with DRM_BRIDGE_ATTACH_NO_CONNECTOR Also added Maintainer entry Anitha Chrisanthus (4): drm/kmb

[PATCH v8 1/4] drm/kmb: Keem Bay driver register definition

2020-10-02 Thread Anitha Chrisanthus
Register definitions for Keem Bay display driver v2: removed license text (Sam) v3: Squashed all 59 commits to one v4: review changes from Sam Ravnborg renamed dev_p to kmb v5: corrected spellings v6: corrected checkpatch warnings Cc: Sam Ravnborg Signed-off-by: Anitha Chrisanthus

[PATCH v8 2/4] drm/kmb: Add support for KeemBay Display

2020-10-02 Thread Anitha Chrisanthus
ctions(Sam) use drm helper functions for reset, duplicate/destroy state instead of kmb functions (Sam) removed kmb_priv from kmb_plane and removed kmb_plane_state (Sam) v8: get clk_pll0 from display node in dt Cc: Sam Ravnborg Signed-off-by: Anitha Chrisanthus Reviewed-b

[PATCH v8 3/4] drm/kmb: Mipi DSI part of the display driver

2020-10-02 Thread Anitha Chrisanthus
and drm_connector_attach_encoder to bridge's connector (Sam) v8: call drm_bridge_attach with DRM_BRIDGE_ATTACH_NO_CONNECTOR Cc: Sam Ravnborg Signed-off-by: Anitha Chrisanthus Reviewed-by: Bob Paauwe --- drivers/gpu/drm/kmb/kmb_dsi.c | 1524 + drivers/gpu/drm/kmb/kmb_dsi.h

[PATCH v8 4/4] drm/kmb: Build files for KeemBay Display driver

2020-10-02 Thread Anitha Chrisanthus
v2: Added Maintainer entry Cc: Sam Ravnborg Signed-off-by: Anitha Chrisanthus Reviewed-by: Bob Paauwe --- MAINTAINERS | 6 ++ drivers/gpu/drm/Kconfig | 2 ++ drivers/gpu/drm/Makefile | 1 + drivers/gpu/drm/kmb/Kconfig | 13 + drivers/gpu/drm/kmb

[PATCH v7 2/4] drm/kmb: Add support for KeemBay Display

2020-08-31 Thread Anitha Chrisanthus
ctions(Sam) use drm helper functions for reset, duplicate/destroy state instead of kmb functions (Sam) removed kmb_priv from kmb_plane and removed kmb_plane_state (Sam) Cc: Sam Ravnborg Signed-off-by: Anitha Chrisanthus Reviewed-by: Bob Paauwe --- drivers/gpu/d

[PATCH v7 1/4] drm/kmb: Keem Bay driver register definition

2020-08-31 Thread Anitha Chrisanthus
Register definitions for Keem Bay display driver v2: removed license text (Sam) v3: Squashed all 59 commits to one v4: review changes from Sam Ravnborg renamed dev_p to kmb v5: corrected spellings v6: corrected checkpatch warnings Cc: Sam Ravnborg Signed-off-by: Anitha Chrisanthus

[PATCH v7 3/4] drm/kmb: Mipi DSI part of the display driver

2020-08-31 Thread Anitha Chrisanthus
and drm_connector_attach_encoder to bridge's connector (Sam) Cc: Sam Ravnborg Signed-off-by: Anitha Chrisanthus Reviewed-by: Bob Paauwe --- drivers/gpu/drm/kmb/kmb_dsi.c | 1523 + drivers/gpu/drm/kmb/kmb_dsi.h | 350 ++ 2 files changed, 1873 insertions(+) create

[PATCH v7 0/4] Add support for KeemBay DRM driver

2020-08-31 Thread Anitha Chrisanthus
_plane and removed kmb_plane_state (Sam) Anitha Chrisanthus (4): drm/kmb: Keem Bay driver register definition drm/kmb: Add support for KeemBay Display drm/kmb: Mipi DSI part of the display driver drm/kmb: Build files for KeemBay Display driver drivers/gpu/drm/Kconfig |2 + drivers/g

[PATCH v7 4/4] drm/kmb: Build files for KeemBay Display driver

2020-08-31 Thread Anitha Chrisanthus
Cc: Sam Ravnborg Signed-off-by: Anitha Chrisanthus Reviewed-by: Bob Paauwe --- drivers/gpu/drm/Kconfig | 2 ++ drivers/gpu/drm/Makefile | 1 + drivers/gpu/drm/kmb/Kconfig | 13 + drivers/gpu/drm/kmb/Makefile | 2 ++ 4 files changed, 18 insertions(+) create mode 100644

[PATCH v6] Add support for KeemBay DRM driver

2020-08-10 Thread Anitha Chrisanthus
Please ignore checkpatch warnings on misspelled for hsa, dout, widthn etc. - they are spelled as in the databook - Please ignore checkpatch checks on macro arguments reuse - its confirmed ok Anitha Chrisanthus (1): drm/kmb: Add support for KeemBay Display drivers/gpu/drm/K

[PATCH v5] Add support for KeemBay DRM driver

2020-08-03 Thread Anitha Chrisanthus
ed clk initializations - use drmm functions - use DRM_GEM_CMA_DRIVER_OPS_VMAP - more cleanups Changes since v4: - corrected spellings Anitha Chrisanthus (1): drm/kmb: Add support for KeemBay Display drivers/gpu/drm/Kconfig |2 + drivers/gpu/drm/Makefile|1 + drivers/gpu/drm/kmb/K

[PATCH v4] Add support for KeemBay DRM driver

2020-07-30 Thread Anitha Chrisanthus
ed clk initializations - use drmm functions - use DRM_GEM_CMA_DRIVER_OPS_VMAP - more cleanups Anitha Chrisanthus (1): drm/kmb: Add support for KeemBay Display drivers/gpu/drm/Kconfig |2 + drivers/gpu/drm/Makefile|1 + drivers/gpu/drm/kmb/Kconfig | 13 + drivers/gpu/d

[PATCH v3] Add support for KeemBay DRM driver

2020-07-17 Thread Anitha Chrisanthus
create - minor cleanups Changes since v2: - squashed all commits to a single commit - logging changed to drm_info, drm_dbg etc. - used devm_drm_dev_alloc() - removed commented out sections and general cleanup Anitha Chrisanthus (1): drm/kmb: Add support for KeemBay Display drivers/gpu/drm/K

[PATCH v2 25/59] drm/kmb: Display clock enable/disable

2020-07-14 Thread Anitha Chrisanthus
Get clock info from DT and enable it during initialization. Also changed name of the driver to "kmb,display" to match other entries in the DT. v2: fixed error in clk_disable Signed-off-by: Anitha Chrisanthus Reviewed-by: Bob Paauwe --- drivers/gpu/drm/kmb/kmb_

[PATCH v2 43/59] drm/kmb: Changed name of driver to kmb-drm

2020-07-14 Thread Anitha Chrisanthus
name change Signed-off-by: Anitha Chrisanthus Reviewed-by: Bob Paauwe --- drivers/gpu/drm/kmb/Makefile | 4 ++-- drivers/gpu/drm/kmb/kmb_drv.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/kmb/Makefile b/drivers/gpu/drm/kmb/Makefile index 8102bc9

[PATCH v2 55/59] drm/kmb: Added useful messages in LCD ISR

2020-07-14 Thread Anitha Chrisanthus
Print messages for LCD DMA FIFO errors. v2: corrected spelling Signed-off-by: Anitha Chrisanthus --- drivers/gpu/drm/kmb/kmb_drv.c | 68 +++-- drivers/gpu/drm/kmb/kmb_plane.h | 2 ++ 2 files changed, 60 insertions(+), 10 deletions(-) diff --git a/drivers

[PATCH v2 30/59] drm/kmb: call bridge init in the very beginning

2020-07-14 Thread Anitha Chrisanthus
of probe and return probe_defer early on, so that all the other initializations can be done after adv driver is loaded successfully. Signed-off-by: Anitha Chrisanthus --- drivers/gpu/drm/kmb/kmb_drv.c | 74 +- drivers/gpu/drm/kmb/kmb_dsi.c | 144

[PATCH v2 07/59] drm/kmb: Set OUT_FORMAT_CFG register

2020-07-14 Thread Anitha Chrisanthus
v2: code review changes Signed-off-by: Anitha Chrisanthus Reviewed-by: Bob Paauwe --- drivers/gpu/drm/kmb/kmb_plane.c | 14 +- drivers/gpu/drm/kmb/kmb_regs.h | 1 + 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/kmb/kmb_plane.c b/drivers/gpu/drm/kmb

[PATCH v2 12/59] drm/kmb: Part3 of Mipi Tx initialization

2020-07-14 Thread Anitha Chrisanthus
This initializes the multichannel fifo in the mipi transmitter and sets the LCD to mipi interconnect which connects LCD to MIPI ctrl #6 v2: code review changes to make code simpler Signed-off-by: Anitha Chrisanthus Reviewed-by: Bob Paauwe --- drivers/gpu/drm/kmb/kmb_drv.h | 25

[PATCH v2 58/59] drm/kmb: Get System Clock from SCMI

2020-07-14 Thread Anitha Chrisanthus
System clock is different for A0 and B0 silicons, so get it directly from clk_PLL0 through SCMI calls. Signed-off-by: Anitha Chrisanthus Reviewed-by: Bob Paauwe --- drivers/gpu/drm/kmb/kmb_drv.c | 11 +++ drivers/gpu/drm/kmb/kmb_drv.h | 1 + drivers/gpu/drm/kmb/kmb_dsi.c | 12

[PATCH v2 49/59] drm/kmb: Disable ping pong mode

2020-07-14 Thread Anitha Chrisanthus
Disable ping pong mode otherwise video corruption results, use continuous mode and also fetch the dma addresses before disabling dma. For now, only initialize the dma and planes once and for next plane updates only update the addresses for dma. Signed-off-by: Anitha Chrisanthus Reviewed-by: Bob

[PATCH v2 16/59] drm/kmb: Part6 of Mipi Tx Initialization

2020-07-14 Thread Anitha Chrisanthus
This is part2 of DPHY initialization- sets up DPHY PLLs. v2: simplified mipi_tx_get_vco_params() based on review v3: added WARN_ON for invalid freq v4: fixed bug in mipi_tx_get_vco_params Signed-off-by: Anitha Chrisanthus Reviewed-by: Bob Paauwe --- drivers/gpu/drm/kmb/kmb_dsi.c | 194

[PATCH v2 02/59] drm/kmb: Added id to kmb_plane

2020-07-14 Thread Anitha Chrisanthus
. Signed-off-by: Anitha Chrisanthus Reviewed-by: Bob Paauwe --- drivers/gpu/drm/kmb/kmb_crtc.c | 13 --- drivers/gpu/drm/kmb/kmb_crtc.h | 2 +- drivers/gpu/drm/kmb/kmb_drv.h | 2 +- drivers/gpu/drm/kmb/kmb_plane.c | 80 +++-- drivers/gpu/drm/kmb

[PATCH v2 26/59] drm/kmb: rebase to newer kernel version

2020-07-14 Thread Anitha Chrisanthus
cleanup code Signed-off-by: Anitha Chrisanthus --- drivers/gpu/drm/kmb/kmb_drv.c | 5 +++-- drivers/gpu/drm/kmb/kmb_drv.h | 1 - 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/kmb/kmb_drv.c b/drivers/gpu/drm/kmb/kmb_drv.c index 71fdb94..78cb91b 100644

[PATCH v2 57/59] drm/kmb: workaround for dma undeflow issue

2020-07-14 Thread Anitha Chrisanthus
() during recovery reenable dma at the vsync interrupt after recovery is done v2: renamed global vars, upclassed dev_private. Signed-off-by: Anitha Chrisanthus Reviewed-by: Bob Paauwe --- drivers/gpu/drm/kmb/kmb_crtc.c | 27 +++ drivers/gpu/drm/kmb/kmb_drv.c | 154

[PATCH v2 21/59] drm/kmb: IRQ handlers for LCD and mipi dsi

2020-07-14 Thread Anitha Chrisanthus
Added handlers for lcd and mipi, it only finds and clears the interrupt as of now, more functionality can be added as needed. v2: upclassed dev_private Signed-off-by: Anitha Chrisanthus Reviewed-by: Bob Paauwe --- drivers/gpu/drm/kmb/kmb_drv.c | 55

[PATCH v2 37/59] drm/kmb: Set MSS_CAM_RSTN_CTRL along with enable

2020-07-14 Thread Anitha Chrisanthus
Also moved num_planes init before load, time out for dsi fixed kmb regs read/write to only pass dev_p and few other minor changes. Signed-off-by: Anitha Chrisanthus --- drivers/gpu/drm/kmb/kmb_drv.c | 32 ++-- drivers/gpu/drm/kmb/kmb_drv.h | 34

[PATCH v2 38/59] drm/kmb: Mipi DPHY initialization changes

2020-07-14 Thread Anitha Chrisanthus
Fix test_mode_send and dphy_wait_fsm for 2-lane MIPI - Fix test_mode_send when sending normal mode test codes - Change dphy_wait_fsm to check for IDLE status rather than LOCK status for 2-lane MIPI v2: upclassed dev_private Signed-off-by: Anitha Chrisanthus Signed-off-by: Edmund Dea

[PATCH v2 24/59] drm/kmb: Add ADV7535 bridge

2020-07-14 Thread Anitha Chrisanthus
Find ADV 7535 from the device tree and get the bridge driver and attach it to the DRM and the MIPI encoder. v2: check for valid encoder node Signed-off-by: Anitha Chrisanthus Reviewed-by: Bob Paauwe --- drivers/gpu/drm/kmb/kmb_drv.c | 27 ++- drivers/gpu/drm/kmb

  1   2   3   >