Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 358339
b: refs/heads/master
c: 6e8de0b
h: refs/heads/master
i:
  358337: 27fdf38
  358335: 83a28e3
v: v3
  • Loading branch information
Rob Clark committed Feb 19, 2013
1 parent 695f539 commit d7fa09d
Show file tree
Hide file tree
Showing 6 changed files with 426 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e7792ce2da5ded80861db787ace9b57ecf7bc96c
refs/heads/master: 6e8de0bd6a51fdeebd5d975c4fcc426f730b339b
18 changes: 18 additions & 0 deletions trunk/Documentation/devicetree/bindings/drm/tilcdc/slave.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Device-Tree bindings for tilcdc DRM encoder slave output driver

Required properties:
- compatible: value should be "ti,tilcdc,slave".
- i2c: the phandle for the i2c device the encoder slave is connected to

Recommended properties:
- pinctrl-names, pinctrl-0: the pincontrol settings to configure
muxing properly for pins that connect to TFP410 device

Example:

hdmi {
compatible = "ti,tilcdc,slave";
i2c = <&i2c0>;
pinctrl-names = "default";
pinctrl-0 = <&nxp_hdmi_bonelt_pins>;
};
1 change: 1 addition & 0 deletions trunk/drivers/gpu/drm/tilcdc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ ccflags-y := -Iinclude/drm -Werror
tilcdc-y := \
tilcdc_crtc.o \
tilcdc_tfp410.o \
tilcdc_slave.o \
tilcdc_drv.o

obj-$(CONFIG_DRM_TILCDC) += tilcdc.o
5 changes: 4 additions & 1 deletion trunk/drivers/gpu/drm/tilcdc/tilcdc_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#include "tilcdc_drv.h"
#include "tilcdc_regs.h"
#include "tilcdc_tfp410.h"
#include "tilcdc_slave.h"

#include "drm_fb_helper.h"

Expand Down Expand Up @@ -587,17 +588,19 @@ static int __init tilcdc_drm_init(void)
{
DBG("init");
tilcdc_tfp410_init();
tilcdc_slave_init();
return platform_driver_register(&tilcdc_platform_driver);
}

static void __exit tilcdc_drm_fini(void)
{
DBG("fini");
tilcdc_tfp410_fini();
tilcdc_slave_fini();
platform_driver_unregister(&tilcdc_platform_driver);
}

module_init(tilcdc_drm_init);
late_initcall(tilcdc_drm_init);
module_exit(tilcdc_drm_fini);

MODULE_AUTHOR("Rob Clark <robdclark@gmail.com");
Expand Down
Loading

0 comments on commit d7fa09d

Please sign in to comment.