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: 13424678 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 0F770CDB482 for ; Tue, 17 Oct 2023 07:07:13 +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=UnvMrEAraYJd/JIlJu2Y/nqioLefO/pNre09FROIc2w=; b=AP0tmbqhMSdo2R RnKaOb13DcUjuxkPiu/jT+BLnD0xFaspeUXRa2f7HRFxFvIbJALfIXlxoKsDmhownM/jh3UVO6NmY EFa19uf9iSvL/IJBbrf66N1hCpFMGUl3ymgfWOccGz2dwWi1xN7a3dUK8F5clrOzi3uAS5pYiypXa gx5Yq5atUysREsbrFe5wIXDwCw60qr2WDaQGQrzwaM5JhRy0pkVpVVxACOFr2u/TCIE1NPdpJHpwW iJa6w/bqJ7MWTuoquMVhTU8HLQLqjvNNIrHvjszmpjTWXzTOfQznoukVcEYUKPuFb8lVPOM4eT+kj LGDL0/Tvh099eX4Ivlvg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qseA2-00BWGJ-0K; Tue, 17 Oct 2023 07:06:38 +0000 Received: from mail-he1eur04on0631.outbound.protection.outlook.com ([2a01:111:f400:fe0d::631] helo=EUR04-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qse9u-00BW8l-22; Tue, 17 Oct 2023 07:06:32 +0000 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 Cc: kernel@pengutronix.de, linux-imx@nxp.com, Sandor.yu@nxp.com, oliver.brown@nxp.com, alexander.stein@ew.tq-group.com, sam@ravnborg.org, Rob Herring 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+AAERXvKyAtN1nxOMjNXIdP4/jl6sk9mupg7mXPQZnIMROD3foWPj3csj/dIqnMFF6lb0IWEQbF0KozYxeYFpDorNX2t/4AI3UyUl/KPs3BbOnn/HbD9S/Re4zKkp3C2ELZ1arPSJM9dtHiMPvW+A5y5VzB22trazL21N1BgwNiM1YT80P66v6StKA29UGq8AW0Hei1ORRLtzoYQoSLABBVgKEblFtG+wAVvBTQsnUgnZinolR8mOrORhSuGWoHxJRNFvFSbxliuQLzPiWyY6XyqaELewJoeZRWL9PxanrfJXQXtYG26tj7MNBx5WRsbwb417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wu9jtBRi1SqM6ZpHBZyAmsQ1vVNtPdkTd7AIyjmBYuFtkRyRrnTg2DGvRgFdiN32NrNGi3wL 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231017_000630_671063_54F15D60 X-CRM114-Status: GOOD ( 11.50 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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"; + };