linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: rmk+kernel@arm.linux.org.uk (Russell King)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 166/222] imx-drm: dw-hdmi-cec: add HDMI CEC driver
Date: Fri, 25 Apr 2014 12:48:27 +0100	[thread overview]
Message-ID: <E1WdecF-0007OT-Az@rmk-PC.arm.linux.org.uk> (raw)
In-Reply-To: <20140425112951.GK26756@n2100.arm.linux.org.uk>

This adds a HDMI Consumer Electronics Control driver, making use of the
generic HDMI CEC driver to provide a common user API for these devices.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
---
 drivers/staging/imx-drm/Kconfig       |   9 ++
 drivers/staging/imx-drm/Makefile      |   1 +
 drivers/staging/imx-drm/dw-hdmi-cec.c | 205 ++++++++++++++++++++++++++++++++++
 drivers/staging/imx-drm/dw-hdmi-cec.h |  16 +++
 drivers/staging/imx-drm/imx-hdmi.c    |  63 +++++++++--
 5 files changed, 284 insertions(+), 10 deletions(-)
 create mode 100644 drivers/staging/imx-drm/dw-hdmi-cec.c
 create mode 100644 drivers/staging/imx-drm/dw-hdmi-cec.h

diff --git a/drivers/staging/imx-drm/Kconfig b/drivers/staging/imx-drm/Kconfig
index 66ed3e5f132a..52516a7cf26f 100644
--- a/drivers/staging/imx-drm/Kconfig
+++ b/drivers/staging/imx-drm/Kconfig
@@ -69,3 +69,12 @@ config DRM_DW_HDMI_AUDIO
 	  Support the Audio interface which is part of the Synopsis
 	  Designware HDMI block.  This is used in conjunction with
 	  the i.MX HDMI driver.
+
+config DRM_DW_HDMI_CEC
+	tristate "Synopsis Designware CEC interface"
+	depends on DRM_IMX_HDMI != n
+	select HDMI_CEC_CORE
+	help
+	  Support the CEC interface which is part of the Synposis
+	  Designware HDMI block.  This is used in conjunction with
+	  the i.MX HDMI driver.
diff --git a/drivers/staging/imx-drm/Makefile b/drivers/staging/imx-drm/Makefile
index 34c8b9990a66..2295a6805d69 100644
--- a/drivers/staging/imx-drm/Makefile
+++ b/drivers/staging/imx-drm/Makefile
@@ -12,3 +12,4 @@ imx-ipuv3-crtc-objs  := ipuv3-crtc.o ipuv3-plane.o
 obj-$(CONFIG_DRM_IMX_IPUV3)	+= imx-ipuv3-crtc.o
 obj-$(CONFIG_DRM_IMX_HDMI) += imx-hdmi.o
 obj-$(CONFIG_DRM_DW_HDMI_AUDIO) += dw-hdmi-audio.o
