mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: [PATCH v1 1/4] drm/panel: simple: Add AUO G101EVN010 panel support
@ 2023-05-14 15:32 Swapnil Raicha
  0 siblings, 0 replies; 4+ messages in thread
From: Swapnil Raicha @ 2023-05-14 15:32 UTC (permalink / raw)
  To: alex.gonzalez
  Cc: airlied, devicetree, dri-devel, fabio.estevam, kernel,
	linux-arm-kernel, linux-imx, linux-kernel, mark.rutland, robh+dt,
	s.hauer, shawnguo, thierry.reding

Hi Alex,

I am currently working on STM32MP1 based custom board and using the auo,g101evn010 panel.

The panel comes up but the colours are not as expected.
One observation is that when I pull down the notification bar on the Android Screen on the panel, due to the overlay of the notification, the colours in the background seems to be perfect then.

Not getting where to look at for this issue.
Seems to me an issue related to DRM.

Can you please suggest a solution for the same.

Waiting for a reply.

Regards,
Swapnil Raicha.

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

* Re: [PATCH v1 1/4] drm/panel: simple: Add AUO G101EVN010 panel support
  2018-10-25 15:09 ` [PATCH v1 1/4] drm/panel: simple: Add AUO G101EVN010 panel support Alex Gonzalez
  2018-10-30 23:05   ` Rob Herring
@ 2018-12-03 16:08   ` Thierry Reding
  1 sibling, 0 replies; 4+ messages in thread
From: Thierry Reding @ 2018-12-03 16:08 UTC (permalink / raw)
  To: Alex Gonzalez
  Cc: airlied, dri-devel, shawnguo, robh+dt, mark.rutland, s.hauer,
	kernel, fabio.estevam, linux-imx, devicetree, linux-kernel,
	linux-arm-kernel

[-- Attachment #1: Type: text/plain, Size: 895 bytes --]

On Thu, Oct 25, 2018 at 05:09:30PM +0200, Alex Gonzalez wrote:
> The change adds support for the AU Optronics G101EVN010 10.1" TFT LCD
> panel.
> 
> Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
> ---
>  .../bindings/display/panel/auo,g101evn010          | 12 ++++++++++
>  drivers/gpu/drm/panel/panel-simple.c               | 27 ++++++++++++++++++++++
>  2 files changed, 39 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/display/panel/auo,g101evn010

Two things to keep in mind for next time: please split up DT bindings
and driver changes into two separate patches (checkpatch.pl warns about
this) and keep entries in panel-simple sorted alphabetically.

I fixed the sorting myself and also added a .txt suffix to the DT
binding documentation for consistency with other files in that
directory.

Applied to drm-misc-next, thanks.

Thierry

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: [PATCH v1 1/4] drm/panel: simple: Add AUO G101EVN010 panel support
  2018-10-25 15:09 ` [PATCH v1 1/4] drm/panel: simple: Add AUO G101EVN010 panel support Alex Gonzalez
@ 2018-10-30 23:05   ` Rob Herring
  2018-12-03 16:08   ` Thierry Reding
  1 sibling, 0 replies; 4+ messages in thread
From: Rob Herring @ 2018-10-30 23:05 UTC (permalink / raw)
  To: Alex Gonzalez
  Cc: thierry.reding, airlied, dri-devel, shawnguo, robh+dt,
	mark.rutland, s.hauer, kernel, fabio.estevam, linux-imx,
	devicetree, linux-kernel, linux-arm-kernel, alex.gonzalez

On Thu, 25 Oct 2018 17:09:30 +0200, Alex Gonzalez wrote:
> The change adds support for the AU Optronics G101EVN010 10.1" TFT LCD
> panel.
> 
> Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
> ---
>  .../bindings/display/panel/auo,g101evn010          | 12 ++++++++++
>  drivers/gpu/drm/panel/panel-simple.c               | 27 ++++++++++++++++++++++
>  2 files changed, 39 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/display/panel/auo,g101evn010
> 

Reviewed-by: Rob Herring <robh@kernel.org>

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

