All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] drm/panel: simple: Rocktech RK101II01D-CT + binding
@ 2020-02-11 12:17 Jyri Sarha
  2020-02-11 12:17 ` [PATCH v3 1/2] dt-bindings: panel-simple: Add rocktech, rk101ii01d-ct compatible Jyri Sarha
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Jyri Sarha @ 2020-02-11 12:17 UTC (permalink / raw)
  To: dri-devel, sam
  Cc: praneeth, peter.ujfalusi, tomi.valkeinen, thierry.reding,
	laurent.pinchart

Add support for Rocktech RK101II01D-CT panel to panel-simple and add
yaml binding for it.

Changes since v2:
- No separate binding document, just add new compatible to panel-simple.yaml

Changes since first fersion:
- Move to yaml binding

Jyri Sarha (2):
  dt-bindings: panel-simple: Add rocktech,rk101ii01d-ct compatible
  drm/panel: simple: Add Rocktech RK101II01D-CT panel

 .../bindings/display/panel/panel-simple.yaml  |  2 ++
 drivers/gpu/drm/panel/panel-simple.c          | 32 +++++++++++++++++++
 2 files changed, 34 insertions(+)

-- 
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH v3 1/2] dt-bindings: panel-simple: Add rocktech, rk101ii01d-ct compatible
  2020-02-11 12:17 [PATCH v3 0/2] drm/panel: simple: Rocktech RK101II01D-CT + binding Jyri Sarha
@ 2020-02-11 12:17 ` Jyri Sarha
  2020-02-11 12:17 ` [PATCH v3 2/2] drm/panel: simple: Add Rocktech RK101II01D-CT panel Jyri Sarha
  2020-02-11 15:47 ` [PATCH v3 0/2] drm/panel: simple: Rocktech RK101II01D-CT + binding Sam Ravnborg
  2 siblings, 0 replies; 4+ messages in thread
From: Jyri Sarha @ 2020-02-11 12:17 UTC (permalink / raw)
  To: dri-devel, sam
  Cc: praneeth, peter.ujfalusi, tomi.valkeinen, thierry.reding,
	laurent.pinchart

Add compatible to panel-simple for Rocktech Displays Limited
RK101II01D-CT 10.1" TFT 1280x800 Pixels with LVDS interface, LED
Backlight, and capacitive touch panel ("goodix,gt928" compatible).

Signed-off-by: Jyri Sarha <jsarha@ti.com>
---
 .../devicetree/bindings/display/panel/panel-simple.yaml         | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml
index cf23b0ad077a..e717018d34ae 100644
--- a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml
+++ b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml
@@ -201,6 +201,8 @@ properties:
       - osddisplays,osd101t2045-53ts
         # QiaoDian XianShi Corporation 4"3 TFT LCD panel
       - qiaodian,qd43003c0-40
+        # Rocktech Displays Ltd. RK101II01D-CT 10.1" TFT 1280x800
+      - rocktech,rk101ii01d-ct
         # Rocktech Display Ltd. RK070ER9427 800(RGB)x480 TFT LCD panel
       - rocktech,rk070er9427
         # Samsung 12.2" (2560x1600 pixels) TFT LCD panel
