display: panel: Add AUO g070vvn01 display support (800x480)
Subsystems (4)
PATCH 1/1 display: panel: Add AUO g070vvn01 display support (800x480)
This commit adds support for AUO's 7.0" display.
--- .../bindings/display/panel/auo,g070vvn01 | 30 +++++++++++++++++++++ drivers/gpu/drm/panel/panel-simple.c | 31 ++++++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/auo,g070vvn01
Documentation/devicetree/bindings/display/panel/auo,g070vvn01 new file +30 -0
@@ -0,0 +1,30 @@ +AU Optronics Corporation 7.0" FHD (800 x 480) TFT LCD panel + +Required properties: +- compatible: should be "auo,g070vvn01" +- backlight: phandle of the backlight device attached to the panel +- power-supply: single regulator to provide the supply voltage + +Required nodes: +- port: Parallel port mapping to connect this display + +This panel needs single power supply voltage. Its backlight is conntrolled +via PWM signal. + +Example: +-------- + +Example device-tree definition when connected to iMX6Q based board + + lcd_panel: lcd-panel { + compatible = "auo,g070vvn01"; + backlight = <&backlight_lcd>; + bus-format-override = "rgb565"; + power-supply = <®_display>; + + port { + lcd_panel_in: endpoint { + remote-endpoint = <&lcd_display_out>; + }; + }; + };
drivers/gpu/drm/panel/panel-simple.c +31 -0
@@ -581,6 +581,34 @@ static const struct panel_desc auo_b133htn01 = { }, }; +static const struct display_timing auo_g070vvn01_timings = { + .pixelclock = {33300000 ,34209000 ,45000000 }, + .hactive = {800 ,800 ,800 }, + .hfront_porch = {20 ,40 ,200 }, + .hback_porch = {87 ,40 ,1 }, + .hsync_len = {1 ,48 ,87 }, + .vactive = {480 ,480 ,480 }, + .vfront_porch = {5 ,13 ,200 }, + .vback_porch = {31 ,31 ,29 }, + .vsync_len = {1 ,1 ,3 }, +}; + +static const struct panel_desc auo_g070vvn01 = { + .timings = &auo_g070vvn01_timings, + .num_timings =1 , + .bpc =8 , + .size = { + .width =152 , + .height =91 , + }, + .delay = { + .prepare =200 , + .enable =50 , + .disable =50 , + .unprepare =1000 , + }, +}; +static const struct display_timing auo_g133han01_timings = { .pixelclock = {134000000 ,141200000 ,149000000 }, .hactive = {1920 ,1920 ,1920 },
@@ -2049,6 +2077,9 @@ static const struct of_device_id platform_of_match[] = { .compatible = "auo,b133xtn01", .data = &auo_b133xtn01, }, { + .compatible = "auo,g070vvn01", + .data = &auo_g070vvn01, + }, { .compatible = "auo,g133han01", .data = &auo_g133han01, }, {
Signature · 1 line
2.11.0
Rob Herring
maintainerQuoted 5 lines · Lukasz Majewski
This commit adds support for AUO's 7.0" display.
Signed-off-by Lukasz Majewski <[email protected]>--- .../bindings/display/panel/auo,g070vvn01 | 30 +++++++++++++++++++++
.txt
Quoted 22 lines
drivers/gpu/drm/panel/panel-simple.c | 31 ++++++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/auo,g070vvn01Documentation/devicetree/bindings/display/panel/auo,g070vvn01 new file +12
-0@@ -0,0 +1,30 @@ +AU Optronics Corporation 7.0" FHD (800 x 480) TFT LCD panel + +Required properties: +- compatible: should be "auo,g070vvn01" +- backlight: phandle of the backlight device attached to the panel +- power-supply: single regulator to provide the supply voltage + +Required nodes: +- port: Parallel port mapping to connect this display + +This panel needs single power supply voltage. Its backlight is conntrolled +via PWM signal.
Documentation/devicetree/bindings/display/panel/auo,g070vvn01 line 22
Quoted 10 lines
Documentation/devicetree/bindings/display/panel/auo,g070vvn01 new file +10
-0+ +Example: +-------- + +Example device-tree definition when connected to iMX6Q based board + + lcd_panel: lcd-panel { + compatible = "auo,g070vvn01"; + backlight = <&backlight_lcd>; + bus-format-override = "rgb565";
This is not documented though it appears in a few i.MX dts files.
Documentation/devicetree/bindings/display/panel/auo,g070vvn01 line 30
Quoted 8 lines
Documentation/devicetree/bindings/display/panel/auo,g070vvn01 new file +8
-0+ power-supply = <®_display>; + + port { + lcd_panel_in: endpoint { + remote-endpoint = <&lcd_display_out>; + }; + }; + };
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
PATCH v2 1/1 display: panel: Add AUO g070vvn01 display support (800x480)
In reply to Lukasz MajewskiThis commit adds support for AUO's 7.0" display.
---
Changes for v2:
- Add *.txt suffix to the auo,g070wn01 file
- Remove not needed bus-format-override = "rgb565"; property
--- .../bindings/display/panel/auo,g070vvn01.txt | 30 +++++++++++++++++++++ drivers/gpu/drm/panel/panel-simple.c | 31 ++++++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/auo,g070vvn01.txt
Documentation/devicetree/bindings/display/panel/auo,g070vvn01.txt new file +30 -0
@@ -0,0 +1,30 @@ +AU Optronics Corporation 7.0" FHD (800 x 480) TFT LCD panel + +Required properties: +- compatible: should be "auo,g070vvn01" +- backlight: phandle of the backlight device attached to the panel +- power-supply: single regulator to provide the supply voltage + +Required nodes: +- port: Parallel port mapping to connect this display + +This panel needs single power supply voltage. Its backlight is conntrolled +via PWM signal. + +Example: +-------- + +Example device-tree definition when connected to iMX6Q based board + + lcd_panel: lcd-panel { + compatible = "auo,g070vvn01"; + backlight = <&backlight_lcd>; + + power-supply = <®_display>; + + port { + lcd_panel_in: endpoint { + remote-endpoint = <&lcd_display_out>; + }; + }; + };
drivers/gpu/drm/panel/panel-simple.c +31 -0
@@ -581,6 +581,34 @@ static const struct panel_desc auo_b133htn01 = { }, }; +static const struct display_timing auo_g070vvn01_timings = { + .pixelclock = {33300000 ,34209000 ,45000000 }, + .hactive = {800 ,800 ,800 }, + .hfront_porch = {20 ,40 ,200 }, + .hback_porch = {87 ,40 ,1 }, + .hsync_len = {1 ,48 ,87 }, + .vactive = {480 ,480 ,480 }, + .vfront_porch = {5 ,13 ,200 }, + .vback_porch = {31 ,31 ,29 }, + .vsync_len = {1 ,1 ,3 }, +}; + +static const struct panel_desc auo_g070vvn01 = { + .timings = &auo_g070vvn01_timings, + .num_timings =1 , + .bpc =8 , + .size = { + .width =152 , + .height =91 , + }, + .delay = { + .prepare =200 , + .enable =50 , + .disable =50 , + .unprepare =1000 , + }, +}; +static const struct display_timing auo_g133han01_timings = { .pixelclock = {134000000 ,141200000 ,149000000 }, .hactive = {1920 ,1920 ,1920 },
@@ -2049,6 +2077,9 @@ static const struct of_device_id platform_of_match[] = { .compatible = "auo,b133xtn01", .data = &auo_b133xtn01, }, { + .compatible = "auo,g070vvn01", + .data = &auo_g070vvn01, + }, { .compatible = "auo,g133han01", .data = &auo_g133han01, }, {
Signature · 1 line
2.11.0
Quoted 8 lines · Lukasz Majewski
This commit adds support for AUO's 7.0" display.
Signed-off-by Lukasz Majewski <[email protected]>---
Changes for v2:
- Add *.txt suffix to the auo,g070wn01 file
- Remove not needed bus-format-override = "rgb565"; property
Quoted 5 lines
--- .../bindings/display/panel/auo,g070vvn01.txt | 30 +++++++++++++++++++++ drivers/gpu/drm/panel/panel-simple.c | 31 ++++++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/auo,g070vvn01.txt
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Hi Rob,
Quoted 18 lines
Quoted 8 lines · Lukasz Majewski
This commit adds support for AUO's 7.0" display.
Signed-off-by Lukasz Majewski <[email protected]>---
Changes for v2:
- Add *.txt suffix to the auo,g070wn01 file
- Remove not needed bus-format-override = "rgb565"; propertyQuoted 7 lines
--- .../bindings/display/panel/auo,g070vvn01.txt | 30+++++++++++++++++++++
drivers/gpu/drm/panel/panel-simple.c| 31
++++++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644Documentation/devicetree/bindings/display/panel/auo,g070vvn01.txt
Quoted 1 line
Reviewed-by Rob Herring <[email protected]>
Gentle ping on this patch .... It is almost month now...
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected]
PATCH RESEND v2 1/1 display: panel: Add AUO g070vvn01 display support (800x480)
In reply to Lukasz MajewskiThis commit adds support for AUO's 7.0" display.
--- .../bindings/display/panel/auo,g070vvn01 | 30 +++++++++++++++++++++ drivers/gpu/drm/panel/panel-simple.c | 31 ++++++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/auo,g070vvn01
Documentation/devicetree/bindings/display/panel/auo,g070vvn01 new file +30 -0
@@ -0,0 +1,30 @@ +AU Optronics Corporation 7.0" FHD (800 x 480) TFT LCD panel + +Required properties: +- compatible: should be "auo,g070vvn01" +- backlight: phandle of the backlight device attached to the panel +- power-supply: single regulator to provide the supply voltage + +Required nodes: +- port: Parallel port mapping to connect this display + +This panel needs single power supply voltage. Its backlight is conntrolled +via PWM signal. + +Example: +-------- + +Example device-tree definition when connected to iMX6Q based board + + lcd_panel: lcd-panel { + compatible = "auo,g070vvn01"; + backlight = <&backlight_lcd>; + bus-format-override = "rgb565"; + power-supply = <®_display>; + + port { + lcd_panel_in: endpoint { + remote-endpoint = <&lcd_display_out>; + }; + }; + };
drivers/gpu/drm/panel/panel-simple.c +31 -0
@@ -581,6 +581,34 @@ static const struct panel_desc auo_b133htn01 = { }, }; +static const struct display_timing auo_g070vvn01_timings = { + .pixelclock = {33300000 ,34209000 ,45000000 }, + .hactive = {800 ,800 ,800 }, + .hfront_porch = {20 ,40 ,200 }, + .hback_porch = {87 ,40 ,1 }, + .hsync_len = {1 ,48 ,87 }, + .vactive = {480 ,480 ,480 }, + .vfront_porch = {5 ,13 ,200 }, + .vback_porch = {31 ,31 ,29 }, + .vsync_len = {1 ,1 ,3 }, +}; + +static const struct panel_desc auo_g070vvn01 = { + .timings = &auo_g070vvn01_timings, + .num_timings =1 , + .bpc =8 , + .size = { + .width =152 , + .height =91 , + }, + .delay = { + .prepare =200 , + .enable =50 , + .disable =50 , + .unprepare =1000 , + }, +}; +static const struct drm_display_mode auo_g104sn02_mode = { .clock =40000 , .hdisplay =800 ,
@@ -2095,6 +2123,9 @@ static const struct of_device_id platform_of_match[] = { .compatible = "auo,b133xtn01", .data = &auo_b133xtn01, }, { + .compatible = "auo,g070vvn01", + .data = &auo_g070vvn01, + }, { .compatible = "auo,g104sn02", .data = &auo_g104sn02, }, {
Signature · 1 line
2.11.0
Hi Lukasz,
Documentation/devicetree/bindings/display/panel/auo,g070vvn01 line 22
Quoted 6 lines · Lukasz Majewski
Documentation/devicetree/bindings/display/panel/auo,g070vvn01 new file +6
-0+Example device-tree definition when connected to iMX6Q based board + + lcd_panel: lcd-panel { + compatible = "auo,g070vvn01"; + backlight = <&backlight_lcd>; + bus-format-override = "rgb565";
Please remove this property as it is not documented nor used anywhere.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
PATCH v3 1/1 display: panel: Add AUO g070vvn01 display support (800x480)
In reply to Lukasz MajewskiThis commit adds support for AUO's 7.0" display.
---
Changes for v3:
- Remove not used 'bus-format-override = "rgb565";' property
Changes for v2:
- Add *.txt suffix to the auo,g070wn01 file
--- .../bindings/display/panel/auo,g070vvn01.txt | 29 ++++++++++++++++++++ drivers/gpu/drm/panel/panel-simple.c | 31 ++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/auo,g070vvn01.txt
Documentation/devicetree/bindings/display/panel/auo,g070vvn01.txt new file +29 -0
@@ -0,0 +1,29 @@ +AU Optronics Corporation 7.0" FHD (800 x 480) TFT LCD panel + +Required properties: +- compatible: should be "auo,g070vvn01" +- backlight: phandle of the backlight device attached to the panel +- power-supply: single regulator to provide the supply voltage + +Required nodes: +- port: Parallel port mapping to connect this display + +This panel needs single power supply voltage. Its backlight is conntrolled +via PWM signal. + +Example: +-------- + +Example device-tree definition when connected to iMX6Q based board + + lcd_panel: lcd-panel { + compatible = "auo,g070vvn01"; + backlight = <&backlight_lcd>; + power-supply = <®_display>; + + port { + lcd_panel_in: endpoint { + remote-endpoint = <&lcd_display_out>; + }; + }; + };
drivers/gpu/drm/panel/panel-simple.c +31 -0
@@ -581,6 +581,34 @@ static const struct panel_desc auo_b133htn01 = { }, }; +static const struct display_timing auo_g070vvn01_timings = { + .pixelclock = {33300000 ,34209000 ,45000000 }, + .hactive = {800 ,800 ,800 }, + .hfront_porch = {20 ,40 ,200 }, + .hback_porch = {87 ,40 ,1 }, + .hsync_len = {1 ,48 ,87 }, + .vactive = {480 ,480 ,480 }, + .vfront_porch = {5 ,13 ,200 }, + .vback_porch = {31 ,31 ,29 }, + .vsync_len = {1 ,1 ,3 }, +}; + +static const struct panel_desc auo_g070vvn01 = { + .timings = &auo_g070vvn01_timings, + .num_timings =1 , + .bpc =8 , + .size = { + .width =152 , + .height =91 , + }, + .delay = { + .prepare =200 , + .enable =50 , + .disable =50 , + .unprepare =1000 , + }, +}; +static const struct drm_display_mode auo_g104sn02_mode = { .clock =40000 , .hdisplay =800 ,
@@ -2095,6 +2123,9 @@ static const struct of_device_id platform_of_match[] = { .compatible = "auo,b133xtn01", .data = &auo_b133xtn01, }, { + .compatible = "auo,g070vvn01", + .data = &auo_g070vvn01, + }, { .compatible = "auo,g104sn02", .data = &auo_g104sn02, }, {
Signature · 1 line
2.11.0
Dear All,
Quoted 1 line
This commit adds support for AUO's 7.0" display.
If I may gentle remind about this patch....
Quoted 92 lines
Signed-off-by Lukasz Majewski <[email protected]>---
Changes for v3:
- Remove not used 'bus-format-override = "rgb565";' propertyChanges for v2:
- Add *.txt suffix to the auo,g070wn01 file--- .../bindings/display/panel/auo,g070vvn01.txt | 29++++++++++++++++++++
drivers/gpu/drm/panel/panel-simple.c| 31
++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644Documentation/devicetree/bindings/display/panel/auo,g070vvn01.txtdiff --git
a/Documentation/devicetree/bindings/display/panel/auo,g070vvn01.txtb/Documentation/devicetree/bindings/display/panel/auo,g070vvn01.txtnew file mode 100644 index 000000000000..49e4105378f6 ---/dev/null
+++b/Documentation/devicetree/bindings/display/panel/auo,g070vvn01.txt(quoted diff) +0
-0@@ -0,0 +1,29 @@ +AU Optronics Corporation 7.0" FHD (800 x 480) TFTLCD panel +
Documentation/devicetree/bindings/display/panel/auo,g070vvn01.txt new file +9
-0+Required properties: +- compatible: should be "auo,g070vvn01" +- backlight: phandle of the backlight device attached to the panel +- power-supply: single regulator to provide the supply voltage + +Required nodes: +- port: Parallel port mapping to connect this display + +This panel needs single power supply voltage. Its backlight isconntrolled +via PWM signal.
Documentation/devicetree/bindings/display/panel/auo,g070vvn01.txt new file +17
-0+ +Example: +-------- + +Example device-tree definition when connected to iMX6Q based board + + lcd_panel: lcd-panel { + compatible = "auo,g070vvn01"; + backlight = <&backlight_lcd>; + power-supply = <®_display>; + + port { + lcd_panel_in: endpoint { + remote-endpoint = <&lcd_display_out>; + }; + }; + };(quoted diff) +0
-0
b/drivers/gpu/drm/panel/panel-simple.cindexcbf1ab404ee7..d9984bdb5bb5100644 ---a/drivers/gpu/drm/panel/panel-simple.c+++b/drivers/gpu/drm/panel/panel-simple.c@@ -581,6 +581,34 @@ static const structpanel_descauo_b133htn01= { },
};drivers/gpu/drm/panel/panel-simple.c +28
-0+static const struct display_timing auo_g070vvn01_timings = { + .pixelclock = {33300000 ,34209000 ,45000000 }, + .hactive = {800 ,800 ,800 }, + .hfront_porch = {20 ,40 ,200 }, + .hback_porch = {87 ,40 ,1 }, + .hsync_len = {1 ,48 ,87 }, + .vactive = {480 ,480 ,480 }, + .vfront_porch = {5 ,13 ,200 }, + .vback_porch = {31 ,31 ,29 }, + .vsync_len = {1 ,1 ,3 }, +}; + +static const struct panel_desc auo_g070vvn01 = { + .timings = &auo_g070vvn01_timings, + .num_timings =1 , + .bpc =8 , + .size = { + .width =152 , + .height =91 , + }, + .delay = { + .prepare =200 , + .enable =50 , + .disable =50 , + .unprepare =1000 , + }, +}; +static const struct drm_display_mode auo_g104sn02_mode = { .clock =40000 , .hdisplay =800 ,
drivers/gpu/drm/panel/panel-simple.c static const struct of_device_id · line 2131
Quoted 9 lines
drivers/gpu/drm/panel/panel-simple.c +3
-0@@ -2095,6 +2123,9 @@ static const struct of_device_id platform_of_match[] = { .compatible = "auo,b133xtn01", .data = &auo_b133xtn01, }, { + .compatible = "auo,g070vvn01", + .data = &auo_g070vvn01, + }, { .compatible = "auo,g104sn02", .data = &auo_g104sn02, }, {
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected]
Quoted 1 line · Lukasz Majewski
Dear All,
It is only Thierry that you need to ping. It goes thru his tree as I mentioned on another panel you sent.
Quoted 6 lines
Quoted 1 line
This commit adds support for AUO's 7.0" display.
If I may gentle remind about this patch....
Quoted 2 lines
Signed-off-by Lukasz Majewski <[email protected]>
You failed to add my Reviewed-by.
Rob
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
PATCH RESEND v3 1/1 display: panel: Add AUO g070vvn01 display support (800x480)
In reply to Lukasz MajewskiThis commit adds support for AUO's 7.0" display.
---
Changes for v3:
- Remove not used 'bus-format-override = "rgb565";' property
Changes for v2:
- Add *.txt suffix to the auo,g070wn01 file
--- .../bindings/display/panel/auo,g070vvn01.txt | 29 ++++++++++++++++++++ drivers/gpu/drm/panel/panel-simple.c | 31 ++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/auo,g070vvn01.txt
Documentation/devicetree/bindings/display/panel/auo,g070vvn01.txt new file +29 -0
@@ -0,0 +1,29 @@ +AU Optronics Corporation 7.0" FHD (800 x 480) TFT LCD panel + +Required properties: +- compatible: should be "auo,g070vvn01" +- backlight: phandle of the backlight device attached to the panel +- power-supply: single regulator to provide the supply voltage + +Required nodes: +- port: Parallel port mapping to connect this display + +This panel needs single power supply voltage. Its backlight is conntrolled +via PWM signal. + +Example: +-------- + +Example device-tree definition when connected to iMX6Q based board + + lcd_panel: lcd-panel { + compatible = "auo,g070vvn01"; + backlight = <&backlight_lcd>; + power-supply = <®_display>; + + port { + lcd_panel_in: endpoint { + remote-endpoint = <&lcd_display_out>; + }; + }; + };
drivers/gpu/drm/panel/panel-simple.c +31 -0
@@ -581,6 +581,34 @@ static const struct panel_desc auo_b133htn01 = { }, }; +static const struct display_timing auo_g070vvn01_timings = { + .pixelclock = {33300000 ,34209000 ,45000000 }, + .hactive = {800 ,800 ,800 }, + .hfront_porch = {20 ,40 ,200 }, + .hback_porch = {87 ,40 ,1 }, + .hsync_len = {1 ,48 ,87 }, + .vactive = {480 ,480 ,480 }, + .vfront_porch = {5 ,13 ,200 }, + .vback_porch = {31 ,31 ,29 }, + .vsync_len = {1 ,1 ,3 }, +}; + +static const struct panel_desc auo_g070vvn01 = { + .timings = &auo_g070vvn01_timings, + .num_timings =1 , + .bpc =8 , + .size = { + .width =152 , + .height =91 , + }, + .delay = { + .prepare =200 , + .enable =50 , + .disable =50 , + .unprepare =1000 , + }, +}; +static const struct drm_display_mode auo_g104sn02_mode = { .clock =40000 , .hdisplay =800 ,
@@ -2095,6 +2123,9 @@ static const struct of_device_id platform_of_match[] = { .compatible = "auo,b133xtn01", .data = &auo_b133xtn01, }, { + .compatible = "auo,g070vvn01", + .data = &auo_g070vvn01, + }, { .compatible = "auo,g104sn02", .data = &auo_g104sn02, }, {
Signature · 1 line
2.11.0
Hi Thierry,
Quoted 2 lines
This commit adds support for AUO's 7.0" display.
Thierry, shall I perform some more work on this code, or is it eligible for applying to your tree?
Best regards,
Łukasz
Quoted 92 lines
Signed-off-by Lukasz Majewski <[email protected]>Reviewed-by Rob Herring <[email protected]>---
Changes for v3:
- Remove not used 'bus-format-override = "rgb565";' propertyChanges for v2:
- Add *.txt suffix to the auo,g070wn01 file--- .../bindings/display/panel/auo,g070vvn01.txt | 29++++++++++++++++++++
drivers/gpu/drm/panel/panel-simple.c| 31
++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644Documentation/devicetree/bindings/display/panel/auo,g070vvn01.txtdiff --git
a/Documentation/devicetree/bindings/display/panel/auo,g070vvn01.txtb/Documentation/devicetree/bindings/display/panel/auo,g070vvn01.txtnew file mode 100644 index 000000000000..49e4105378f6 ---/dev/null
+++b/Documentation/devicetree/bindings/display/panel/auo,g070vvn01.txt(quoted diff) +0
-0@@ -0,0 +1,29 @@ +AU Optronics Corporation 7.0" FHD (800 x 480) TFTLCD panel +
Documentation/devicetree/bindings/display/panel/auo,g070vvn01.txt new file +9
-0+Required properties: +- compatible: should be "auo,g070vvn01" +- backlight: phandle of the backlight device attached to the panel +- power-supply: single regulator to provide the supply voltage + +Required nodes: +- port: Parallel port mapping to connect this display + +This panel needs single power supply voltage. Its backlight isconntrolled +via PWM signal.
Documentation/devicetree/bindings/display/panel/auo,g070vvn01.txt new file +17
-0+ +Example: +-------- + +Example device-tree definition when connected to iMX6Q based board + + lcd_panel: lcd-panel { + compatible = "auo,g070vvn01"; + backlight = <&backlight_lcd>; + power-supply = <®_display>; + + port { + lcd_panel_in: endpoint { + remote-endpoint = <&lcd_display_out>; + }; + }; + };(quoted diff) +0
-0
b/drivers/gpu/drm/panel/panel-simple.cindexcbf1ab404ee7..d9984bdb5bb5100644 ---a/drivers/gpu/drm/panel/panel-simple.c+++b/drivers/gpu/drm/panel/panel-simple.c@@ -581,6 +581,34 @@ static const structpanel_descauo_b133htn01= { },
};drivers/gpu/drm/panel/panel-simple.c +28
-0+static const struct display_timing auo_g070vvn01_timings = { + .pixelclock = {33300000 ,34209000 ,45000000 }, + .hactive = {800 ,800 ,800 }, + .hfront_porch = {20 ,40 ,200 }, + .hback_porch = {87 ,40 ,1 }, + .hsync_len = {1 ,48 ,87 }, + .vactive = {480 ,480 ,480 }, + .vfront_porch = {5 ,13 ,200 }, + .vback_porch = {31 ,31 ,29 }, + .vsync_len = {1 ,1 ,3 }, +}; + +static const struct panel_desc auo_g070vvn01 = { + .timings = &auo_g070vvn01_timings, + .num_timings =1 , + .bpc =8 , + .size = { + .width =152 , + .height =91 , + }, + .delay = { + .prepare =200 , + .enable =50 , + .disable =50 , + .unprepare =1000 , + }, +}; +static const struct drm_display_mode auo_g104sn02_mode = { .clock =40000 , .hdisplay =800 ,
drivers/gpu/drm/panel/panel-simple.c static const struct of_device_id · line 2131
Quoted 9 lines
drivers/gpu/drm/panel/panel-simple.c +3
-0@@ -2095,6 +2123,9 @@ static const struct of_device_id platform_of_match[] = { .compatible = "auo,b133xtn01", .data = &auo_b133xtn01, }, { + .compatible = "auo,g070vvn01", + .data = &auo_g070vvn01, + }, { .compatible = "auo,g104sn02", .data = &auo_g104sn02, }, {
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected]
Hi,
Quoted 7 lines
Hi Thierry,
Quoted 2 lines
This commit adds support for AUO's 7.0" display.
Thierry, shall I perform some more work on this code, or is it eligible for applying to your tree?
Gentle ping. If Thierry is overworked - maybe there is a co-maintainer so he/she could apply this patch?
Quoted 112 lines
Best regards,
ŁukaszQuoted 93 lines
Signed-off-by Lukasz Majewski <[email protected]>Reviewed-by Rob Herring <[email protected]>---
Changes for v3:
- Remove not used 'bus-format-override = "rgb565";' propertyChanges for v2:
- Add *.txt suffix to the auo,g070wn01 file--- .../bindings/display/panel/auo,g070vvn01.txt | 29++++++++++++++++++++
drivers/gpu/drm/panel/panel-simple.c| 31
++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644Documentation/devicetree/bindings/display/panel/auo,g070vvn01.txtdiff --git
a/Documentation/devicetree/bindings/display/panel/auo,g070vvn01.txtb/Documentation/devicetree/bindings/display/panel/auo,g070vvn01.txtnew file mode 100644 index 000000000000..49e4105378f6 ---/dev/null
+++b/Documentation/devicetree/bindings/display/panel/auo,g070vvn01.txt(quoted diff) +0
-0@@ -0,0 +1,29 @@ +AU Optronics Corporation 7.0" FHD (800 x 480) TFTLCD panel +
Documentation/devicetree/bindings/display/panel/auo,g070vvn01.txt new file +9
-0+Required properties: +- compatible: should be "auo,g070vvn01" +- backlight: phandle of the backlight device attached to the panel +- power-supply: single regulator to provide the supply voltage + +Required nodes: +- port: Parallel port mapping to connect this display + +This panel needs single power supply voltage. Its backlight isconntrolled +via PWM signal.
Documentation/devicetree/bindings/display/panel/auo,g070vvn01.txt new file +14
-0+ +Example: +-------- + +Example device-tree definition when connected to iMX6Q based board + + lcd_panel: lcd-panel { + compatible = "auo,g070vvn01"; + backlight = <&backlight_lcd>; + power-supply = <®_display>; + + port { + lcd_panel_in: endpoint { + remote-endpoint =<
&lcd_display_out>;Documentation/devicetree/bindings/display/panel/auo,g070vvn01.txt new file +3
-0+ }; + }; + };(quoted diff) +0
-0
b/drivers/gpu/drm/panel/panel-simple.cindexcbf1ab404ee7..d9984bdb5bb5100644 ---a/drivers/gpu/drm/panel/panel-simple.c+++b/drivers/gpu/drm/panel/panel-simple.c@@ -581,6 +581,34 @@ static const structpanel_descauo_b133htn01= { },
};drivers/gpu/drm/panel/panel-simple.c +28
-0+static const struct display_timing auo_g070vvn01_timings = { + .pixelclock = {33300000 ,34209000 ,45000000 }, + .hactive = {800 ,800 ,800 }, + .hfront_porch = {20 ,40 ,200 }, + .hback_porch = {87 ,40 ,1 }, + .hsync_len = {1 ,48 ,87 }, + .vactive = {480 ,480 ,480 }, + .vfront_porch = {5 ,13 ,200 }, + .vback_porch = {31 ,31 ,29 }, + .vsync_len = {1 ,1 ,3 }, +}; + +static const struct panel_desc auo_g070vvn01 = { + .timings = &auo_g070vvn01_timings, + .num_timings =1 , + .bpc =8 , + .size = { + .width =152 , + .height =91 , + }, + .delay = { + .prepare =200 , + .enable =50 , + .disable =50 , + .unprepare =1000 , + }, +}; +static const struct drm_display_mode auo_g104sn02_mode = { .clock =40000 , .hdisplay =800 ,drivers/gpu/drm/panel/panel-simple.c static const struct of_device_id · line 2131
Quoted 9 lines
drivers/gpu/drm/panel/panel-simple.c +3
-0@@ -2095,6 +2123,9 @@ static const struct of_device_id platform_of_match[] = { .compatible = "auo,b133xtn01", .data = &auo_b133xtn01, }, { + .compatible = "auo,g070vvn01", + .data = &auo_g070vvn01, + }, { .compatible = "auo,g104sn02", .data = &auo_g104sn02, }, {Best regards,
Quoted 7 lines
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected]
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected]
Hi,
Quoted 7 lines
Hi Thierry,
Quoted 2 lines
This commit adds support for AUO's 7.0" display.
Thierry, shall I perform some more work on this code, or is it eligible for applying to your tree?
If I may put a gentle remaining on this patch.....
Quoted 112 lines
Best regards,
ŁukaszQuoted 93 lines
Signed-off-by Lukasz Majewski <[email protected]>Reviewed-by Rob Herring <[email protected]>---
Changes for v3:
- Remove not used 'bus-format-override = "rgb565";' propertyChanges for v2:
- Add *.txt suffix to the auo,g070wn01 file--- .../bindings/display/panel/auo,g070vvn01.txt | 29++++++++++++++++++++
drivers/gpu/drm/panel/panel-simple.c| 31
++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644Documentation/devicetree/bindings/display/panel/auo,g070vvn01.txtdiff --git
a/Documentation/devicetree/bindings/display/panel/auo,g070vvn01.txtb/Documentation/devicetree/bindings/display/panel/auo,g070vvn01.txtnew file mode 100644 index 000000000000..49e4105378f6 ---/dev/null
+++b/Documentation/devicetree/bindings/display/panel/auo,g070vvn01.txt(quoted diff) +0
-0@@ -0,0 +1,29 @@ +AU Optronics Corporation 7.0" FHD (800 x 480) TFTLCD panel +
Documentation/devicetree/bindings/display/panel/auo,g070vvn01.txt new file +9
-0+Required properties: +- compatible: should be "auo,g070vvn01" +- backlight: phandle of the backlight device attached to the panel +- power-supply: single regulator to provide the supply voltage + +Required nodes: +- port: Parallel port mapping to connect this display + +This panel needs single power supply voltage. Its backlight isconntrolled +via PWM signal.
Documentation/devicetree/bindings/display/panel/auo,g070vvn01.txt new file +14
-0+ +Example: +-------- + +Example device-tree definition when connected to iMX6Q based board + + lcd_panel: lcd-panel { + compatible = "auo,g070vvn01"; + backlight = <&backlight_lcd>; + power-supply = <®_display>; + + port { + lcd_panel_in: endpoint { + remote-endpoint =<
&lcd_display_out>;Documentation/devicetree/bindings/display/panel/auo,g070vvn01.txt new file +3
-0+ }; + }; + };(quoted diff) +0
-0
b/drivers/gpu/drm/panel/panel-simple.cindexcbf1ab404ee7..d9984bdb5bb5100644 ---a/drivers/gpu/drm/panel/panel-simple.c+++b/drivers/gpu/drm/panel/panel-simple.c@@ -581,6 +581,34 @@ static const structpanel_descauo_b133htn01= { },
};drivers/gpu/drm/panel/panel-simple.c +28
-0+static const struct display_timing auo_g070vvn01_timings = { + .pixelclock = {33300000 ,34209000 ,45000000 }, + .hactive = {800 ,800 ,800 }, + .hfront_porch = {20 ,40 ,200 }, + .hback_porch = {87 ,40 ,1 }, + .hsync_len = {1 ,48 ,87 }, + .vactive = {480 ,480 ,480 }, + .vfront_porch = {5 ,13 ,200 }, + .vback_porch = {31 ,31 ,29 }, + .vsync_len = {1 ,1 ,3 }, +}; + +static const struct panel_desc auo_g070vvn01 = { + .timings = &auo_g070vvn01_timings, + .num_timings =1 , + .bpc =8 , + .size = { + .width =152 , + .height =91 , + }, + .delay = { + .prepare =200 , + .enable =50 , + .disable =50 , + .unprepare =1000 , + }, +}; +static const struct drm_display_mode auo_g104sn02_mode = { .clock =40000 , .hdisplay =800 ,drivers/gpu/drm/panel/panel-simple.c static const struct of_device_id · line 2131
Quoted 9 lines
drivers/gpu/drm/panel/panel-simple.c +3
-0@@ -2095,6 +2123,9 @@ static const struct of_device_id platform_of_match[] = { .compatible = "auo,b133xtn01", .data = &auo_b133xtn01, }, { + .compatible = "auo,g070vvn01", + .data = &auo_g070vvn01, + }, { .compatible = "auo,g104sn02", .data = &auo_g104sn02, }, {Best regards,
Quoted 7 lines
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected]
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected]
Thierry Reding
AppliedQuoted 9 lines · Lukasz Majewski
This commit adds support for AUO's 7.0" display.
Signed-off-by Lukasz Majewski <[email protected]>Reviewed-by Rob Herring <[email protected]>---
Changes for v3:
- Remove not used 'bus-format-override = "rgb565";' property
Quoted 7 lines
Changes for v2:
- Add *.txt suffix to the auo,g070wn01 file--- .../bindings/display/panel/auo,g070vvn01.txt | 29 ++++++++++++++++++++ drivers/gpu/drm/panel/panel-simple.c | 31 ++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/auo,g070vvn01.txt
Next time, please use the standard "drm/panel: " prefix, which increases the chances of me seeing the patch.
Also, it's usually a good idea to split patches up into one that has the device tree bindings and another one that has the driver changes.
Applied, thanks.
Thierry
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel