Message ID | 2ccb849de420ced29b3f9be38e12664e1919b631.1686729444.git.Sandor.yu@nxp.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp345035vqr; Wed, 14 Jun 2023 19:09:16 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ44sMcsZ2rbJRQvbzRBLAw1JhMMHAhNOetUo+Wbq+B+oPqvc7fpQTyh6HtW4ZGLggVqjVuC X-Received: by 2002:a05:6402:1a52:b0:51a:263f:8da4 with SMTP id bf18-20020a0564021a5200b0051a263f8da4mr261492edb.39.1686794955863; Wed, 14 Jun 2023 19:09:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1686794955; cv=pass; d=google.com; s=arc-20160816; b=rXwu9i4fKdI62mHsFBHrDEQcTY7QwE1hBNZp+Z+C4R/nYoaAticLRP/LbLafpOziGO sMaRxiBN989jRmx09F4yTCUifSi8TzaYINKwR70FG22SgMZWORngA7o+zO7PbvAaPGpr zGtoNi4QW7RKBffQrITcTRbeE/z0Lqq+H8gJNtsnITipQnZoODKeQC48xfQ6XtT7Wmq7 ER902Qdk9dRAfO58BDT6eyO1MGr76TKwB6yD8FgWJVuqfokr2Qjlaa7JsFjySLUsKIUI /1gt0dKx1wjhqQp5iytzoHo5pViL9wTJbw1dcVftxN6TrrhvBCa+d8gRp52EUf+bPvM3 HIvw== 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=gEAButjKjZV6yIrjaRZKLOABAlIPEWIS0tVAbM4HBsg=; b=Ih92BB+leNsbIF/Xla7LSXkndymv4z/0imtOQfPVo9N1Jw4Ufqww/wKHaEEbmLkPnl pcgwnrgZ2ke5QyYKdzb2G94KV8762yLkQafQ+UiM0IaJJKvBACSExP3iCMQXLni++yes CWxXOLsew+H2nE1Rr6AVgDgCemU34td+dSmfkRkYNV+BcCSCsMZwDfZ7OOdKhJ7LHMCr NYbgWdpRJxoIOqogNrwlue48DnADX0ZoVmCER/stB8AshOGqlqWtdyqfbF7E/WmR8JdP SIcv72lwPOuQdVNJ+5reZzuIPzW9vgxymyPZ3DsZykpxny9xnvnOgbvUnHLA4X6OvbAR feAw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=GySavb9E; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l24-20020a056402125800b00514ae068a6bsi8932822edw.625.2023.06.14.19.08.49; Wed, 14 Jun 2023 19:09:15 -0700 (PDT) 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=GySavb9E; 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 S230373AbjFOBnX (ORCPT <rfc822;n2h9z4@gmail.com> + 99 others); Wed, 14 Jun 2023 21:43:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44162 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229748AbjFOBnV (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 14 Jun 2023 21:43:21 -0400 Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on2042.outbound.protection.outlook.com [40.107.15.42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C3822707; Wed, 14 Jun 2023 18:42:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=c6vbeH69KaZCswgLp6l5SZfhsHmKm/wTiVZyneZQlZJkYFmaf4DoFfvRmcvsGn3I37Rc6toB+LNPOjfgEZrbxa2Az3PmD37CJ1MWXsz5Qs2TWMCUMYgL9W2wqhPOWCVFlv7nT98+NvU9adGVJheOYLfZ4reuo7OYPBJdor1r/IDuTJc7TdnS1eSef6ySUhcJt8AAh+GmXL0sMycXQ+ayoul8boc7WG209NvS7R8VwMVb18qHlzc4g4t+bZ2EIAmruC3yIL19goQge4sJ20hXucsSFYQxlnmkNdW5aG6flAqTw9HSUzFgax7osxZrkZw5W6aWEG+l+Jh5DzruWlCjIA== 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=gEAButjKjZV6yIrjaRZKLOABAlIPEWIS0tVAbM4HBsg=; b=STKlGI5f77aFsJ5Vxl1cecvKaUQ6BDQRbt8o9XIqm3NPVc9DykDbydiwnyKQiPvVxddUGL40rFXgSNOtQabPt0OAnTbdLqYRxa9Dd3uJRePjLf2o+Xt1csbMb7XiZY23x1fQc/UsFPLumaLIb/dCBzQfW4/fJRrxxQEYq7H1gV/TKRk8xyfkiAeagyQKExMrcYTr6SGN4KWKVT4gsoWjKq+dyeCSWNIVRvWixjnpdqrBdZCeHfO2XDJFuNAS6g25ZAKA9fJWsUKMR9JF/li5iscgpjzDYTLaJ1RHt6kl6svD+CTmtlVd+JVCvYGuqkbXTR/snTSjlRWO5aBR/7NqqA== 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=gEAButjKjZV6yIrjaRZKLOABAlIPEWIS0tVAbM4HBsg=; b=GySavb9E+VtG7QLG/OEFJOhCEdj11DP3JkZfP1sGuCS2dIboqgWTOIJK/Oamlwu62khkWiAUGVYWT5V94Wr76X9s6jMkB//SbDyZod2A8aIJg0097gMStagr1Ox17u9pNb9zGPkxmT3iULjBcd2bSft7y02UcBAAbGiP6fx2I/Q= 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 AM8PR04MB8034.eurprd04.prod.outlook.com (2603:10a6:20b:249::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6500.25; Thu, 15 Jun 2023 01:41:49 +0000 Received: from PAXPR04MB9448.eurprd04.prod.outlook.com ([fe80::8af8:59df:c8ab:ff51]) by PAXPR04MB9448.eurprd04.prod.outlook.com ([fe80::8af8:59df:c8ab:ff51%5]) with mapi id 15.20.6477.037; Thu, 15 Jun 2023 01:41:49 +0000 From: Sandor Yu <Sandor.yu@nxp.com> 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 v6 6/8] dt-bindings: phy: Add Freescale iMX8MQ DP and HDMI PHY Date: Thu, 15 Jun 2023 09:38:16 +0800 Message-Id: <2ccb849de420ced29b3f9be38e12664e1919b631.1686729444.git.Sandor.yu@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <cover.1686729444.git.Sandor.yu@nxp.com> References: <cover.1686729444.git.Sandor.yu@nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SG2PR01CA0176.apcprd01.prod.exchangelabs.com (2603:1096:4:28::32) To PAXPR04MB9448.eurprd04.prod.outlook.com (2603:10a6:102:2b1::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9448:EE_|AM8PR04MB8034:EE_ X-MS-Office365-Filtering-Correlation-Id: cc2684ac-f2b3-4878-ffd8-08db6d41affe X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: v6Xa621iHbcmJBfqZmuFc8NCuAENxXcYsLHFqcO94GOwH3J5hg5GcxmGEra1AkWqHOlvbcQ6FClYim7o2ovyE5hajjTvXSpOCkeE5S+WhFdRlTRf7/3rX2+AvTJ23RB+DD11zRn9tM+hQVuFGgjF74CEIkMk/jS1JNLqU8oR+GqjjmdiL7LPYCrWElESX7K9UrNwEKIBDBpMGRkJMD9R7YSf0npm6LDseKwo6ePbBrBLEmI1GN8Jvcb9/kJCec1x3BHLIa109Rzq0bM7l0YT42tPZMiecvHVvFTgBRSWpMgA4oWnsCDdzMATQlvafVFlykm9QiUJKarZQkvY1ZFyZPXqVfmWqtbDCZbf9UFqSZStSO9V6fmiYrzEBAcT+6lXL/Zp3yAt253CevZeizloM9RFmI2ryLhBo+WW0psnrG9UZNrVCFELUen9zOdtAQ9lVkoz9810ONCC4HpUyaM/3l/CYEKCI1v7BB9GSu8+NEcxZ3Jh/wAsUooM11mYj2NgeRjvSz9+4NS0/Y1w8Lbif8IioHICX0fRDMVNGjM6uIgqpinu4ndS0GoqwLTfBLNkM/g9/gOIvID6ugp8mbaPe2NBXnioi1+WwlB4js5zYCU027QabrYnatr+6qZdfnqe7kqJeKUR0UbzkjpozxswzArR6bKEXy+Whg1o08glLx/QlBkl9TOUrNU8jzqIiOHH 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:(13230028)(4636009)(346002)(39860400002)(376002)(136003)(396003)(366004)(451199021)(2616005)(186003)(2906002)(83380400001)(6666004)(66476007)(66946007)(66556008)(52116002)(316002)(36756003)(8936002)(41300700001)(8676002)(6486002)(966005)(86362001)(4326008)(478600001)(26005)(6512007)(6506007)(7416002)(38100700002)(38350700002)(5660300002)(921005)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Q5cX8xlR82G736TMazrhxj0Rdh7JY1WZyxtiE+rJUvYAOP+xdLKQWonOhCeA55s98iZgww8MBTUMBr1KsaLJOMOn1ASwKIQ/ED6Rm1SELW0AlgEQkhsE/yyWbnlJESw+xReogFcWmDWER50yCWT4rQTG8jn91w8EQbC6nmrqms2iwhlKJg4poVXt62mXXqTDdpd1dtE3IVJR76JtKPBD1jL2PQ0DYZnZz4kCAfcNvwfDzQau1YkcOTNX5SUdgcGaaQg/5TO+NvHawJ42YvapLtW0oXpSJrxRmatwNivcNMrzGrYtD8JPrKnvwSdmyENNuY1S7lPaA/iPsir2iAVM8VzLfpWm5PrM4ZoxJp3/x5KyNkNgxqQsIaPujkZ1amVXAhPZfORasjFQKXPL8a3VuCIjURGrxEl/3ZThxmToEnrEj6wgj3QS7tikCzIj4l+LfOc+OPL4skesdD7ke33PQTwWg0Bk9o21QfK+hBLeeEfgO840CXBzQDoZSLgLj4Rdu6hoqfIbZ/bIlcSugCr1CbndF9c1NchE0CmR/ahs14UWKkxi5B47ZwxTX32bKTsxsJYjV2M9BqLjZJ/wpVav2bDd43n5FWW5dvvgcoDtHtxT5F+/whKG17bde8enWUN00/zAAQujyPoTkFXVbqjsDNC7Wkr9I5xaTNNEDamux97e582KHL+AsB5dkiU2yeM0Q099sJIg7B7BOpzLoN5Ie/8jN54j4K+fT+bffJ3EHiR8KOl43g3EAY4NVtV4W9LNSwpDFo8TdomBgd7gkbVcKgkh2V6KvaMmVw5RbcCzUc5e2SFWBCAsvvusQp05tJNYPMrTcXWb3m/mYEf8Vqr0DsOJ0cBTD4xfHi0NJ8K//4yHX0TmD2Q1SYTQ8q3Z/yVdIMDbvNlXE5BWJfeuCFDB06LG/H0byVpojljD9EEoxFDie0jotNihNDuORaHMvjfSKGJY5q4EtjUtDvMSe0le+VypM2k0L8rdHR7FfH7itwXlYIsHQhEBos933HeI+ThfmxyzYIqcj3N3et3zTH8wWxGHAtRgVrKP27yugPZWygxLN2ijr4nZU5wLnTsVM38lK72YuScAnbU+hfSgyoD1/ptcA6O2FUA2elVNjt37to1wrCsotJgbH9JcTOst7Fpuuq4eBWsyO5PudvcoEX+0uQJ7WhudHYFnInXXRDJ6pD08D+KSVQp7yzSs6z5l+03MhBb5koIoObSN5t3uT8CmRb6qinXiiEdQf5X/tXUbPURFMBxzo2kqyTP9u4OqndHi+fCGLwLd2OcPtyEhyPcsZ+XoQeHSrfNnUHp+0eTL08KsStrwkCs5FnO61uOmtTlVk11HdEtc/qHjg+aXnVpoKrGHBsTqwm5fZKS50uSgdO7HPYalykGmpMKLlQ/15nQ9HfXhe1h75K+Z6vB7TQfRzv/2Z8454cZr/kxLxBT0hk4gZf0gkccTrKLPtacKdABo8M8d1rfCc7ihisbWN6XWj5Oy/OnzURwu59/9gnKpqnwfZUS+/vR6yWuyE0PgPt0sYw0ysR0g+DBfKR0zncLBtnGJMqFAtOR5MjOEYODbWmEAWAdkPOf9oBd3G5JKdzMP X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: cc2684ac-f2b3-4878-ffd8-08db6d41affe X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9448.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Jun 2023 01:41:49.8172 (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: +99pvw3J875JzcJBBPeSI7J+ITpKFf6z9Sp+XnIfGeb4OjDSlO8YsFT2pAHzy9w1X+2VrDAtwKGAnb3/wBlXqA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR04MB8034 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,T_SCC_BODY_TEXT_LINE 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768732707791665093?= X-GMAIL-MSGID: =?utf-8?q?1768732707791665093?= |
Series |
Initial support for Cadence MHDP8501(HDMI/DP) for i.MX8MQ
|
|
Commit Message
Sandor Yu
June 15, 2023, 1:38 a.m. UTC
Add bindings for Freescale iMX8MQ DP and HDMI PHY.
Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
---
.../bindings/phy/fsl,imx8mq-dp-hdmi-phy.yaml | 53 +++++++++++++++++++
1 file changed, 53 insertions(+)
create mode 100644 Documentation/devicetree/bindings/phy/fsl,imx8mq-dp-hdmi-phy.yaml
Comments
Hi Sandor, Am Donnerstag, 15. Juni 2023, 03:38:16 CEST schrieb Sandor Yu: > Add bindings for Freescale iMX8MQ DP and HDMI PHY. > > Signed-off-by: Sandor Yu <Sandor.yu@nxp.com> > --- > .../bindings/phy/fsl,imx8mq-dp-hdmi-phy.yaml | 53 +++++++++++++++++++ > 1 file changed, 53 insertions(+) > create mode 100644 > Documentation/devicetree/bindings/phy/fsl,imx8mq-dp-hdmi-phy.yaml > > diff --git > a/Documentation/devicetree/bindings/phy/fsl,imx8mq-dp-hdmi-phy.yaml > b/Documentation/devicetree/bindings/phy/fsl,imx8mq-dp-hdmi-phy.yaml new > file mode 100644 > index 000000000000..917f113503dc > --- /dev/null > +++ b/Documentation/devicetree/bindings/phy/fsl,imx8mq-dp-hdmi-phy.yaml > @@ -0,0 +1,53 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/phy/fsl,imx8mq-dp-hdmi-phy.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Cadence HDP-TX DP/HDMI PHY for Freescale i.MX8MQ SoC > + > +maintainers: > + - Sandor Yu <sandor.yu@nxp.com> > + > +properties: > + compatible: > + enum: > + - fsl,imx8mq-dp-phy > + - fsl,imx8mq-hdmi-phy How is it intended to select DP or HDMI? E.g. provide a single default dp-phy node in imx8mq.dtsi and change the compatible to HDMI on board-level? Best regards, Alexander > + > + reg: > + maxItems: 1 > + > + clocks: > + items: > + - description: PHY reference clock. > + - description: APB clock. > + > + clock-names: > + items: > + - const: ref > + - const: apb > + > + "#phy-cells": > + const: 0 > + > +required: > + - compatible > + - reg > + - clocks > + - clock-names > + - "#phy-cells" > + > +additionalProperties: false > + > +examples: > + - | > + #include <dt-bindings/clock/imx8mq-clock.h> > + #include <dt-bindings/phy/phy.h> > + dp_phy: phy@32c00000 { > + compatible = "fsl,imx8mq-dp-phy"; > + reg = <0x32c00000 0x100000>; > + #phy-cells = <0>; > + clocks = <&hdmi_phy_27m>, <&clk IMX8MQ_CLK_DISP_APB_ROOT>; > + clock-names = "ref", "apb"; > + };
Hi Alexander, Thanks for your comments, > -----Original Message----- > From: Alexander Stein <alexander.stein@ew.tq-group.com> > Sent: 2023年6月16日 17:35 > 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: Oliver Brown <oliver.brown@nxp.com>; Sandor Yu <sandor.yu@nxp.com>; > dl-linux-imx <linux-imx@nxp.com>; kernel@pengutronix.de; Sandor Yu > <sandor.yu@nxp.com> > Subject: [EXT] Re: [PATCH v6 6/8] dt-bindings: phy: Add Freescale iMX8MQ DP > and HDMI PHY > > Caution: This is an external email. Please take care when clicking links or > opening attachments. When in doubt, report the message using the 'Report > this email' button > > > Hi Sandor, > > Am Donnerstag, 15. Juni 2023, 03:38:16 CEST schrieb Sandor Yu: > > Add bindings for Freescale iMX8MQ DP and HDMI PHY. > > > > Signed-off-by: Sandor Yu <Sandor.yu@nxp.com> > > --- > > .../bindings/phy/fsl,imx8mq-dp-hdmi-phy.yaml | 53 > > +++++++++++++++++++ > > 1 file changed, 53 insertions(+) > > create mode 100644 > > Documentation/devicetree/bindings/phy/fsl,imx8mq-dp-hdmi-phy.yaml > > > > diff --git > > a/Documentation/devicetree/bindings/phy/fsl,imx8mq-dp-hdmi-phy.yaml > > b/Documentation/devicetree/bindings/phy/fsl,imx8mq-dp-hdmi-phy.yaml > > new file mode 100644 index 000000000000..917f113503dc > > --- /dev/null > > +++ > b/Documentation/devicetree/bindings/phy/fsl,imx8mq-dp-hdmi-phy.yam > > +++ l > > @@ -0,0 +1,53 @@ > > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) %YAML 1.2 > > +--- > > +$id: > > +http://devi/ > > > +cetree.org%2Fschemas%2Fphy%2Ffsl%2Cimx8mq-dp-hdmi-phy.yaml%23&d > ata=05 > > > +%7C01%7CSandor.yu%40nxp.com%7Cf2d4e5ea99fa4f5776bf08db6e4ce7ba > %7C686e > > > +a1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C638225048817792176%7C > Unknown%7 > > > +CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haW > wiLCJX > > > +VCI6Mn0%3D%7C3000%7C%7C%7C&sdata=ayYA0rayDR2w1LDgU53VtCitw > MH9PnoblX2k > > +Jhbu6Gs%3D&reserved=0 > > +$schema: > > +http://devi/ > > > +cetree.org%2Fmeta-schemas%2Fcore.yaml%23&data=05%7C01%7CSandor. > yu%40n > > > +xp.com%7Cf2d4e5ea99fa4f5776bf08db6e4ce7ba%7C686ea1d3bc2b4c6fa92 > cd99c5 > > > +c301635%7C0%7C0%7C638225048817792176%7CUnknown%7CTWFpbGZs > b3d8eyJWIjoi > > > +MC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3 > 000%7C% > > > +7C%7C&sdata=DagQtrIblGEk3T1mamSmI2010SRszqhIpJ4piXy3L4M%3D&re > served=0 > > + > > +title: Cadence HDP-TX DP/HDMI PHY for Freescale i.MX8MQ SoC > > + > > +maintainers: > > + - Sandor Yu <sandor.yu@nxp.com> > > + > > +properties: > > + compatible: > > + enum: > > + - fsl,imx8mq-dp-phy > > + - fsl,imx8mq-hdmi-phy > > How is it intended to select DP or HDMI? E.g. provide a single default dp-phy > node in imx8mq.dtsi and change the compatible to HDMI on board-level? > The PHY driver select should align with HDMI/DP driver base on board type. For HDMI board: fsl,imx8mq-hdmi-phy + fsl,imx8mq-mhdp8501-hdmi For DP board: fsl,imx8mq-dp-phy + fsl,imx8mq-mhdp8501-dp B.R Sandor > Best regards, > Alexander > > > + > > + reg: > > + maxItems: 1 > > + > > + clocks: > > + items: > > + - description: PHY reference clock. > > + - description: APB clock. > > + > > + clock-names: > > + items: > > + - const: ref > > + - const: apb > > + > > + "#phy-cells": > > + const: 0 > > + > > +required: > > + - compatible > > + - reg > > + - clocks > > + - clock-names > > + - "#phy-cells" > > + > > +additionalProperties: false > > + > > +examples: > > + - | > > + #include <dt-bindings/clock/imx8mq-clock.h> > > + #include <dt-bindings/phy/phy.h> > > + dp_phy: phy@32c00000 { > > + compatible = "fsl,imx8mq-dp-phy"; > > + reg = <0x32c00000 0x100000>; > > + #phy-cells = <0>; > > + clocks = <&hdmi_phy_27m>, <&clk > IMX8MQ_CLK_DISP_APB_ROOT>; > > + clock-names = "ref", "apb"; > > + }; > > > -- > TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany > Amtsgericht München, HRB 105018 > Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider > http://www.tq/ > -group.com%2F&data=05%7C01%7CSandor.yu%40nxp.com%7Cf2d4e5ea99fa > 4f5776bf08db6e4ce7ba%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C > 0%7C638225048817792176%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4w > LjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C > %7C%7C&sdata=6uih84XByS6aX519z7l50amZl2XnPIMSggyfSD4xd4M%3D&re > served=0 >
diff --git a/Documentation/devicetree/bindings/phy/fsl,imx8mq-dp-hdmi-phy.yaml b/Documentation/devicetree/bindings/phy/fsl,imx8mq-dp-hdmi-phy.yaml new file mode 100644 index 000000000000..917f113503dc --- /dev/null +++ b/Documentation/devicetree/bindings/phy/fsl,imx8mq-dp-hdmi-phy.yaml @@ -0,0 +1,53 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/fsl,imx8mq-dp-hdmi-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Cadence HDP-TX DP/HDMI PHY for Freescale i.MX8MQ SoC + +maintainers: + - Sandor Yu <sandor.yu@nxp.com> + +properties: + compatible: + enum: + - fsl,imx8mq-dp-phy + - fsl,imx8mq-hdmi-phy + + reg: + maxItems: 1 + + clocks: + items: + - description: PHY reference clock. + - description: APB clock. + + clock-names: + items: + - const: ref + - const: apb + + "#phy-cells": + const: 0 + +required: + - compatible + - reg + - clocks + - clock-names + - "#phy-cells" + +additionalProperties: false + +examples: + - | + #include <dt-bindings/clock/imx8mq-clock.h> + #include <dt-bindings/phy/phy.h> + dp_phy: phy@32c00000 { + compatible = "fsl,imx8mq-dp-phy"; + reg = <0x32c00000 0x100000>; + #phy-cells = <0>; + clocks = <&hdmi_phy_27m>, <&clk IMX8MQ_CLK_DISP_APB_ROOT>; + clock-names = "ref", "apb"; + };