dt-bindings: display: panel: Add AUO B116XAK01 panel bindings
Subsystems (5)
PATCH 1/2 dt-bindings: display: panel: Add AUO B116XAK01 panel bindings
From: Rob Clark <[email protected]>
--- .../bindings/display/panel/auo,b116xa01.yaml | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/auo,b116xa01.yaml
Documentation/devicetree/bindings/display/panel/auo,b116xa01.yaml new file +32 -0
@@ -0,0 +1,32 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/auo,b116xa01.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: AUO B116XAK01 eDP TFT LCD Panel + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + enum: + - auo,b116xa01 + port: true + +required: + - compatible + +additionalProperties: false + +examples: + - | + panel { + compatible = "auo,b116xa01"; + port { + panel_in: endpoint { + remote-endpoint = <&edp_out>; + }; + }; + };
Signature · 1 line
2.24.1
PATCH 2/2 drm/panel: Add support for AUO B116XAK01 panel
From: Rob Clark <[email protected]>
--- drivers/gpu/drm/panel/panel-simple.c | 32 ++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+)
drivers/gpu/drm/panel/panel-simple.c +32 -0
@@ -680,6 +680,35 @@ static const struct panel_desc auo_b116xw03 = { }, }; +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_b133xtn01_mode = { .clock =69500 , .hdisplay =1366 ,
@@ -3125,6 +3154,9 @@ static const struct of_device_id platform_of_match[] = { }, { .compatible = "auo,b133htn01", .data = &auo_b133htn01, + }, { + .compatible = "auo,b116xa01", + .data = &auo_b116xak01, }, { .compatible = "auo,b133xtn01", .data = &auo_b133xtn01,
Signature · 1 line
2.24.1
Re: [PATCH 2/2] drm/panel: Add support for AUO B116XAK01 panel
Hi Rob.
Quoted 33 lines · Rob Clark
From: Rob Clark <[email protected]>
Signed-off-by Rob Clark <[email protected]>--- drivers/gpu/drm/panel/panel-simple.c | 32 ++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+)drivers/gpu/drm/panel/panel-simple.c +18
-0@@ -680,6 +680,35 @@ static const struct panel_desc auo_b116xw03 = { }, }; +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 ,
drivers/gpu/drm/panel/panel-simple.c static const struct panel_desc auo_b116xw03 = { · line 710
Quoted 10 lines
drivers/gpu/drm/panel/panel-simple.c +10
-0+ .size = { + .width = 256, + .height = 144, + }, + .delay = { + .hpd_absent_delay = 200, + }, + .bus_format = MEDIA_BUS_FMT_RGB666_1X18, + .connector_type = DRM_MODE_CONNECTOR_eDP, +};
Entries in alphabetical order - check.
.connector_type specified - check.
.flags and .bus_format specified - check.
.bus_flags not specified but optional - OK.
drivers/gpu/drm/panel/panel-simple.c static const struct of_device_id platform_of_match[] = { · line 3159
Quoted 11 lines
drivers/gpu/drm/panel/panel-simple.c +4
-0+static const struct drm_display_mode auo_b133xtn01_mode = { .clock =69500 , .hdisplay =1366 ,@@ -3125,6 +3154,9 @@ static const struct of_device_id platform_of_match[] = { }, { .compatible = "auo,b133htn01", .data = &auo_b133htn01, + }, { + .compatible = "auo,b116xa01", + .data = &auo_b116xak01,
This entry most also be in alphabetical order.
drivers/gpu/drm/panel/panel-simple.c static const struct of_device_id platform_of_match[] = { · line 3162
Quoted 3 lines
drivers/gpu/drm/panel/panel-simple.c +0
-0}, { .compatible = "auo,b133xtn01", .data = &auo_b133xtn01,
Please fix and resend.
I am in general holding back on patches to panel-simple. I hope we can reach a decision for the way forward with the bindings files sometimes next week.
Sam
Re: [PATCH 2/2] drm/panel: Add support for AUO B116XAK01 panel
Quoted 69 lines · Sam Ravnborg
Hi Rob.
Quoted 33 lines · Rob Clark
From: Rob Clark <[email protected]>
Signed-off-by Rob Clark <[email protected]>--- drivers/gpu/drm/panel/panel-simple.c | 32 ++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+)drivers/gpu/drm/panel/panel-simple.c +18
-0@@ -680,6 +680,35 @@ static const struct panel_desc auo_b116xw03 = { }, }; +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 ,drivers/gpu/drm/panel/panel-simple.c static const struct panel_desc auo_b116xw03 = { · line 710
Quoted 10 lines
drivers/gpu/drm/panel/panel-simple.c +10
-0+ .size = { + .width = 256, + .height = 144, + }, + .delay = { + .hpd_absent_delay = 200, + }, + .bus_format = MEDIA_BUS_FMT_RGB666_1X18, + .connector_type = DRM_MODE_CONNECTOR_eDP, +};Entries in alphabetical order - check.
.connector_type specified - check.
.flags and .bus_format specified - check.
.bus_flags not specified but optional - OK.drivers/gpu/drm/panel/panel-simple.c static const struct of_device_id platform_of_match[] = { · line 3159
Quoted 11 lines
drivers/gpu/drm/panel/panel-simple.c +4
-0+static const struct drm_display_mode auo_b133xtn01_mode = { .clock =69500 , .hdisplay =1366 ,@@ -3125,6 +3154,9 @@ static const struct of_device_id platform_of_match[] = { }, { .compatible = "auo,b133htn01", .data = &auo_b133htn01, + }, { + .compatible = "auo,b116xa01", + .data = &auo_b116xak01,This entry most also be in alphabetical order.
drivers/gpu/drm/panel/panel-simple.c static const struct of_device_id platform_of_match[] = { · line 3162
Quoted 3 lines
drivers/gpu/drm/panel/panel-simple.c +0
-0}, { .compatible = "auo,b133xtn01", .data = &auo_b133xtn01,
Quoted 5 lines
Please fix and resend.
I am in general holding back on patches to panel-simple. I hope we can reach a decision for the way forward with the bindings files sometimes next week.
I've fixed the sort-order and the couple things you've pointed out in the bindings. Not sure if you want me to resend immediately or hang-tight until the bindings discussion is resolved?
BR,
-R
Re: [PATCH 2/2] drm/panel: Add support for AUO B116XAK01 panel
Hi Rob.
Quoted 9 lines
Quoted 5 lines
Please fix and resend.
I am in general holding back on patches to panel-simple. I hope we can reach a decision for the way forward with the bindings files sometimes next week.
I've fixed the sort-order and the couple things you've pointed out in the bindings. Not sure if you want me to resend immediately or hang-tight until the bindings discussion is resolved?
Could we give it until Wednesday - if we do not resolve the binding discussion I will process panel patches in the weekend or maybe a day before.
Sam
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Re: [PATCH 2/2] drm/panel: Add support for AUO B116XAK01 panel
Quoted 9 lines · Sam Ravnborg
Hi Rob.
Quoted 6 lines
Quoted 5 lines
Please fix and resend.
I am in general holding back on patches to panel-simple. I hope we can reach a decision for the way forward with the bindings files sometimes next week.
Quoted 6 lines
Quoted 3 lines
I've fixed the sort-order and the couple things you've pointed out in the bindings. Not sure if you want me to resend immediately or hang-tight until the bindings discussion is resolved?
Could we give it until Wednesday - if we do not resolve the binding discussion I will process panel patches in the weekend or maybe a day before.
sounds good
BR,
-R
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Hi Rob.
Quoted 20 lines · Rob Clark
From: Rob Clark <[email protected]>
Signed-off-by Rob Clark <[email protected]>--- .../bindings/display/panel/auo,b116xa01.yaml | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/auo,b116xa01.yamlDocumentation/devicetree/bindings/display/panel/auo,b116xa01.yaml new file +6
-0@@ -0,0 +1,32 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/auo,b116xa01.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# +
Documentation/devicetree/bindings/display/panel/auo,b116xa01.yaml line 16
Quoted 10 lines
Documentation/devicetree/bindings/display/panel/auo,b116xa01.yaml new file +10
-0+title: AUO B116XAK01 eDP TFT LCD Panel + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + enum: + - auo,b116xa01 + port: true
Add an empty line before listing the other properties.
Documentation/devicetree/bindings/display/panel/auo,b116xa01.yaml line 19
Quoted 3 lines
Documentation/devicetree/bindings/display/panel/auo,b116xa01.yaml new file +3
-0+ +required: + - compatible
The panel needs power - so power-supply is required too.
Documentation/devicetree/bindings/display/panel/auo,b116xa01.yaml line 32
Quoted 13 lines
Documentation/devicetree/bindings/display/panel/auo,b116xa01.yaml new file +13
-0+ +additionalProperties: false + +examples: + - | + panel { + compatible = "auo,b116xa01"; + port { + panel_in: endpoint { + remote-endpoint = <&edp_out>; + }; + }; + };
For simple panels the example is more or less noise.
We are discusing to move all binding info to a few files for the simple (dumb) panels.
This is a candidate for this as well.
But there is not yet a conclusion.
Sam
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel