Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752733AbdFMKGV (ORCPT ); Tue, 13 Jun 2017 06:06:21 -0400 Received: from smtprelay.synopsys.com ([198.182.60.111]:35925 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752616AbdFMKGT (ORCPT ); Tue, 13 Jun 2017 06:06:19 -0400 Subject: Re: [PATCH 2/4] [media] platform: Add Synopsys Designware HDMI RX Controller Driver To: , References: <22ea8b160edaef464d7f5ad362b23a68a6e07633.1497347657.git.joabreu@synopsys.com> CC: Carlos Palminha , Hans Verkuil From: Jose Abreu Message-ID: Date: Tue, 13 Jun 2017 11:06:11 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <22ea8b160edaef464d7f5ad362b23a68a6e07633.1497347657.git.joabreu@synopsys.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.107.19.81] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1038 Lines: 43 Hi Hans, On 13-06-2017 11:01, Jose Abreu wrote: [snip] > Changes from RFC: > - Added support for HDCP 1.4 [snip] > + > +/* HDCP 1.4 */ > +#define DW_HDMI_HDCP14_BKSV_SIZE 2 > +#define DW_HDMI_HDCP14_KEYS_SIZE (2 * 40) > + > +struct dw_hdmi_hdcp14_key { > + u32 seed; > + u32 bksv[DW_HDMI_HDCP14_BKSV_SIZE]; > + u32 keys[DW_HDMI_HDCP14_KEYS_SIZE]; > + bool keys_valid; > +}; > + > +struct dw_hdmi_rx_pdata { > + /* Controller configuration */ > + unsigned int iref_clk; /* MHz */ > + struct dw_hdmi_hdcp14_key hdcp14_keys; > + /* 5V sense interface */ > + bool (*dw_5v_status)(void __iomem *regs, int input); > + void (*dw_5v_clear)(void __iomem *regs); > + void __iomem *dw_5v_arg; > + /* Zcal interface */ > + void (*dw_zcal_reset)(void __iomem *regs); > + bool (*dw_zcal_done)(void __iomem *regs); > + void __iomem *dw_zcal_arg; > +}; > + > +#endif /* __DW_HDMI_RX_PDATA_H__ */ I now have support for HDCP 1.4 in this driver. Can you send me the patches about HDCP that you mentioned a while ago? Best regards, Jose Miguel Abreu