[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1409926773-30696-2-git-send-email-jean-michel.hautbois@vodalys.com>
Date: Fri, 5 Sep 2014 16:19:33 +0200
From: Jean-Michel Hautbois <jean-michel.hautbois@...alys.com>
To: linux-kernel@...r.kernel.org, linux-media@...r.kernel.org,
devicetree@...r.kernel.org
Cc: m.chehab@...sung.com, hans.verkuil@...co.com,
laurent.pinchart@...asonboard.com, mark.rutland@....com,
lars@...afoo.de,
Jean-Michel Hautbois <jean-michel.hautbois@...alys.com>
Subject: [PATCH 2/2] adv7604: Add DT parsing support
This allows specifying I²C secodnary addresses different from default ones.
Signed-off-by: Jean-Michel Hautbois <jean-michel.hautbois@...alys.com>
---
drivers/media/i2c/adv7604.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/media/i2c/adv7604.c b/drivers/media/i2c/adv7604.c
index 8336c02..75613a4 100644
--- a/drivers/media/i2c/adv7604.c
+++ b/drivers/media/i2c/adv7604.c
@@ -2705,6 +2705,7 @@ MODULE_DEVICE_TABLE(i2c, adv7604_i2c_id);
static struct of_device_id adv7604_of_id[] __maybe_unused = {
{ .compatible = "adi,adv7611", .data = &adv7604_chip_info[ADV7611] },
+ { .compatible = "adi,adv7604", .data = &adv7604_chip_info[ADV7604] },
{ }
};
MODULE_DEVICE_TABLE(of, adv7604_of_id);
--
2.0.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists