diff options
author | Rahul Sharma <rahul.sharma@samsung.com> | 2012-10-04 11:18:50 -0400 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2012-10-05 06:15:04 -0400 |
commit | 93c645ee14f2e40cf2a21e6dc88cdd1c800d392a (patch) | |
tree | 495e64cd7d28679e4379706131d486bf8735dde9 /drivers/gpu | |
parent | 9ff15948c5d533836e0621d21b867df020ef0571 (diff) |
drm: exynos: hdmi: add support for exynos5 hdmiphy
This patch adds support for exynos5 hdmi phy with device tree enabled.
Signed-off-by: Rahul Sharma <rahul.sharma@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_hdmiphy.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_hdmiphy.c b/drivers/gpu/drm/exynos/exynos_hdmiphy.c index 9fe2995ab9f9..a33073b03fff 100644 --- a/drivers/gpu/drm/exynos/exynos_hdmiphy.c +++ b/drivers/gpu/drm/exynos/exynos_hdmiphy.c | |||
@@ -42,13 +42,23 @@ static int hdmiphy_remove(struct i2c_client *client) | |||
42 | 42 | ||
43 | static const struct i2c_device_id hdmiphy_id[] = { | 43 | static const struct i2c_device_id hdmiphy_id[] = { |
44 | { "s5p_hdmiphy", 0 }, | 44 | { "s5p_hdmiphy", 0 }, |
45 | { "exynos5-hdmiphy", 0 }, | ||
45 | { }, | 46 | { }, |
46 | }; | 47 | }; |
47 | 48 | ||
49 | static struct of_device_id hdmiphy_match_types[] = { | ||
50 | { | ||
51 | .compatible = "samsung,exynos5-hdmiphy", | ||
52 | }, { | ||
53 | /* end node */ | ||
54 | } | ||
55 | }; | ||
56 | |||
48 | struct i2c_driver hdmiphy_driver = { | 57 | struct i2c_driver hdmiphy_driver = { |
49 | .driver = { | 58 | .driver = { |
50 | .name = "s5p-hdmiphy", | 59 | .name = "exynos-hdmiphy", |
51 | .owner = THIS_MODULE, | 60 | .owner = THIS_MODULE, |
61 | .of_match_table = hdmiphy_match_types, | ||
52 | }, | 62 | }, |
53 | .id_table = hdmiphy_id, | 63 | .id_table = hdmiphy_id, |
54 | .probe = hdmiphy_probe, | 64 | .probe = hdmiphy_probe, |