Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp3861154rwb; Sun, 20 Nov 2022 23:55:46 -0800 (PST) X-Google-Smtp-Source: AA0mqf54Hi5QnrG481MNz3saQBCVfd53mb9arurke+vsYzwmItozvXVgUCyd5whULmoeYYISC0Ud X-Received: by 2002:a17:906:7b93:b0:7ae:c9ae:938d with SMTP id s19-20020a1709067b9300b007aec9ae938dmr5920497ejo.313.1669017345732; Sun, 20 Nov 2022 23:55:45 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1669017345; cv=pass; d=google.com; s=arc-20160816; b=HcbTonZseu/5cbt8FFKVArzMB/fwv9Td2vm/zUIW8m2tAIJqkOvCEidBuoBW4iQZkZ dbNb+l65itGAH1cWB94krLCjckjWOsF8gD52s1WXmwtyLqtOttfZnYPJjylaIWt30bJQ FNt64bjULPqEA4YXAKazO5T3pCkVd8fCGhlE1AXweS/8+lhdMbXONhNZnVQBWbNpk3Jv +yhAFA7o7ezmy1rxKm9YDkfXQkZTAsGZj0phDkmyuvXfIAbNlEQEdR0IV3sR53qvY18/ mHsvb2vts130aCbNmPQJOQCDWUQX6eaVmywzkoGrBrh4MaizA6nx/D8OvwcQhGVIMmMa czFQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=wjTJ6MF3Rn1jPo0En4pkyhMXJaPfNS+Sm8q173QdKvc=; b=JBnz24rrBVGT+Sa+sfHAoFzv2X0Y27DfhqyfePcASF7SjdiopQVHWRt/ITOPf8+0wh xFVT7+3lPzqMnFUtwOmvSCtwGui9t0KRBPaqlxkyWH/eU09a/MgMVwYpgtf7A+7grNqX 6uXq8mAQWnf08+etLQzK1w1Zq2PLvQibx6FWl1WDU+RWFXgHnE1HRTcaDMElM1bUD2Rf HmoaopuvMADhbFN1gwZdHfJf3o6EBejOxG93vUPNXWcvF79D7JX/SuBrUmzwUSHCRmGp VXGXvTHt3ZirSHR8AtRYA0Ft6u0Hsq7i5OdRekmoUt/fY0eDNzmzAn2UCyOzsPuzuGmN ktZA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=WDsxlML3; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b19-20020a056402351300b004511d552be3si3727329edd.4.2022.11.20.23.55.22; Sun, 20 Nov 2022 23:55:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=WDsxlML3; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229849AbiKUH2W (ORCPT + 91 others); Mon, 21 Nov 2022 02:28:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44992 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229758AbiKUH1x (ORCPT ); Mon, 21 Nov 2022 02:27:53 -0500 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70043.outbound.protection.outlook.com [40.107.7.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A10BA2037D; Sun, 20 Nov 2022 23:27:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fDy1YQMh6J8hI7aphXt0fe23/GGIWRRdFEz2gq1tmpER3q+7hHQtL0GPZM0nXC8LVOHK6Z+fX+0YmgKCXKFXpcPQOIpw30qaDCv4FgiymH7OhNH7KQQbCxX6Vzew0F6m/kArW0atRl6/2z5M7xryNJSygHhECaFj4zqfPWWOnIOpMyXLy1Wt4xNsAVcHwHYVITnJq2bZqb+k3Jy5u6ge8OhrQFgtP/cvozczWGjw5UA48b4Allwh1e4wpZZjqsT2OSci9bYM/k4cF7aqLepR3eAVBUDrTfRLMyou0uJFAEFgyO1WIhzgpLxa4eDyOahmwjuvSyZ0Yh3pssw67WrYXA== 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=wjTJ6MF3Rn1jPo0En4pkyhMXJaPfNS+Sm8q173QdKvc=; b=oHzrkIvYM3Pr+tZPiBskhh7EdANj658S9O7cwqfHpDsexwuq1KkPe54BLBmq9yzBFCJ+cbDGyGSisNu2Q9qPB3oIms0qowKzzFhbDVsubvlJd6sU9RwP6ruEGXmyrYvbWDo4/qQZq+7HiCi8/O2B5tPTZQhFnKyCBOh6JxaqNvLTAulGMzAgAkQNgkE49O7Qa1Li5N3+3G3LetkrOzQUPv/cgUZrCAgJOY//84z8gKJudT4DPM73hBhZrkzMwNUE9Vh6liwbC0caF0dsuLlM2ZTEstb7BwrKCsaJVYPOZ6C8D2/8FOYws8I2hewaWwsmy5GatttcdG5jSEHriE7YNg== 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=wjTJ6MF3Rn1jPo0En4pkyhMXJaPfNS+Sm8q173QdKvc=; b=WDsxlML3pLvdx7WNimqKTgKF9m5fCIUimtBBVNGfUeuNn1SGTnYqmuS3RCKWfXoUXu/TvVTyGG8/ppvpj7RkLUFZQbLVGNkBKbN5dJ45jSLGdVtBruA2LvkJOSlAvXuBc4A6ffkshQvWr175NBpSucfZqly1cjYCZgY7O2qiInQ= 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 AS8PR04MB7638.eurprd04.prod.outlook.com (2603:10a6:20b:291::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5834.9; Mon, 21 Nov 2022 07:27:42 +0000 Received: from PAXPR04MB9448.eurprd04.prod.outlook.com ([fe80::60b2:4bec:7707:e196]) by PAXPR04MB9448.eurprd04.prod.outlook.com ([fe80::60b2:4bec:7707:e196%5]) with mapi id 15.20.5834.015; Mon, 21 Nov 2022 07:27:42 +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, kishon@ti.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, alexander.stein@ew.tq-group.com Cc: kernel@pengutronix.de, linux-imx@nxp.com, Sandor.yu@nxp.com, oliver.brown@nxp.com Subject: [PATCH v4 07/10] dt-bindings: phy: Add Cadence HDP-TX DP PHY Date: Mon, 21 Nov 2022 15:23:57 +0800 Message-Id: <5f8a3f15f744e201171c20505e1e3c47f5a27dce.1669013346.git.Sandor.yu@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SG2PR06CA0246.apcprd06.prod.outlook.com (2603:1096:4:ac::30) To PAXPR04MB9448.eurprd04.prod.outlook.com (2603:10a6:102:2b1::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9448:EE_|AS8PR04MB7638:EE_ X-MS-Office365-Filtering-Correlation-Id: 9fbd77de-61ee-48f4-1bc6-08dacb91e02d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 4Wab5kWvK2mUfE+xNlK7PZDTOMOcLtc0xGeE6eTIn8BmS4hXY7pXOhB6pO5SUZcrRZBevGuPOY40laIllvydMXQEgHHM3Q4Xb9hkWCPZf4fbVXBfdX9QpS/+3pDCe0q/uR4771BSWATqC3PkvlrAIPIlznyugSx6hihBoWqCTPF13r2OcKoIeAtFeEfDgX+yVWbqsUlBsg6OVcNVHNDHzWQdBvs4VbDIdL97Nssj9k/qez2wvnhH4wHQyhfZkN7deJpiaktKLPAhRiJTS/O0JEcc9VXnrfpLlc+Hx0How2hxiN23gvOxsusIN7wTERoGAOs+L/iKp1CSn0XHMR16BER28oTeQ86ODXbixJ8QdmWUszohzCvzdKaZ8H6WeiOgtbBpdLXt8U/OkIUqTMtLbgM18kXSI04wOf/D4KI/Twj5FyyEajuw/eACtR/Be6HdA9Dw5y8e5LPhct/wEAKghceMRORu78HtSz7JbMHyu7Y3NKE4OTKIuVx1o2X6b5XYaY+MIcLGFa8wSdJjIJtENltYsAnzjt+NzEw8EVdtg8hJLIxx8RVdnvmo+PwzhCM5w9IRHwYWAgqFw/IJ5zcJNZj6EaOu8PK8y2yIjlSHPhjpEnf0bXVM500u398blHqY8b50Xe79k58vz3ObvTTAp8grK7jJVrzPPLZFz6QA0MahTIvkXxBqZJOa/uLLP9zddcuQAe2LWOoJkCfNReD1B050lQbqY5QiggDvt2Z9cD2TBzTj0NkaJ59cAKpXm03Y0bGzPAt6qFsMMRIzecqznvHtVcz0/uIMWUo2J1lW/XA= 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)(39860400002)(346002)(366004)(376002)(396003)(451199015)(7416002)(8936002)(8676002)(5660300002)(4326008)(66556008)(66476007)(66946007)(41300700001)(86362001)(921005)(6486002)(966005)(478600001)(2906002)(6666004)(6506007)(26005)(52116002)(316002)(6512007)(186003)(83380400001)(2616005)(38100700002)(38350700002)(36756003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?puNrU/8BZccFld0MVqOVuoWQHBHGe+XQrs/RSMOieYf3JSXlm3Rl/cra7Y1S?= =?us-ascii?Q?4EM5txELThcDV4rjll0yFO7X+JgHHPnUCjS87xMZP4lgJcl4OPaJdYHc5VGq?= =?us-ascii?Q?Xo2RuBFt2627r16ircoqiqK3l/JjvxR1wPQnOPKoUnLU8BYqnlQ4C3DXNzRi?= =?us-ascii?Q?GECA6MgheiUEmzaulFPGIemhf19JcMam6mSiSHfrestuD58xs1S8lH74G1SI?= =?us-ascii?Q?l13Xbi+9V9a+LIHq4DINDzMzm2t54BlB9EzjmkK6hn6UNKWDg9Pt7LoVDjHM?= =?us-ascii?Q?N4umMRdiZsgjhWlYgJQN52jJ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-ascii?Q?gI35z65ZWVEYFcQyOHAwcuYsT+vsJzFcxTEVSL28nXjvwAxdLhKw+AKzVgTX?= =?us-ascii?Q?Mpm5/nUns+zrbQtVv11tiIQlxLhlmYF4RpxgY8iiNMUYNftoHEOFD5JbSOCU?= =?us-ascii?Q?Zv51By4otuyBJPlqPKj8aJbjNYzqbcBDI7BowqfevLCOEszIvIG8tJMfa8Z3?= =?us-ascii?Q?57qtN86CcKM2cBzFheM+oQ2MG7DYv1z3NrqdpFNZi2O4MPVPFnTU7Lk9kU2f?= =?us-ascii?Q?/Zx1lQn6Jpnrs3Ty/2+pvukZffK0zINsE7iuHtohRzxa1OpZe0Wje6B72Fhb?= =?us-ascii?Q?9P4nKpORUiEuu+x3MF38pWwNAPnTMWvLbWuvDsIshx9NVXw3+zy/kUo+2mSa?= =?us-ascii?Q?5uVD/xm+Vja+ZA3FE/dQ5N2Zq90jo8PRXR6xbJer?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9fbd77de-61ee-48f4-1bc6-08dacb91e02d X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9448.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Nov 2022 07:27:41.9970 (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: W8Hc6H2OjrbdsCdPPMUt1cRyPEVVRcXA4PVj44eVwDPHYXs5oapbdHFQkia8hGemynKRB0n07nxz1RJ572d8nQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7638 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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..b997c15ff0bb --- /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: refclk + - const: apbclk + + "#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 = "refclk", "apbclk"; + cdns,num-lanes = <4>; + cdns,max-bit-rate = <5400>; + }; -- 2.34.1