[ARM] tegra: hdmi nvhdcp driver
authorJon Mayo <jmayo@nvidia.com>
Tue, 4 Jan 2011 01:26:25 +0000 (17:26 -0800)
committerErik Gilling <konkers@android.com>
Fri, 25 Feb 2011 00:59:40 +0000 (16:59 -0800)
commitcf030d95bbf4a4bbd9049e5590953ea30a814cb5
tree6a798f32a75f538a2a79aadb923fa46b85e3e616
parentbb2a3184bc3c7d1500a1fc6691d83e318e89f61c
[ARM] tegra: hdmi nvhdcp driver

Device /dev/nvhdcpX is used to manage NVHDCP on framebuffer /dev/fbX.
These devices are created on hdmi driver initialition when it is
attached to dc. Currently only one nvhdcp device may be created. An ioctl
interface is in video/nvhdcp.h

Check for repeaters and store repeater info. userspace application
queries this status to authenticate the connection. When authentication
fails, auto-renegotiate every 1.75 seconds. Give up after 5 failed attempts,
reset after hotplug or policy change.

use TEGRA_DC_OUT_NVHDCP_POLICY_ON_DEMAND in tegra_dc_out.flags in board
panel configuration to select a different default policy at probe. Currently
only TEGRA_DC_OUT_NVHDCP_POLICY_ALWAYS_ON is supported.

Change-Id: I0db66fc86096b98d2604544061721d291523de75
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Tested-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Phillip Smith <psmith@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Signed-off-by: Erik Gilling <konkers@android.com>
arch/arm/mach-tegra/include/mach/dc.h
drivers/video/tegra/dc/Makefile
drivers/video/tegra/dc/hdmi.c
drivers/video/tegra/dc/hdmi.h
drivers/video/tegra/dc/hdmi_reg.h
drivers/video/tegra/dc/nvhdcp.c [new file with mode: 0644]
drivers/video/tegra/dc/nvhdcp.h [new file with mode: 0644]
include/video/nvhdcp.h [new file with mode: 0644]