Version:  2.0.40 2.2.26 2.4.37 2.6.39 3.0 3.1 3.2 3.3 3.4 3.5 3.6 3.7 3.8 3.9 3.10 3.11 3.12 3.13 3.14 3.15

Linux/drivers/gpu/drm/exynos/exynos_hdmiphy.c

  1 /*
  2  * Copyright (C) 2011 Samsung Electronics Co.Ltd
  3  * Authors:
  4  *      Seung-Woo Kim <sw0312.kim@samsung.com>
  5  *      Inki Dae <inki.dae@samsung.com>
  6  *
  7  * This program is free software; you can redistribute  it and/or modify it
  8  * under  the terms of  the GNU General  Public License as published by the
  9  * Free Software Foundation;  either version 2 of the  License, or (at your
 10  * option) any later version.
 11  *
 12  */
 13 
 14 #include <drm/drmP.h>
 15 
 16 #include <linux/kernel.h>
 17 #include <linux/i2c.h>
 18 #include <linux/of.h>
 19 
 20 #include "exynos_drm_drv.h"
 21 #include "exynos_hdmi.h"
 22 
 23 
 24 static int hdmiphy_probe(struct i2c_client *client,
 25         const struct i2c_device_id *id)
 26 {
 27         hdmi_attach_hdmiphy_client(client);
 28 
 29         dev_info(&client->adapter->dev, "attached s5p_hdmiphy "
 30                 "into i2c adapter successfully\n");
 31 
 32         return 0;
 33 }
 34 
 35 static int hdmiphy_remove(struct i2c_client *client)
 36 {
 37         dev_info(&client->adapter->dev, "detached s5p_hdmiphy "
 38                 "from i2c adapter successfully\n");
 39 
 40         return 0;
 41 }
 42 
 43 static struct of_device_id hdmiphy_match_types[] = {
 44         {
 45                 .compatible = "samsung,exynos5-hdmiphy",
 46         }, {
 47                 .compatible = "samsung,exynos4210-hdmiphy",
 48         }, {
 49                 .compatible = "samsung,exynos4212-hdmiphy",
 50         }, {
 51                 /* end node */
 52         }
 53 };
 54 
 55 struct i2c_driver hdmiphy_driver = {
 56         .driver = {
 57                 .name   = "exynos-hdmiphy",
 58                 .owner  = THIS_MODULE,
 59                 .of_match_table = hdmiphy_match_types,
 60         },
 61         .probe          = hdmiphy_probe,
 62         .remove         = hdmiphy_remove,
 63         .command                = NULL,
 64 };
 65 EXPORT_SYMBOL(hdmiphy_driver);
 66 

This page was automatically generated by LXR 0.3.1 (source).  •  Linux is a registered trademark of Linus Torvalds  •  Contact us