From: Jean-Francois Moine <moinejf@free.fr>
To: Russell King - ARM Linux <linux@arm.linux.org.uk>,
devicetree@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org,
dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org
Subject: [PATCH v2] drm/i2c: tda998x: Change the compatible strings
Date: Fri, 21 Mar 2014 11:55:41 +0100 [thread overview]
Message-ID: <20140321115541.01cbbb06@armhf> (raw)
The tda998x driver accepts only 3 chips from the TDA998x family.
This patch changes the driver compatible strings to these chips.
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
---
v2: change the subject to drm/i2c
This patch applies after
drm/i2c: tda998x: Fix lack of required reg in DT documentation
---
Documentation/devicetree/bindings/drm/i2c/tda998x.txt | 4 ++--
drivers/gpu/drm/i2c/tda998x_drv.c | 4 +++-
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/drm/i2c/tda998x.txt b/Documentation/devicetree/bindings/drm/i2c/tda998x.txt
index fc7effa..e3f3d65 100644
--- a/Documentation/devicetree/bindings/drm/i2c/tda998x.txt
+++ b/Documentation/devicetree/bindings/drm/i2c/tda998x.txt
@@ -1,7 +1,7 @@
Device-Tree bindings for the NXP TDA998x HDMI transmitter
Required properties;
- - compatible: must be "nxp,tda998x"
+ - compatible: may be "nxp,tda9989", "nxp,tda19988" or "nxp,tda19989"
- reg: I2C address
@@ -20,7 +20,7 @@ Optional properties:
Example:
tda998x: hdmi-encoder {
- compatible = "nxp,tda998x";
+ compatible = "nxp,tda19988";
reg = <0x70>;
interrupt-parent = <&gpio0>;
interrupts = <27 2>; /* falling edge */
diff --git a/drivers/gpu/drm/i2c/tda998x_drv.c b/drivers/gpu/drm/i2c/tda998x_drv.c
index 48af5ca..fd6751c 100644
--- a/drivers/gpu/drm/i2c/tda998x_drv.c
+++ b/drivers/gpu/drm/i2c/tda998x_drv.c
@@ -1367,7 +1367,9 @@ fail:
#ifdef CONFIG_OF
static const struct of_device_id tda998x_dt_ids[] = {
- { .compatible = "nxp,tda998x", },
+ { .compatible = "nxp,tda9989", },
+ { .compatible = "nxp,tda19988", },
+ { .compatible = "nxp,tda19989", },
{ }
};
MODULE_DEVICE_TABLE(of, tda998x_dt_ids);
--
1.9.1
next reply other threads:[~2014-03-21 10:55 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-21 10:55 Jean-Francois Moine [this message]
2014-03-21 13:37 ` [PATCH v2] drm/i2c: tda998x: Change the compatible strings Sebastian Hesselbarth
2014-03-23 10:19 ` Jean-Francois Moine
2014-03-23 18:12 ` Sebastian Hesselbarth
2014-03-23 20:03 ` Russell King - ARM Linux
[not found] ` <20140323200334.GP7528-l+eeeJia6m9vn6HldHNs0ANdhmdF6hFW@public.gmane.org>
2014-03-23 22:44 ` Sebastian Hesselbarth
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=20140321115541.01cbbb06@armhf \
--to=moinejf@free.fr \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
/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).