+obj-$(CONFIG_DRM_DW_HDMI_CEC) += dw-hdmi-cec.o
diff --git a/drivers/staging/imx-drm/dw-hdmi-cec.c b/drivers/staging/imx-drm/dw-hdmi-cec.c
new file mode 100644
index 000000000000..c94b75aa037b
--- /dev/null
+++ b/drivers/staging/imx-drm/dw-hdmi-cec.c
@@ -0,0 +1,205 @@
+/* http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/tree/drivers/mxc/hdmi-cec/mxc_hdmi-cec.c?h=imx_3.0.35_4.1.0 */
+#include <linux/cec-dev.h>
+#include <linux/interrupt.h>
+#include <linux/io.h>
+#include <linux/module.h>
+#include <linux/platform_device.h>
+#include <linux/sched.h>
+#include <linux/slab.h>
+
+#include "imx-hdmi.h"
+#include "dw-hdmi-cec.h"
+
+#define DEV_NAME "mxc_hdmi_cec"
+
+enum {
+	CEC_STAT_DONE		= BIT(0),
+	CEC_STAT_EOM		= BIT(1),
+	CEC_STAT_NACK		= BIT(2),
+	CEC_STAT_ARBLOST	= BIT(3),
+	CEC_STAT_ERROR_INIT	= BIT(4),
+	CEC_STAT_ERROR_FOLL	= BIT(5),
+	CEC_STAT_WAKEUP		= BIT(6),
+
+	CEC_CTRL_START		= BIT(0),
+	CEC_CTRL_NORMAL		= 1 << 1,
+};
+
+struct dw_hdmi_cec {
+	struct cec_dev cec;
+
+	struct device *dev;
+	void __iomem *base;
+	const struct dw_hdmi_cec_ops *ops;
+	void *ops_data;
+	int irq;
+};
+
+static void dw_hdmi_set_address(struct cec_dev *cec_dev, unsigned addresses)
+{
+	struct dw_hdmi_cec *cec = container_of(cec_dev, struct dw_hdmi_cec, cec);
+
+	writeb(addresses & 255, cec->base + HDMI_CEC_ADDR_L);
+	writeb(addresses >> 8, cec->base + HDMI_CEC_ADDR_H);
+}
+
+static void dw_hdmi_send_message(struct cec_dev *cec_dev, u8 *msg,
+	size_t count)
+{
+	struct dw_hdmi_cec *cec = container_of(cec_dev, struct dw_hdmi_cec, cec);
+	unsigned i;
+
+	for (i = 0; i < count; i++)
+		writeb(msg[i], cec->base + HDMI_CEC_TX_DATA0 + i);
+
+	writeb(count, cec->base + HDMI_CEC_TX_CNT);
+	writeb(CEC_CTRL_NORMAL | CEC_CTRL_START, cec->base + HDMI_CEC_CTRL);
+}
+
+static irqreturn_t dw_hdmi_cec_irq(int irq, void *data)
+{
+	struct dw_hdmi_cec *cec = data;
+	struct cec_dev *cec_dev = &cec->cec;
+	unsigned stat = readb(cec->base + HDMI_IH_CEC_STAT0);
+
+	if (stat == 0)
+		return IRQ_NONE;
+
+	writeb(stat, cec->base + HDMI_IH_CEC_STAT0);
+
+	if (stat & CEC_STAT_ERROR_INIT) {
+		if (cec->cec.retries) {
+			unsigned v = readb(cec->base + HDMI_CEC_CTRL);
+			writeb(v | CEC_CTRL_START, cec->base + HDMI_CEC_CTRL);
+			cec->cec.retries -= 1;
+		} else {
+			cec->cec.write_busy = 0;
+			cec_dev_event(cec_dev, MESSAGE_TYPE_SEND_ERROR, NULL, 0);
+		}
+	} else if (stat & (CEC_STAT_DONE | CEC_STAT_NACK))
+		cec_dev_send_complete(cec_dev, stat & CEC_STAT_DONE);
+
+	if (stat & CEC_STAT_EOM) {
+		unsigned len, i;
+		u8 msg[MAX_MESSAGE_LEN];
+
+		len = readb(cec->base + HDMI_CEC_RX_CNT);
+		if (len > sizeof(msg))
+			len = sizeof(msg);
+
+		for (i = 0; i < len; i++)
+			msg[i] = readb(cec->base + HDMI_CEC_RX_DATA0 + i);
+
+		writeb(0, cec->base + HDMI_CEC_LOCK);
+
+		cec_dev_receive(cec_dev, msg, len);
+	}
+
+	return IRQ_HANDLED;
+}
+EXPORT_SYMBOL(dw_hdmi_cec_irq);
+
+static void dw_hdmi_cec_release(struct cec_dev *cec_dev)
+{
+	struct dw_hdmi_cec *cec = container_of(cec_dev, struct dw_hdmi_cec, cec);
+
+	writeb(~0, cec->base + HDMI_CEC_MASK);
+	writeb(~0, cec->base + HDMI_IH_MUTE_CEC_STAT0);
+	writeb(0, cec->base + HDMI_CEC_POLARITY);
+
+	free_irq(cec->irq, cec);
+
+	cec->ops->disable(cec->ops_data);
+}
+
+static int dw_hdmi_cec_open(struct cec_dev *cec_dev)
+{
+	struct dw_hdmi_cec *cec = container_of(cec_dev, struct dw_hdmi_cec, cec);
+	unsigned irqs;
+	int ret;
+
+	writeb(0, cec->base + HDMI_CEC_CTRL);
+	writeb(~0, cec->base + HDMI_IH_CEC_STAT0);
+	writeb(0, cec->base + HDMI_CEC_LOCK);
+
+	ret = request_irq(cec->irq, dw_hdmi_cec_irq, IRQF_SHARED,
+			  DEV_NAME, cec);
+	if (ret < 0)
+		return ret;
+
+	dw_hdmi_set_address(cec_dev, cec_dev->addresses);
+
+	cec->ops->enable(cec->ops_data);
+
+	irqs = CEC_STAT_ERROR_INIT | CEC_STAT_NACK | CEC_STAT_EOM |
+	       CEC_STAT_DONE;
+	writeb(irqs, cec->base + HDMI_CEC_POLARITY);
+	writeb(~irqs, cec->base + HDMI_CEC_MASK);
+	writeb(~irqs, cec->base + HDMI_IH_MUTE_CEC_STAT0);
+
+	return 0;
+}
+
+static int dw_hdmi_cec_probe(struct platform_device *pdev)
+{
+	struct dw_hdmi_cec_data *data = dev_get_platdata(&pdev->dev);
+	struct dw_hdmi_cec *cec;
+
+	if (!data)
+		return -ENXIO;
+
+	cec = devm_kzalloc(&pdev->dev, sizeof(*cec), GFP_KERNEL);
+	if (!cec)
+		return -ENOMEM;
+
+	cec->dev = &pdev->dev;
+	cec->base = data->base;
+	cec->irq = data->irq;
+	cec->ops = data->ops;
+	cec->ops_data = data->ops_data;
+	cec->cec.open = dw_hdmi_cec_open;
+	cec->cec.release = dw_hdmi_cec_release;
+	cec->cec.send_message = dw_hdmi_send_message;
+	cec->cec.set_address = dw_hdmi_set_address;
+
+	cec_dev_init(&cec->cec, THIS_MODULE);
+
+	/* FIXME: soft-reset the CEC interface */
+
+	dw_hdmi_set_address(&cec->cec, cec->cec.addresses);
+	writeb(0, cec->base + HDMI_CEC_TX_CNT);
+	writeb(~0, cec->base + HDMI_CEC_MASK);
+	writeb(~0, cec->base + HDMI_IH_MUTE_CEC_STAT0);
+	writeb(0, cec->base + HDMI_CEC_POLARITY);
+
+	/*
+	 * Our device is just a convenience - we want to link to the real
+	 * hardware device here, so that userspace can see the association
+	 * between the HDMI hardware and its associated CEC chardev.
+	 */
+	return cec_dev_add(&cec->cec, cec->dev->parent, DEV_NAME);
+}
+
+static int dw_hdmi_cec_remove(struct platform_device *pdev)
+{
+	struct dw_hdmi_cec *cec = platform_get_drvdata(pdev);
+
+	cec_dev_remove(&cec->cec);
+
+	return 0;
+}
+
+static struct platform_driver dw_hdmi_cec_driver = {
+	.probe	= dw_hdmi_cec_probe,
+	.remove	= dw_hdmi_cec_remove,
+	.driver = {
+		.name = "dw-hdmi-cec",
+		.owner = THIS_MODULE,
+	},
+};
+module_platform_driver(dw_hdmi_cec_driver);
+
+MODULE_AUTHOR("Russell King <rmk+kernel@arm.linux.org.uk>");
+MODULE_DESCRIPTION("Synopsis Designware HDMI CEC driver for i.MX");
+MODULE_LICENSE("GPL");
+MODULE_ALIAS(PLATFORM_MODULE_PREFIX "dw-hdmi-cec");
diff --git a/drivers/staging/imx-drm/dw-hdmi-cec.h b/drivers/staging/imx-drm/dw-hdmi-cec.h
new file mode 100644
index 000000000000..5ff40cc237a8
--- /dev/null
+++ b/drivers/staging/imx-drm/dw-hdmi-cec.h
@@ -0,0 +1,16 @@
+#ifndef DW_HDMI_CEC_H
+#define DW_HDMI_CEC_H
+
+struct dw_hdmi_cec_ops {
+	void (*enable)(void *);
+	void (*disable)(void *);
+};
+
+struct dw_hdmi_cec_data {
+	void __iomem *base;
+	int irq;
+	const struct dw_hdmi_cec_ops *ops;
+	void *ops_data;
+};
+
+#endif
diff --git a/drivers/staging/imx-drm/imx-hdmi.c b/drivers/staging/imx-drm/imx-hdmi.c
index ac72649448a8..c3bd89d34d40 100644
--- a/drivers/staging/imx-drm/imx-hdmi.c
+++ b/drivers/staging/imx-drm/imx-hdmi.c
@@ -29,6 +29,7 @@
 #include <drm/drm_encoder_slave.h>
 
 #include "dw-hdmi-audio.h"
