From patchwork Tue Oct 17 07:04:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sandor Yu X-Patchwork-Id: 13424673 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 9AA16CDB474 for ; Tue, 17 Oct 2023 07:06:33 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1D87F10E273; Tue, 17 Oct 2023 07:06:33 +0000 (UTC) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on2047.outbound.protection.outlook.com [40.107.7.47]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1264510E272 for ; Tue, 17 Oct 2023 07:06:28 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SdDSO2tak0//fYHP89x2q6D2cjSxQ1mXfLy+Xdz1JqcAEaW7zPcZ7owjeI9i1r/gh/faVb+dvkGcHClvxNux32EyAqlfBVkh0UDBJlw9D6YWUptGYqXWNVgnC5pVZ+rX3SM+6uXMDApb85hAdJlDRDfFQNe+moWTdAHbrWC8A/XKYCkuTiNFmc61Rj3yoe0p2Bh9W5FdUC7QmI8PvwBYalxwMt6qiwj1j0x7bMfx0bOCFGVm3Q3mTfv5Th8YaycQiBy23CelBszY6nGvHueShx/wwwvly2XTx6Iu0WuESg88ssx/66QkUSOnNOGXK1JXC3Yuzb+dgYkUBw8acjFGfg== 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=7LylzINp7jCLe6sz7uje0e2tlF3cKV/Hd+SMAqgTnx4=; b=KzI5P+Xm6psLHLCDEhgP6RHGk78VjUIEZbBiXV8GiXPEFEDGcupqSYhARREKo3+sAkiEe0zOGWuIyewSdBM8GcK3QZhgBuzFzMgE5OW3mjghrxkEdxZ0GXNYhiRyA02C85hBoPLKp3tZw4Hm9LPlU/BVfwSPnjqNC3EkMPgFW3yvTDZdhbhxE1VDQfS3U0KrpDLZls9YeWxzr4aX+Sm8OZ7rrzJcH2tOLJ5nY8hYeaqpULcuWFCjrObSSe3BBAc333adfA9X2amlO8nhOWzpbr/X4hOqOatBe1/CxnbsBZV1FK83k1iR+awyNseY++AA0dD/BeFZmM3w69tb6998aQ== 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=7LylzINp7jCLe6sz7uje0e2tlF3cKV/Hd+SMAqgTnx4=; b=AH2dTt2+qdmE1RUzr2s1rHqYPXvvIHkyio2WBs1ae75RTPxaFHiWBSfYWU5g8Q0xpcKr9UF7DNiBeLJXwtYmnQ24TT2UAdppXlU1kCinVhfPqIG5KwXoZpjVMRETZ+F7XdtjIOwmaR0NGUhzixn802YNpc4tDnrWjew92DQX/v8= 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 VI1PR04MB6974.eurprd04.prod.outlook.com (2603:10a6:803:133::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6886.35; Tue, 17 Oct 2023 07:06:24 +0000 Received: from PAXPR04MB9448.eurprd04.prod.outlook.com ([fe80::3b23:7c3d:fd28:c3f2]) by PAXPR04MB9448.eurprd04.prod.outlook.com ([fe80::3b23:7c3d:fd28:c3f2%7]) with mapi id 15.20.6863.043; Tue, 17 Oct 2023 07:06:24 +0000 From: Sandor Yu To: dmitry.baryshkov@linaro.org, andrzej.hajda@intel.com, neil.armstrong@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 Subject: [PATCH v11 5/7] dt-bindings: phy: Add Freescale iMX8MQ DP and HDMI PHY Date: Tue, 17 Oct 2023 15:04:01 +0800 Message-Id: <3b01b288d7427726568e9a89e8ee91e444b39044.1697524277.git.Sandor.yu@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: X-ClientProxiedBy: SG2PR03CA0122.apcprd03.prod.outlook.com (2603:1096:4:91::26) To PAXPR04MB9448.eurprd04.prod.outlook.com (2603:10a6:102:2b1::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9448:EE_|VI1PR04MB6974:EE_ X-MS-Office365-Filtering-Correlation-Id: b0981f2a-189f-413a-bfe0-08dbcedf932e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: EksuN+4aDaqyCkF9fjuhycav05H4HkVsrpql9LPXSLdquSUPtReGif3+j4+pdaXHFmkM+9Hlv+31y6mN09gvinlx2QRgdLDv+g5XEjDyM6spGFTAD4RadWvOfwLMn7Uf6M6d/CraSEsVAMg9TqEhh0Ampvlw8llxL+An1YDVgiJYPKODQeZwMN/YKqyNEGk8hZ5EKm7JiDTTWgI+P3VqsesSD5D6Wgj1US3o8YzRzmLCmls01r5E5irDtOhdn5q2LY2ZKwzMdZds7WptWXNoPqZk3NZ7a06iPt3KikDQ+x4mBACyJixiEpD6nh+lztZ5mgiaiuysRG877e8L53B9HWV0PwdjtcqfrIiy/cUWeJO1Ww6LM1bqV4YhcF+Uqy9/lzBJvpYEf8QjtkKeE9B9aLZYs6JQPK0AUGCpz/7f04/ocXo8w/RrILnevLQVDXQ+YJ5YEn2n5uJE/WMPBYBVjm+QX+BDSIF39evd1OJNkhMjUmYNVSbPa85275LSc5pFOfMmrPOnnMl5NmbvXmeHFm3LS6z569ZEZ0ywxaGfbppMXiRE1cdLZ3Kl2OfkxglBtmsgQR7juLNR27jVlIY3Myueqyzu+5prvaJCLBZrNrnY6FXY2dKzftOnmla3plPp7tx3xOWRZTjqAn6oodOgWA== 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:(13230031)(346002)(396003)(366004)(376002)(39860400002)(136003)(230922051799003)(64100799003)(451199024)(1800799009)(186009)(86362001)(38350700005)(36756003)(26005)(478600001)(6486002)(2906002)(6506007)(5660300002)(41300700001)(966005)(6666004)(921005)(38100700002)(2616005)(316002)(8936002)(66476007)(8676002)(66556008)(66946007)(52116002)(4326008)(83380400001)(6512007)(7416002)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: E9i23x3VPCd+7AkireSoUW/mu+2XFb7pBzSrmF7y2pKW9ur6W73+9dgieTMPX5tqgz/QkGsCn9vMeJSyrEZ8cs8heB9xx/d0RT4sbWStQrR47QZv90cJG+AAERXvKy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jLiOImke5cD6TanAJofVXzAyocVodrHjAVgjEXhCOx8N4VYo4HkgPEqn+EH7Rpfc9BUE1yVhodazTzH0+Y3sObMOENPP9eV2pmXoCQrOCrRJ2a/rGudlPm5lZjj/eYmFlQn1iBr82SDfAtqBlRV+gS+vHVYtu1FIbVFQ44/qqqTvgwdHSJ6snrVS/8mpr+DDRE9h06O3lwp/Am/5m2fsVYFumLkcjOLiRtDd/4O/haz1QwhgxIZL1ZtAFP4XtfUSA0wOHPE5QlswMnJjFYNWl2GnvGxBji1DfjYi65b4mX05Sgw2wu9jtBRi1SqM6ZpHBZyAmsQ1vVNtPdkTd7AIyjmBYuFtkRyRrnTg2DGvRgFdiN32NrNGi3wL X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: b0981f2a-189f-413a-bfe0-08dbcedf932e X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9448.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Oct 2023 07:06:24.7406 (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: FAxVOLsgmE220R+AVVz8i6/9kR9e0+7Sx5jhCpXKKzTGtroW9iTG3MCkETb9IILV3xsPJy7clQZdmY05YSuA4w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB6974 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: oliver.brown@nxp.com, alexander.stein@ew.tq-group.com, Sandor.yu@nxp.com, linux-imx@nxp.com, kernel@pengutronix.de, sam@ravnborg.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Add bindings for Freescale iMX8MQ DP and HDMI PHY. Signed-off-by: Sandor Yu Reviewed-by: Rob Herring --- v9->v11: *No change. .../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 0000000000000..917f113503dca --- /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 + +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 + #include + 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"; + };