-- 
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH v3 2/2] drm/panel: simple: Add Rocktech RK101II01D-CT panel
  2020-02-11 12:17 [PATCH v3 0/2] drm/panel: simple: Rocktech RK101II01D-CT + binding Jyri Sarha
  2020-02-11 12:17 ` [PATCH v3 1/2] dt-bindings: panel-simple: Add rocktech, rk101ii01d-ct compatible Jyri Sarha
@ 2020-02-11 12:17 ` Jyri Sarha
  2020-02-11 15:47 ` [PATCH v3 0/2] drm/panel: simple: Rocktech RK101II01D-CT + binding Sam Ravnborg
  2 siblings, 0 replies; 4+ messages in thread
From: Jyri Sarha @ 2020-02-11 12:17 UTC (permalink / raw)
  To: dri-devel, sam
  Cc: praneeth, peter.ujfalusi, tomi.valkeinen, thierry.reding,
	laurent.pinchart

Add support for Rocktech RK101II01D-CT, 10.1" 1280x800 TFT with LVDS
interface, LED backlight and integrated Goodix GT928 capacitive touch
panel.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
---
 drivers/gpu/drm/panel/panel-simple.c | 32 ++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index d901ccb5cf9b..82363d05bad4 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -2662,6 +2662,35 @@ static const struct panel_desc rocktech_rk070er9427 = {
 	.bus_format = MEDIA_BUS_FMT_RGB666_1X18,
 };
 
+static const struct drm_display_mode rocktech_rk101ii01d_ct_mode = {
+	.clock = 71100,
+	.hdisplay = 1280,
+	.hsync_start = 1280 + 48,
+	.hsync_end = 1280 + 48 + 32,
+	.htotal = 1280 + 48 + 32 + 80,
+	.vdisplay = 800,
+	.vsync_start = 800 + 2,
+	.vsync_end = 800 + 2 + 5,
+	.vtotal = 800 + 2 + 5 + 16,
+	.vrefresh = 60,
+};
+
+static const struct panel_desc rocktech_rk101ii01d_ct = {
+	.modes = &rocktech_rk101ii01d_ct_mode,
+	.num_modes = 1,
+	.size = {
+		.width = 217,
+		.height = 136,
+	},
+	.delay = {
+		.prepare = 50,
+		.disable = 50,
+	},
+	.bus_flags = DRM_BUS_FLAG_DE_HIGH,
+	.bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG,
+	.connector_type = DRM_MODE_CONNECTOR_LVDS,
+};
+
 static const struct drm_display_mode samsung_lsn122dl01_c01_mode = {
 	.clock = 271560,
 	.hdisplay = 2560,
@@ -3569,6 +3598,9 @@ static const struct of_device_id platform_of_match[] = {
 	}, {
 		.compatible = "rocktech,rk070er9427",
 		.data = &rocktech_rk070er9427,
+	}, {
+		.compatible = "rocktech,rk101ii01d-ct",
+		.data = &rocktech_rk101ii01d_ct,
 	}, {
 		.compatible = "samsung,lsn122dl01-c01",
 		.data = &samsung_lsn122dl01_c01,
-- 
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH v3 0/2] drm/panel: simple: Rocktech RK101II01D-CT + binding
  2020-02-11 12:17 [PATCH v3 0/2] drm/panel: simple: Rocktech RK101II01D-CT + binding Jyri Sarha
  2020-02-11 12:17 ` [PATCH v3 1/2] dt-bindings: panel-simple: Add rocktech, rk101ii01d-ct compatible Jyri Sarha
  2020-02-11 12:17 ` [PATCH v3 2/2] drm/panel: simple: Add Rocktech RK101II01D-CT panel Jyri Sarha
@ 2020-02-11 15:47 ` Sam Ravnborg
  2 siblings, 0 replies; 4+ messages in thread
From: Sam Ravnborg @ 2020-02-11 15:47 UTC (permalink / raw)
  To: Jyri Sarha
  Cc: praneeth, dri-devel, peter.ujfalusi, tomi.valkeinen,
	thierry.reding, laurent.pinchart

Hi Jyri

On Tue, Feb 11, 2020 at 02:17:16PM +0200, Jyri Sarha wrote:
> Add support for Rocktech RK101II01D-CT panel to panel-simple and add
> yaml binding for it.
> 
> Changes since v2:
> - No separate binding document, just add new compatible to panel-simple.yaml
> 
> Changes since first fersion:
> - Move to yaml binding
> 
> Jyri Sarha (2):
>   dt-bindings: panel-simple: Add rocktech,rk101ii01d-ct compatible
>   drm/panel: simple: Add Rocktech RK101II01D-CT panel

Thanks,
Applied to drm-misc-next.

	Sam


> 
>  .../bindings/display/panel/panel-simple.yaml  |  2 ++
>  drivers/gpu/drm/panel/panel-simple.c          | 32 +++++++++++++++++++
>  2 files changed, 34 insertions(+)
> 
> -- 
> Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-02-11 15:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-11 12:17 [PATCH v3 0/2] drm/panel: simple: Rocktech RK101II01D-CT + binding Jyri Sarha
2020-02-11 12:17 ` [PATCH v3 1/2] dt-bindings: panel-simple: Add rocktech, rk101ii01d-ct compatible Jyri Sarha
2020-02-11 12:17 ` [PATCH v3 2/2] drm/panel: simple: Add Rocktech RK101II01D-CT panel Jyri Sarha
2020-02-11 15:47 ` [PATCH v3 0/2] drm/panel: simple: Rocktech RK101II01D-CT + binding Sam Ravnborg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.