Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp817416pxj; Thu, 20 May 2021 23:11:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxlBtbp7sLpzoLQEOhN04eVuXIa9xKxT2pNeCSbu79gg2LihWM1n1D8AnbhdAaCDUn1dTlO X-Received: by 2002:a05:6402:2786:: with SMTP id b6mr9561620ede.20.1621577516370; Thu, 20 May 2021 23:11:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621577516; cv=none; d=google.com; s=arc-20160816; b=RSZj8jTI5St9udPDeydm0vxUPb5Bk2ThbEKp6HL32MwZ2Pxb51XdDmXiv7xA0a4oC2 iq2cKn+XSskFnV0bORcbIVQtoC66cxjfR1t0PzacIhmm0rUyurckkeAjRNvCaIm54X2x NhQtbPekpSXRU2+iSOItUD5MUoIj/OA6rg4lP4wTDK58X1fc8+bFj0nwkjwvd8bu3g1B czKw/fAy7pEGRUnd6APcO6y5fMPr8KctsZ7MQbLIMCw2ZSd5VFL/pQB6+czo4KTgIt4X RI0JbTWu2sxfX+ywkSGd6tyNr6EQPeZcoMgFgcrtg1HJv9vweaLM4HNEFQ9alPOOhJLX Xx+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=Cz5uSjggBnMPdDPpFIZ5yn4FoON6qJ1Kqs5Fz7CW95M=; b=YhBUDnU2odKUNeTcwLkqqFJNfdtfdOsXO4RNx5F/Nxur5IqQYDDGp+72gnb2kBvDd7 LhRtTkFi8L+CSmZUBrJMQ9tqOX60fHrIKY3s3QmDHzu2Ww6llaG9aYXOizE4/LJPSYTZ YaJq/1USPyGu4PmBd6651T3YoXB4DfxWfC+LozdxK9DZ2huyt+AO+ACd4e3FI7ZKStf/ NdMi80dNU7Sy0KLiMSMMd3tnsZ98iWqZxSE7vTLZXRpWA8CXmnPhzehXA4sY1TT3QKW0 GLeyG6FgCQfkeBfujY0sXcl5AECUBtQrtTJsLJML5O/s7XS1q83YVG3pDJkRM0qmvbhJ WRjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b=TNZXs6Er; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=synopsys.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h8si6163981ejj.270.2021.05.20.23.11.33; Thu, 20 May 2021 23:11:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b=TNZXs6Er; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=synopsys.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237421AbhETPuF (ORCPT + 99 others); Thu, 20 May 2021 11:50:05 -0400 Received: from smtprelay-out1.synopsys.com ([149.117.87.133]:45096 "EHLO smtprelay-out1.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239131AbhETPtl (ORCPT ); Thu, 20 May 2021 11:49:41 -0400 Received: from mailhost.synopsys.com (mdc-mailhost1.synopsys.com [10.225.0.209]) (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 2585FC06AB; Thu, 20 May 2021 15:48:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1621525699; bh=z81DeKSKri9DqTSD8pXM6mMeptAEtqDUsinYUan7qOc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:In-Reply-To: References:From; b=TNZXs6Er9ImEym/zHgmaXfxNPV0nEd2gCouX2s/dX8qprKDvGzWPewjb+q69cXqAP 8KtTWt5YXFKPcRUE+p5FrPjGdghMapACmZdan00ggzbc3VAT17r9LZhlO2tFCuqaV5 92SJ92bE1jtfGpilbR8Z7AEqcjVZBDePkigjoDV9nsrKHS7dpvjljY35ifordWbCX5 gYuGAjl8kkrwQyzyjsK96cbaQnGaxMRe4/BDlKwM4k83PY8B2xLIhOzJJkKNBYHzyw oY/TcgLhBxoQu/CSsP4az9E5WpqXGyiNi5IsrSkyM6W/DMnzdBqMnroo7xWIL/GWwl ZkrlpV006FS9A== Received: from de02dwvm009.internal.synopsys.com (de02dwvm009.internal.synopsys.com [10.225.17.73]) by mailhost.synopsys.com (Postfix) with ESMTP id C9608A0061; Thu, 20 May 2021 15:48:17 +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: [RFC v2 2/9] dt-bindings: media: Document Synopsys DesignWare HDMI RX Date: Thu, 20 May 2021 17:47:56 +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-kernel@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>; + }; + }; + }; -- 2.7.4