From patchwork Mon Nov 28 07:36:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sandor Yu X-Patchwork-Id: 13057122 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 311F0C433FE for ; Mon, 28 Nov 2022 07:44:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=e8GWx8VP9rP8ZGF5mKRs4sKl6RQl1Hh9evVnQssbHkk=; b=VPBNuxWJ5liwsU lvurCw5jt2zqJXUBkW2ccThbFa7I/nv5Q9h8gVL0nZUVwUOvHm+W5lk3/jQ/TA1FLbcRg6y/GQqDB lD4Fk/Tts9gv2755Lfn+WOB52AZnTSB8CZs1UDXXOXiABFXu+gSz2+Mk7bhZqjCXr5Fq1Q9kSiYDT YOBvc9Op4s02exJMUT/uGaydjciUOIJNWUOqrKRVpm4EWVKxtQlCGoEnyfZnVDPLfu2xgWUT6kFyd 2fYhmxHZidfVWZ/IH+Ul8lrHQF2DNT5HWREs8IZnHTcjVVhe/3BUCsHqC0fe5mLPxIRJ4YW+1NxFe G1pvar27XdvxaQIGiE8A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ozYol-00HPSe-7t; Mon, 28 Nov 2022 07:44:43 +0000 Received: from mail-db3eur04on0602.outbound.protection.outlook.com ([2a01:111:f400:fe0c::602] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ozYiv-00HND3-AQ; Mon, 28 Nov 2022 07:38:52 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=S2VThmoU3gGDP6SEuebpih/lCnzaYRL/qehwanVpgmejAuHe22J33kwYL24pMqrP2/KclpDfhW1WyxTiSetTD8g4t6c5+c8/7rQQxJr3k9n/NmoKSaZ9zDX+ZJT4eOoFwOPSX78PF2t5ICpj9CbWccX619dEl63uyZKCPSXfFvbPZM4B6jjAMa8LpYt9zAKRk0/5Ci/qnACk0pN3xYhBvMRfAZUz4FtgvuRzd9ajEMjUo5cksICd6W0zKUGmzs4/+SVf/lMT8+7j0B89B0H87XgLYz40RwDj3RvBoAruB5Frzk6NsFx+1JJPFX6P57Qcsp30YQbST8mKFX+i05UgKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=h64WEwofDgq+ctHjuTVJnHdzfiMCL6SDnIf+E60KxDA=; b=J+hyg7GLHEIgQjgya/zejx6WlXt8cz8piwKzs6hVFvLhUdqgf1pnBEJjoH/G3/LMNk4lGAY5ONNheo4lDxD3Qev1doRdvB0968XY6Zwe4DwMWeOMnRmO+GSEzYF91T0+0YDuuXJ3OE6EBIMJpja55/RBMIapvQht372gik7x/jeix7mYPQ65+B70SiBYE19ljvIneTzOBSkC7rR+0pY8iSY695pDNfg1ZuMG+R3VUodha5t0pV/AUooAQeO7IFGqaK6T43UyBXsYBft8xxsXQeGQ4AKgroFVI7+IskFXv2zBqGMBAnPDbAecF3YJjQ0FOcUrCnSUuCHcHiDE1FUViA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=h64WEwofDgq+ctHjuTVJnHdzfiMCL6SDnIf+E60KxDA=; b=qq06rJHLftwwYqnipYR0NLZrDbFTpRpbj/xbcayxeaFuPDuY6k/qRWacuUjEsmcLkDXZD42cRZSNVigsp8KTLoe7f6bA0QE9Ck7WQy83+6J1rafyIxGka6P2MhqbzO5WYbuD39iCPf/+5FIrWFVW9c+/Ey+lrdhtb1wIJAXtjAA= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9448.eurprd04.prod.outlook.com (2603:10a6:102:2b1::21) by AS8PR04MB9511.eurprd04.prod.outlook.com (2603:10a6:20b:44b::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.15; Mon, 28 Nov 2022 07:38:38 +0000 Received: from PAXPR04MB9448.eurprd04.prod.outlook.com ([fe80::d0c6:7b1d:6982:d400]) by PAXPR04MB9448.eurprd04.prod.outlook.com ([fe80::d0c6:7b1d:6982:d400%6]) with mapi id 15.20.5857.022; Mon, 28 Nov 2022 07:38:38 +0000 From: Sandor Yu To: andrzej.hajda@intel.com, neil.armstrong@linaro.org, robert.foss@linaro.org, Laurent.pinchart@ideasonboard.com, jonas@kwiboo.se, jernej.skrabec@gmail.com, airlied@gmail.com, daniel@ffwll.ch, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de, festevam@gmail.com, vkoul@kernel.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org Cc: kernel@pengutronix.de, linux-imx@nxp.com, Sandor.yu@nxp.com, oliver.brown@nxp.com Subject: [PATCH v5 07/10] dt-bindings: phy: Add Cadence HDP-TX DP PHY Date: Mon, 28 Nov 2022 15:36:15 +0800 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: X-ClientProxiedBy: SI1PR02CA0051.apcprd02.prod.outlook.com (2603:1096:4:1f5::6) To PAXPR04MB9448.eurprd04.prod.outlook.com (2603:10a6:102:2b1::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9448:EE_|AS8PR04MB9511:EE_ X-MS-Office365-Filtering-Correlation-Id: 53c77c4c-b339-4c3f-4407-08dad1139025 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 8O0cM+IvDORKk1zxHaTIOmAWoSJu5Ykd34wsabP82be2VGvLOV+pG4zzQKdkQt7jC3uSqqqTfx5vsNwX4deI+qzpEFxdv9naYZcs1egG9KtFt8aMucedemmquZhDPOMMXrenVqkis5cyjzLMg1rWSi+D/4tA7Aq5JOfMW+nAXUoO1X0JDQWuGgDwisjyy43z56J6s7ZYb5qtZWFWCTXXPPAdyfSNchZBy5Hdf9wUNQauFD/XDsOuiNBXYTssY8EhNi7zU3Z21Ojy+iCMnrpn84SrgsWy75tJFM5Cl9bbMIqqrdgAjtsJcE6hJVBdnRs3JmtxiSuSnLW8sdZtCOVAoL+B+AX9nWRN9STp7W1yWb1Cmr0q4oxrD2G30foUAM+UsZrTOH7nDeNSS23XM9whzh8aBjHAdaymEwmhrvxRl1gD+CiJzsc/SczPzj1fVIr1PXs0TPrDYe7XC7c1mW0zebAfWQDz+k0d7e2Vf/Dx3RDpXwA1Qh9osALsA9CfuIFUbuQElyaCtJiAQUDHZuHYrc0Ag04BRUf4BNFEVreJankfBQQmVcYN4x56+bstUeBzYJRfAGMKBPm7Ryv68GPq0a56ctQepeXMKM4ICS0+tdIj7QVWHHi+NcOqRt6WCmdtaEEMbGGrY1imkjG/HWq3yLp804RKPkeYPQ0btddVNj7GXIBiCasXWKk9QnjM2rxtQqXj4kEAEHh4WBMmPHZDPeZx9Jt2qzZ/ro1zz5F8Ma+edowWAoX5IkbxNfl5DI++aUc1K3UnlK3edetJq6vRlQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9448.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(136003)(366004)(376002)(346002)(39860400002)(396003)(451199015)(26005)(66556008)(921005)(38350700002)(86362001)(38100700002)(5660300002)(8936002)(8676002)(4326008)(7416002)(186003)(316002)(2616005)(66946007)(66476007)(2906002)(83380400001)(478600001)(6666004)(52116002)(966005)(6506007)(6486002)(41300700001)(6512007)(36756003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 4Y0y1fvU/+1DT68LSUen6vnQHd4RfFX2y+I2L1oNalZ4SyAnY2bXcjrBz2bZOrVugmaeqvnjo/pihIhPr+p1eiun7zzqMMW3/q8Ueds0bSRqvWvfh4mRfZWhw8ZX7hc8RxGO0okLOoOrsreWoQkohaMtl7IfSU7QymXX2wJgTPeoVCHvZ3pftCVAD8jdce/4bp43+Gm1iGqGm3ac9zptOkwRP5zqYRtzurAVKZ34R5QKLeul3x39/9ORglZTi+u/aqOiCpT+d/jFg4BH5T5/Dvon1G2b2Eh954xRq8Pxi7Mr7Lu6EaARVhKw804kKHHFiXal+V/N/8zSrl6qSgyjm4FtNHL9qjUJqyLSNKuWNYht/xC0Tdb5wS6xm9pF8ikCzCM+zvDIpjb5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cv/hZUFImgKV3YRFw0zhCEB3DtB0x9weDoAGOvGNtt4mTqBAvlUg4TfsZ4Zko+MTiNabnP29N5CpnnrdG18iYd2uALZ+O+w4eVJnfWv30xf3FMl+NNyKX4fgpmmcgPd X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 53c77c4c-b339-4c3f-4407-08dad1139025 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9448.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Nov 2022 07:38:38.1166 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Ao/j8VXVGnUrvdZ4Y9ctTR539CMTvIzCzRqmi7BLR3LpY8+GE3rgXUeNGp+pnstrIzU/rVgyebLBxZRE4a9Kmw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB9511 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221127_233841_449737_A5997A1A X-CRM114-Status: GOOD ( 11.06 ) X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org Add bindings for Cadence HDP-TX DisplayPort PHY. Signed-off-by: Sandor Yu --- .../bindings/phy/cdns,hdptx-dp-phy.yaml | 68 +++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/cdns,hdptx-dp-phy.yaml diff --git a/Documentation/devicetree/bindings/phy/cdns,hdptx-dp-phy.yaml b/Documentation/devicetree/bindings/phy/cdns,hdptx-dp-phy.yaml new file mode 100644 index 000000000000..f4f741150c12 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/cdns,hdptx-dp-phy.yaml @@ -0,0 +1,68 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/cdns,hdptx-dp-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Cadence HDP-TX(HDMI/DisplayPort) PHY for DisplayPort protocol + +maintainers: + - Sandor Yu + +properties: + compatible: + enum: + - cdns,hdptx-dp-phy + + reg: + maxItems: 1 + + clocks: + items: + - description: PHY reference clock. + - description: APB clock. + + clock-names: + items: + - const: ref + - const: apb + + "#phy-cells": + const: 0 + + cdns,num-lanes: + description: + Number of lanes. + $ref: /schemas/types.yaml#/definitions/uint32 + enum: [1, 2, 3, 4] + default: 4 + + cdns,max-bit-rate: + description: + Maximum DisplayPort link bit rate to use, in Mbps + $ref: /schemas/types.yaml#/definitions/uint32 + enum: [2160, 2430, 2700, 3240, 4320, 5400] + default: 5400 + +required: + - compatible + - reg + - clocks + - clock-names + - "#phy-cells" + +additionalProperties: false + +examples: + - | + #include + #include + dp_phy: phy@32c00000 { + compatible = "cdns,hdptx-dp-phy"; + reg = <0x32c00000 0x100000>; + #phy-cells = <0>; + clocks = <&hdmi_phy_27m>, <&clk IMX8MQ_CLK_DISP_APB_ROOT>; + clock-names = "ref", "apb"; + cdns,num-lanes = <4>; + cdns,max-bit-rate = <5400>; + };