From patchwork Tue Oct 29 06:02:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sandor Yu X-Patchwork-Id: 13854396 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 AEBA6D5B874 for ; Tue, 29 Oct 2024 06:12:55 +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=yGdX59+XlDzvG3US66FqC59hsbaqeTBssG9+qXn5tKQ=; b=A5nqr4E1GdP9Y1 14vY8gm57afOGn/d9MCHc33C7s2wOH7XQlnzNeBzk03RPTYbwXu16+NAeLHzG/Fsz/iYfoD15jf37 h1se+EgRiXO33ijNCR8qAHROsqRN+T1nuI11IKngb4fwBqltYX9fjCHp6nHspQHxOhB5sOyhoy5gL cjUiHYsDoUZ/7SU+VaU5lCFlmRBHk2sSELrmK+NI5IgSPv7CxcSumQ7b8f23QZ5niWAgJiKMq/Rzr 5XwAVQRjAsMWAXmbWAbPhu198Y9gQi9Gh4PHPnNN1EYFVlzihmV7Kq3An4hG3FKOOg1w/LlvotJTz xhGBdt81JuK+aK12X3wg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t5fTL-0000000DKqU-1m4k; Tue, 29 Oct 2024 06:12:55 +0000 Received: from mail-vi1eur05on2061b.outbound.protection.outlook.com ([2a01:111:f403:2613::61b] helo=EUR05-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t5fLi-0000000DJk9-4Aod; Tue, 29 Oct 2024 06:05:04 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=ez+iWVmwQXLXZn2FecvRawBIr5KiR9Gt5+i8wj3jLz6AFIqYlsN/sCn7tY28rvOFajXj6H3BK2LeoMx7siRRN/IG07k3xIJJ/SqdXHjv2V/In3yshbvvKZAlA5POIwGdRRdtzG6SeSXwKulza4/naTjasNeI5zGMTl/Um/19DYFm4434H3OsOz7sKfPyTGqRG1gND7xvx+7OoSt8wHu1iWO/0SVNg5Nnj0QTt/LHokYB/EKggTD+7T2uE7QvK4cHRZmjwXfy18+jjWwMaQM+q9bYN5yWevvDzV2oMw0cE8hEFq10Z6O5dNHSK6y7jJkoZZyPSHdX8iBARLpGN5Hcbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=oCSy6Thi3KfrjSiwuIK2L4yx6OrdwaOZplvEEPyRWy0=; b=QzdRFx6ZYVO2nt3cBMSfpKClF1ce+M6CkTL1DX54N6MJ787IZ2c3lRwdt1/ROq8f+D1J/Lrs9NZrsMEOCe7xrgsCGMZfYti8k31mXHnT4l34S9yI90XADPfCk3kH5NEAoUCaonztFC0VJcIXO1iojMV8J2To00TLiZSVIKI4PPP7/VwpwbedAs6miDkK3/iQ5shjR1PSYAKe4IYFgJMqLC41jrXDBXgIvi3hZ1JIQdcEsZkGO9Sd3m31B8WTJ01GSQsmINtmTiQA4TGK14To2jzBZ/1nIjoLUJ+ofFXUSPA9FiG2lh22+sXO/Cie6VYIJ8GwxmtWe+vhcvJl82SShQ== 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=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=oCSy6Thi3KfrjSiwuIK2L4yx6OrdwaOZplvEEPyRWy0=; b=kRpCLCHFLc3yCxqOizY9mofuAjNYVxUPSCMTNsgY84DH0r93JcTlzNxa6ScaEkrPlYbZuwJJn1EuqVJniWS3hJifEb842GfjaHuMHDKZexvEzQk5ltcPUkde2sJsJ2c15q9gNHpjuiXUtkIYxjfKDDew6OGCQpHLiZd7EcONgiGKezPwTlCMGGrabvqbtXf6FOWzoPPKucbvB3JYaOYs4v+vRFtRMHomc96sy1dTSls1MyrtQnl/79/Q1/GffxiPffftE2jcfRzBUAhxcfaVI66ZZz2MLCb2XSLvvrdlh8BcirRb2aZlQmpZmuDXHvxlRljL+UjEE2s6DYVUWyXHAw== 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 GVXPR04MB10202.eurprd04.prod.outlook.com (2603:10a6:150:1c2::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8093.27; Tue, 29 Oct 2024 06:04:56 +0000 Received: from PAXPR04MB9448.eurprd04.prod.outlook.com ([fe80::51ae:5f12:9744:1abc]) by PAXPR04MB9448.eurprd04.prod.outlook.com ([fe80::51ae:5f12:9744:1abc%6]) with mapi id 15.20.8093.018; Tue, 29 Oct 2024 06:04:56 +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, mripard@kernel.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 v18 5/8] dt-bindings: phy: Add Freescale iMX8MQ DP and HDMI PHY Date: Tue, 29 Oct 2024 14:02:13 +0800 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: X-ClientProxiedBy: SI2P153CA0003.APCP153.PROD.OUTLOOK.COM (2603:1096:4:140::20) To PAXPR04MB9448.eurprd04.prod.outlook.com (2603:10a6:102:2b1::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9448:EE_|GVXPR04MB10202:EE_ X-MS-Office365-Filtering-Correlation-Id: 83d2fe62-9feb-4da0-ce90-08dcf7df9ccf X-LD-Processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|7416014|376014|52116014|38350700014|921020; X-Microsoft-Antispam-Message-Info: cUinJ5m351KWg4fweIJk5jaPn+vkL6UQ+7R3UGPYPsp+jxDdNJlu8dkotb1U0nrRPlVjOBMLhzJG4nSgg7EVxbGjYUrNpqwElq5f8AGFUfDtLPYDQQXLlLYZ6jyIdSMqvltG0Y5Q46fZGk8j/6RssrFVhrk/AUq/QsLfpXvwZ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QYgbyYI6XGGmgy1Oq9I/EGGwpi8CTpKA6FSmnxmHmvt3Ls0ZNZ/EQd8+AC1MZr5E3cDUUmGj5qTvZEv2gRFUoiXNphiynxA2rk/Seq+dohvD4Scb69ATo8/Nfpek8zPw== 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:(13230040)(1800799024)(366016)(7416014)(376014)(52116014)(38350700014)(921020);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: tS/j0rqj1PSmVlBaUtoxhQ6B5HT8GhDnuGKoucQiOkxgxSPHLdLGSntVNlfH28rjhfidq72seLIiJvA7XtUf4qwvFc49IgqceEevP2NyQfmB/rtM4PdP5Sd6OO9gS6WdMyACYlNW3Cyg8/+L4JMj+O9zD2xx+SLyO8HZw0hKb0eclXHRVpL6k3qSdFiYsPc+AE0wrjDuF9G9XSgzhThlMVqUwd8eoYoDdW26akYWPv+yOVq65RiSoZFOsTHosWoZIXA4W+isihdKvzBmivFcPAiFc3EZUxhN5YM3sd+dnIltF0aTMOXQ0b0UvGfyT2KW0tOrPNpJeUjcBCCf5i6577APVkuQYEovkANHTF7CxiFmNcSuICcxwmyP4r+kFKGEF7KQFTSSes1W3GnGmr4u8zh5ZiD9W7ugqda2mxl2//t+fGx9DtuXmGNMjs7LeCTcjs9IJLmAIoZSaVab+31PXr2ipevMKYhHKFKoiWzOPry/0g2DO0gfC8E4N5feJx+QXW+woRuHHR4pklgvErEaq+EyoBPLJ3X4twnMS9ARqhBkGeMhyTWmVAxl5WFa2sjXODldY9WzEDo6c6ZthkfQjg2kuJQPTmA30db4tLE+uEVAM0sytDyTdJBWaepT37Mli9lrlp/FAO5qrQNtXC4n9oN9wqR+WPk4NEEyDeYUofR02v5YlRdIWhvaX2XtITEUzJzF1YmuHzkHKtmdCjCnZGFIGDEOX5T5teGdFdY04jbgEFasKd7MDxLiWuyKCeEp27LmAT3dWopwVaG7ZKDAuuKfzdXW/Hfk9XVteFXBDtvNQbrOEoKkI8WDEjkJ7KfkA8q5KPprKrwPfFoGbESIOoj8UEKrifWDXQli94Wk5k4S2aaFWfS5f1tOEDUHXA+ASI976VgysOtpSPgM1pLdGNbNlKAPnHoWXaIK0Gd9y4S6ejX7XmHerxqB60p9q1hxospleHDXfCeYmen7h2M4ArkhOWOSKSH2aFazuYj+gDSsaljtLhJ2xGBl1wv97eh9xNcjNsq+EKEXtOQZYYGcDU9qiMgLY6A2vRt8eEJgPfCX8T8lYx7N30VGFzWPOCbKiQav39dW73xneaLbw6M8lIfNmu0IaqDAnBmQut59Ad+xhp47zWjgyESeEtADR+E00D19vmusazHVCrusAwIyREdoJYLj044nFb3FY1biXa4ixlPWdb1MyF0tdkTx2GXJ3TRi+QN9RnTLewykfTzSDYWA+oLB5YuWU/XsMEO3pvR8NeIvwk4lLis3p1hArCTfLpvm1MhFNQK44kStLfetVpZPgzdQ2o4TiY5zogEg0zmZmlmVCmB7e7uSQ4njoODkYyhswTk52usDbI86Vx/iQFw+a8ehvVbkGN5gPooJlu2Oh4pyLNCSiyz+6berUFvYqlsFFU5v8a1MCLkztvYx3naHP9bSgrRbta6p+A9v7CjuumpHIda7EYy6AGZdHrgJkE8/KMCr5UIR+CqCakh5sHDsUwiSlMbgW79QJsFCilcH5zZF1U25XyKS3oBwgFfVMVVVPn+ajjBXBjLFDBKx+DnoLdQDLiczfZGgBqHlY3VTfLssFuyrXYezXGuTaFf2 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 83d2fe62-9feb-4da0-ce90-08dcf7df9ccf X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9448.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Oct 2024 06:04:56.2882 (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: pQJ1KQgTeCFLxr0O6Jp8+fr9vBOTXsR7ENDCRlO+ozDM2BVEmnerDh53qiRy7l4DCRz+5UaDdyWm+aQCb7fCIQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GVXPR04MB10202 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241028_230503_069422_732C24BC X-CRM114-Status: GOOD ( 11.73 ) 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 Freescale iMX8MQ DP and HDMI PHY. Signed-off-by: Sandor Yu Reviewed-by: Rob Herring --- v9->v18: *No change. .../bindings/phy/fsl,imx8mq-dp-hdmi-phy.yaml | 51 +++++++++++++++++++ 1 file changed, 51 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..c17a645e71bad --- /dev/null +++ b/Documentation/devicetree/bindings/phy/fsl,imx8mq-dp-hdmi-phy.yaml @@ -0,0 +1,51 @@ +# 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: + const: fsl,imx8mq-hdptx-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-hdptx-phy"; + reg = <0x32c00000 0x100000>; + #phy-cells = <0>; + clocks = <&hdmi_phy_27m>, <&clk IMX8MQ_CLK_DISP_APB_ROOT>; + clock-names = "ref", "apb"; + };