From mboxrd@z Thu Jan 1 00:00:00 1970 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=-16.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,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 9F170C4709B for ; Wed, 2 Jun 2021 11:25:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 799CF613D3 for ; Wed, 2 Jun 2021 11:25:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232787AbhFBL0q (ORCPT ); Wed, 2 Jun 2021 07:26:46 -0400 Received: from smtprelay-out1.synopsys.com ([149.117.87.133]:59178 "EHLO smtprelay-out1.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232366AbhFBL0W (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 90300C0444; 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=87hJyrxMvoFsZVKKPTNltIEwtsJBX5wGxSe+YuT5l2I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:In-Reply-To: References:From; b=DRXB7h8OeQoOJQntQUYeDQe1cXoFjVUHSMgztiULGHOPSE/0mshjj8mRR3e1osrEk SmQFPtMqKVa7+K4EXXIed489YJAAHZnmYE4yrjGMDvSVljNan3PSkOUJQtC0eB6bMz xb7+rVwa8vkijKuxBkzlxj01yyWWrqe5xKFkHLoQAEVEMPT0AhnNRAjXNIzq8wZrm1 iaJpD1Cfx6a3U5LoqKMocA4ARoDbfIMLa3f/uVLduQodDzL/iN/05oBKVOh1g8fH63 6VnEPP2gGtke0ImkhBnY2qc/tew8Q0OsFGF73m9hd19kkfYJT6n/gOU3OTB2fLmoMk X3oUor3T6s+Kg== Received: from de02dwvm009.internal.synopsys.com (de02dwvm009.internal.synopsys.com [10.225.17.73]) by mailhost.synopsys.com (Postfix) with ESMTP id 16267A0063; 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 Subject: [PATCH 1/9] dt-bindings: phy: Document Synopsys DesignWare HDMI RX PHYs e405 and e406 Date: Wed, 2 Jun 2021 13:24:19 +0200 Message-Id: <570d5fa01a17be017346262b8a9b06d36bebe8f1.1622631488.git.nelson.costa@synopsys.com> 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 PHYs e405 and e406. Signed-off-by: Nelson Costa --- .../bindings/phy/snps,phy-dw-hdmi-e40x.yaml | 93 ++++++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/snps,phy-dw-hdmi-e40x.yaml diff --git a/Documentation/devicetree/bindings/phy/snps,phy-dw-hdmi-e40x.yaml b/Documentation/devicetree/bindings/phy/snps,phy-dw-hdmi-e40x.yaml new file mode 100644 index 0000000..25bece5 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/snps,phy-dw-hdmi-e40x.yaml @@ -0,0 +1,93 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/snps,phy-dw-hdmi-e40x.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Synopsys DesignWare HDMI PHYs e405/e406 Device Tree Bindings + +maintainers: + - Jose Abreu + - Nelson Costa + +description: | + The Synopsys DesignWare HDMI PHYs e405/e406 are HDMI 2.0 PHY Receivers that + receive video and audio, and send to the HDMI RX Controller. + +properties: + compatible: + oneOf: + - const: snps,dw-hdmi-phy-e405 + - const: snps,dw-hdmi-phy-e406 + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + description: | + phandle to the configuration clock + + clock-names: + const: cfg + + "#phy-cells": + const: 0 + + port: + $ref: /schemas/graph.yaml#/properties/port + description: | + Output port node, multiple endpoints describing the PHY HDMI inputs data + connected to the HDMI RX Controller. + +required: + - compatible + - reg + - clocks + - clock-names + - "#phy-cells" + - port + +additionalProperties: false + +examples: + - | + parent { + #address-cells = <1>; + #size-cells = <0>; + + hdmi_e406_phy: hdmi-phy@fc { + compatible = "snps,dw-hdmi-phy-e406"; + reg = <0xfc>; + + clocks = <&dw_hdmi_refclk>; + clock-names = "cfg"; + + #phy-cells = <0>; + + port { + #address-cells = <1>; + #size-cells = <0>; + + hdmi_e406_phy_0: endpoint@0 { + reg = <0>; + remote-endpoint = <&hdmi_rx_0>; + }; + + hdmi_e406_phy_1: endpoint@1 { + reg = <1>; + remote-endpoint = <&hdmi_rx_1>; + }; + + hdmi_e406_phy_2: endpoint@2 { + reg = <2>; + remote-endpoint = <&hdmi_rx_2>; + }; + + hdmi_e406_phy_3: endpoint@3 { + reg = <3>; + remote-endpoint = <&hdmi_rx_3>; + }; + }; + }; + }; -- 2.7.4