2013-05-24 18:20:14 +07:00
|
|
|
/*
|
|
|
|
* TPD12S015 HDMI ESD protection & level shifter chip driver
|
|
|
|
*
|
2017-12-06 03:29:31 +07:00
|
|
|
* Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
|
2013-05-24 18:20:14 +07:00
|
|
|
* Author: Tomi Valkeinen <tomi.valkeinen@ti.com>
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
|
|
* under the terms of the GNU General Public License version 2 as published by
|
|
|
|
* the Free Software Foundation.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <linux/completion.h>
|
|
|
|
#include <linux/delay.h>
|
|
|
|
#include <linux/module.h>
|
|
|
|
#include <linux/slab.h>
|
|
|
|
#include <linux/platform_device.h>
|
2015-11-04 04:22:49 +07:00
|
|
|
#include <linux/gpio/consumer.h>
|
2017-06-02 19:26:37 +07:00
|
|
|
#include <linux/mutex.h>
|
2013-05-24 18:20:14 +07:00
|
|
|
|
2016-05-27 18:40:49 +07:00
|
|
|
#include "../dss/omapdss.h"
|
2013-05-24 18:20:14 +07:00
|
|
|
|
|
|
|
struct panel_drv_data {
|
|
|
|
struct omap_dss_device dssdev;
|
|
|
|
struct omap_dss_device *in;
|
2017-06-02 19:26:37 +07:00
|
|
|
void (*hpd_cb)(void *cb_data, enum drm_connector_status status);
|
|
|
|
void *hpd_cb_data;
|
|
|
|
bool hpd_enabled;
|
|
|
|
struct mutex hpd_lock;
|
2013-05-24 18:20:14 +07:00
|
|
|
|
2015-11-04 04:22:49 +07:00
|
|
|
struct gpio_desc *ct_cp_hpd_gpio;
|
|
|
|
struct gpio_desc *ls_oe_gpio;
|
|
|
|
struct gpio_desc *hpd_gpio;
|
2013-05-24 18:20:14 +07:00
|
|
|
|
2016-09-22 18:07:04 +07:00
|
|
|
struct videomode vm;
|
2013-05-24 18:20:14 +07:00
|
|
|
};
|
|
|
|
|
|
|
|
#define to_panel_data(x) container_of(x, struct panel_drv_data, dssdev)
|
|
|
|
|
|
|
|
static int tpd_connect(struct omap_dss_device *dssdev,
|
|
|
|
struct omap_dss_device *dst)
|
|
|
|
{
|
|
|
|
struct panel_drv_data *ddata = to_panel_data(dssdev);
|
|
|
|
struct omap_dss_device *in = ddata->in;
|
|
|
|
int r;
|
|
|
|
|
|
|
|
r = in->ops.hdmi->connect(in, dssdev);
|
|
|
|
if (r)
|
|
|
|
return r;
|
|
|
|
|
2013-07-24 17:01:34 +07:00
|
|
|
dst->src = dssdev;
|
2013-07-24 17:06:54 +07:00
|
|
|
dssdev->dst = dst;
|
2013-05-24 18:20:14 +07:00
|
|
|
|
2015-11-04 04:22:49 +07:00
|
|
|
gpiod_set_value_cansleep(ddata->ct_cp_hpd_gpio, 1);
|
2017-08-02 15:54:00 +07:00
|
|
|
gpiod_set_value_cansleep(ddata->ls_oe_gpio, 1);
|
|
|
|
|
2013-05-24 18:20:14 +07:00
|
|
|
/* DC-DC converter needs at max 300us to get to 90% of 5V */
|
|
|
|
udelay(300);
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
static void tpd_disconnect(struct omap_dss_device *dssdev,
|
|
|
|
struct omap_dss_device *dst)
|
|
|
|
{
|
|
|
|
struct panel_drv_data *ddata = to_panel_data(dssdev);
|
|
|
|
struct omap_dss_device *in = ddata->in;
|
|
|
|
|
2013-07-24 17:06:54 +07:00
|
|
|
WARN_ON(dst != dssdev->dst);
|
2013-05-24 18:20:14 +07:00
|
|
|
|
2013-07-24 17:06:54 +07:00
|
|
|
if (dst != dssdev->dst)
|
2013-05-24 18:20:14 +07:00
|
|
|
return;
|
|
|
|
|
2015-11-04 04:22:49 +07:00
|
|
|
gpiod_set_value_cansleep(ddata->ct_cp_hpd_gpio, 0);
|
2017-08-02 15:54:00 +07:00
|
|
|
gpiod_set_value_cansleep(ddata->ls_oe_gpio, 0);
|
2013-05-24 18:20:14 +07:00
|
|
|
|
2013-07-24 17:01:34 +07:00
|
|
|
dst->src = NULL;
|
2013-07-24 17:06:54 +07:00
|
|
|
dssdev->dst = NULL;
|
2013-05-24 18:20:14 +07:00
|
|
|
|
|
|
|
in->ops.hdmi->disconnect(in, &ddata->dssdev);
|
|
|
|
}
|
|
|
|
|
|
|
|
static int tpd_enable(struct omap_dss_device *dssdev)
|
|
|
|
{
|
|
|
|
struct panel_drv_data *ddata = to_panel_data(dssdev);
|
|
|
|
struct omap_dss_device *in = ddata->in;
|
|
|
|
int r;
|
|
|
|
|
|
|
|
if (dssdev->state == OMAP_DSS_DISPLAY_ACTIVE)
|
|
|
|
return 0;
|
|
|
|
|
2016-09-22 18:07:04 +07:00
|
|
|
in->ops.hdmi->set_timings(in, &ddata->vm);
|
2013-05-24 18:20:14 +07:00
|
|
|
|
|
|
|
r = in->ops.hdmi->enable(in);
|
|
|
|
if (r)
|
|
|
|
return r;
|
|
|
|
|
|
|
|
dssdev->state = OMAP_DSS_DISPLAY_ACTIVE;
|
|
|
|
|
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
|
|
|
static void tpd_disable(struct omap_dss_device *dssdev)
|
|
|
|
{
|
|
|
|
struct panel_drv_data *ddata = to_panel_data(dssdev);
|
|
|
|
struct omap_dss_device *in = ddata->in;
|
|
|
|
|
|
|
|
if (dssdev->state != OMAP_DSS_DISPLAY_ACTIVE)
|
|
|
|
return;
|
|
|
|
|
|
|
|
in->ops.hdmi->disable(in);
|
|
|
|
|
|
|
|
dssdev->state = OMAP_DSS_DISPLAY_DISABLED;
|
|
|
|
}
|
|
|
|
|
|
|
|
static void tpd_set_timings(struct omap_dss_device *dssdev,
|
2016-09-22 18:07:04 +07:00
|
|
|
struct videomode *vm)
|
2013-05-24 18:20:14 +07:00
|
|
|
{
|
|
|
|
struct panel_drv_data *ddata = to_panel_data(dssdev);
|
|
|
|
struct omap_dss_device *in = ddata->in;
|
|
|
|
|
2016-09-22 18:07:04 +07:00
|
|
|
ddata->vm = *vm;
|
|
|
|
dssdev->panel.vm = *vm;
|
2013-05-24 18:20:14 +07:00
|
|
|
|
2016-09-22 18:07:04 +07:00
|
|
|
in->ops.hdmi->set_timings(in, vm);
|
2013-05-24 18:20:14 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
static void tpd_get_timings(struct omap_dss_device *dssdev,
|
2016-09-22 18:07:04 +07:00
|
|
|
struct videomode *vm)
|
2013-05-24 18:20:14 +07:00
|
|
|
{
|
|
|
|
struct panel_drv_data *ddata = to_panel_data(dssdev);
|
|
|
|
|
2016-09-22 18:07:04 +07:00
|
|
|
*vm = ddata->vm;
|
2013-05-24 18:20:14 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
static int tpd_check_timings(struct omap_dss_device *dssdev,
|
2016-09-22 18:07:04 +07:00
|
|
|
struct videomode *vm)
|
2013-05-24 18:20:14 +07:00
|
|
|
{
|
|
|
|
struct panel_drv_data *ddata = to_panel_data(dssdev);
|
|
|
|
struct omap_dss_device *in = ddata->in;
|
|
|
|
int r;
|
|
|
|
|
2016-09-22 18:07:04 +07:00
|
|
|
r = in->ops.hdmi->check_timings(in, vm);
|
2013-05-24 18:20:14 +07:00
|
|
|
|
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
|
|
|
static int tpd_read_edid(struct omap_dss_device *dssdev,
|
|
|
|
u8 *edid, int len)
|
|
|
|
{
|
|
|
|
struct panel_drv_data *ddata = to_panel_data(dssdev);
|
|
|
|
struct omap_dss_device *in = ddata->in;
|
|
|
|
|
2015-11-04 04:22:49 +07:00
|
|
|
if (!gpiod_get_value_cansleep(ddata->hpd_gpio))
|
2013-05-24 18:20:14 +07:00
|
|
|
return -ENODEV;
|
|
|
|
|
2017-08-02 15:54:00 +07:00
|
|
|
return in->ops.hdmi->read_edid(in, edid, len);
|
2013-05-24 18:20:14 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
static bool tpd_detect(struct omap_dss_device *dssdev)
|
|
|
|
{
|
|
|
|
struct panel_drv_data *ddata = to_panel_data(dssdev);
|
2017-08-17 20:19:57 +07:00
|
|
|
struct omap_dss_device *in = ddata->in;
|
|
|
|
bool connected = gpiod_get_value_cansleep(ddata->hpd_gpio);
|
2013-05-24 18:20:14 +07:00
|
|
|
|
2017-08-17 20:19:57 +07:00
|
|
|
if (!connected && in->ops.hdmi->lost_hotplug)
|
|
|
|
in->ops.hdmi->lost_hotplug(in);
|
|
|
|
return connected;
|
2013-05-24 18:20:14 +07:00
|
|
|
}
|
|
|
|
|
2017-06-02 19:26:37 +07:00
|
|
|
static int tpd_register_hpd_cb(struct omap_dss_device *dssdev,
|
|
|
|
void (*cb)(void *cb_data,
|
|
|
|
enum drm_connector_status status),
|
|
|
|
void *cb_data)
|
|
|
|
{
|
|
|
|
struct panel_drv_data *ddata = to_panel_data(dssdev);
|
|
|
|
|
|
|
|
mutex_lock(&ddata->hpd_lock);
|
|
|
|
ddata->hpd_cb = cb;
|
|
|
|
ddata->hpd_cb_data = cb_data;
|
|
|
|
mutex_unlock(&ddata->hpd_lock);
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
static void tpd_unregister_hpd_cb(struct omap_dss_device *dssdev)
|
|
|
|
{
|
|
|
|
struct panel_drv_data *ddata = to_panel_data(dssdev);
|
|
|
|
|
|
|
|
mutex_lock(&ddata->hpd_lock);
|
|
|
|
ddata->hpd_cb = NULL;
|
|
|
|
ddata->hpd_cb_data = NULL;
|
|
|
|
mutex_unlock(&ddata->hpd_lock);
|
|
|
|
}
|
|
|
|
|
|
|
|
static void tpd_enable_hpd(struct omap_dss_device *dssdev)
|
|
|
|
{
|
|
|
|
struct panel_drv_data *ddata = to_panel_data(dssdev);
|
|
|
|
|
|
|
|
mutex_lock(&ddata->hpd_lock);
|
|
|
|
ddata->hpd_enabled = true;
|
|
|
|
mutex_unlock(&ddata->hpd_lock);
|
|
|
|
}
|
|
|
|
|
|
|
|
static void tpd_disable_hpd(struct omap_dss_device *dssdev)
|
|
|
|
{
|
|
|
|
struct panel_drv_data *ddata = to_panel_data(dssdev);
|
|
|
|
|
|
|
|
mutex_lock(&ddata->hpd_lock);
|
|
|
|
ddata->hpd_enabled = false;
|
|
|
|
mutex_unlock(&ddata->hpd_lock);
|
|
|
|
}
|
|
|
|
|
2014-06-18 16:58:02 +07:00
|
|
|
static int tpd_set_infoframe(struct omap_dss_device *dssdev,
|
|
|
|
const struct hdmi_avi_infoframe *avi)
|
|
|
|
{
|
|
|
|
struct panel_drv_data *ddata = to_panel_data(dssdev);
|
|
|
|
struct omap_dss_device *in = ddata->in;
|
|
|
|
|
|
|
|
return in->ops.hdmi->set_infoframe(in, avi);
|
|
|
|
}
|
|
|
|
|
|
|
|
static int tpd_set_hdmi_mode(struct omap_dss_device *dssdev,
|
|
|
|
bool hdmi_mode)
|
|
|
|
{
|
|
|
|
struct panel_drv_data *ddata = to_panel_data(dssdev);
|
|
|
|
struct omap_dss_device *in = ddata->in;
|
|
|
|
|
|
|
|
return in->ops.hdmi->set_hdmi_mode(in, hdmi_mode);
|
|
|
|
}
|
|
|
|
|
2013-05-24 18:20:14 +07:00
|
|
|
static const struct omapdss_hdmi_ops tpd_hdmi_ops = {
|
|
|
|
.connect = tpd_connect,
|
|
|
|
.disconnect = tpd_disconnect,
|
|
|
|
|
|
|
|
.enable = tpd_enable,
|
|
|
|
.disable = tpd_disable,
|
|
|
|
|
|
|
|
.check_timings = tpd_check_timings,
|
|
|
|
.set_timings = tpd_set_timings,
|
|
|
|
.get_timings = tpd_get_timings,
|
|
|
|
|
|
|
|
.read_edid = tpd_read_edid,
|
|
|
|
.detect = tpd_detect,
|
2017-06-02 19:26:37 +07:00
|
|
|
.register_hpd_cb = tpd_register_hpd_cb,
|
|
|
|
.unregister_hpd_cb = tpd_unregister_hpd_cb,
|
|
|
|
.enable_hpd = tpd_enable_hpd,
|
|
|
|
.disable_hpd = tpd_disable_hpd,
|
2014-06-18 16:58:02 +07:00
|
|
|
.set_infoframe = tpd_set_infoframe,
|
|
|
|
.set_hdmi_mode = tpd_set_hdmi_mode,
|
2013-05-24 18:20:14 +07:00
|
|
|
};
|
|
|
|
|
2017-06-02 19:26:37 +07:00
|
|
|
static irqreturn_t tpd_hpd_isr(int irq, void *data)
|
|
|
|
{
|
|
|
|
struct panel_drv_data *ddata = data;
|
|
|
|
|
|
|
|
mutex_lock(&ddata->hpd_lock);
|
|
|
|
if (ddata->hpd_enabled && ddata->hpd_cb) {
|
|
|
|
enum drm_connector_status status;
|
|
|
|
|
|
|
|
if (tpd_detect(&ddata->dssdev))
|
|
|
|
status = connector_status_connected;
|
|
|
|
else
|
|
|
|
status = connector_status_disconnected;
|
|
|
|
|
|
|
|
ddata->hpd_cb(ddata->hpd_cb_data, status);
|
|
|
|
}
|
|
|
|
mutex_unlock(&ddata->hpd_lock);
|
|
|
|
|
|
|
|
return IRQ_HANDLED;
|
|
|
|
}
|
|
|
|
|
2013-07-30 14:37:17 +07:00
|
|
|
static int tpd_probe_of(struct platform_device *pdev)
|
|
|
|
{
|
|
|
|
struct panel_drv_data *ddata = platform_get_drvdata(pdev);
|
|
|
|
struct device_node *node = pdev->dev.of_node;
|
|
|
|
struct omap_dss_device *in;
|
|
|
|
|
|
|
|
in = omapdss_of_find_source_for_first_ep(node);
|
|
|
|
if (IS_ERR(in)) {
|
|
|
|
dev_err(&pdev->dev, "failed to find video source\n");
|
|
|
|
return PTR_ERR(in);
|
|
|
|
}
|
|
|
|
|
|
|
|
ddata->in = in;
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2013-05-24 18:20:14 +07:00
|
|
|
static int tpd_probe(struct platform_device *pdev)
|
|
|
|
{
|
|
|
|
struct omap_dss_device *in, *dssdev;
|
|
|
|
struct panel_drv_data *ddata;
|
|
|
|
int r;
|
2015-11-04 04:22:49 +07:00
|
|
|
struct gpio_desc *gpio;
|
2013-05-24 18:20:14 +07:00
|
|
|
|
|
|
|
ddata = devm_kzalloc(&pdev->dev, sizeof(*ddata), GFP_KERNEL);
|
|
|
|
if (!ddata)
|
|
|
|
return -ENOMEM;
|
|
|
|
|
|
|
|
platform_set_drvdata(pdev, ddata);
|
|
|
|
|
2015-11-04 04:22:48 +07:00
|
|
|
if (!pdev->dev.of_node)
|
2013-05-24 18:20:14 +07:00
|
|
|
return -ENODEV;
|
2015-11-04 04:22:48 +07:00
|
|
|
|
|
|
|
r = tpd_probe_of(pdev);
|
|
|
|
if (r)
|
|
|
|
return r;
|
2013-05-24 18:20:14 +07:00
|
|
|
|
2015-11-04 04:22:50 +07:00
|
|
|
gpio = devm_gpiod_get_index_optional(&pdev->dev, NULL, 0,
|
2015-11-04 04:22:49 +07:00
|
|
|
GPIOD_OUT_LOW);
|
2016-11-22 15:11:07 +07:00
|
|
|
if (IS_ERR(gpio)) {
|
|
|
|
r = PTR_ERR(gpio);
|
2013-05-24 18:20:14 +07:00
|
|
|
goto err_gpio;
|
2016-11-22 15:11:07 +07:00
|
|
|
}
|
2013-05-24 18:20:14 +07:00
|
|
|
|
2015-11-04 04:22:49 +07:00
|
|
|
ddata->ct_cp_hpd_gpio = gpio;
|
2013-05-24 18:20:14 +07:00
|
|
|
|
2015-11-04 04:22:49 +07:00
|
|
|
gpio = devm_gpiod_get_index_optional(&pdev->dev, NULL, 1,
|
|
|
|
GPIOD_OUT_LOW);
|
2016-11-22 15:11:07 +07:00
|
|
|
if (IS_ERR(gpio)) {
|
|
|
|
r = PTR_ERR(gpio);
|
2013-05-24 18:20:14 +07:00
|
|
|
goto err_gpio;
|
2016-11-22 15:11:07 +07:00
|
|
|
}
|
2013-05-24 18:20:14 +07:00
|
|
|
|
2015-11-04 04:22:49 +07:00
|
|
|
ddata->ls_oe_gpio = gpio;
|
|
|
|
|
|
|
|
gpio = devm_gpiod_get_index(&pdev->dev, NULL, 2,
|
|
|
|
GPIOD_IN);
|
2016-11-22 15:11:07 +07:00
|
|
|
if (IS_ERR(gpio)) {
|
|
|
|
r = PTR_ERR(gpio);
|
2015-11-04 04:22:49 +07:00
|
|
|
goto err_gpio;
|
2016-11-22 15:11:07 +07:00
|
|
|
}
|
2015-11-04 04:22:49 +07:00
|
|
|
|
|
|
|
ddata->hpd_gpio = gpio;
|
|
|
|
|
2017-06-02 19:26:37 +07:00
|
|
|
mutex_init(&ddata->hpd_lock);
|
|
|
|
|
|
|
|
r = devm_request_threaded_irq(&pdev->dev, gpiod_to_irq(ddata->hpd_gpio),
|
|
|
|
NULL, tpd_hpd_isr,
|
|
|
|
IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING | IRQF_ONESHOT,
|
|
|
|
"tpd12s015 hpd", ddata);
|
|
|
|
if (r)
|
|
|
|
goto err_gpio;
|
|
|
|
|
2013-05-24 18:20:14 +07:00
|
|
|
dssdev = &ddata->dssdev;
|
|
|
|
dssdev->ops.hdmi = &tpd_hdmi_ops;
|
|
|
|
dssdev->dev = &pdev->dev;
|
|
|
|
dssdev->type = OMAP_DISPLAY_TYPE_HDMI;
|
|
|
|
dssdev->output_type = OMAP_DISPLAY_TYPE_HDMI;
|
|
|
|
dssdev->owner = THIS_MODULE;
|
OMAPDSS: DT: Get source endpoint by matching reg-id
In omapdss_of_find_source_for_first_ep, we retrieve a source endpoint's DT node,
and then see what omapdss output has the matching device_node pointer in
omap_dss_find_output_by_node.
For all DPI and SDI outputs, the device_node pointer is set as the parent's DSS
device_node pointer. If the source is one of these outputs, the above method
won't work.
To get the correct output for ports within DSS(and in other cases in the future,
where multiple ports might be under one device), we require additional
information which is exclusive to the output port.
We create a new field in omap_dss_device called 'port_num', this provides port
number of the output port corresponding to this device. When searching for the
source endpoint in DT, we extract the 'reg' property from the port corresponding
to the endpoint source. From the list of registered outputs, we pick out that
output which has both dev->of_node and port_num matching with the device_node
pointer and 'reg' of the source endpoint node from DT.
For encoder blocks(the ones which have both an input and output port), we need
to set the port_num as the 'reg' property for the output port as defined in the
DT bindings. We set port_num to 1 in the tfp410 and tpd12s015 encoder drivers.
Signed-off-by: Archit Taneja <archit@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2014-04-22 19:13:48 +07:00
|
|
|
dssdev->port_num = 1;
|
2013-05-24 18:20:14 +07:00
|
|
|
|
|
|
|
in = ddata->in;
|
|
|
|
|
|
|
|
r = omapdss_register_output(dssdev);
|
|
|
|
if (r) {
|
|
|
|
dev_err(&pdev->dev, "Failed to register output\n");
|
|
|
|
goto err_reg;
|
|
|
|
}
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
err_reg:
|
|
|
|
err_gpio:
|
|
|
|
omap_dss_put_device(ddata->in);
|
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
|
|
|
static int __exit tpd_remove(struct platform_device *pdev)
|
|
|
|
{
|
|
|
|
struct panel_drv_data *ddata = platform_get_drvdata(pdev);
|
|
|
|
struct omap_dss_device *dssdev = &ddata->dssdev;
|
|
|
|
struct omap_dss_device *in = ddata->in;
|
|
|
|
|
|
|
|
omapdss_unregister_output(&ddata->dssdev);
|
|
|
|
|
|
|
|
WARN_ON(omapdss_device_is_enabled(dssdev));
|
|
|
|
if (omapdss_device_is_enabled(dssdev))
|
|
|
|
tpd_disable(dssdev);
|
|
|
|
|
|
|
|
WARN_ON(omapdss_device_is_connected(dssdev));
|
|
|
|
if (omapdss_device_is_connected(dssdev))
|
2013-07-24 17:06:54 +07:00
|
|
|
tpd_disconnect(dssdev, dssdev->dst);
|
2013-05-24 18:20:14 +07:00
|
|
|
|
|
|
|
omap_dss_put_device(in);
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2013-07-30 14:37:17 +07:00
|
|
|
static const struct of_device_id tpd_of_match[] = {
|
|
|
|
{ .compatible = "omapdss,ti,tpd12s015", },
|
|
|
|
{},
|
|
|
|
};
|
|
|
|
|
|
|
|
MODULE_DEVICE_TABLE(of, tpd_of_match);
|
|
|
|
|
2013-05-24 18:20:14 +07:00
|
|
|
static struct platform_driver tpd_driver = {
|
|
|
|
.probe = tpd_probe,
|
|
|
|
.remove = __exit_p(tpd_remove),
|
|
|
|
.driver = {
|
|
|
|
.name = "tpd12s015",
|
2013-07-30 14:37:17 +07:00
|
|
|
.of_match_table = tpd_of_match,
|
2014-10-16 13:54:25 +07:00
|
|
|
.suppress_bind_attrs = true,
|
2013-05-24 18:20:14 +07:00
|
|
|
},
|
|
|
|
};
|
|
|
|
|
|
|
|
module_platform_driver(tpd_driver);
|
|
|
|
|
|
|
|
MODULE_AUTHOR("Tomi Valkeinen <tomi.valkeinen@ti.com>");
|
|
|
|
MODULE_DESCRIPTION("TPD12S015 driver");
|
|
|
|
MODULE_LICENSE("GPL");
|