* [PATCH v1 0/3] add innolux,g070y2-t02 support for the Protonic VT7 board
@ 2021-05-18 7:15 ` Oleksij Rempel
0 siblings, 0 replies; 19+ messages in thread
From: Oleksij Rempel @ 2021-05-18 7:15 UTC (permalink / raw)
To: Daniel Vetter, David Airlie, Rob Herring, Sascha Hauer,
Shawn Guo, Thierry Reding
Cc: Oleksij Rempel, devicetree, dri-devel, Fabio Estevam,
linux-arm-kernel, linux-kernel, NXP Linux Team,
Pengutronix Kernel Team, Sam Ravnborg, David Jander,
Robin van der Gracht
Add Innolux G070Y2-T02 panel support for the Protonic VT7 board.
Oleksij Rempel (3):
dt-bindings: display: simple: add Innolux G070Y2-T02 panel
drm: panel-simple: Add support for the Innolux G070Y2-T02 panel
ARM: dts: imx6dl-prtvt7: Add display and panel nodes
.../bindings/display/panel/panel-simple.yaml | 2 +
arch/arm/boot/dts/imx6dl-prtvt7.dts | 47 +++++++++++++++++++
drivers/gpu/drm/panel/panel-simple.c | 16 +++++++
3 files changed, 65 insertions(+)
--
2.29.2
^ permalink raw reply [flat|nested] 19+ messages in thread
* [PATCH v1 0/3] add innolux, g070y2-t02 support for the Protonic VT7 board
@ 2021-05-18 7:15 ` Oleksij Rempel
0 siblings, 0 replies; 19+ messages in thread
From: Oleksij Rempel @ 2021-05-18 7:15 UTC (permalink / raw)
To: Daniel Vetter, David Airlie, Rob Herring, Sascha Hauer,
Shawn Guo, Thierry Reding
Cc: Oleksij Rempel, devicetree, dri-devel, Fabio Estevam,
linux-arm-kernel, linux-kernel, NXP Linux Team,
Pengutronix Kernel Team, Sam Ravnborg, David Jander,
Robin van der Gracht
Add Innolux G070Y2-T02 panel support for the Protonic VT7 board.
Oleksij Rempel (3):
dt-bindings: display: simple: add Innolux G070Y2-T02 panel
drm: panel-simple: Add support for the Innolux G070Y2-T02 panel
ARM: dts: imx6dl-prtvt7: Add display and panel nodes
.../bindings/display/panel/panel-simple.yaml | 2 +
arch/arm/boot/dts/imx6dl-prtvt7.dts | 47 +++++++++++++++++++
drivers/gpu/drm/panel/panel-simple.c | 16 +++++++
3 files changed, 65 insertions(+)
--
2.29.2
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 19+ messages in thread
* [PATCH v1 0/3] add innolux, g070y2-t02 support for the Protonic VT7 board
@ 2021-05-18 7:15 ` Oleksij Rempel
0 siblings, 0 replies; 19+ messages in thread
From: Oleksij Rempel @ 2021-05-18 7:15 UTC (permalink / raw)
To: Daniel Vetter, David Airlie, Rob Herring, Sascha Hauer,
Shawn Guo, Thierry Reding
Cc: devicetree, Robin van der Gracht, Sam Ravnborg, linux-kernel,
dri-devel, Oleksij Rempel, NXP Linux Team,
Pengutronix Kernel Team, David Jander, linux-arm-kernel
Add Innolux G070Y2-T02 panel support for the Protonic VT7 board.
Oleksij Rempel (3):
dt-bindings: display: simple: add Innolux G070Y2-T02 panel
drm: panel-simple: Add support for the Innolux G070Y2-T02 panel
ARM: dts: imx6dl-prtvt7: Add display and panel nodes
.../bindings/display/panel/panel-simple.yaml | 2 +
arch/arm/boot/dts/imx6dl-prtvt7.dts | 47 +++++++++++++++++++
drivers/gpu/drm/panel/panel-simple.c | 16 +++++++
3 files changed, 65 insertions(+)
--
2.29.2
^ permalink raw reply [flat|nested] 19+ messages in thread
* [PATCH v1 1/3] dt-bindings: display: simple: add Innolux G070Y2-T02 panel
2021-05-18 7:15 ` Oleksij Rempel
(?)
@ 2021-05-18 7:15 ` Oleksij Rempel
-1 siblings, 0 replies; 19+ messages in thread
From: Oleksij Rempel @ 2021-05-18 7:15 UTC (permalink / raw)
To: Daniel Vetter, David Airlie, Rob Herring, Sascha Hauer,
Shawn Guo, Thierry Reding
Cc: Oleksij Rempel, devicetree, dri-devel, Fabio Estevam,
linux-arm-kernel, linux-kernel, NXP Linux Team,
Pengutronix Kernel Team, Sam Ravnborg, David Jander,
Robin van der Gracht
Add binding for the Innolux G070Y2-T02 panel. It is 7" WVGA (800x480)
TFT LCD panel with TTL interface and a backlight unit.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
.../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 b3797ba2698b..c06633264e5c 100644
--- a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml
+++ b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml
@@ -154,6 +154,8 @@ properties:
- innolux,at070tn92
# Innolux G070Y2-L01 7" WVGA (800x480) TFT LCD panel
- innolux,g070y2-l01
+ # Innolux G070Y2-T02 7" WVGA (800x480) TFT LCD TTL panel
+ - innolux,g070y2-t02
# Innolux Corporation 10.1" G101ICE-L01 WXGA (1280x800) LVDS panel
- innolux,g101ice-l01
# Innolux Corporation 12.1" WXGA (1280x800) TFT LCD panel
--
2.29.2
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [PATCH v1 1/3] dt-bindings: display: simple: add Innolux G070Y2-T02 panel
@ 2021-05-18 7:15 ` Oleksij Rempel
0 siblings, 0 replies; 19+ messages in thread
From: Oleksij Rempel @ 2021-05-18 7:15 UTC (permalink / raw)
To: Daniel Vetter, David Airlie, Rob Herring, Sascha Hauer,
Shawn Guo, Thierry Reding
Cc: Oleksij Rempel, devicetree, dri-devel, Fabio Estevam,
linux-arm-kernel, linux-kernel, NXP Linux Team,
Pengutronix Kernel Team, Sam Ravnborg, David Jander,
Robin van der Gracht
Add binding for the Innolux G070Y2-T02 panel. It is 7" WVGA (800x480)
TFT LCD panel with TTL interface and a backlight unit.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
.../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 b3797ba2698b..c06633264e5c 100644
--- a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml
+++ b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml
@@ -154,6 +154,8 @@ properties:
- innolux,at070tn92
# Innolux G070Y2-L01 7" WVGA (800x480) TFT LCD panel
- innolux,g070y2-l01
+ # Innolux G070Y2-T02 7" WVGA (800x480) TFT LCD TTL panel
+ - innolux,g070y2-t02
# Innolux Corporation 10.1" G101ICE-L01 WXGA (1280x800) LVDS panel
- innolux,g101ice-l01
# Innolux Corporation 12.1" WXGA (1280x800) TFT LCD panel
--
2.29.2
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [PATCH v1 1/3] dt-bindings: display: simple: add Innolux G070Y2-T02 panel
@ 2021-05-18 7:15 ` Oleksij Rempel
0 siblings, 0 replies; 19+ messages in thread
From: Oleksij Rempel @ 2021-05-18 7:15 UTC (permalink / raw)
To: Daniel Vetter, David Airlie, Rob Herring, Sascha Hauer,
Shawn Guo, Thierry Reding
Cc: devicetree, Robin van der Gracht, Sam Ravnborg, linux-kernel,
dri-devel, Oleksij Rempel, NXP Linux Team,
Pengutronix Kernel Team, David Jander, linux-arm-kernel
Add binding for the Innolux G070Y2-T02 panel. It is 7" WVGA (800x480)
TFT LCD panel with TTL interface and a backlight unit.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
.../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 b3797ba2698b..c06633264e5c 100644
--- a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml
+++ b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml
@@ -154,6 +154,8 @@ properties:
- innolux,at070tn92
# Innolux G070Y2-L01 7" WVGA (800x480) TFT LCD panel
- innolux,g070y2-l01
+ # Innolux G070Y2-T02 7" WVGA (800x480) TFT LCD TTL panel
+ - innolux,g070y2-t02
# Innolux Corporation 10.1" G101ICE-L01 WXGA (1280x800) LVDS panel
- innolux,g101ice-l01
# Innolux Corporation 12.1" WXGA (1280x800) TFT LCD panel
--
2.29.2
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [PATCH v1 2/3] drm: panel-simple: Add support for the Innolux G070Y2-T02 panel
2021-05-18 7:15 ` Oleksij Rempel
(?)
@ 2021-05-18 7:15 ` Oleksij Rempel
-1 siblings, 0 replies; 19+ messages in thread
From: Oleksij Rempel @ 2021-05-18 7:15 UTC (permalink / raw)
To: Daniel Vetter, David Airlie, Rob Herring, Sascha Hauer,
Shawn Guo, Thierry Reding
Cc: Oleksij Rempel, Robin van der Gracht, devicetree, dri-devel,
Fabio Estevam, linux-arm-kernel, linux-kernel, NXP Linux Team,
Pengutronix Kernel Team, Sam Ravnborg, David Jander
Add compatible and timings for the Innolux G070Y2-T02 panel. It is 7"
WVGA (800x480) TFT LCD panel with TTL interface and a backlight unit.
Co-Developed-by: Robin van der Gracht <robin@protonic.nl>
Signed-off-by: Robin van der Gracht <robin@protonic.nl>
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
drivers/gpu/drm/panel/panel-simple.c | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index be312b5c04dd..f79d97115f8f 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -2323,6 +2323,19 @@ static const struct panel_desc innolux_g070y2_l01 = {
.connector_type = DRM_MODE_CONNECTOR_LVDS,
};
+static const struct panel_desc innolux_g070y2_t02 = {
+ .modes = &innolux_at070tn92_mode,
+ .num_modes = 1,
+ .bpc = 8,
+ .size = {
+ .width = 152,
+ .height = 92,
+ },
+ .bus_format = MEDIA_BUS_FMT_RGB888_1X24,
+ .bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_DRIVE_POSEDGE,
+ .connector_type = DRM_MODE_CONNECTOR_DPI,
+};
+
static const struct display_timing innolux_g101ice_l01_timing = {
.pixelclock = { 60400000, 71100000, 74700000 },
.hactive = { 1280, 1280, 1280 },
@@ -4344,6 +4357,9 @@ static const struct of_device_id platform_of_match[] = {
}, {
.compatible = "innolux,g070y2-l01",
.data = &innolux_g070y2_l01,
+ }, {
+ .compatible = "innolux,g070y2-t02",
+ .data = &innolux_g070y2_t02,
}, {
.compatible = "innolux,g101ice-l01",
.data = &innolux_g101ice_l01
--
2.29.2
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [PATCH v1 2/3] drm: panel-simple: Add support for the Innolux G070Y2-T02 panel
@ 2021-05-18 7:15 ` Oleksij Rempel
0 siblings, 0 replies; 19+ messages in thread
From: Oleksij Rempel @ 2021-05-18 7:15 UTC (permalink / raw)
To: Daniel Vetter, David Airlie, Rob Herring, Sascha Hauer,
Shawn Guo, Thierry Reding
Cc: Oleksij Rempel, Robin van der Gracht, devicetree, dri-devel,
Fabio Estevam, linux-arm-kernel, linux-kernel, NXP Linux Team,
Pengutronix Kernel Team, Sam Ravnborg, David Jander
Add compatible and timings for the Innolux G070Y2-T02 panel. It is 7"
WVGA (800x480) TFT LCD panel with TTL interface and a backlight unit.
Co-Developed-by: Robin van der Gracht <robin@protonic.nl>
Signed-off-by: Robin van der Gracht <robin@protonic.nl>
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
drivers/gpu/drm/panel/panel-simple.c | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index be312b5c04dd..f79d97115f8f 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -2323,6 +2323,19 @@ static const struct panel_desc innolux_g070y2_l01 = {
.connector_type = DRM_MODE_CONNECTOR_LVDS,
};
+static const struct panel_desc innolux_g070y2_t02 = {
+ .modes = &innolux_at070tn92_mode,
+ .num_modes = 1,
+ .bpc = 8,
+ .size = {
+ .width = 152,
+ .height = 92,
+ },
+ .bus_format = MEDIA_BUS_FMT_RGB888_1X24,
+ .bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_DRIVE_POSEDGE,
+ .connector_type = DRM_MODE_CONNECTOR_DPI,
+};
+
static const struct display_timing innolux_g101ice_l01_timing = {
.pixelclock = { 60400000, 71100000, 74700000 },
.hactive = { 1280, 1280, 1280 },
@@ -4344,6 +4357,9 @@ static const struct of_device_id platform_of_match[] = {
}, {
.compatible = "innolux,g070y2-l01",
.data = &innolux_g070y2_l01,
+ }, {
+ .compatible = "innolux,g070y2-t02",
+ .data = &innolux_g070y2_t02,
}, {
.compatible = "innolux,g101ice-l01",
.data = &innolux_g101ice_l01
--
2.29.2
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [PATCH v1 2/3] drm: panel-simple: Add support for the Innolux G070Y2-T02 panel
@ 2021-05-18 7:15 ` Oleksij Rempel
0 siblings, 0 replies; 19+ messages in thread
From: Oleksij Rempel @ 2021-05-18 7:15 UTC (permalink / raw)
To: Daniel Vetter, David Airlie, Rob Herring, Sascha Hauer,
Shawn Guo, Thierry Reding
Cc: devicetree, Sam Ravnborg, Robin van der Gracht, linux-kernel,
dri-devel, Oleksij Rempel, NXP Linux Team,
Pengutronix Kernel Team, David Jander, linux-arm-kernel
Add compatible and timings for the Innolux G070Y2-T02 panel. It is 7"
WVGA (800x480) TFT LCD panel with TTL interface and a backlight unit.
Co-Developed-by: Robin van der Gracht <robin@protonic.nl>
Signed-off-by: Robin van der Gracht <robin@protonic.nl>
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
drivers/gpu/drm/panel/panel-simple.c | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index be312b5c04dd..f79d97115f8f 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -2323,6 +2323,19 @@ static const struct panel_desc innolux_g070y2_l01 = {
.connector_type = DRM_MODE_CONNECTOR_LVDS,
};
+static const struct panel_desc innolux_g070y2_t02 = {
+ .modes = &innolux_at070tn92_mode,
+ .num_modes = 1,
+ .bpc = 8,
+ .size = {
+ .width = 152,
+ .height = 92,
+ },
+ .bus_format = MEDIA_BUS_FMT_RGB888_1X24,
+ .bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_DRIVE_POSEDGE,
+ .connector_type = DRM_MODE_CONNECTOR_DPI,
+};
+
static const struct display_timing innolux_g101ice_l01_timing = {
.pixelclock = { 60400000, 71100000, 74700000 },
.hactive = { 1280, 1280, 1280 },
@@ -4344,6 +4357,9 @@ static const struct of_device_id platform_of_match[] = {
}, {
.compatible = "innolux,g070y2-l01",
.data = &innolux_g070y2_l01,
+ }, {
+ .compatible = "innolux,g070y2-t02",
+ .data = &innolux_g070y2_t02,
}, {
.compatible = "innolux,g101ice-l01",
.data = &innolux_g101ice_l01
--
2.29.2
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [PATCH v1 3/3] ARM: dts: imx6dl-prtvt7: Add display and panel nodes
2021-05-18 7:15 ` Oleksij Rempel
(?)
@ 2021-05-18 7:15 ` Oleksij Rempel
-1 siblings, 0 replies; 19+ messages in thread
From: Oleksij Rempel @ 2021-05-18 7:15 UTC (permalink / raw)
To: Daniel Vetter, David Airlie, Rob Herring, Sascha Hauer,
Shawn Guo, Thierry Reding
Cc: Oleksij Rempel, Robin van der Gracht, devicetree, dri-devel,
Fabio Estevam, linux-arm-kernel, linux-kernel, NXP Linux Team,
Pengutronix Kernel Team, Sam Ravnborg, David Jander
Add Innolux G070Y2-T02 panel to the Protonic VT7 board.
Signed-off-by: Robin van der Gracht <robin@protonic.nl>
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
arch/arm/boot/dts/imx6dl-prtvt7.dts | 47 +++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
diff --git a/arch/arm/boot/dts/imx6dl-prtvt7.dts b/arch/arm/boot/dts/imx6dl-prtvt7.dts
index ae6da241f13e..156a5c5c0dc1 100644
--- a/arch/arm/boot/dts/imx6dl-prtvt7.dts
+++ b/arch/arm/boot/dts/imx6dl-prtvt7.dts
@@ -31,6 +31,30 @@ backlight_lcd: backlight-lcd {
enable-gpios = <&gpio4 28 GPIO_ACTIVE_HIGH>;
};
+ display {
+ compatible = "fsl,imx-parallel-display";
+ pinctrl-0 = <&pinctrl_ipu1_disp>;
+ pinctrl-names = "default";
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port@0 {
+ reg = <0>;
+
+ display_in: endpoint {
+ remote-endpoint = <&ipu1_di0_disp0>;
+ };
+ };
+
+ port@1 {
+ reg = <1>;
+
+ display_out: endpoint {
+ remote-endpoint = <&panel_in>;
+ };
+ };
+ };
+
keys {
compatible = "gpio-keys";
autorepeat;
@@ -138,6 +162,18 @@ led-debug0 {
};
};
+ panel {
+ compatible = "innolux,g070y2-t02";
+ backlight = <&backlight_lcd>;
+ power-supply = <®_3v3>;
+
+ port {
+ panel_in: endpoint {
+ remote-endpoint = <&display_out>;
+ };
+ };
+ };
+
reg_bl_12v0: regulator-bl-12v0 {
compatible = "regulator-fixed";
pinctrl-names = "default";
@@ -156,6 +192,13 @@ reg_1v8: regulator-1v8 {
regulator-max-microvolt = <1800000>;
};
+ reg_3v3: regulator-3v3 {
+ compatible = "regulator-fixed";
+ regulator-name = "3v3";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ };
+
sound {
compatible = "simple-audio-card";
simple-audio-card,name = "prti6q-sgtl5000";
@@ -260,6 +303,10 @@ &ipu1 {
status = "okay";
};
+&ipu1_di0_disp0 {
+ remote-endpoint = <&display_in>;
+};
+
&pwm1 {
#pwm-cells = <2>;
pinctrl-names = "default";
--
2.29.2
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [PATCH v1 3/3] ARM: dts: imx6dl-prtvt7: Add display and panel nodes
@ 2021-05-18 7:15 ` Oleksij Rempel
0 siblings, 0 replies; 19+ messages in thread
From: Oleksij Rempel @ 2021-05-18 7:15 UTC (permalink / raw)
To: Daniel Vetter, David Airlie, Rob Herring, Sascha Hauer,
Shawn Guo, Thierry Reding
Cc: Oleksij Rempel, Robin van der Gracht, devicetree, dri-devel,
Fabio Estevam, linux-arm-kernel, linux-kernel, NXP Linux Team,
Pengutronix Kernel Team, Sam Ravnborg, David Jander
Add Innolux G070Y2-T02 panel to the Protonic VT7 board.
Signed-off-by: Robin van der Gracht <robin@protonic.nl>
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
arch/arm/boot/dts/imx6dl-prtvt7.dts | 47 +++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
diff --git a/arch/arm/boot/dts/imx6dl-prtvt7.dts b/arch/arm/boot/dts/imx6dl-prtvt7.dts
index ae6da241f13e..156a5c5c0dc1 100644
--- a/arch/arm/boot/dts/imx6dl-prtvt7.dts
+++ b/arch/arm/boot/dts/imx6dl-prtvt7.dts
@@ -31,6 +31,30 @@ backlight_lcd: backlight-lcd {
enable-gpios = <&gpio4 28 GPIO_ACTIVE_HIGH>;
};
+ display {
+ compatible = "fsl,imx-parallel-display";
+ pinctrl-0 = <&pinctrl_ipu1_disp>;
+ pinctrl-names = "default";
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port@0 {
+ reg = <0>;
+
+ display_in: endpoint {
+ remote-endpoint = <&ipu1_di0_disp0>;
+ };
+ };
+
+ port@1 {
+ reg = <1>;
+
+ display_out: endpoint {
+ remote-endpoint = <&panel_in>;
+ };
+ };
+ };
+
keys {
compatible = "gpio-keys";
autorepeat;
@@ -138,6 +162,18 @@ led-debug0 {
};
};
+ panel {
+ compatible = "innolux,g070y2-t02";
+ backlight = <&backlight_lcd>;
+ power-supply = <®_3v3>;
+
+ port {
+ panel_in: endpoint {
+ remote-endpoint = <&display_out>;
+ };
+ };
+ };
+
reg_bl_12v0: regulator-bl-12v0 {
compatible = "regulator-fixed";
pinctrl-names = "default";
@@ -156,6 +192,13 @@ reg_1v8: regulator-1v8 {
regulator-max-microvolt = <1800000>;
};
+ reg_3v3: regulator-3v3 {
+ compatible = "regulator-fixed";
+ regulator-name = "3v3";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ };
+
sound {
compatible = "simple-audio-card";
simple-audio-card,name = "prti6q-sgtl5000";
@@ -260,6 +303,10 @@ &ipu1 {
status = "okay";
};
+&ipu1_di0_disp0 {
+ remote-endpoint = <&display_in>;
+};
+
&pwm1 {
#pwm-cells = <2>;
pinctrl-names = "default";
--
2.29.2
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [PATCH v1 3/3] ARM: dts: imx6dl-prtvt7: Add display and panel nodes
@ 2021-05-18 7:15 ` Oleksij Rempel
0 siblings, 0 replies; 19+ messages in thread
From: Oleksij Rempel @ 2021-05-18 7:15 UTC (permalink / raw)
To: Daniel Vetter, David Airlie, Rob Herring, Sascha Hauer,
Shawn Guo, Thierry Reding
Cc: devicetree, Sam Ravnborg, Robin van der Gracht, linux-kernel,
dri-devel, Oleksij Rempel, NXP Linux Team,
Pengutronix Kernel Team, David Jander, linux-arm-kernel
Add Innolux G070Y2-T02 panel to the Protonic VT7 board.
Signed-off-by: Robin van der Gracht <robin@protonic.nl>
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
arch/arm/boot/dts/imx6dl-prtvt7.dts | 47 +++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
diff --git a/arch/arm/boot/dts/imx6dl-prtvt7.dts b/arch/arm/boot/dts/imx6dl-prtvt7.dts
index ae6da241f13e..156a5c5c0dc1 100644
--- a/arch/arm/boot/dts/imx6dl-prtvt7.dts
+++ b/arch/arm/boot/dts/imx6dl-prtvt7.dts
@@ -31,6 +31,30 @@ backlight_lcd: backlight-lcd {
enable-gpios = <&gpio4 28 GPIO_ACTIVE_HIGH>;
};
+ display {
+ compatible = "fsl,imx-parallel-display";
+ pinctrl-0 = <&pinctrl_ipu1_disp>;
+ pinctrl-names = "default";
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port@0 {
+ reg = <0>;
+
+ display_in: endpoint {
+ remote-endpoint = <&ipu1_di0_disp0>;
+ };
+ };
+
+ port@1 {
+ reg = <1>;
+
+ display_out: endpoint {
+ remote-endpoint = <&panel_in>;
+ };
+ };
+ };
+
keys {
compatible = "gpio-keys";
autorepeat;
@@ -138,6 +162,18 @@ led-debug0 {
};
};
+ panel {
+ compatible = "innolux,g070y2-t02";
+ backlight = <&backlight_lcd>;
+ power-supply = <®_3v3>;
+
+ port {
+ panel_in: endpoint {
+ remote-endpoint = <&display_out>;
+ };
+ };
+ };
+
reg_bl_12v0: regulator-bl-12v0 {
compatible = "regulator-fixed";
pinctrl-names = "default";
@@ -156,6 +192,13 @@ reg_1v8: regulator-1v8 {
regulator-max-microvolt = <1800000>;
};
+ reg_3v3: regulator-3v3 {
+ compatible = "regulator-fixed";
+ regulator-name = "3v3";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ };
+
sound {
compatible = "simple-audio-card";
simple-audio-card,name = "prti6q-sgtl5000";
@@ -260,6 +303,10 @@ &ipu1 {
status = "okay";
};
+&ipu1_di0_disp0 {
+ remote-endpoint = <&display_in>;
+};
+
&pwm1 {
#pwm-cells = <2>;
pinctrl-names = "default";
--
2.29.2
^ permalink raw reply related [flat|nested] 19+ messages in thread
* Re: [PATCH v1 1/3] dt-bindings: display: simple: add Innolux G070Y2-T02 panel
2021-05-18 7:15 ` Oleksij Rempel
(?)
@ 2021-05-19 20:21 ` Rob Herring
-1 siblings, 0 replies; 19+ messages in thread
From: Rob Herring @ 2021-05-19 20:21 UTC (permalink / raw)
To: Oleksij Rempel
Cc: Sascha Hauer, Sam Ravnborg, Thierry Reding, devicetree,
David Jander, linux-arm-kernel, Robin van der Gracht,
Rob Herring, dri-devel, linux-kernel, Pengutronix Kernel Team,
Shawn Guo, NXP Linux Team, David Airlie, Daniel Vetter
On Tue, 18 May 2021 09:15:53 +0200, Oleksij Rempel wrote:
> Add binding for the Innolux G070Y2-T02 panel. It is 7" WVGA (800x480)
> TFT LCD panel with TTL interface and a backlight unit.
>
> Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
> ---
> .../devicetree/bindings/display/panel/panel-simple.yaml | 2 ++
> 1 file changed, 2 insertions(+)
>
Acked-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [PATCH v1 1/3] dt-bindings: display: simple: add Innolux G070Y2-T02 panel
@ 2021-05-19 20:21 ` Rob Herring
0 siblings, 0 replies; 19+ messages in thread
From: Rob Herring @ 2021-05-19 20:21 UTC (permalink / raw)
To: Oleksij Rempel
Cc: Sascha Hauer, Sam Ravnborg, Thierry Reding, devicetree,
David Jander, linux-arm-kernel, Robin van der Gracht,
Rob Herring, dri-devel, linux-kernel, Pengutronix Kernel Team,
Shawn Guo, NXP Linux Team, David Airlie, Daniel Vetter
On Tue, 18 May 2021 09:15:53 +0200, Oleksij Rempel wrote:
> Add binding for the Innolux G070Y2-T02 panel. It is 7" WVGA (800x480)
> TFT LCD panel with TTL interface and a backlight unit.
>
> Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
> ---
> .../devicetree/bindings/display/panel/panel-simple.yaml | 2 ++
> 1 file changed, 2 insertions(+)
>
Acked-by: Rob Herring <robh@kernel.org>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [PATCH v1 1/3] dt-bindings: display: simple: add Innolux G070Y2-T02 panel
@ 2021-05-19 20:21 ` Rob Herring
0 siblings, 0 replies; 19+ messages in thread
From: Rob Herring @ 2021-05-19 20:21 UTC (permalink / raw)
To: Oleksij Rempel
Cc: devicetree, David Airlie, Robin van der Gracht, Sascha Hauer,
linux-kernel, Rob Herring, Thierry Reding, dri-devel,
Pengutronix Kernel Team, David Jander, Shawn Guo, Sam Ravnborg,
linux-arm-kernel, NXP Linux Team
On Tue, 18 May 2021 09:15:53 +0200, Oleksij Rempel wrote:
> Add binding for the Innolux G070Y2-T02 panel. It is 7" WVGA (800x480)
> TFT LCD panel with TTL interface and a backlight unit.
>
> Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
> ---
> .../devicetree/bindings/display/panel/panel-simple.yaml | 2 ++
> 1 file changed, 2 insertions(+)
>
Acked-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [PATCH v1 2/3] drm: panel-simple: Add support for the Innolux G070Y2-T02 panel
2021-10-11 9:01 ` Oleksij Rempel
@ 2021-10-11 16:24 ` Sam Ravnborg
0 siblings, 0 replies; 19+ messages in thread
From: Sam Ravnborg @ 2021-10-11 16:24 UTC (permalink / raw)
To: Oleksij Rempel
Cc: Thierry Reding, David Airlie, Daniel Vetter, Rob Herring,
Robin van der Gracht, Pengutronix Kernel Team, dri-devel,
linux-kernel, devicetree
Hi Oleksij,
On Mon, Oct 11, 2021 at 11:01:48AM +0200, Oleksij Rempel wrote:
> On Sat, Oct 09, 2021 at 05:12:44PM +0200, Sam Ravnborg wrote:
> > Hi Oleksij, Robin,
> >
> > On Thu, Sep 30, 2021 at 12:05:00PM +0200, Oleksij Rempel wrote:
> > > Add compatible and timings for the Innolux G070Y2-T02 panel. It is 7"
> > > WVGA (800x480) TFT LCD panel with TTL interface and a backlight unit.
> > >
> > > Co-Developed-by: Robin van der Gracht <robin@protonic.nl>
> > > Signed-off-by: Robin van der Gracht <robin@protonic.nl>
> > > Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
> > > ---
> > > drivers/gpu/drm/panel/panel-simple.c | 16 ++++++++++++++++
> > > 1 file changed, 16 insertions(+)
> > >
> > > diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
> > > index 9b6c4e6c38a1..a03b60f6fa99 100644
> > > --- a/drivers/gpu/drm/panel/panel-simple.c
> > > +++ b/drivers/gpu/drm/panel/panel-simple.c
> > > @@ -2524,6 +2524,19 @@ static const struct panel_desc innolux_g070y2_l01 = {
> > > .connector_type = DRM_MODE_CONNECTOR_LVDS,
> > > };
> > >
> > > +static const struct panel_desc innolux_g070y2_t02 = {
> > > + .modes = &innolux_at070tn92_mode,
> >
> > It is suprising to see that the innolux_g070y2_t02 uses the mode
> > innolux_at070tn92_mode.
> > Is it on purpose?
>
> yes.
>
> > If yes then I would expect the changelog to say so.
> >
> > In most (all?) other cases the panel provide their own mode.
>
> It works with same timing values. What is the preferred way, add own
> mode or extend the changelog?
Both works for me, but I would duplicate the timings.
Only because I do not trust anyone that comes later to see that the
timings are used twice.
Sam
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [PATCH v1 2/3] drm: panel-simple: Add support for the Innolux G070Y2-T02 panel
2021-10-09 15:12 ` Sam Ravnborg
@ 2021-10-11 9:01 ` Oleksij Rempel
2021-10-11 16:24 ` Sam Ravnborg
0 siblings, 1 reply; 19+ messages in thread
From: Oleksij Rempel @ 2021-10-11 9:01 UTC (permalink / raw)
To: Sam Ravnborg
Cc: Thierry Reding, David Airlie, Daniel Vetter, Rob Herring,
Robin van der Gracht, Pengutronix Kernel Team, dri-devel,
linux-kernel, devicetree
On Sat, Oct 09, 2021 at 05:12:44PM +0200, Sam Ravnborg wrote:
> Hi Oleksij, Robin,
>
> On Thu, Sep 30, 2021 at 12:05:00PM +0200, Oleksij Rempel wrote:
> > Add compatible and timings for the Innolux G070Y2-T02 panel. It is 7"
> > WVGA (800x480) TFT LCD panel with TTL interface and a backlight unit.
> >
> > Co-Developed-by: Robin van der Gracht <robin@protonic.nl>
> > Signed-off-by: Robin van der Gracht <robin@protonic.nl>
> > Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
> > ---
> > drivers/gpu/drm/panel/panel-simple.c | 16 ++++++++++++++++
> > 1 file changed, 16 insertions(+)
> >
> > diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
> > index 9b6c4e6c38a1..a03b60f6fa99 100644
> > --- a/drivers/gpu/drm/panel/panel-simple.c
> > +++ b/drivers/gpu/drm/panel/panel-simple.c
> > @@ -2524,6 +2524,19 @@ static const struct panel_desc innolux_g070y2_l01 = {
> > .connector_type = DRM_MODE_CONNECTOR_LVDS,
> > };
> >
> > +static const struct panel_desc innolux_g070y2_t02 = {
> > + .modes = &innolux_at070tn92_mode,
>
> It is suprising to see that the innolux_g070y2_t02 uses the mode
> innolux_at070tn92_mode.
> Is it on purpose?
yes.
> If yes then I would expect the changelog to say so.
>
> In most (all?) other cases the panel provide their own mode.
It works with same timing values. What is the preferred way, add own
mode or extend the changelog?
Regards,
Oleksij
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [PATCH v1 2/3] drm: panel-simple: Add support for the Innolux G070Y2-T02 panel
2021-09-30 10:05 ` [PATCH v1 2/3] drm: panel-simple: Add support for the " Oleksij Rempel
@ 2021-10-09 15:12 ` Sam Ravnborg
2021-10-11 9:01 ` Oleksij Rempel
0 siblings, 1 reply; 19+ messages in thread
From: Sam Ravnborg @ 2021-10-09 15:12 UTC (permalink / raw)
To: Oleksij Rempel
Cc: Thierry Reding, David Airlie, Daniel Vetter, Rob Herring,
Robin van der Gracht, Pengutronix Kernel Team, dri-devel,
linux-kernel, devicetree
Hi Oleksij, Robin,
On Thu, Sep 30, 2021 at 12:05:00PM +0200, Oleksij Rempel wrote:
> Add compatible and timings for the Innolux G070Y2-T02 panel. It is 7"
> WVGA (800x480) TFT LCD panel with TTL interface and a backlight unit.
>
> Co-Developed-by: Robin van der Gracht <robin@protonic.nl>
> Signed-off-by: Robin van der Gracht <robin@protonic.nl>
> Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
> ---
> drivers/gpu/drm/panel/panel-simple.c | 16 ++++++++++++++++
> 1 file changed, 16 insertions(+)
>
> diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
> index 9b6c4e6c38a1..a03b60f6fa99 100644
> --- a/drivers/gpu/drm/panel/panel-simple.c
> +++ b/drivers/gpu/drm/panel/panel-simple.c
> @@ -2524,6 +2524,19 @@ static const struct panel_desc innolux_g070y2_l01 = {
> .connector_type = DRM_MODE_CONNECTOR_LVDS,
> };
>
> +static const struct panel_desc innolux_g070y2_t02 = {
> + .modes = &innolux_at070tn92_mode,
It is suprising to see that the innolux_g070y2_t02 uses the mode
innolux_at070tn92_mode.
Is it on purpose? If yes then I would expect the changelog to say so.
In most (all?) other cases the panel provide their own mode.
Sam
> + .num_modes = 1,
> + .bpc = 8,
> + .size = {
> + .width = 152,
> + .height = 92,
> + },
> + .bus_format = MEDIA_BUS_FMT_RGB888_1X24,
> + .bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_DRIVE_POSEDGE,
> + .connector_type = DRM_MODE_CONNECTOR_DPI,
> +};
> +
> static const struct display_timing innolux_g101ice_l01_timing = {
> .pixelclock = { 60400000, 71100000, 74700000 },
> .hactive = { 1280, 1280, 1280 },
> @@ -4663,6 +4676,9 @@ static const struct of_device_id platform_of_match[] = {
> }, {
> .compatible = "innolux,g070y2-l01",
> .data = &innolux_g070y2_l01,
> + }, {
> + .compatible = "innolux,g070y2-t02",
> + .data = &innolux_g070y2_t02,
> }, {
> .compatible = "innolux,g101ice-l01",
> .data = &innolux_g101ice_l01
> --
> 2.30.2
^ permalink raw reply [flat|nested] 19+ messages in thread
* [PATCH v1 2/3] drm: panel-simple: Add support for the Innolux G070Y2-T02 panel
2021-09-30 10:04 [PATCH v1 1/3] dt-bindings: display: simple: add Innolux G070Y2-T02 panel Oleksij Rempel
@ 2021-09-30 10:05 ` Oleksij Rempel
2021-10-09 15:12 ` Sam Ravnborg
0 siblings, 1 reply; 19+ messages in thread
From: Oleksij Rempel @ 2021-09-30 10:05 UTC (permalink / raw)
To: Thierry Reding, David Airlie, Daniel Vetter, Rob Herring
Cc: Oleksij Rempel, Robin van der Gracht, Pengutronix Kernel Team,
Sam Ravnborg, dri-devel, linux-kernel, devicetree
Add compatible and timings for the Innolux G070Y2-T02 panel. It is 7"
WVGA (800x480) TFT LCD panel with TTL interface and a backlight unit.
Co-Developed-by: Robin van der Gracht <robin@protonic.nl>
Signed-off-by: Robin van der Gracht <robin@protonic.nl>
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
drivers/gpu/drm/panel/panel-simple.c | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index 9b6c4e6c38a1..a03b60f6fa99 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -2524,6 +2524,19 @@ static const struct panel_desc innolux_g070y2_l01 = {
.connector_type = DRM_MODE_CONNECTOR_LVDS,
};
+static const struct panel_desc innolux_g070y2_t02 = {
+ .modes = &innolux_at070tn92_mode,
+ .num_modes = 1,
+ .bpc = 8,
+ .size = {
+ .width = 152,
+ .height = 92,
+ },
+ .bus_format = MEDIA_BUS_FMT_RGB888_1X24,
+ .bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_DRIVE_POSEDGE,
+ .connector_type = DRM_MODE_CONNECTOR_DPI,
+};
+
static const struct display_timing innolux_g101ice_l01_timing = {
.pixelclock = { 60400000, 71100000, 74700000 },
.hactive = { 1280, 1280, 1280 },
@@ -4663,6 +4676,9 @@ static const struct of_device_id platform_of_match[] = {
}, {
.compatible = "innolux,g070y2-l01",
.data = &innolux_g070y2_l01,
+ }, {
+ .compatible = "innolux,g070y2-t02",
+ .data = &innolux_g070y2_t02,
}, {
.compatible = "innolux,g101ice-l01",
.data = &innolux_g101ice_l01
--
2.30.2
^ permalink raw reply related [flat|nested] 19+ messages in thread
end of thread, other threads:[~2021-10-11 16:24 UTC | newest]
Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-18 7:15 [PATCH v1 0/3] add innolux,g070y2-t02 support for the Protonic VT7 board Oleksij Rempel
2021-05-18 7:15 ` [PATCH v1 0/3] add innolux, g070y2-t02 " Oleksij Rempel
2021-05-18 7:15 ` Oleksij Rempel
2021-05-18 7:15 ` [PATCH v1 1/3] dt-bindings: display: simple: add Innolux G070Y2-T02 panel Oleksij Rempel
2021-05-18 7:15 ` Oleksij Rempel
2021-05-18 7:15 ` Oleksij Rempel
2021-05-19 20:21 ` Rob Herring
2021-05-19 20:21 ` Rob Herring
2021-05-19 20:21 ` Rob Herring
2021-05-18 7:15 ` [PATCH v1 2/3] drm: panel-simple: Add support for the " Oleksij Rempel
2021-05-18 7:15 ` Oleksij Rempel
2021-05-18 7:15 ` Oleksij Rempel
2021-05-18 7:15 ` [PATCH v1 3/3] ARM: dts: imx6dl-prtvt7: Add display and panel nodes Oleksij Rempel
2021-05-18 7:15 ` Oleksij Rempel
2021-05-18 7:15 ` Oleksij Rempel
2021-09-30 10:04 [PATCH v1 1/3] dt-bindings: display: simple: add Innolux G070Y2-T02 panel Oleksij Rempel
2021-09-30 10:05 ` [PATCH v1 2/3] drm: panel-simple: Add support for the " Oleksij Rempel
2021-10-09 15:12 ` Sam Ravnborg
2021-10-11 9:01 ` Oleksij Rempel
2021-10-11 16:24 ` 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.