mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-22 16:08:58 +07:00
a5a0fc6743
Inki writes: "this patch set updates exynos drm framework and includes minor fixups. and this pull request except hdmi device tree support patch set posted by Rahul Sharma because that includes media side patch so for this patch set, we may have git pull one more time in addition, if we get an agreement with media guys. for this patch, you can refer to below link, http://comments.gmane.org/gmane.comp.video.dri.devel/74504 this pull request adds hdmi device tree support and includes related patch set such as disabling of hdmi internal interrupt, suppport for platform variants for hdmi and mixer, support to disable video processor based on platform type and removal of drm common platform data. as you know, this patch set was delayed because it included an media side patch. so for this, we got an ack from v4l2-based hdmi driver author, Tomasz Stanislawski." * 'exynos-drm-next' of git://git.infradead.org/users/kmpark/linux-samsung: (34 commits) drm: exynos: hdmi: remove drm common hdmi platform data struct drm: exynos: hdmi: add support for exynos5 hdmi drm: exynos: hdmi: replace is_v13 with version check in hdmi drm: exynos: hdmi: add support for exynos5 mixer drm: exynos: hdmi: add support to disable video processor in mixer drm: exynos: hdmi: add support for platform variants for mixer drm: exynos: hdmi: add support for exynos5 hdmiphy drm: exynos: hdmi: add support for exynos5 ddc drm: exynos: remove drm hdmi platform data struct drm: exynos: hdmi: turn off HPD interrupt in HDMI chip drm: exynos: hdmi: use s5p-hdmi platform data drm: exynos: hdmi: fix interrupt handling drm: exynos: hdmi: support for platform variants media: s5p-hdmi: add HPD GPIO to platform data drm/exynos: fix kcalloc size of g2d cmdlist node drm/exynos: fix to calculate CRTC shown via screen drm/exynos: fix display power call issue. drm/exynos: add platform_device_id table and driver data for drm fimd drm/exynos: Fix potential NULL pointer dereference drm/exynos: support drm_wait_vblank feature for VIDI ... Conflicts: include/drm/exynos_drm.h
69 lines
1.5 KiB
C
69 lines
1.5 KiB
C
/*
|
|
* Copyright (C) 2011 Samsung Electronics Co.Ltd
|
|
* Authors:
|
|
* Seung-Woo Kim <sw0312.kim@samsung.com>
|
|
* Inki Dae <inki.dae@samsung.com>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
* under the terms of the GNU General Public License as published by the
|
|
* Free Software Foundation; either version 2 of the License, or (at your
|
|
* option) any later version.
|
|
*
|
|
*/
|
|
|
|
#include <drm/drmP.h>
|
|
|
|
#include <linux/kernel.h>
|
|
#include <linux/i2c.h>
|
|
#include <linux/module.h>
|
|
|
|
#include "exynos_drm_drv.h"
|
|
#include "exynos_hdmi.h"
|
|
|
|
|
|
static int hdmiphy_probe(struct i2c_client *client,
|
|
const struct i2c_device_id *id)
|
|
{
|
|
hdmi_attach_hdmiphy_client(client);
|
|
|
|
dev_info(&client->adapter->dev, "attached s5p_hdmiphy "
|
|
"into i2c adapter successfully\n");
|
|
|
|
return 0;
|
|
}
|
|
|
|
static int hdmiphy_remove(struct i2c_client *client)
|
|
{
|
|
dev_info(&client->adapter->dev, "detached s5p_hdmiphy "
|
|
"from i2c adapter successfully\n");
|
|
|
|
return 0;
|
|
}
|
|
|
|
static const struct i2c_device_id hdmiphy_id[] = {
|
|
{ "s5p_hdmiphy", 0 },
|
|
{ "exynos5-hdmiphy", 0 },
|
|
{ },
|
|
};
|
|
|
|
static struct of_device_id hdmiphy_match_types[] = {
|
|
{
|
|
.compatible = "samsung,exynos5-hdmiphy",
|
|
}, {
|
|
/* end node */
|
|
}
|
|
};
|
|
|
|
struct i2c_driver hdmiphy_driver = {
|
|
.driver = {
|
|
.name = "exynos-hdmiphy",
|
|
.owner = THIS_MODULE,
|
|
.of_match_table = hdmiphy_match_types,
|
|
},
|
|
.id_table = hdmiphy_id,
|
|
.probe = hdmiphy_probe,
|
|
.remove = __devexit_p(hdmiphy_remove),
|
|
.command = NULL,
|
|
};
|
|
EXPORT_SYMBOL(hdmiphy_driver);
|