From patchwork Fri Mar 23 12:59:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans Verkuil X-Patchwork-Id: 10304583 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B26CA605F7 for ; Fri, 23 Mar 2018 12:59:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A339828E5F for ; Fri, 23 Mar 2018 12:59:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 97D6C28E61; Fri, 23 Mar 2018 12:59:29 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4172C28E5F for ; Fri, 23 Mar 2018 12:59:29 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 806F86E361; Fri, 23 Mar 2018 12:59:25 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from lb3-smtp-cloud8.xs4all.net (lb3-smtp-cloud8.xs4all.net [194.109.24.29]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1B1326E33F for ; Fri, 23 Mar 2018 12:59:22 +0000 (UTC) Received: from tschai.fritz.box ([212.251.195.8]) by smtp-cloud8.xs4all.net with ESMTPA id zMHse40C67OSrzMHweR7qI; Fri, 23 Mar 2018 13:59:21 +0100 From: Hans Verkuil To: linux-media@vger.kernel.org Subject: [PATCHv2 1/3] dt-bindings: display: dw_hdmi.txt: add cec-disable property Date: Fri, 23 Mar 2018 13:59:13 +0100 Message-Id: <20180323125915.13986-2-hverkuil@xs4all.nl> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20180323125915.13986-1-hverkuil@xs4all.nl> References: <20180323125915.13986-1-hverkuil@xs4all.nl> X-CMAE-Envelope: MS4wfP7K3041hcBdCykDfzVkkNlO2cJSLk7OPJVjpG0Xbmri6WqkHQ5yOoAysIr3EocAEPX+sJM0CTKmq8oPK5BflK1EV7kLuNOOr722iE5XvgfP6MJI91nS JG2N9gorFSeaXC/HaLk0Ty6Q3lqylMLROGUTuIb0Y/3bOYFv42/mso95dXW5DcrV9dN469KvFKoeJ234T4p4veJhfR7lfHf2BjhMll9JpUC6LLRySah3M8Us Py0C5I27Ed9YzxWHDOK2p9XV8a+2fFWaz1ZcSF1yiiDEWR1b/Dpc3S/xEm9SWB9T/JUtVNbpAKfm3aLHJUIcsM8ePUG16OXbUrY0JkGFedKtIjSiez+vgGha 0m7TJyf5 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, Hans Verkuil , dri-devel@lists.freedesktop.org, Neil Armstrong MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: Hans Verkuil Some boards have both a DesignWare and their own CEC controller. The CEC pin is only hooked up to their own CEC controller and not to the DW controller. Add the cec-disable property to disable the DW CEC controller. This particular situation happens on Amlogic boards that have their own meson CEC controller. Signed-off-by: Hans Verkuil Acked-by: Neil Armstrong --- Documentation/devicetree/bindings/display/bridge/dw_hdmi.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/display/bridge/dw_hdmi.txt b/Documentation/devicetree/bindings/display/bridge/dw_hdmi.txt index 33bf981fbe33..4a13f4858bc0 100644 --- a/Documentation/devicetree/bindings/display/bridge/dw_hdmi.txt +++ b/Documentation/devicetree/bindings/display/bridge/dw_hdmi.txt @@ -27,6 +27,9 @@ responsible for defining whether each property is required or optional. - "isfr" is the internal register configuration clock (mandatory). - "cec" is the HDMI CEC controller main clock (optional). +- cec-disable: Do not use the DWC CEC controller since the CEC line is not + hooked up even though the CEC DWC IP is present. + - ports: The connectivity of the DWC HDMI TX with the rest of the system is expressed in using ports as specified in the device graph bindings defined in Documentation/devicetree/bindings/graph.txt. The numbering of the ports