* [PATCH v2 1/2] dt-bindings: display: panel: Add AUO B116XAK01 panel bindings
@ 2020-01-08 23:53 Rob Clark
2020-01-08 23:53 ` [PATCH v2 2/2] drm/panel: Add support for AUO B116XAK01 panel Rob Clark
2020-01-09 0:31 ` [PATCH v2 1/2] dt-bindings: display: panel: Add AUO B116XAK01 panel bindings Sam Ravnborg
0 siblings, 2 replies; 3+ messages in thread
From: Rob Clark @ 2020-01-08 23:53 UTC (permalink / raw)
To: dri-devel
Cc: Rob Clark, Mark Rutland,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
David Airlie, Douglas Anderson, Rob Herring, open list,
Thierry Reding, Sam Ravnborg
From: Rob Clark <robdclark@chromium.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
---
.../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 090866260f4f..5f1d765447bc 100644
--- a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml
+++ b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml
@@ -33,6 +33,8 @@ properties:
- ampire,am-480272h3tmqw-t01h
# Ampire AM-800480R3TMQW-A1H 7.0" WVGA TFT LCD panel
- ampire,am800480r3tmqwa1h
+ # AUO B116XAK01 eDP TFT LCD panel
+ - auo,b116xa01
backlight: true
enable-gpios: true
--
2.24.1
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH v2 2/2] drm/panel: Add support for AUO B116XAK01 panel
2020-01-08 23:53 [PATCH v2 1/2] dt-bindings: display: panel: Add AUO B116XAK01 panel bindings Rob Clark
@ 2020-01-08 23:53 ` Rob Clark
2020-01-09 0:31 ` [PATCH v2 1/2] dt-bindings: display: panel: Add AUO B116XAK01 panel bindings Sam Ravnborg
1 sibling, 0 replies; 3+ messages in thread
From: Rob Clark @ 2020-01-08 23:53 UTC (permalink / raw)
To: dri-devel
Cc: Rob Clark, David Airlie, Douglas Anderson, open list,
Thierry Reding, Sam Ravnborg
From: Rob Clark <robdclark@chromium.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
---
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 ba3f85f36c2f..0c3444c62014 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -629,6 +629,35 @@ static const struct panel_desc auo_b101xtn01 = {
},
};
+static const struct drm_display_mode auo_b116xak01_mode = {
+ .clock = 69300,
+ .hdisplay = 1366,
+ .hsync_start = 1366 + 48,
+ .hsync_end = 1366 + 48 + 32,
+ .htotal = 1366 + 48 + 32 + 10,
+ .vdisplay = 768,
+ .vsync_start = 768 + 4,
+ .vsync_end = 768 + 4 + 6,
+ .vtotal = 768 + 4 + 6 + 15,
+ .vrefresh = 60,
+ .flags = DRM_MODE_FLAG_NVSYNC | DRM_MODE_FLAG_NHSYNC,
+};
+
+static const struct panel_desc auo_b116xak01 = {
+ .modes = &auo_b116xak01_mode,
+ .num_modes = 1,
+ .bpc = 6,
+ .size = {
+ .width = 256,
+ .height = 144,
+ },
+ .delay = {
+ .hpd_absent_delay = 200,
+ },
+ .bus_format = MEDIA_BUS_FMT_RGB666_1X18,
+ .connector_type = DRM_MODE_CONNECTOR_eDP,
+};
+
static const struct drm_display_mode auo_b116xw03_mode = {
.clock = 70589,
.hdisplay = 1366,
@@ -3125,6 +3154,9 @@ static const struct of_device_id platform_of_match[] = {
}, {
.compatible = "auo,b101xtn01",
.data = &auo_b101xtn01,
+ }, {
+ .compatible = "auo,b116xa01",
+ .data = &auo_b116xak01,
}, {
.compatible = "auo,b116xw03",
.data = &auo_b116xw03,
--
2.24.1
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v2 1/2] dt-bindings: display: panel: Add AUO B116XAK01 panel bindings
2020-01-08 23:53 [PATCH v2 1/2] dt-bindings: display: panel: Add AUO B116XAK01 panel bindings Rob Clark
2020-01-08 23:53 ` [PATCH v2 2/2] drm/panel: Add support for AUO B116XAK01 panel Rob Clark
@ 2020-01-09 0:31 ` Sam Ravnborg
1 sibling, 0 replies; 3+ messages in thread
From: Sam Ravnborg @ 2020-01-09 0:31 UTC (permalink / raw)
To: Rob Clark
Cc: Rob Clark, Mark Rutland,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
David Airlie, Douglas Anderson, dri-devel, open list,
Rob Herring, Thierry Reding
Hi Rob.
On Wed, Jan 08, 2020 at 03:53:55PM -0800, Rob Clark wrote:
> From: Rob Clark <robdclark@chromium.org>
>
> Signed-off-by: Rob Clark <robdclark@chromium.org>
> ---
> .../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 090866260f4f..5f1d765447bc 100644
> --- a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml
> +++ b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml
> @@ -33,6 +33,8 @@ properties:
> - ampire,am-480272h3tmqw-t01h
> # Ampire AM-800480R3TMQW-A1H 7.0" WVGA TFT LCD panel
> - ampire,am800480r3tmqwa1h
> + # AUO B116XAK01 eDP TFT LCD panel
> + - auo,b116xa01
>
> backlight: true
> enable-gpios: true
Both patches applied to drm-misc-next.
Thanks,
Sam
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-01-09 0:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-08 23:53 [PATCH v2 1/2] dt-bindings: display: panel: Add AUO B116XAK01 panel bindings Rob Clark
2020-01-08 23:53 ` [PATCH v2 2/2] drm/panel: Add support for AUO B116XAK01 panel Rob Clark
2020-01-09 0:31 ` [PATCH v2 1/2] dt-bindings: display: panel: Add AUO B116XAK01 panel bindings Sam Ravnborg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).