From patchwork Tue Feb 20 03:23:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sandor Yu X-Patchwork-Id: 13563357 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 32FAEC48BC3 for ; Tue, 20 Feb 2024 03:40:44 +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=eferBDyn3Uujj2ZiKDAxrEmdLxQWgEWUy8YxJ060tpI=; b=Ri4icilfk8sZd3 xp+h+uYaJ83ZZqZk06ndMYzawFlAYfRPj9u99085WU6rDrBdNlgpt1rB/mDS8vxfdvBOIQdGJhKqd lA/7+rPd1xRiysuST6bDVSX2iZBwR1fbMjarXgQDSC1lCpf6jSekgvQrwdnSmR9VrFIi58G3rBX5V 8UDyCDFF2wjWWDRtfNme6fsJfDz1xU3X5jPZWAeYgNYrR6yl2kryfXfoLka1kW5uXf+OPUm7fTUUg 3U+G8gK3lABAgO99tT80UtghtReOXmNCbeiW8yALWkXPmcfy1Guol6McjBM8/NlCuvYBD0c7DRFR6 eJLqC1HNgTRDcoFgvXIQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rcGzh-0000000D1wg-2Hlc; Tue, 20 Feb 2024 03:40:33 +0000 Received: from mail-he1eur01on0606.outbound.protection.outlook.com ([2a01:111:f400:fe1e::606] helo=EUR01-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rcGze-0000000D1tk-0Rsj; Tue, 20 Feb 2024 03:40:31 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XTlwSvkeBKAJyuGlP9m9GlMOHR7aYAb36dQ7E6dfJHqE9Z+WDgBNy60thQbjFxkszIeHyKuFkVN0kERzRKDNZlKP8xkkXtDm1EAKNU0Cn2F31J1QCzZA6DEyh3U09RQpxDEEJbIEUEmqVtCtIPisLGNT1lsOEV9qdXJSsAc4yvektNNRHu7+cfE0lgzibk3mNEl4sOw7TtkzqHkWVpCpEcLgJG3pQ2lr8VB70rU9fHqaYXsSdDGOM2phd+AeT0TFY534ZYpnB8sef+pVA+wxDDFdQKht80cbIKH7hfZnMtPMk3faHJS2PGUasj8jZP+0Rdmbs8KpO1V5Cq5Ootga0g== 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=4je+WGS66Ydl/PYW+Q/0sM04RsaeoDR/ZlchiHIlLmM=; b=Ebs8gw2ilMWoGyG79/LD7IRRU+Ozjth7W1JVGMikW1fR9vCxRyXGyyxuALSxC6CJx3X1c/um4nJvwsJDTASuvTBLkoSodcBigtjJkmc5NSSEuvl9GRkhOtBjRUzUnEYDwEzB0yC6U/VRxb7CCRjbyPwL2ENQ71ovRxTau7xwPIEVymeLVyEywdwS8ZfDVaQbZcJQIJJAN0pZb1fiyECUKkXvmkCZtm0amHtmVbBAOSwQ9Ss8iHwP1njFjtSrRocOcseGPcCHulJpgCw4/VH+MEASmbfLmEUXvO9ZRDFZE7o9tqFP6IleNy6J3PPQ9HDnOW45MhCoUAoVt7u4xmb8JQ== 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=4je+WGS66Ydl/PYW+Q/0sM04RsaeoDR/ZlchiHIlLmM=; b=Rh2qZCuFRL/F+jHtRo/V5KJeo853Q0wCyo0cxH0YHuqG+eqai/Zcl/42V1eEXlJTJwFFNlzOMcXptUquOhEb8HTy+zGxyQCtGTwkgTJ42ujA+FGUouqvpUVvsWkgH/bEe4aARNKM0wQddINTWVpyS3CUmmm20oOMIojY0fz9x/o= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DB9PR04MB9452.eurprd04.prod.outlook.com (2603:10a6:10:367::13) by AM8PR04MB7268.eurprd04.prod.outlook.com (2603:10a6:20b:1de::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7292.39; Tue, 20 Feb 2024 03:25:38 +0000 Received: from DB9PR04MB9452.eurprd04.prod.outlook.com ([fe80::4272:e277:dda3:2446]) by DB9PR04MB9452.eurprd04.prod.outlook.com ([fe80::4272:e277:dda3:2446%2]) with mapi id 15.20.7292.029; Tue, 20 Feb 2024 03:25:38 +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 v14 5/7] dt-bindings: phy: Add Freescale iMX8MQ DP and HDMI PHY Date: Tue, 20 Feb 2024 11:23:53 +0800 Message-Id: <8ddbb34b5f6bf2414bdb03f9e7cd9da70e4e7228.1708395604.git.Sandor.yu@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: X-ClientProxiedBy: SI2P153CA0029.APCP153.PROD.OUTLOOK.COM (2603:1096:4:190::16) To DB9PR04MB9452.eurprd04.prod.outlook.com (2603:10a6:10:367::13) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB9PR04MB9452:EE_|AM8PR04MB7268:EE_ X-MS-Office365-Filtering-Correlation-Id: b05f9949-29ce-4d0c-b656-08dc31c39bc5 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; X-Microsoft-Antispam-Message-Info: upcaUvb3w/55fpkc69CrzvwNh3ZWjS5T9Q9h5WxALB9d5UvpQYb8Qmx6a681+PlQiG+RLcKdeSHa/At6uIARvGA0Afo2oYhbmWzVM/OJPwR7nf9hSKABlSU42GU4gBByxD/cAdObny1VxSWvpu9eZLU1oS627aW/FItUk+1KuN/L7NOBNLp6xzQTRaU5pEtCUD6uQa26d3QOFNXhScETr4QM7h1DfnSczaIs4GFJ3fz+VuP4UEGB3bkSvtKraUih8wTpBNzFPz8Y1rUZSlKXa9q15fALMdTZIdv42zZ/UUoDdbd5AOHXA51v5wi+curnBYpx7/gEOgqxjjNYA4qk0K94gO5vdUc5tG+IwMqeYAuGrMlLUeMT+K5y5eWlkNvwweVQCl8XXHfw8K8orGUBtD7x+4Gfgsz7ZoDnmO4qBO1xQLWcb9n+a/UhmAYJHZpPEmhHGgWO/PCkSFoBLlWh93zujfVC75rR+t6rbPAT88/1MTNTholIOEwu6eOade4LpHRNb8BY1ik3FGXHxU9NLZvw37CDqufzgMdR2Q/LimH0JlUod+A8X4xNyvmEiV5CwKj3DZBtG9S1HP6rlINqdKiB1MQtNCX77ITFwMDj+J14q2G/WsfpN5pbqfMQhPVD X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB9PR04MB9452.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(921011)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: W4Npc8hTTCtfrNxXOJXW37n/1OIh7REeYk7nPMr6N/v7+pjawRZ3CygOW7JNs+bs+gEHmNEAwl7m2HciKJ5lECdR65IS0vGlKKN+bw+0LM5lCmsJtzrUJ9IhDe2wMnfoFFqfLLb0SDwXKiIA6g6ujNtzeKArrcMw9Y9X1sbhA0WjX9w8QkTuDe8AOfAFbfZBiXNt9bcs4SBU6muyo5Ai21SG4p2cQOpCgeo8KIjQ/YqVerIXSW515YFPqTCYFx5Sht/tltmLAM+z8FYXZvOCXY9uB4Y0yb33mkpw8rRF7RaOHL3ONRIh430s0szFYFDT2uMWDTRZ2Eyfi26dJX1Vp88wVTADGu716RT08Auj3g7VoMqvNQAUKeRU2pFwIxs/Lq7rXIjWJhyk2HWIsGmeQ6R1jofNDlLOc4BZD5i7dtU1+auOt5Ph0VH71sut4DqqFJDlx6BXXPZcsJoaltz5DEOoj09Rr0wrzilchsqVBwTa7Znvfgc25eINOI/iDi51RJUj9qh+TfZL+02zqeiSgWzRv610VfzIiSucSQGK4n/ig4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ant-Network-Message-Id: b05f9949-29ce-4d0c-b656-08dc31c39bc5 X-MS-Exchange-CrossTenant-AuthSource: DB9PR04MB9452.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Feb 2024 03:25:38.3235 (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: o7mVFuXHjT7ZPgPSPXmZ6hsnnUHD3CjaUqECJGzodGEaXGMq5VAs8cRtliaTwFOukfkBxhviJNIKY7hOKyZ2ww== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR04MB7268 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240219_194030_176175_231BE1F1 X-CRM114-Status: GOOD ( 11.17 ) 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->v14: *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"; + };