summaryrefslogtreecommitdiffstats
path: root/drivers/media/i2c/tc358743_regs.h
diff options
context:
space:
mode:
authorMats Randgaard <matrandg@cisco.com>2016-12-06 11:24:28 +0100
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-02-03 14:16:02 +0100
commit0a1f085061e79aa911475d5420f05698bc6b62eb (patch)
treed1b4e84dd1617a18f02ab5eb2e41febf5538671f /drivers/media/i2c/tc358743_regs.h
parent[media] tc358743: Do not read number of CSI lanes in use from chip (diff)
downloadlinux-0a1f085061e79aa911475d5420f05698bc6b62eb.tar.xz
linux-0a1f085061e79aa911475d5420f05698bc6b62eb.zip
[media] tc358743: Disable HDCP with "manual HDCP authentication" bit
Originally Toshiba told us that the only way to disable HDCP was to set the receiver in repeater mode, that would make the authentication fail because of missing software support. It has worked fine with all the sources we and our customers has used, until it was reported problems with Apple MacBook (Retina, 12-inch, Early 2015) (https://support.apple.com/kb/SP712?locale=en_US&viewlocale=en_US) with Apple A1612 USB type-C multiport adapter (http://www.apple.com/shop/product/MJ1K2AM/A/usb-c-digital-av-multiport-adapter) Finally Toshiba came up with a hidden bit that is named "Manual HDCP authentication". In this patch the original "repeater mode" concept is removed, and the new bit is set instead. With his patch HDCP is disabled when connected to the Apple MacBook and all other sources we have tested so far. The Apple MacBook is constantly trying to authenticate, but fails and continues to transmit unencrypted video. Signed-off-by: Mats Randgaard <matrandg@cisco.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/i2c/tc358743_regs.h')
-rw-r--r--drivers/media/i2c/tc358743_regs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/i2c/tc358743_regs.h b/drivers/media/i2c/tc358743_regs.h
index 81f1db558e7c..657ef50f215f 100644
--- a/drivers/media/i2c/tc358743_regs.h
+++ b/drivers/media/i2c/tc358743_regs.h
@@ -420,6 +420,7 @@
#define MASK_MODE_RST_TN 0x20
#define MASK_LINE_REKEY 0x10
#define MASK_AUTO_CLR 0x04
+#define MASK_MANUAL_AUTHENTICATION 0x02 /* Not in REF_01 */
#define HDCP_REG1 0x8563 /* Not in REF_01 */
#define MASK_AUTH_UNAUTH_SEL 0x70