Skip to contentSkip to conversation

drm/fsl-dcu: Cleanup vblank interrupt mask and status setting code

PATCH In review Meng Yi 3 participants 10 messages Jan 26, 2016 – Feb 3, 2016 3 messages not in the archive

Subsystems (5)
lore
Share & tools
lore

Meng Yi

author
#0 lore raw

PATCH 1/4 drm/fsl-dcu: Cleanup vblank interrupt mask and status setting code

From: Jianwei Wang <[email protected]>

Switch update interrupt mask bit with regmap_update_bits, and clear interrupt status by writing 1 to relevant bit before setting mask in fsl_dcu_drm_irq_init function.

---
 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c | 26 +++++++-------------------
 1 file changed, 7 insertions(+), 19 deletions(-)
drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c +7 -19
index fca97d3..cbef47c 100644
@@ -38,21 +38,17 @@ static const struct regmap_config fsl_dcu_regmap_config = {
 static int fsl_dcu_drm_irq_init(struct drm_device *dev)
 {
 	struct fsl_dcu_drm_device *fsl_dev = dev->dev_private;
-	unsigned int value;
 	int ret;
 
 	ret = drm_irq_install(dev, fsl_dev->irq);
 	if (ret < 0)
 		dev_err(dev->dev, "failed to install IRQ handler\n");
 
-	ret = regmap_write(fsl_dev->regmap, DCU_INT_STATUS, 0);
+	ret = regmap_write(fsl_dev->regmap, DCU_INT_STATUS, 0xffffffff);
 	if (ret)
 		dev_err(dev->dev, "set DCU_INT_STATUS failed\n");
-	ret = regmap_read(fsl_dev->regmap, DCU_INT_MASK, &value);
-	if (ret)
-		dev_err(dev->dev, "read DCU_INT_MASK failed\n");
-	value &= DCU_INT_MASK_VBLANK;
-	ret = regmap_write(fsl_dev->regmap, DCU_INT_MASK, value);
+	ret = regmap_update_bits(fsl_dev->regmap, DCU_INT_MASK,
+				 DCU_INT_MASK_VBLANK, ~DCU_INT_MASK_VBLANK);
 	if (ret)
 		dev_err(dev->dev, "set DCU_INT_MASK failed\n");
 	ret = regmap_write(fsl_dev->regmap, DCU_UPDATE_MODE,
@@ -143,14 +139,10 @@ static irqreturn_t fsl_dcu_drm_irq(int irq, void *arg)
 static int fsl_dcu_drm_enable_vblank(struct drm_device *dev, unsigned int pipe)
 {
 	struct fsl_dcu_drm_device *fsl_dev = dev->dev_private;
-	unsigned int value;
 	int ret;
 
-	ret = regmap_read(fsl_dev->regmap, DCU_INT_MASK, &value);
-	if (ret)
-		dev_err(dev->dev, "read DCU_INT_MASK failed\n");
-	value &= ~DCU_INT_MASK_VBLANK;
-	ret = regmap_write(fsl_dev->regmap, DCU_INT_MASK, value);
+	ret = regmap_update_bits(fsl_dev->regmap, DCU_INT_MASK,
+				 DCU_INT_MASK_VBLANK, ~DCU_INT_MASK_VBLANK);
 	if (ret)
 		dev_err(dev->dev, "set DCU_INT_MASK failed\n");
 	return 0;
@@ -160,14 +152,10 @@ static void fsl_dcu_drm_disable_vblank(struct drm_device *dev,
 				       unsigned int pipe)
 {
 	struct fsl_dcu_drm_device *fsl_dev = dev->dev_private;
-	unsigned int value;
 	int ret;
 
-	ret = regmap_read(fsl_dev->regmap, DCU_INT_MASK, &value);
-	if (ret)
-		dev_err(dev->dev, "read DCU_INT_MASK failed\n");
-	value |= DCU_INT_MASK_VBLANK;
-	ret = regmap_write(fsl_dev->regmap, DCU_INT_MASK, value);
+	ret = regmap_update_bits(fsl_dev->regmap, DCU_INT_MASK,
+				 DCU_INT_MASK_VBLANK, DCU_INT_MASK_VBLANK);
 	if (ret)
 		dev_err(dev->dev, "set DCU_INT_MASK failed\n");
 }
Signature · 6 lines
2.1.0.27.g96db324

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
author
#2 lore raw

PATCH 2/4 arm:dts:ls1021a: Add sii9022a dts node

In reply to a message not in the archive

The SiI9022A is an ultra low-power HDMI transmitter. It supports resolutions from standard definition 480i/p and 576i/p all the way to high-definition 720p, 1080i, and 1080p, the highest resolution supported by HDTVs today. It also supports all PC resolutions up to UXGA for netbooks

---
 arch/arm/boot/dts/ls1021a-twr.dts | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
arch/arm/boot/dts/ls1021a-twr.dts +29 -0
index fad2e3b..462b6a1 100644
@@ -57,6 +57,17 @@
 		enet1_sgmii_phy = &sgmii_phy0;
 	};
 
+	hdmi-out {
+		compatible = "hdmi-connector";
+		type = "a";
+
+		port {
+			hdmi_con: endpoint {
+				remote-endpoint = <&sii9022a_out>;
+			};
+		};
+	};
+
 	sys_mclk: clock-mclk {
 		compatible = "fixed-clock";
 		#clock-cells = <0>;
@@ -180,6 +191,24 @@
 		VDDIO-supply = <&reg_3p3v>;
 		clocks = <&sys_mclk 1>;
 	};
+
+	sii9022a: hdmi@39 {
+		compatible = "sil,sii9022a";
+		reg = <0x39>;
+		interrupts = <GIC_SPI 167 IRQ_TYPE_EDGE_RISING>;
+
+		ports {
+			#address-cells = <1>;
+			#size-cells = <0>;
+
+			port@0 {
+				reg = <1>;
+				sii9022a_out: endpoint {
+					remote-endpoint = <&hdmi_con>;
+				};
+			};
+		};
+	};
 };
 
 &ifc {
Signature · 6 lines
2.1.0.27.g96db324

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
author
#3 lore raw

PATCH 3/4 drm/layerscape: Add sii9022a driver

In reply to a message not in the archive

The SiI9022A is an ultra low-power HDMI transmitter. It supports resolutions from standard definition 480i/p and 576i/p all the way to high-definition 720p, 1080i, and 1080p, the highest resolution supported by HDTVs today. It also supports all PC resolutions up to UXGA for netbooks

---
 drivers/gpu/drm/i2c/Kconfig       |   6 +
 drivers/gpu/drm/i2c/Makefile      |   3 +
 drivers/gpu/drm/i2c/sii9022_drv.c | 449 ++++++++++++++++++++++++++++++++++++++
 3 files changed, 458 insertions(+)
 create mode 100644 drivers/gpu/drm/i2c/sii9022_drv.c
drivers/gpu/drm/i2c/Kconfig +6 -0
index 22c7ed6..8646729 100644
@@ -31,4 +31,10 @@ config DRM_I2C_NXP_TDA998X
 	help
 	  Support for NXP Semiconductors TDA998X HDMI encoders.
 
+config DRM_I2C_SII9022
+	tristate "Silicon Image sii9022 TMDS transmitter"
+	help
+	  Support for sii9022 and similar single-link (or dual-link
+	  when used in pairs) TMDS transmitters.
+
 endmenu
drivers/gpu/drm/i2c/Makefile +3 -0
index 2c72eb5..cf2e8b9 100644
@@ -10,3 +10,6 @@ obj-$(CONFIG_DRM_I2C_SIL164) += sil164.o
 
 tda998x-y := tda998x_drv.o
 obj-$(CONFIG_DRM_I2C_NXP_TDA998X) += tda998x.o
+
+sii9022-y := sii9022_drv.o
+obj-$(CONFIG_DRM_I2C_SII9022) +=sii9022.o
drivers/gpu/drm/i2c/sii9022_drv.c new file +449 -0

449 lines not on this page · raw message

Signature · 6 lines
2.1.0.27.g96db324

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
author
#4 lore raw

PATCH 4/4 drm/layerscape: Add HDMI driver for freescale DCU

In reply to a message not in the archive

DCU is the shortcut of 'display controller unit', some HDMI transmitter attached to DCU, such as sii9022a, and this driver add the relavent functions to DRM framewrok.

---
 .../bindings/display/bridge/sil,sii9022a.txt       |  40 +++
 drivers/gpu/drm/fsl-dcu/Makefile                   |   1 +
 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.h          |   1 +
 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_hdmi.c         | 271 +++++++++++++++++++++
 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_kms.c          |  10 +
 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_output.h       |  11 +
 6 files changed, 334 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/display/bridge/sil,sii9022a.txt
 create mode 100644 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_hdmi.c
Documentation/devicetree/bindings/display/bridge/sil,sii9022a.txt new file +40 -0
new file mode 100644
index 0000000..32a726a
@@ -0,0 +1,40 @@
+Device-Tree bindings for the SiI902x hdmi transmitter.
+-----------------------------------------
+
+The SiI9022A is an ultra low-power HDMI transmitter. It supports resolutions from
+standard definition 480i/p and 576i/p all the way to high-definition 720p, 1080i,
+and 1080p, the highest resolution supported by HDTVs today. It also supports all
+PC resolutions up to UXGA for netbooks
+
+Required properties:
+- compatible: 	Should be "sil,sii9022a".
+- reg: 		The I2C address of the device.
+- interrupts:	Interrupt number to the cpu.
+
+Required nodes:
+
+The sii9022 has one video ports. Its connection is modelled using the OF
+graph bindings specified in Documentation/devicetree/bindings/graph.txt.
+
+- Video port 0 for the HDMI output
+
+Example:
+-------
+
+    sii9022: hdmi@39 {
+            compatible = "sil,sii9022a";
+            reg = <0x39>;
+            interrupts = <GIC_SPI 167 IRQ_TYPE_EDGE_RISING>;
+
+            ports {
+                    #address-cells = <1>;
+                    #size-cells = <0>;
+
+                    port@0 {
+                            reg = <1>;
+                            sii9022_out: endpoint {
+                                    remote-endpoint = <&hdmi_con>;
+                            };
+                    };
+            };
+    };
drivers/gpu/drm/fsl-dcu/Makefile +1 -0
index 6ea1523..98cacc2 100644
@@ -1,6 +1,7 @@
 fsl-dcu-drm-y := fsl_dcu_drm_drv.o \
 		 fsl_dcu_drm_kms.o \
 		 fsl_dcu_drm_rgb.o \
+		 fsl_dcu_drm_hdmi.o \
 		 fsl_dcu_drm_plane.o \
 		 fsl_dcu_drm_crtc.o \
 		 fsl_dcu_drm_fbdev.o
drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.h +1 -0
index 579b9e4..3c85072 100644
@@ -187,6 +187,7 @@ struct fsl_dcu_drm_device {
 	struct drm_fbdev_cma *fbdev;
 	struct drm_crtc crtc;
 	struct drm_encoder encoder;
+	struct drm_encoder_slave *slave;
 	struct fsl_dcu_drm_connector connector;
 	const struct fsl_dcu_soc_data *soc;
 };
drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_hdmi.c new file +271 -0

271 lines not on this page · raw message

drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_kms.c +10 -0
index 0ef5959..f42ef5f 100644
@@ -17,10 +17,18 @@
 #include "fsl_dcu_drm_crtc.h"
 #include "fsl_dcu_drm_drv.h"
 
+static void fsl_dcu_drm_output_poll_changed(struct drm_device *dev)
+{
+	struct fsl_dcu_drm_device *fsl_dev = dev->dev_private;
+
+	drm_fbdev_cma_hotplug_event(fsl_dev->fbdev);
+}
+
 static const struct drm_mode_config_funcs fsl_dcu_drm_mode_config_funcs = {
 	.atomic_check = drm_atomic_helper_check,
 	.atomic_commit = drm_atomic_helper_commit,
 	.fb_create = drm_fb_cma_create,
+	.output_poll_changed = fsl_dcu_drm_output_poll_changed,
 };
 
 int fsl_dcu_drm_modeset_init(struct fsl_dcu_drm_device *fsl_dev)
@@ -36,7 +44,9 @@ int fsl_dcu_drm_modeset_init(struct fsl_dcu_drm_device *fsl_dev)
 	drm_kms_helper_poll_init(fsl_dev->drm);
 	fsl_dcu_drm_crtc_create(fsl_dev);
 	fsl_dcu_drm_encoder_create(fsl_dev, &fsl_dev->crtc);
+	fsl_dcu_drm_hdmienc_create(fsl_dev, &fsl_dev->crtc);
 	fsl_dcu_drm_connector_create(fsl_dev, &fsl_dev->encoder);
+	fsl_dcu_drm_hdmicon_create(fsl_dev);
 	drm_mode_config_reset(fsl_dev->drm);
 
 	return 0;
drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_output.h +11 -0
index 7093109..fa0d7ed 100644
@@ -18,6 +18,13 @@ struct fsl_dcu_drm_connector {
 	struct drm_panel *panel;
 };
 
+struct fsl_dcu_drm_hdmicon {
+	struct drm_connector connector;
+	struct drm_encoder_slave *slave;
+	struct i2c_client *client;
+	enum drm_connector_status status;
+};
+
 static inline struct fsl_dcu_drm_connector *
 to_fsl_dcu_connector(struct drm_connector *con)
 {
@@ -29,5 +36,9 @@ int fsl_dcu_drm_connector_create(struct fsl_dcu_drm_device *fsl_dev,
 				 struct drm_encoder *encoder);
 int fsl_dcu_drm_encoder_create(struct fsl_dcu_drm_device *fsl_dev,
 			       struct drm_crtc *crtc);
+int fsl_dcu_drm_hdmicon_create(struct fsl_dcu_drm_device *fsl_dev);
+int fsl_dcu_drm_hdmienc_create(struct fsl_dcu_drm_device *fsl_dev,
+			       struct drm_crtc *crtc);
+
 
 #endif /* __FSL_DCU_DRM_CONNECTOR_H__ */
Signature · 6 lines
2.1.0.27.g96db324

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
maintainer
#10 lore raw
In reply to Meng Yi

Hi Meng Yi,

As I wrote earlier
(http://www.spinics.net/lists/dri-devel/msg95703.html), my fixes patchset contains a similar patch which also explicitly disable the VBLANK interrupt. I think it is the better solution... See:
https://lkml.org/lkml/2015/11/18/951

I will soon prepare a git tree and plan to submit that for 4.6, currently I plan to include
- Your "Fix no fb check bug" patch
- My "fixes and enhancements" patchset
- My "fix register initialization" and "use flat regmap cache" patch

Let me know if you have any objections.

--
Stefan

Quoted 76 lines · Meng Yi

From: Jianwei Wang <[email protected]>

Switch update interrupt mask bit with regmap_update_bits, and clear interrupt status by writing 1 to relevant bit before setting mask in fsl_dcu_drm_irq_init function.

---
 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c | 26 +++++++-------------------
 1 file changed, 7 insertions(+), 19 deletions(-)
drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c +7 -19
index fca97d3..cbef47c 100644
@@ -38,21 +38,17 @@ static const struct regmap_config fsl_dcu_regmap_config = {
 static int fsl_dcu_drm_irq_init(struct drm_device *dev)
 {
 	struct fsl_dcu_drm_device *fsl_dev = dev->dev_private;
-	unsigned int value;
 	int ret;
 
 	ret = drm_irq_install(dev, fsl_dev->irq);
 	if (ret < 0)
 		dev_err(dev->dev, "failed to install IRQ handler\n");
 
-	ret = regmap_write(fsl_dev->regmap, DCU_INT_STATUS, 0);
+	ret = regmap_write(fsl_dev->regmap, DCU_INT_STATUS, 0xffffffff);
 	if (ret)
 		dev_err(dev->dev, "set DCU_INT_STATUS failed\n");
-	ret = regmap_read(fsl_dev->regmap, DCU_INT_MASK, &value);
-	if (ret)
-		dev_err(dev->dev, "read DCU_INT_MASK failed\n");
-	value &= DCU_INT_MASK_VBLANK;
-	ret = regmap_write(fsl_dev->regmap, DCU_INT_MASK, value);
+	ret = regmap_update_bits(fsl_dev->regmap, DCU_INT_MASK,
+				 DCU_INT_MASK_VBLANK, ~DCU_INT_MASK_VBLANK);
 	if (ret)
 		dev_err(dev->dev, "set DCU_INT_MASK failed\n");
 	ret = regmap_write(fsl_dev->regmap, DCU_UPDATE_MODE,
@@ -143,14 +139,10 @@ static irqreturn_t fsl_dcu_drm_irq(int irq, void *arg)
 static int fsl_dcu_drm_enable_vblank(struct drm_device *dev, unsigned int pipe)
 {
 	struct fsl_dcu_drm_device *fsl_dev = dev->dev_private;
-	unsigned int value;
 	int ret;
 
-	ret = regmap_read(fsl_dev->regmap, DCU_INT_MASK, &value);
-	if (ret)
-		dev_err(dev->dev, "read DCU_INT_MASK failed\n");
-	value &= ~DCU_INT_MASK_VBLANK;
-	ret = regmap_write(fsl_dev->regmap, DCU_INT_MASK, value);
+	ret = regmap_update_bits(fsl_dev->regmap, DCU_INT_MASK,
+				 DCU_INT_MASK_VBLANK, ~DCU_INT_MASK_VBLANK);
 	if (ret)
 		dev_err(dev->dev, "set DCU_INT_MASK failed\n");
 	return 0;
@@ -160,14 +152,10 @@ static void fsl_dcu_drm_disable_vblank(struct
 drm_device *dev,
 				       unsigned int pipe)
 {
 	struct fsl_dcu_drm_device *fsl_dev = dev->dev_private;
-	unsigned int value;
 	int ret;
 
-	ret = regmap_read(fsl_dev->regmap, DCU_INT_MASK, &value);
-	if (ret)
-		dev_err(dev->dev, "read DCU_INT_MASK failed\n");
-	value |= DCU_INT_MASK_VBLANK;
-	ret = regmap_write(fsl_dev->regmap, DCU_INT_MASK, value);
+	ret = regmap_update_bits(fsl_dev->regmap, DCU_INT_MASK,
+				 DCU_INT_MASK_VBLANK, DCU_INT_MASK_VBLANK);
 	if (ret)
 		dev_err(dev->dev, "set DCU_INT_MASK failed\n");
Quoted 1 line

}

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

author
#12 lore raw
In reply to a message not in the archive

Hi, Stefan
I had tested your patch(https://lkml.org/lkml/2015/11/18/951) in ls1021-twr board, I think you can merge this patch to your tree if Jianwei don't have any objections.

Quoted 14 lines · Stefan Agner

As I wrote earlier
(http://www.spinics.net/lists/dri-devel/msg95703.html), my fixes patchset contains a similar patch which also explicitly disable the VBLANK interrupt. I think it is the better solution... See:
https://lkml.org/lkml/2015/11/18/951

I will soon prepare a git tree and plan to submit that for 4.6, currently I plan to include
- Your "Fix no fb check bug" patch
- My "fixes and enhancements" patchset
- My "fix register initialization" and "use flat regmap cache" patch

Quoted 4 lines

Let me know if you have any objections.

--
Stefan

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

maintainer
#5 lore raw

Re: [PATCH 4/4] drm/layerscape: Add HDMI driver for freescale DCU

In reply to Meng Yi
Quoted 22 lines · Meng Yi

DCU is the shortcut of 'display controller unit', some HDMI transmitter attached to DCU, such as sii9022a, and this driver add the relavent functions to DRM framewrok.

---
 .../bindings/display/bridge/sil,sii9022a.txt       |  40 +++
 drivers/gpu/drm/fsl-dcu/Makefile                   |   1 +
 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.h          |   1 +
 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_hdmi.c         | 271 +++++++++++++++++++++
 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_kms.c          |  10 +
 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_output.h       |  11 +
 6 files changed, 334 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/display/bridge/sil,sii9022a.txt
 create mode 100644 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_hdmi.c
Documentation/devicetree/bindings/display/bridge/sil,sii9022a.txt new file +0 -0
new file mode 100644
index 0000000..32a726a

Documentation/devicetree/bindings/display/bridge/sil,sii9022a.txt line 6

Quoted 6 lines
Documentation/devicetree/bindings/display/bridge/sil,sii9022a.txt new file +6 -0
@@ -0,0 +1,40 @@
+Device-Tree bindings for the SiI902x hdmi transmitter.
+-----------------------------------------
+
+The SiI9022A is an ultra low-power HDMI transmitter. It supports resolutions from
+standard definition 480i/p and 576i/p all the way to high-definition 720p, 1080i,
+and 1080p, the highest resolution supported by HDTVs today. It also supports all

Well, we're up to 4K now...

Quoted 18 lines
Documentation/devicetree/bindings/display/bridge/sil,sii9022a.txt new file +18 -0
+PC resolutions up to UXGA for netbooks
+
+Required properties:
+- compatible: 	Should be "sil,sii9022a".
+- reg: 		The I2C address of the device.
+- interrupts:	Interrupt number to the cpu.
+
+Required nodes:
+
+The sii9022 has one video ports. Its connection is modelled using the OF
+graph bindings specified in Documentation/devicetree/bindings/graph.txt.
+
+- Video port 0 for the HDMI output
+
+Example:
+-------
+
+    sii9022: hdmi@39 {

Documentation/devicetree/bindings/display/bridge/sil,sii9022a.txt line 34

Quoted 10 lines
Documentation/devicetree/bindings/display/bridge/sil,sii9022a.txt new file +10 -0
+            compatible = "sil,sii9022a";
+            reg = <0x39>;
+            interrupts = <GIC_SPI 167 IRQ_TYPE_EDGE_RISING>;
+
+            ports {
+                    #address-cells = <1>;
+                    #size-cells = <0>;
+
+                    port@0 {
+                            reg = <1>;

Your unit address (0) and reg don't match.

Documentation/devicetree/bindings/display/bridge/sil,sii9022a.txt line 37

Quoted 3 lines
Documentation/devicetree/bindings/display/bridge/sil,sii9022a.txt new file +3 -0
+                            sii9022_out: endpoint {
+                                    remote-endpoint = <&hdmi_con>;
+                            };

This needs to have a port for the input for the connection to your display controller.

Documentation/devicetree/bindings/display/bridge/sil,sii9022a.txt line 39

Quoted 3 lines
Documentation/devicetree/bindings/display/bridge/sil,sii9022a.txt new file +3 -0
+                    };
+            };
+    };

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

author
#6 lore raw

RE: [PATCH 4/4] drm/layerscape: Add HDMI driver for freescale DCU

Hi Rob
Thanks for your reply. I will correct those soon, and then send v2 out.
BR
Meng Yi

Quoted 16 lines · On Friday, January 29, 2016 10:52 AM, Rob…

Review

Quoted 5 lines
(quoted diff) +4 -0
+The SiI9022A is an ultra low-power HDMI transmitter. It supports
+resolutions from standard definition 480i/p and 576i/p all the way to
+high-definition 720p, 1080i, and 1080p, the highest resolution
+supported by HDTVs today. It also supports all

Well, we're up to 4K now...

Documentation/devicetree/bindings/display/bridge/sil,sii9022a.txt line 34

Quoted 6 lines
Documentation/devicetree/bindings/display/bridge/sil,sii9022a.txt new file +6 -0
+            ports {
+                    #address-cells = <1>;
+                    #size-cells = <0>;
+
+                    port@0 {
+                            reg = <1>;
Quoted 12 lines

Your unit address (0) and reg don't match.

Documentation/devicetree/bindings/display/bridge/sil,sii9022a.txt line 37

Quoted 3 lines
Documentation/devicetree/bindings/display/bridge/sil,sii9022a.txt new file +3 -0
+                            sii9022_out: endpoint {
+                                    remote-endpoint = <&hdmi_con>;
+                            };

This needs to have a port for the input for the connection to your display controller.

Quoted 3 lines
Documentation/devicetree/bindings/display/bridge/sil,sii9022a.txt new file +3 -0
+                    };
+            };
+    };

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

maintainer
#7 lore raw

RE: [PATCH 4/4] drm/layerscape: Add HDMI driver for freescale DCU

Hi Meng Yi,

I plan to review the patchset too, but did not come around yet.

The forth patch conflicts with my changes in the DRM DCU driver. Since it will likely go through my tree, please base v2 ontop of my DCU branch:
http://git.agner.ch/gitweb/?p=linux-drm-fsl-dcu.git;a=summary

--
Stefan

Quoted 33 lines · Meng Yi

Hi Rob
Thanks for your reply. I will correct those soon, and then send v2 out.
BR
Meng Yi

Quoted 28 lines · On Friday, January 29, 2016 10:52 AM, Rob Herring[[email protected]] wrote:

Review

Quoted 5 lines
(quoted diff) +4 -0
+The SiI9022A is an ultra low-power HDMI transmitter. It supports
+resolutions from standard definition 480i/p and 576i/p all the way to
+high-definition 720p, 1080i, and 1080p, the highest resolution
+supported by HDTVs today. It also supports all

Well, we're up to 4K now...

Documentation/devicetree/bindings/display/bridge/sil,sii9022a.txt line 34

Quoted 6 lines
Documentation/devicetree/bindings/display/bridge/sil,sii9022a.txt new file +6 -0
+            ports {
+                    #address-cells = <1>;
+                    #size-cells = <0>;
+
+                    port@0 {
+                            reg = <1>;

Your unit address (0) and reg don't match.

Documentation/devicetree/bindings/display/bridge/sil,sii9022a.txt line 37

Quoted 3 lines
Documentation/devicetree/bindings/display/bridge/sil,sii9022a.txt new file +3 -0
+                            sii9022_out: endpoint {
+                                    remote-endpoint = <&hdmi_con>;
+                            };

This needs to have a port for the input for the connection to your display controller.

Quoted 3 lines
Documentation/devicetree/bindings/display/bridge/sil,sii9022a.txt new file +3 -0
+                    };
+            };
+    };

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

author
#9 lore raw

RE: [PATCH 4/4] drm/layerscape: Add HDMI driver for freescale DCU

In reply to a message not in the archive

Hi Stefan,
I will take PTO during Chinese Spring Festival, and I will rebase my patches according to your tree and send out after 2/16/2016 ^_^
BR
Meng

Quoted 11 lines · On Wednesday, February 03, 2016 5:56 AM, Stefan Agner…

Hi Meng Yi,

I plan to review the patchset too, but did not come around yet.

The forth patch conflicts with my changes in the DRM DCU driver. Since it will likely go through my tree, please base v2 ontop of my DCU
branch:
http://git.agner.ch/gitweb/?p=linux-drm-fsl-dcu.git;a=summary

Quoted 37 lines

--
Stefan

Quoted 33 lines · Meng Yi

Hi Rob
Thanks for your reply. I will correct those soon, and then send v2 out.
BR
Meng Yi

Quoted 28 lines · On Friday, January 29, 2016 10:52 AM, Rob…

Review

Quoted 5 lines
(quoted diff) +4 -0
+The SiI9022A is an ultra low-power HDMI transmitter. It supports
+resolutions from standard definition 480i/p and 576i/p all the way
+to high-definition 720p, 1080i, and 1080p, the highest resolution
+supported by HDTVs today. It also supports all

Well, we're up to 4K now...

Documentation/devicetree/bindings/display/bridge/sil,sii9022a.txt line 34

Quoted 6 lines
Documentation/devicetree/bindings/display/bridge/sil,sii9022a.txt new file +6 -0
+            ports {
+                    #address-cells = <1>;
+                    #size-cells = <0>;
+
+                    port@0 {
+                            reg = <1>;

Your unit address (0) and reg don't match.

Documentation/devicetree/bindings/display/bridge/sil,sii9022a.txt line 37

Quoted 3 lines
Documentation/devicetree/bindings/display/bridge/sil,sii9022a.txt new file +3 -0
+                            sii9022_out: endpoint {
+                                    remote-endpoint = <&hdmi_con>;
+                            };

This needs to have a port for the input for the connection to your display controller.

Quoted 3 lines
Documentation/devicetree/bindings/display/bridge/sil,sii9022a.txt new file +3 -0
+                    };
+            };
+    };

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html