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: 203388 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2685:b0:108:e6aa:91d0 with SMTP id mn5csp170707dyc; Mon, 19 Feb 2024 19:26:42 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWLYMxl0YEa6Cq2YqzAPDALQrrrzCo1SZgGnt3x83fcHaTMW/4OMj/3H7HzTUPcnygvWyt6YGfMqDlqYfavET3TyvVkpg== X-Google-Smtp-Source: AGHT+IEzHzTZ2VJcwN2Yyi99y0mhIXgRr4QH5rKTaruosCJF8kNQ7nSPn5Fpqu8CxDlWrFEgNT2e X-Received: by 2002:a05:6808:617:b0:3c0:33b5:986d with SMTP id y23-20020a056808061700b003c033b5986dmr14032852oih.15.1708399602729; Mon, 19 Feb 2024 19:26:42 -0800 (PST) Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id c5-20020a056a00008500b006e0f438e98fsi5497341pfj.208.2024.02.19.19.26.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 19:26:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-72265-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=Rh2qZCuF; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-72265-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72265-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 837CE282DF0 for ; Tue, 20 Feb 2024 03:26:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 20EBC53819; Tue, 20 Feb 2024 03:25:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="Rh2qZCuF" Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on2047.outbound.protection.outlook.com [40.107.15.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EAC4F44C9E; Tue, 20 Feb 2024 03:25:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.15.47 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708399542; cv=fail; b=keefX2vUpWMIJwVO1H4tQWLWqL4NMdvfdmEkQnLYNOY7H04347c7x1qnSyeupFCw+DuKzrApcH0QvHgmBeJ8meilL5aokcTEx8DAhBpF+uM4F1yMSsZlOzx8cLs/yvZRXPplqKr1QPXoC3Gp1BEXEqiUwJnNc3sNhDH2d6uFMJ4= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708399542; c=relaxed/simple; bh=VCGjFOYx2fl3vlMX1MuMmcWOK/z7hwWif3EcvQi6T+o=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=P3oH0sqoWtFna4PrCsz5tfjcCygmqPnTsrucQl22RBPKEpAEF+QJvxe2ykv0NBPcQwVoGNMaW1RJNf71bw3oD6xducnjZAPjnHOjOq+scVO9CMR9VmkLIT0vTkK40fCEkZPW+tJbENbhr0tqoSZLIlFy3JPZItg0u9Z3mfIEe3M= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=Rh2qZCuF; arc=fail smtp.client-ip=40.107.15.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com 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) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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/Lq7rXIjWJhyk2HWIsGmeQ6R1jofNDlLOc4BZD5i7dt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WFkq9XyzYQiL2nz7iT+3X5lEFUyakcR4tuE15Mdmj0zmoooGQOqt/kdfPRkZv6Utgp+8S1ejBMbidqv067mqMH8NiPUHWGH X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-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-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791386822149352387 X-GMAIL-MSGID: 1791386822149352387 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"; + };