[PATCH 3/3] drm/loongson: Add interrupt driver for LS7A

2021-06-04 Thread lichenyang
Add LS7A DC vsync interrupt enable and close function, and register irq_handler function interface. Add vbrank event processing flow. Signed-off-by: lichenyang --- drivers/gpu/drm/loongson/Makefile| 3 +- drivers/gpu/drm/loongson/loongson_crtc.c | 43 +- drivers/gpu/drm

[PATCH 2/3] drm/loongson: Add GPIO and I2C driver for loongson drm.

2021-06-04 Thread lichenyang
Implement use GPIO and I2C driver to detect connector and fetch EDID via DDC. Signed-off-by: lichenyang --- drivers/gpu/drm/loongson/Makefile | 3 +- drivers/gpu/drm/loongson/loongson_connector.c | 70 - drivers/gpu/drm/loongson/loongson_drv.c | 16 +- drivers/gpu

[PATCH 1/3] drm/loongson: Add DRM Driver for Loongson 7A1000 bridge chip

2021-06-04 Thread lichenyang
From: Chenyang Li This patch adds an initial DRM driver for the Loongson LS7A1000 bridge chip(LS7A). The LS7A bridge chip contains two display controllers, support dual display output. The maximum support for each channel display is to 1920x1080@60Hz. At present, DC device detection and DRM drive

[PATCH v8] drm/loongson: Add DRM Driver for Loongson 7A1000 bridge chip

2021-05-13 Thread lichenyang
From: Chenyang Li This patch adds an initial DRM driver for the Loongson LS7A1000 bridge chip(LS7A). The LS7A bridge chip contains two display controllers, support dual display output. The maximum support for each channel display is to 1920x1080@60Hz. At present, DC device detection and DRM drive

[PATCH] drm/loongson: Add GPIO and I2C driver for loongson drm.

2021-05-13 Thread lichenyang
Implement use GPIO and I2C driver to detect connector and fetch EDID via DDC. Signed-off-by: lichenyang --- drivers/gpu/drm/loongson/Makefile | 3 +- drivers/gpu/drm/loongson/loongson_connector.c | 70 - drivers/gpu/drm/loongson/loongson_drv.c | 16 +- drivers/gpu/drm

[PATCH v7] drm/loongson: Add DRM Driver for Loongson 7A1000 bridge chip

2021-03-31 Thread lichenyang
This patch adds an initial DRM driver for the Loongson LS7A1000 bridge chip(LS7A). The LS7A bridge chip contains two display controllers, support dual display output. The maximum support for each channel display is to 1920x1080@60Hz. At present, DC device detection and DRM driver registration are c

Re: [PATCH v2] drm/loongson: Add DDC support for loongson display controller

2021-03-19 Thread lichenyang
Hi, sunhao. > > Add GPIO and I2C driver to detect connector and fetch EDID via DDC. > It's even better to add what V2 has changed. > Signed-off-by: Hao Sun > --- > drivers/gpu/drm/loongson/Makefile | 3 +- > drivers/gpu/drm/loongson/loongson_connector.c | 120 +++- >

[PATCH v6] drm/loongson: Add DRM Driver for Loongson 7A1000 bridge chip

2021-03-11 Thread lichenyang
This patch adds an initial DRM driver for the Loongson LS7A1000 bridge chip(LS7A). The LS7A bridge chip contains two display controllers, support dual display output. The maximum support for each channel display is to 1920x1080@60Hz. At present, DC device detection and DRM driver registration are c