diff options
author | Charlie Huang <chahuang@nvidia.com> | 2013-06-18 11:44:20 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2013-09-14 13:38:53 -0700 |
commit | ad0c397b715ae86294976371b74b26da98d1d3b9 (patch) | |
tree | 7a2303d15358eb2544690348f58346ef3ce1774d /include/media | |
parent | afda0f09fd2ec3c6c7b4ae3ededf35e08a5e5f67 (diff) |
media: video: tegra: as364x: add edp client
enable edp support on as364x.
ported from http://git-master/r/#change,236030, which was submitted
already but cannot be simply cherry picked due to other differences.
bug 1299134
Change-Id: Iee54b554ae2b6cffef2cab31f23b6b5ffa2293d4
Signed-off-by: Charlie Huang <chahuang@nvidia.com>
Reviewed-on: http://git-master/r/239840
(cherry picked from commit fa919f0b3405eafde052483faa82ec66ef8e93da)
Reviewed-on: http://git-master/r/250881
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>
Diffstat (limited to 'include/media')
-rw-r--r-- | include/media/as364x.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/media/as364x.h b/include/media/as364x.h index be887ad2d0b0..9ab03011fb54 100644 --- a/include/media/as364x.h +++ b/include/media/as364x.h @@ -17,6 +17,7 @@ #ifndef __AS364X_H__ #define __AS364X_H__ +#include <linux/edp.h> #include <media/nvc_torch.h> enum { @@ -84,6 +85,7 @@ struct as364x_platform_data { struct nvc_torch_pin_state pinstate; /* see notes in driver */ unsigned gpio_strobe; /* GPIO connected to the ACT signal */ bool strobe_low_act; /* strobe state active low */ + struct edp_client edpc_config; int (*power_on_callback)(struct as364x_power_rail *pw); int (*power_off_callback)(struct as364x_power_rail *pw); |