From patchwork Wed Jun 2 11:24:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nelson Costa X-Patchwork-Id: 452862 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 79E85C4709A for ; Wed, 2 Jun 2021 11:24:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 66E5D613D2 for ; Wed, 2 Jun 2021 11:24:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232640AbhFBL0a (ORCPT ); Wed, 2 Jun 2021 07:26:30 -0400 Received: from smtprelay-out1.synopsys.com ([149.117.87.133]:59172 "EHLO smtprelay-out1.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232418AbhFBL0W (ORCPT ); Wed, 2 Jun 2021 07:26:22 -0400 Received: from mailhost.synopsys.com (mdc-mailhost2.synopsys.com [10.225.0.210]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mailhost.synopsys.com", Issuer "SNPSica2" (verified OK)) by smtprelay-out1.synopsys.com (Postfix) with ESMTPS id 9DA7BC0447; Wed, 2 Jun 2021 11:24:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1622633079; bh=z81DeKSKri9DqTSD8pXM6mMeptAEtqDUsinYUan7qOc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:In-Reply-To: References:From; b=e1Q1g29tlpMPVWER2Bti16nnVK+dE9XmrvSBUDLv4SBgOUOsYe00Zo2hjuikoUEa2 Vs975mFMUfSfwo3a7Hl5Wz0lVGLhm5Z1nhJKoZSn6K+gJ3KC/OCTm9MUgts2PYGssP 4oWd/7tJlMmBX16JcY47E6EpKF1eG1JN1iAtf6wvmvK8lqpqbdWWh/HXgyLBdE0aKi hglkjjOp7W/YYetfl0sInMqmCsI2E1AesFYJHQX477lMIOc1zYuSv11wS8Tgl8NDBx Hm4d3/crtXpRjEs+3AwMbrh6x0qHulsfhQNd7zeDarJC60JA5Bs3TLZxLzGIzSA+wX 9qfHcoLAZws7g== Received: from de02dwvm009.internal.synopsys.com (de02dwvm009.internal.synopsys.com [10.225.17.73]) by mailhost.synopsys.com (Postfix) with ESMTP id 2787DA0068; Wed, 2 Jun 2021 11:24:37 +0000 (UTC) X-SNPS-Relay: synopsys.com From: Nelson Costa To: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Mauro Carvalho Chehab , Hans Verkuil , Laurent Pinchart , Kishon Vijay Abraham I , Vinod Koul , Rob Herring , Jose Abreu , Nelson Costa , Jose Abreu Subject: [PATCH 2/9] dt-bindings: media: Document Synopsys DesignWare HDMI RX Date: Wed, 2 Jun 2021 13:24:20 +0200 Message-Id: X-Mailer: git-send-email 2.7.4 In-Reply-To: References: In-Reply-To: References: Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Document the device tree bindings for the Synopsys DesignWare HDMI RX Controller. Signed-off-by: Jose Abreu Signed-off-by: Nelson Costa --- .../devicetree/bindings/media/snps,dw-hdmi-rx.yaml | 98 ++++++++++++++++++++++ 1 file changed, 98 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/snps,dw-hdmi-rx.yaml diff --git a/Documentation/devicetree/bindings/media/snps,dw-hdmi-rx.yaml b/Documentation/devicetree/bindings/media/snps,dw-hdmi-rx.yaml new file mode 100644 index 0000000..4f2169e --- /dev/null +++ b/Documentation/devicetree/bindings/media/snps,dw-hdmi-rx.yaml @@ -0,0 +1,98 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/snps,dw-hdmi-rx.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Synopsys DesignWare HDMI RX Controller Device Tree Bindings + +maintainers: + - Jose Abreu + - Nelson Costa + +description: | + The Synopsys DesignWare HDMI RX Controller and PHYs e405/e406 is an HDMI 2.0 + Receiver solution that is able to decode video and audio. + +properties: + compatible: + const: snps,dw-hdmi-rx + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + description: | + phandle to the configuration clock + + clock-names: + const: cfg + + phys: + maxItems: 1 + description: | + phandle for the HDMI RX PHY + + phy-names: + const: hdmi-phy + + port: + $ref: /schemas/graph.yaml#/properties/port + description: | + Input port node, multiple endpoints describing the HDMI RX data connected + to the HDMI PHY receiver. + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + - phys + - phy-names + - port + +additionalProperties: false + +examples: + - | + hdmi_rx: hdmi-rx@0 { + compatible = "snps,dw-hdmi-rx"; + reg = <0x0 0x10000>; + interrupts = <1 2>; + + clocks = <&dw_hdmi_refclk>; + clock-names = "cfg"; + + phys = <&hdmi_e406_phy>; + phy-names = "hdmi-phy"; + + port { + #address-cells = <1>; + #size-cells = <0>; + + hdmi_rx_0: endpoint@0 { + reg = <0>; + remote-endpoint = <&hdmi_e406_phy_0>; + }; + + hdmi_rx_1: endpoint@1 { + reg = <1>; + remote-endpoint = <&hdmi_e406_phy_1>; + }; + + hdmi_rx_2: endpoint@2 { + reg = <2>; + remote-endpoint = <&hdmi_e406_phy_2>; + }; + + hdmi_rx_3: endpoint@3 { + reg = <3>; + remote-endpoint = <&hdmi_e406_phy_3>; + }; + }; + };