* [PATCH v1 1/4] drm/panel: simple: Add AUO G101EVN010 panel support
  2018-10-25 15:09 [PATCH v1 0/4] ARM: dts: ccimx6ulsbcpro: Add 10" AUO/Goodix LVDS panel accessory kit Alex Gonzalez
@ 2018-10-25 15:09 ` Alex Gonzalez
  2018-10-30 23:05   ` Rob Herring
  2018-12-03 16:08   ` Thierry Reding
  0 siblings, 2 replies; 4+ messages in thread
From: Alex Gonzalez @ 2018-10-25 15:09 UTC (permalink / raw)
  To: thierry.reding, airlied, dri-devel, shawnguo
  Cc: robh+dt, mark.rutland, s.hauer, kernel, fabio.estevam, linux-imx,
	devicetree, linux-kernel, linux-arm-kernel, alex.gonzalez

The change adds support for the AU Optronics G101EVN010 10.1" TFT LCD
panel.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
---
 .../bindings/display/panel/auo,g101evn010          | 12 ++++++++++
 drivers/gpu/drm/panel/panel-simple.c               | 27 ++++++++++++++++++++++
 2 files changed, 39 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/display/panel/auo,g101evn010

diff --git a/Documentation/devicetree/bindings/display/panel/auo,g101evn010 b/Documentation/devicetree/bindings/display/panel/auo,g101evn010
new file mode 100644
index 000000000000..bc6a0c858e23
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/panel/auo,g101evn010
@@ -0,0 +1,12 @@
+AU Optronics Corporation 10.1" (1280x800) color TFT LCD panel
+
+Required properties:
+- compatible: should be "auo,g101evn010"
+- power-supply: as specified in the base binding
+
+Optional properties:
+- backlight: as specified in the base binding
+- enable-gpios: as specified in the base binding
+
+This binding is compatible with the simple-panel binding, which is specified
+in simple-panel.txt in this directory.
diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index 97964f7f2ace..65a0dd166637 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -631,6 +631,30 @@ static const struct panel_desc auo_g104sn02 = {
 	},
 };
 
+static const struct drm_display_mode auo_g101evn010_mode = {
+	.clock = 68930,
+	.hdisplay = 1280,
+	.hsync_start = 1280 + 82,
+	.hsync_end = 1280 + 82 + 2,
+	.htotal = 1280 + 82 + 2 + 84,
+	.vdisplay = 800,
+	.vsync_start = 800 + 8,
+	.vsync_end = 800 + 8 + 2,
+	.vtotal = 800 + 8 + 2 + 6,
+	.vrefresh = 60,
+};
+
+static const struct panel_desc auo_g101evn010 = {
+	.modes = &auo_g101evn010_mode,
+	.num_modes = 1,
+	.bpc = 6,
+	.size = {
+		.width = 216,
+		.height = 135,
+	},
+	.bus_format = MEDIA_BUS_FMT_RGB666_1X18,
+};
+
 static const struct display_timing auo_g133han01_timings = {
 	.pixelclock = { 134000000, 141200000, 149000000 },
 	.hactive = { 1920, 1920, 1920 },
@@ -2355,6 +2379,9 @@ static const struct of_device_id platform_of_match[] = {
 		.compatible = "auo,g104sn02",
 		.data = &auo_g104sn02,
 	}, {
+		.compatible = "auo,g101evn010",
+		.data = &auo_g101evn010,
+	}, {
 		.compatible = "auo,g133han01",
 		.data = &auo_g133han01,
 	}, {

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

end of thread, other threads:[~2023-05-14 15:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-14 15:32 [PATCH v1 1/4] drm/panel: simple: Add AUO G101EVN010 panel support Swapnil Raicha
  -- strict thread matches above, loose matches on Subject: below --
2018-10-25 15:09 [PATCH v1 0/4] ARM: dts: ccimx6ulsbcpro: Add 10" AUO/Goodix LVDS panel accessory kit Alex Gonzalez
2018-10-25 15:09 ` [PATCH v1 1/4] drm/panel: simple: Add AUO G101EVN010 panel support Alex Gonzalez
2018-10-30 23:05   ` Rob Herring
2018-12-03 16:08   ` Thierry Reding

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®