From 6e8cab5c151fea6cbe81b50af1c50da1416ade1e Mon Sep 17 00:00:00 2001 From: Songhee Baek Date: Fri, 6 Jul 2012 11:26:40 -0700 Subject: video: tegra: host: t30: Add syncpt/epp in ISP ch This change is for programming VI and EPP through ISP channel to support RGB input and dual video capturing. 1. Added syncpt in the ISP channel to submit the channel. 2. Added epp clock to use VI2EPP for RGB capture. Note: To use this channel, EPP should be free from 2D. Bug 988546 Change-Id: I17fe278c9325aac2ea1e29cbaf50c8a4499d8551 Signed-off-by: Songhee Baek Reviewed-on: http://git-master/r/113965 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bharat Nihalani --- drivers/video/tegra/host/t30/t30.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'drivers/video/tegra/host') diff --git a/drivers/video/tegra/host/t30/t30.c b/drivers/video/tegra/host/t30/t30.c index 4d042a985fe1..0c8d626a4d67 100644 --- a/drivers/video/tegra/host/t30/t30.c +++ b/drivers/video/tegra/host/t30/t30.c @@ -166,7 +166,11 @@ static struct nvhost_device tegra_isp01_device = { .resource = isp_resources_t20, .num_resources = ARRAY_SIZE(isp_resources_t20), .index = 3, - .syncpts = 0, + .syncpts = BIT(NVSYNCPT_VI_ISP_2) | BIT(NVSYNCPT_VI_ISP_3) | + BIT(NVSYNCPT_VI_ISP_4), + .clocks = { {"epp", 0} + }, + .keepalive = true, NVHOST_MODULE_NO_POWERGATE_IDS, NVHOST_DEFAULT_CLOCKGATE_DELAY, .moduleid = NVHOST_MODULE_ISP, -- cgit v1.2.3