+#include "dw-hdmi-cec.h"
 #include "ipu-v3/imx-ipu-v3.h"
 #include "imx-hdmi.h"
 #include "imx-drm.h"
@@ -117,6 +118,7 @@ struct imx_hdmi {
 	struct drm_encoder encoder;
 
 	struct platform_device *audio;
+	struct platform_device *cec;
 	enum imx_hdmi_devtype dev_type;
 	struct device *dev;
 	struct clk *isfr_clk;
@@ -126,6 +128,7 @@ struct imx_hdmi {
 	int vic;
 
 	u8 edid[HDMI_EDID_LEN];
+	u8 mc_clkdis;
 	bool cable_plugin;
 
 	bool phy_enabled;
@@ -1154,8 +1157,6 @@ static void imx_hdmi_phy_disable(struct imx_hdmi *hdmi)
 /* HDMI Initialization Step B.4 */
 static void imx_hdmi_enable_video_path(struct imx_hdmi *hdmi)
 {
-	u8 clkdis;
-
 	/* control period minimum duration */
 	hdmi_writeb(hdmi, 12, HDMI_FC_CTRLDUR);
 	hdmi_writeb(hdmi, 32, HDMI_FC_EXCTRLDUR);
@@ -1167,23 +1168,28 @@ static void imx_hdmi_enable_video_path(struct imx_hdmi *hdmi)
 	hdmi_writeb(hdmi, 0x21, HDMI_FC_CH2PREAM);
 
 	/* Enable pixel clock and tmds data path */
-	clkdis = 0x7F;
-	clkdis &= ~HDMI_MC_CLKDIS_PIXELCLK_DISABLE;
-	hdmi_writeb(hdmi, clkdis, HDMI_MC_CLKDIS);
+	hdmi->mc_clkdis |= HDMI_MC_CLKDIS_HDCPCLK_DISABLE |
+			   HDMI_MC_CLKDIS_CSCCLK_DISABLE |
+			   HDMI_MC_CLKDIS_AUDCLK_DISABLE |
+			   HDMI_MC_CLKDIS_PREPCLK_DISABLE |
+			   HDMI_MC_CLKDIS_TMDSCLK_DISABLE;
+	hdmi->mc_clkdis &= ~HDMI_MC_CLKDIS_PIXELCLK_DISABLE;
+	hdmi_writeb(hdmi, hdmi->mc_clkdis, HDMI_MC_CLKDIS);
 
-	clkdis &= ~HDMI_MC_CLKDIS_TMDSCLK_DISABLE;
-	hdmi_writeb(hdmi, clkdis, HDMI_MC_CLKDIS);
+	hdmi->mc_clkdis &= ~HDMI_MC_CLKDIS_TMDSCLK_DISABLE;
+	hdmi_writeb(hdmi, hdmi->mc_clkdis, HDMI_MC_CLKDIS);
 
 	/* Enable csc path */
 	if (is_color_space_conversion(hdmi)) {
-		clkdis &= ~HDMI_MC_CLKDIS_CSCCLK_DISABLE;
-		hdmi_writeb(hdmi, clkdis, HDMI_MC_CLKDIS);
+		hdmi->mc_clkdis &= ~HDMI_MC_CLKDIS_CSCCLK_DISABLE;
+		hdmi_writeb(hdmi, hdmi->mc_clkdis, HDMI_MC_CLKDIS);
 	}
 }
 
 static void hdmi_enable_audio_clk(struct imx_hdmi *hdmi)
 {
-	hdmi_modb(hdmi, 0, HDMI_MC_CLKDIS_AUDCLK_DISABLE, HDMI_MC_CLKDIS);
+	hdmi->mc_clkdis &= ~HDMI_MC_CLKDIS_AUDCLK_DISABLE;
+	hdmi_writeb(hdmi, hdmi->mc_clkdis, HDMI_MC_CLKDIS);
 }
 
 /* Workaround to clear the overflow condition */
@@ -1579,6 +1585,27 @@ static int imx_hdmi_register(struct drm_device *drm, struct imx_hdmi *hdmi)
 	return 0;
 }
 
+static void imx_hdmi_cec_enable(void *data)
+{
+	struct imx_hdmi *hdmi = data;
+
+	hdmi->mc_clkdis &= ~HDMI_MC_CLKDIS_CECCLK_DISABLE;
+	hdmi_writeb(hdmi, hdmi->mc_clkdis, HDMI_MC_CLKDIS);
+}
+
+static void imx_hdmi_cec_disable(void *data)
+{
+	struct imx_hdmi *hdmi = data;
+
+	hdmi->mc_clkdis |= HDMI_MC_CLKDIS_CECCLK_DISABLE;
+	hdmi_writeb(hdmi, hdmi->mc_clkdis, HDMI_MC_CLKDIS);
+}
+
+static const struct dw_hdmi_cec_ops imx_hdmi_cec_ops = {
+	.enable = imx_hdmi_cec_enable,
+	.disable = imx_hdmi_cec_disable,
+};
+
 static struct platform_device_id imx_hdmi_devtype[] = {
 	{
 		.name = "imx6q-hdmi",
@@ -1607,6 +1634,7 @@ static int imx_hdmi_bind(struct device *dev, struct device *master, void *data)
 	struct device_node *np = dev->of_node;
 	struct device_node *ddc_node;
 	struct dw_hdmi_audio_data audio;
+	struct dw_hdmi_cec_data cec;
 	struct imx_hdmi *hdmi;
 	struct resource *iores;
 	int ret, irq;
@@ -1618,6 +1646,7 @@ static int imx_hdmi_bind(struct device *dev, struct device *master, void *data)
 	hdmi->dev = dev;
 	hdmi->sample_rate = 48000;
 	hdmi->ratio = 100;
+	hdmi->mc_clkdis = 0x7f;
 
 	if (of_id) {
 		const struct platform_device_id *device_id = of_id->data;
@@ -1737,6 +1766,18 @@ static int imx_hdmi_bind(struct device *dev, struct device *master, void *data)
 	pdevinfo.dma_mask = DMA_BIT_MASK(32);
 	hdmi->audio = platform_device_register_full(&pdevinfo);
 
+	cec.base = hdmi->regs;
+	cec.irq = irq;
+	cec.ops = &imx_hdmi_cec_ops;
+	cec.ops_data = hdmi;
+
+	pdevinfo.name = "dw-hdmi-cec";
+	pdevinfo.data = &cec;
+	pdevinfo.size_data = sizeof(cec);
+	pdevinfo.dma_mask = 0;
+
+	hdmi->cec = platform_device_register_full(&pdevinfo);
+
 	dev_set_drvdata(dev, hdmi);
 
 	return 0;
@@ -1756,6 +1797,8 @@ static void imx_hdmi_unbind(struct device *dev, struct device *master,
 
 	if (!IS_ERR(hdmi->audio))
 		platform_device_unregister(hdmi->audio);
+	if (!IS_ERR(hdmi->cec))
+		platform_device_unregister(hdmi->cec);
 
 	/* Disable all interrupts */
 	hdmi_writeb(hdmi, ~0, HDMI_IH_MUTE_PHY_STAT0);
-- 
1.8.3.1

  parent reply	other threads:[~2014-04-25 11:48 UTC|newest]

Thread overview: 232+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-25 11:29 [PATCH 000/222] The *Full* Cubox-i series Russell King - ARM Linux
2014-04-25 11:31 ` [PATCH 001/222] ARM: l2c: remove outer_inv_all() method Russell King
2014-04-25 11:31 ` [PATCH 002/222] ARM: l2c: remove unnecessary call to outer_flush_all() Russell King
2014-04-25 11:31 ` [PATCH 003/222] ARM: l2c: avoid calling outer_flush_all() unnecessarily (Spear) Russell King
2014-04-25 11:31 ` [PATCH 004/222] ARM: l2c: omap2: remove ES1.0 support Russell King
2014-04-25 11:31 ` [PATCH 005/222] ARM: l2c: remove unnecessary UL-suffix to mask values Russell King
2014-04-25 11:31 ` [PATCH 006/222] ARM: outer cache: add documentation of outer cache functions Russell King
2014-04-25 11:31 ` [PATCH 007/222] ARM: outer cache: add WARN_ON() to outer_disable() Russell King
2014-04-25 11:31 ` [PATCH 008/222] ARM: l2c: add helper for L2 cache controller DT IDs Russell King
2014-04-25 11:31 ` [PATCH 009/222] ARM: l2c: tidy up l2x0_of_data declarations Russell King
2014-04-25 11:31 ` [PATCH 010/222] ARM: l2c: rename OF specific things, making l2x0_of_data available to all Russell King
2014-04-25 11:31 ` [PATCH 011/222] ARM: l2c: provide generic function for calling set_debug method Russell King
2014-04-25 11:31 ` [PATCH 012/222] ARM: l2c: split out cache unlock code Russell King
2014-04-25 11:32 ` [PATCH 013/222] ARM: l2c: provide generic helper for way-based operations Russell King
2014-04-25 11:32 ` [PATCH 014/222] ARM: l2c: rename cache_wait_way() Russell King
2014-04-25 11:32 ` [PATCH 015/222] ARM: l2c: add and use L2C revision constants Russell King
2014-04-25 11:32 ` [PATCH 016/222] ARM: l2c: clean up OF initialisation a bit Russell King
2014-04-25 11:32 ` [PATCH 017/222] ARM: l2c: pass iomem address into data->save function Russell King
2014-04-25 11:32 ` [PATCH 018/222] ARM: l2c: move l2c save function to __l2c_init() Russell King
2014-04-25 11:32 ` [PATCH 019/222] ARM: l2c: group implementation specific code together Russell King
2014-04-25 11:32 ` [PATCH 020/222] ARM: l2c: provide enable method Russell King
2014-04-25 11:32 ` [PATCH 021/222] ARM: l2c: write auxctrl register before unlocking Russell King
2014-04-25 11:32 ` [PATCH 022/222] ARM: l2c: only write the auxiliary control register if required Russell King
2014-04-25 11:32 ` [PATCH 023/222] ARM: l2c: move aurora broadcast setup to enable function Russell King
2014-04-25 11:32 ` [PATCH 024/222] ARM: l2c: implement fixups for L2 cache controller quirks/errata Russell King
2014-04-25 11:33 ` [PATCH 025/222] ARM: l2c: clean up L2 cache initialisation messages Russell King
2014-04-25 11:33 ` [PATCH 026/222] ARM: l2c: move and add ARM L2C-2x0/L2C-310 save/resume code to non-OF Russell King
2014-04-25 11:33 ` [PATCH 027/222] ARM: l2c: clean up save/resume functions Russell King
2014-04-25 11:33 ` [PATCH 028/222] ARM: l2c: simplify l2x0 unlocking code Russell King
2014-04-25 11:33 ` [PATCH 029/222] ARM: l2c: move pl310_set_debug() into l2c-310 code Russell King
2014-04-25 11:33 ` [PATCH 030/222] ARM: l2c: add L2C-210 specific handlers Russell King
2014-04-25 11:33 ` [PATCH 031/222] ARM: l2c: implement L2C-310 erratum 727915 as a method override Russell King
2014-04-25 11:33 ` [PATCH 032/222] ARM: l2c: implement L2C-310 erratum 588369 " Russell King
2014-04-25 11:33 ` [PATCH 033/222] ARM: l2c: use L2C-210 handlers for L2C-310 errata-less implementations Russell King
2014-04-25 11:33 ` [PATCH 034/222] ARM: l2c: add L2C-220 specific handlers Russell King
2014-04-25 11:33 ` [PATCH 035/222] ARM: l2c: convert Broadcom L2C-310 to new code Russell King
2014-04-25 11:34 ` [PATCH 036/222] ARM: l2c: remove obsolete l2x0 ops for non-OF init Russell King
2014-04-25 11:34 ` [PATCH 037/222] ARM: l2c: move type string into l2c_init_data structure Russell King
2014-04-25 11:34 ` [PATCH 038/222] ARM: l2c: add decode for L2C-220 cache ways Russell King
2014-04-25 11:34 ` [PATCH 039/222] ARM: l2c: move way size calculation data into l2c_init_data Russell King
2014-04-25 11:34 ` [PATCH 040/222] ARM: l2c: move errata configuration options to arch/arm/mm/Kconfig Russell King
2014-04-25 11:34 ` [PATCH 041/222] ARM: l2c: provide generic hook to intercept writes to secure registers Russell King
2014-04-25 11:34 ` [PATCH 042/222] ARM: l2c: omap2: implement new write_sec method Russell King
2014-04-25 11:34 ` [PATCH 043/222] ARM: l2c: omap2: remove explicit SMI calls to enable L2 cache Russell King
2014-04-25 11:34 ` [PATCH 044/222] ARM: l2c: highbank: implement new write_sec method Russell King
2014-04-25 11:34 ` [PATCH 045/222] ARM: l2c: highbank: remove explicit SMI call in L2 cache initialisation Russell King
2014-04-25 11:34 ` [PATCH 046/222] ARM: l2c: ux500: implement dummy write_sec method Russell King
2014-04-25 11:34 ` [PATCH 047/222] ARM: l2c: remove old .set_debug method Russell King
2014-04-25 11:35 ` [PATCH 048/222] ARM: l2c: implement L2C-310 erratum 752271 in core L2C code Russell King
2014-04-25 11:35 ` [PATCH 049/222] ARM: l2c: fix register naming Russell King
2014-04-25 11:35 ` [PATCH 050/222] ARM: l2c: add automatic enable of early BRESP Russell King
2014-04-25 11:35 ` [PATCH 051/222] ARM: l2c: remove platforms/SoCs setting " Russell King
2014-04-25 11:35 ` [PATCH 052/222] ARM: l2c: tegra: remove associativity and way size from aux_ctrl Russell King
2014-04-25 11:35 ` [PATCH 053/222] ARM: l2c: ux500: " Russell King
2014-04-25 11:35 ` [PATCH 054/222] ARM: l2c: ux500: don't try to change the L2 cache auxiliary control register Russell King
2014-04-25 11:35 ` [PATCH 055/222] ARM: l2c: cns3xxx: remove cache size override Russell King
2014-04-25 11:35 ` [PATCH 056/222] ARM: l2c: exynos: " Russell King
2014-04-25 11:35 ` [PATCH 057/222] ARM: l2c: nomadik: " Russell King
2014-04-25 11:35 ` [PATCH 058/222] ARM: l2c: omap2: " Russell King
2014-04-25 11:35 ` [PATCH 059/222] ARM: l2c: prima2: " Russell King
2014-04-25 11:36 ` [PATCH 060/222] ARM: l2c: shmobile: " Russell King
2014-04-25 11:36 ` [PATCH 061/222] ARM: l2c: spear13xx: " Russell King
2014-04-25 11:36 ` [PATCH 062/222] ARM: l2c: sti: " Russell King
2014-04-25 11:36 ` [PATCH 063/222] ARM: l2c: zynq: " Russell King
2014-04-25 11:36 ` [PATCH 064/222] ARM: l2c: realview: improve commentry about the L2 cache requirements Russell King
2014-04-25 11:36 ` [PATCH 065/222] ARM: l2c: kill L2X0_AUX_CTRL_MASK before anyone else makes use of this Russell King
2014-04-25 11:36 ` [PATCH 066/222] ARM: l2c: print a warning with L2C-310 caches if the cache size is modified Russell King
2014-04-25 11:36 ` [PATCH 067/222] ARM: l2c: vexpress ca9x4: move L2 cache initialisation earlier Russell King
2014-04-25 11:36 ` [PATCH 068/222] ARM: l2c: add L2C-310 power control DT properties Russell King
2014-04-25 11:36 ` [PATCH 069/222] ARM: l2c: check that DT files specify the required "cache-unified" property Russell King
2014-04-25 11:36 ` [PATCH 070/222] ARM: l2c: add warnings for stuff modifying aux_ctrl register values Russell King
2014-04-25 11:36 ` [PATCH 071/222] net:fec: remove unnecessary ip stack includes Russell King
2014-04-28 18:36   ` Frank Li
2014-04-28 18:39     ` Russell King - ARM Linux
2014-04-25 11:37 ` [PATCH 072/222] net:fec: reorder ethtool ops to match order in struct declaration Russell King
2014-04-25 11:37 ` [PATCH 073/222] net:fec: remove checking for NULL phy_dev in fec_enet_close() Russell King
2014-04-25 11:37 ` [PATCH 074/222] net:fec: ensure that a disconnected phy isn't configured Russell King
2014-04-25 11:37 ` [PATCH 075/222] net:fec: add support for dumping transmit ring on timeout Russell King
2014-04-25 11:37 ` [PATCH 076/222] net:fec: use netif_tx_disable() rather than netif_stop_queue() Russell King
2014-04-25 11:37 ` [PATCH 077/222] net:fec: iMX6 FEC does not support half-duplex gigabit Russell King
2014-04-25 11:37 ` [PATCH 078/222] net:fec: clean up transmit descriptor setup Russell King
2014-04-25 11:37 ` [PATCH 079/222] net:fec: make rx skb allocation/map more robust Russell King
2014-04-25 11:37 ` [PATCH 080/222] net:fec: ensure fec_enet_free_buffers() properly cleans the rings Russell King
2014-04-25 11:37 ` [PATCH 081/222] net:fec: fix missing kmalloc() failure check in fec_enet_alloc_buffers() Russell King
2014-04-25 11:37 ` [PATCH 082/222] net:fec: ensure that we dma unmap the transmit descriptors Russell King
2014-04-25 11:38 ` [PATCH 083/222] net:fec: remove useless fep->opened Russell King
2014-04-25 11:38 ` [PATCH 084/222] net:fec: stop the phy before shutting down the MAC Russell King
2014-04-25 11:38 ` [PATCH 085/222] net:fec: improve safety of suspend/resume/transmit timeout paths Russell King
2014-04-25 11:38 ` [PATCH 086/222] net:fec: ensure fec_enet_close() copes with resume failure Russell King
2014-04-25 11:38 ` [PATCH 087/222] net:fec: only run a restart or stop if the device is present and running Russell King
2014-04-25 11:38 ` [PATCH 088/222] net:fec: move calls to quiesce/resume packet processing out of fec_restart() Russell King
2014-04-25 11:38 ` [PATCH 089/222] net:fec: remove inappropriate calls around fec_restart() Russell King
2014-04-25 11:38 ` [PATCH 090/222] net:fec: quiesce packet processing before stopping device in fec_suspend() Russell King
2014-04-25 11:38 ` [PATCH 091/222] net:fec: quiesce packet processing before stopping device in fec_set_features() Russell King
2014-04-25 11:38 ` [PATCH 092/222] net:fec: quiesce packet processing before changing features Russell King
2014-04-25 11:38 ` [PATCH 093/222] net:fec: quiesce packet processing when taking link down in fec_enet_adjust_link() Russell King
2014-04-25 11:38 ` [PATCH 094/222] net:fec: fix ethtool set_pauseparam duplex bug Russell King
2014-04-25 11:39 ` [PATCH 095/222] net:fec: clean up duplex mode handling Russell King
2014-04-25 11:39 ` [PATCH 096/222] net:fec: add barrier to transmit path to ensure proper ordering Russell King
2014-04-25 11:39 ` [PATCH 097/222] net:fec: add barrier to receive " Russell King
2014-04-25 11:39 ` [PATCH 098/222] net:fec: better implementation of iMX6 ERR006358 quirk Russell King
2014-04-25 11:39 ` [PATCH 099/222] net:fec: avoid hitting transmitter if it is still running Russell King
2014-04-25 11:39 ` [PATCH 100/222] net:fec: remove delayed work Russell King
2014-04-25 11:39 ` [PATCH 101/222] net:fec: fix interrupt handling races Russell King
2014-04-25 11:39 ` [PATCH 102/222] net:fec: clear receive interrupts before processing a packet Russell King
2014-04-25 11:39 ` [PATCH 103/222] net:fec: remove useless status check in tx reap path Russell King
2014-04-25 11:39 ` [PATCH 104/222] net:fec: use a union for the buffer descriptors Russell King
2014-04-25 11:39 ` [PATCH 105/222] net:fec: consolidate hwtstamp implementation Russell King
2014-04-25 11:39 ` [PATCH 106/222] net:fec: better indexing for transmit descriptor ring Russell King
2014-04-25 11:40 ` [PATCH 107/222] net:fec: better indexing for receive " Russell King
2014-04-25 11:40 ` [PATCH 108/222] net:fec: calculate ring space rather than relying on comparing indices Russell King
2014-04-25 11:40 ` [PATCH 109/222] net:fec: increase transmit ring size Russell King
2014-04-25 11:40 ` [PATCH 110/222] net:fec: increase receive " Russell King
2014-04-25 11:40 ` [PATCH 111/222] net:fec: add scatter-gather support Russell King
2014-04-25 11:40 ` [PATCH 112/222] net:fec: add byte queue limits support Russell King
2014-04-25 11:41 ` [PATCH 113/222] net:fec: add better flow control support Russell King
2014-04-25 11:41 ` [PATCH 114/222] net:fec: move transmit dma ring address calculation to fec_enet_init() Russell King
2014-04-25 11:41 ` [PATCH 115/222] net:fec: allocate descriptor rings at device open, and free on device close Russell King
2014-04-25 11:41 ` [PATCH 116/222] net:fec: remove unnecessary code Russell King
2014-04-25 11:41 ` [PATCH 117/222] net:fec: consolidate common parts of mdio read/write Russell King
2014-04-25 11:41 ` [PATCH 118/222] net:fec: add locking for MDIO bus access Russell King
2014-04-25 11:41 ` [PATCH 119/222] net:fec: move bufdesc_ex flag into flags Russell King
2014-04-25 11:41 ` [PATCH 120/222] net:fec: move receive checksum flags into new flags member Russell King
2014-04-25 11:41 ` [PATCH 121/222] net:fec: only enable CTAG_RX and IP checksumming if we have enhanced buffer descriptors Russell King
2014-04-25 11:41 ` [PATCH 122/222] net:fec: avoid checking more flags than necessary in rx path Russell King
2014-04-25 11:41 ` [PATCH 123/222] net:fec: move vlan receive flag into our private flags Russell King
2014-04-25 11:42 ` [PATCH 124/222] net:fec: add ethtool support for tx/rx ring sizes Russell King
2014-04-25 11:42 ` [PATCH 125/222] net:fec: even larger rings Russell King
2014-04-25 11:42 ` [PATCH 126/222] net:fec: unsorted hacks Russell King
2014-04-25 11:42 ` [PATCH 127/222] leds: leds-pwm: provide a common function to setup a single led-pwm device Russell King
2014-04-25 11:42 ` [PATCH 128/222] leds: leds-pwm: convert OF parsing code to use led_pwm_add() Russell King
2014-04-25 11:42 ` [PATCH 129/222] leds: leds-pwm: implement PWM inversion Russell King
2014-04-25 11:42 ` [PATCH 130/222] leds: leds-pwm: add DT support for LEDs wired to supply Russell King
2014-04-25 11:42 ` [PATCH 131/222] ARM: add support for Cubox-i PWM-driven front panel LED Russell King
2014-04-25 11:42 ` [PATCH 132/222] ASoC: work around block transfer issues with imx-pcm-dma Russell King
2014-04-25 11:42 ` [PATCH 133/222] ata: ahci_imx: warn when disabling ahci link Russell King
2014-04-25 11:42 ` [PATCH 134/222] ARM: imx: keep PLLs in bypass while they're locking Russell King
2014-04-30 10:52   ` Dirk Behme
2014-05-08  8:59     ` Dirk Behme
2014-04-25 11:42 ` [PATCH 135/222] ARM: imx: set IPU to be derived from the 540MHz PLL3 PFD1 clock Russell King
2014-04-25 11:43 ` [PATCH 136/222] regulator: allow GPIO 0 to be used for an enable signal Russell King
2014-04-25 11:43 ` [PATCH 137/222] ARM: dt: microsom: don't set bit 7 for ethernet mux settings Russell King
2014-04-25 11:43 ` [PATCH 138/222] ARM: imx6q: clk: Parent DI clocks to video PLL via di_pre_sel Russell King
2014-04-25 11:43 ` [PATCH 139/222] ARM: i.MX6: ipu_di_sel clocks can set parent rates Russell King
2014-04-25 11:43 ` [PATCH 140/222] ata: ahci_imx: allow hardware parameters to be specified in DT Russell King
2014-04-25 11:43 ` [PATCH 141/222] ARM: cubox-i: add eSATA DT configuration Russell King
2014-04-25 11:43 ` [PATCH 142/222] ahci_imx: add disable for spread-spectrum Russell King
2014-04-25 11:43 ` [PATCH 143/222] imx-drm: imx-drm-core: fix imx_drm_encoder_get_mux_id Russell King
2014-04-25 11:43 ` [PATCH 144/222] imx-drm: imx-drm-core: skip components whose parent device is disabled Russell King
2014-04-25 11:43 ` [PATCH 145/222] imx-drm: imx-ldb: add drm_panel support Russell King
2014-04-25 11:43 ` [PATCH 146/222] imx-drm: match ipu_di_signal_cfg's clk_pol with its description Russell King
2014-04-25 11:43 ` [PATCH 147/222] v4l2: add new V4L2_PIX_FMT_RGB666 pixel format Russell King
2014-04-25 11:44 ` [PATCH 148/222] imx-drm: add RGB666 support for parallel display Russell King
2014-04-25 11:44 ` [PATCH 149/222] imx-drm: ipu-common: add ipu_map_irq to request non-IDMAC interrupts Russell King
2014-04-25 11:44 ` [PATCH 150/222] imx-drm: ipu-common: add helpers to check for a busy IDMAC channel and to busywait for an interrupt Russell King
2014-04-25 11:44 ` [PATCH 151/222] imx-drm: ipu-dmfc: wait for FIFOs to run empty before disabling Russell King
2014-04-25 11:44 ` [PATCH 152/222] imx-drm: ipu-dc: wait for DC_FC_1 / DP_SF_END interrupt Russell King
2014-04-25 11:44 ` [PATCH 153/222] imx-drm: ipu-dp: split disabling the DP foreground channel from disabling the DP module Russell King
2014-04-25 11:44 ` [PATCH 154/222] imx-drm: imx-dp: when disabling the DP foreground channel, wait until the DP background channel is finished before disabling the IDMAC channel Russell King
2014-04-25 11:44 ` [PATCH 155/222] imx-drm: ipuv3-crtc: change display enable/disable order Russell King
2014-04-25 11:44 ` [PATCH 156/222] imx-drm: ipu-dc: disable DC module when not in use Russell King
2014-04-25 11:45 ` [PATCH 157/222] imx-drm: imx-hdmi: fix hdmi hotplug detection initial state Russell King
2014-04-25 11:46 ` [PATCH 158/222] dw-hdmi-audio: add audio driver Russell King
2014-04-25 11:46 ` [PATCH 159/222] dw-hdmi-audio: better hardware position tracking Russell King
2014-04-25 11:46 ` [PATCH 160/222] dw-hdmi-audio: parse ELD from HDMI driver Russell King
2014-04-25 11:48 ` [PATCH 161/222] dw-hdmi-audio: try to fix burbling audio Russell King
2014-04-25 11:48 ` [PATCH 162/222] dw-hdmi-audio: try implementing ERR005174 " Russell King
2014-04-25 11:48 ` [PATCH 163/222] dw-hdmi-audio: another attempt at fixing burbling Russell King
2014-04-25 11:48 ` [PATCH 164/222] dw-hdmi-audio: basic suspend/resume support Russell King
2014-04-25 11:48 ` [PATCH 165/222] cec: add generic HDMI CEC driver Russell King
2014-04-25 11:48 ` Russell King [this message]
2014-04-25 11:48 ` [PATCH 167/222] ARM: imx: add HDMI support for SolidRun HummingBoard and Cubox-i Russell King
2014-04-25 11:48 ` [PATCH 168/222] ARM: imx: enable HDMI DRM support for imx_v6_v7_defconfig Russell King
2014-04-25 11:49 ` [PATCH 169/222] drm/i915: don't disable disconnected outputs Russell King
2014-04-25 11:49 ` [PATCH 170/222] drm: add generic ddc connector Russell King
2014-04-25 11:49 ` [PATCH 171/222] ARM: l2c: trial at enabling some Cortex-A9 optimisations Russell King
2014-04-25 11:49 ` [PATCH 172/222] ARM: l2c: move L2 cache register saving to a more sensible location Russell King
2014-04-25 11:50 ` [PATCH 173/222] ARM: l2c: always enable low power modes Russell King
2014-04-25 11:50 ` [PATCH 174/222] ARM: l2c: imx: remove direct write to power control register Russell King
2014-04-25 11:50 ` [PATCH 175/222] ARM: l2c: omap2: avoid reading directly from the L2 registers in platform code Russell King
2014-04-25 11:50 ` [PATCH 176/222] ARM: l2c: provide common PL310 early resume code Russell King
2014-04-25 11:50 ` [PATCH 177/222] ARM: l2c: exynos: convert to common l2c310 early resume functionality Russell King
2014-04-25 11:50 ` [PATCH 178/222] ARM: l2c: tegra: " Russell King
2014-04-25 11:50 ` [PATCH 179/222] ARM: l2c: imx: " Russell King
2014-04-25 11:50 ` [PATCH 180/222] ARM: l2c: always enable non-secure access to lockdown registers Russell King
2014-04-25 11:55 ` [PATCH 181/222] ARM: l2c: omap2+: get rid of redundant cache replacement policy setting Russell King
2014-04-25 11:55 ` [PATCH 182/222] ARM: l2c: omap2+: get rid of init call Russell King
2014-04-25 11:55 ` [PATCH 183/222] ARM: l2c: AM43x: add L2 cache support Russell King
2014-04-25 11:55 ` [PATCH 184/222] ARM: l2c: permit flush_all() on large flush_range() XXX Needs more thought XXX Russell King
2014-04-25 11:55 ` [PATCH 185/222] mmc: sdio_irq: rework sdio irq handling Russell King
2014-04-25 11:55 ` [PATCH 186/222] mmc: sdhci: clean up interrupt handling Russell King
2014-04-25 11:55 ` [PATCH 187/222] mmc: sdhci: clean up sdio interrupt enable handling Russell King
2014-04-25 11:55 ` [PATCH 188/222] mmc: sdhci: convert to new SDIO IRQ handling Russell King
2014-04-25 11:55 ` [PATCH 189/222] mmc: sdhci: push card_tasklet into threaded irq handler Russell King
2014-04-25 11:55 ` [PATCH 190/222] mmc: sdhci: allow sdio interrupts while sdhci runtime suspended Russell King
2014-04-25 11:56 ` [PATCH 191/222] mmc: sdhci: more efficient interrupt enable register handling Russell King
2014-04-25 11:57 ` [PATCH 192/222] mmc: sdhci: plug hole in disabling card detection interrupts Russell King
2014-04-25 11:57 ` [PATCH 193/222] mmc: sdhci: convert generic bus width setup to library function Russell King
2014-04-25 11:57 ` [PATCH 194/222] mmc: sdhci: convert reset into a " Russell King
2014-04-25 11:57 ` [PATCH 195/222] mmc: sdhci: move FSL ESDHC reset handling quirk into esdhc code Russell King
2014-04-25 11:58 ` [PATCH 196/222] mmc: sdhci: avoid sync'ing the SG if there's no misalignment Russell King
2014-04-25 11:58 ` [PATCH 197/222] mmc: sdhci: convert ADMA descriptors to a coherent allocation Russell King
2014-04-25 11:58 ` [PATCH 198/222] mmc: sdhci: clean up sdhci_update_clock()/sdhci_set_clock() Russell King
2014-04-25 11:58 ` [PATCH 199/222] mmc: sdhci: move setting host->clock into sdhci_do_set_ios() Russell King
2014-04-25 11:58 ` [PATCH 200/222] mmc: sdhci: move setting mmc->actual_clock into set_clock handlers Russell King
2014-04-25 11:58 ` [PATCH 201/222] mmc: sdhci: convert sdhci_set_clock() into a library function Russell King
2014-04-25 11:59 ` [PATCH 202/222] mmc: sdhci-esdhc-imx: avoid DMA to kernel stack Russell King
2014-04-25 11:59 ` [PATCH 203/222] mmc: sdhci-esdhc-imx: comment runtime_pm_get_sync() in esdhc_prepare_tuning() Russell King
2014-04-25 11:59 ` [PATCH 204/222] mmc: sdhci-esdhc-imx: fix lockdep splat upon tuning Russell King
2014-04-25 11:59 ` [PATCH 205/222] mmc: sdhci: hack up driver to make it more compliant with UHS-1 Russell King
2014-04-25 11:59 ` [PATCH 206/222] mmc: sdhci: set_uhs_signaling() need not return a value Russell King
2014-04-25 11:59 ` [PATCH 207/222] mmc: sdhci: convert sdhci_set_uhs_signaling() into a library function Russell King
2014-04-25 11:59 ` [PATCH 208/222] mmc: sdhci: cache timing information locally Russell King
2014-04-25 11:59 ` [PATCH 209/222] mmc: sdhci: clean up sdhci_execute_tuning() decision Russell King
2014-04-25 11:59 ` [PATCH 210/222] mmc: sdhci-esdhc-imx: remove emulation of uhs_mode Russell King
2014-04-25 11:59 ` [PATCH 211/222] mmc: sdhci-of-esdhc: remove platform_suspend/platform_resume callbacks Russell King
2014-04-25 11:59 ` [PATCH 212/222] mmc: sdhci: " Russell King
2014-04-25 11:59 ` [PATCH 213/222] mmc: sdhci-tegra: get rid of special PRESENT_STATE register handling Russell King
2014-04-25 12:00 ` [PATCH 214/222] mmc: sdhci: move regulator handling into sdhci_set_power() Russell King
2014-04-25 12:00 ` [PATCH 215/222] mmc: sdhci: move remaining power " Russell King
2014-04-25 12:00 ` [PATCH 216/222] mmc: sdhci: track whether preset mode is currently enabled in hardware Russell King
2014-04-25 12:00 ` [PATCH 217/222] mmc: sdhci: fix SDHCI dependencies Russell King
2014-04-25 12:00 ` [PATCH 218/222] mmc: add support for power-on sequencing through DT Russell King
2014-04-25 12:00 ` [PATCH 219/222] mmc: dw_mmc: call mmc_of_parse to fill in common options Russell King
2014-04-25 12:00 ` [PATCH 220/222] mmc: fix power-on sequencing for esdhc-imx driver Russell King
2014-04-25 12:00 ` [PATCH 221/222] ARM: cubox-i: add support for SD UHS-1 cards Russell King
2014-04-25 12:00 ` [PATCH 222/222] ARM: cubox-i: add support for Wifi/BT Russell King
2014-04-25 13:50 ` [PATCH 000/222] The *Full* Cubox-i series Thierry Reding
2014-04-25 14:15   ` Russell King - ARM Linux
2014-04-25 14:22     ` Thierry Reding
2014-04-25 14:26       ` Russell King - ARM Linux
2014-04-25 19:50     ` Kevin Hilman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1WdecF-0007OT-Az@rmk-PC.arm.linux.org.uk \
    --to=rmk+kernel@arm.linux.org.uk \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).