From patchwork Tue Dec 17 06:51:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sandor Yu X-Patchwork-Id: 13911311 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 10C72E7717F for ; Tue, 17 Dec 2024 07:13:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Content-Type: Content-Transfer-Encoding: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=GN+T6Tj+35TBsXZnRZ+WWRTJmJgrzB+4NdM2apX6ZNo=; b=HZpMV51YOBTuyLC17+hEQctsT7 gpVp3bVP4uiSgbDQBf/45k0nwsWc1cORj9aE/ENk8/m7lRCfL6m90RHZVhlusPko8LlCK4MqG3S1L SgyH88mSmDZRizCd27j3POO0Qb0J6NXZGYpKfRUPiLVCQH6AMlOxs23NMKs+txcvkbWybvCv9+e2D BnCZu/Fv7Lq/v+EBPAY0WT+fcL/DgjB1R7DmDHsssu2wmdypkuV0HeLMROabU7UTxbgbGA4k0yKGw x4b18ioA0YRaXBdW+fuKnAiLzGZfBk+BHoTxlGGQKpKzDUjCKdgH3tsWYkUxdtXi8jdN5AH8vM0pI 0IHuXrqQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tNRlV-0000000CXbD-482B; Tue, 17 Dec 2024 07:13:09 +0000 Received: from mail-am6eur05on20607.outbound.protection.outlook.com ([2a01:111:f403:2612::607] helo=EUR05-AM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tNRT0-0000000CUBI-2u3Q; Tue, 17 Dec 2024 06:54:04 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=lrfYD2ieJyaDwr8at2NkLQNuLq3WOWC0ECrYQTyR+JFwvmo8agWmvPXso0uWVuUBQxxna4nsJTbEObVj2XJxbRj/qtUwMwPdEXQbjT2YfF42YT6KYcg84bNabiAgMxa0xYHWviRVvtzeL/V3y/9YNzCZXEmLSfCXlrc+8G6Fn0PdRdYOr/JSi+o4uxe/x/t6aJeVPEBgx73lORoO2yJRSFtPPuZwULF1wbflAKAIrOTisMZ2DBPCyqSDwNIxYYrP90iGSAswnVB0rfQCWMYfB3LktdJ8e28b+qwlctgg52lx3CyP5RxFzC6hYAvs2mXvU5vVR1/eZ3x3zs2SxCxGUw== 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=GN+T6Tj+35TBsXZnRZ+WWRTJmJgrzB+4NdM2apX6ZNo=; b=Fns/iWLZ0s/MKPI2kdUlVj2W80fU0/iGzJqBRN5uHrbPW+cnpjcnp7gnNIkjzAYd970sIIV9u3Djwg/vKEu3WEWZHS4JxTCoQNgRT3ilp7sPpUDGE8XFIXht9yoLQT24XxI25FS8zDCq12fqKdSEcAWCnuoY+0MscyOrvzyEYK2rVzckeqWpOcof8ItceuBawIyk0tlvN7X+1AdTa5c83s1eP7BQJjAugtp5hYYagl9R/cp5dCy/pVSmRdaIdFnGR4r8B2YC51b3RGKGVDnq4Nw0RheqvZC9ippmOVXVIgknED6o/LtGQVr4jva6tcQkLwFNndcGuGCD9boEGxG5MQ== 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=GN+T6Tj+35TBsXZnRZ+WWRTJmJgrzB+4NdM2apX6ZNo=; b=FconiAnausLC5kwTUDCNuctdQc4M+ScAZyqL9nwgt+e+tJ/Js53mLhZzKgsd9jURtQVoUbgF1M55Di2TIjjeZ14rI445DJDQJpB7uMvc2+ZozEB+ArNZ72U7juVU2FmrHCCMtvo9tvVKagAKkWT1a86HZuHZiePsr0aqeNeHgtkEMomGJj8uer3gYoHfq+YDPNT48c/Qa3Iam/cUz+RMyzXRVuFDVWx4zc/4apqSPX7D3LyRPB1Fjq2xQu0qnOFerNWOhqBfiByrANpX6PZ6hgnh3Bb/iP7dbRTtttOPVOpN4hlA4igW1QOJDZLSj1DgSN6CzYVVeAVc6Cdn+3GqiQ== 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 AS8PR04MB9009.eurprd04.prod.outlook.com (2603:10a6:20b:42d::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8251.21; Tue, 17 Dec 2024 06:53:59 +0000 Received: from PAXPR04MB9448.eurprd04.prod.outlook.com ([fe80::51ae:5f12:9744:1abc]) by PAXPR04MB9448.eurprd04.prod.outlook.com ([fe80::51ae:5f12:9744:1abc%2]) with mapi id 15.20.8251.015; Tue, 17 Dec 2024 06:53:59 +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 v20 6/9] dt-bindings: phy: Add Freescale iMX8MQ DP and HDMI PHY Date: Tue, 17 Dec 2024 14:51:48 +0800 Message-Id: <1f01892a4e462d451a21ddcb4b114283d998cd1b.1734340233.git.Sandor.yu@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: X-ClientProxiedBy: SG2PR04CA0214.apcprd04.prod.outlook.com (2603:1096:4:187::17) To PAXPR04MB9448.eurprd04.prod.outlook.com (2603:10a6:102:2b1::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9448:EE_|AS8PR04MB9009:EE_ X-MS-Office365-Filtering-Correlation-Id: 7819dfd6-f9ba-470e-c8b4-08dd1e679561 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|52116014|366016|7416014|376014|1800799024|38350700014|921020; X-Microsoft-Antispam-Message-Info: QtsoP0dnGVyrEjvMyXkfiG1vyEXvl4Y2y9jZIiQegZajTIpeZahW5lPtKRKLyTbhRTrdKYNke8ZOzemKUdcIZI6BqM18qnPdTxOw/xWlOySZfmQC8QDY0LAE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kxZk3uSxpWPBtfIcRTjUYlcEKKTGl5+KwbOp4/O3vX28Cz5HBlfkhnbL1eA4MVMCpN/PpBcn560nYRNXV0hoPl61nyfW21O/alNU+2pDpx7iJLpswBS7lVSWuwYub69oIhqG5QEVJVkEjdsfu+t+7TKbaRuDv1sVBqmpfTjipPjw2Iu3JnqjpINbiYwVPCamIcUzIT4w7EODlSJuh2m9xpA/sJUV25Q== 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)(52116014)(366016)(7416014)(376014)(1800799024)(38350700014)(921020);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: aOxyVudy/kjUAx3Nldi/mAl1KrjjbyXXDZ88VvngfrEvionuGabF5miDQcTadgm4cUkCa8DzvU+CTg/bweWNk3bYkHJoTqBDtQ/PbSHG25l4IihIqeqWx8rsaPt9N1THwGEixPlu52y8SMMQ3HILxP2mRFHLXsunWGwVJJ28X20JbZP/M/RynNtg/+fJ+fQxzMKgEDRSAyXuOlFRjrsfkzH/7hi/gIpegWdVFwrGU2hZF0o5iu9IuptwFhvqUSY7ThvJmI+2MQ6HNq/cp60BAGUoTFOF2vJO0r/6Bde7mT4AboW9S+VGtyvTkYSvWmZUZHPTB97FpxP+mrC73bSxJpX84TjHzto1nbgl2WHA2G/PGFl6jn3ghUwBqyQLROU7E5OGptDVGR6OqOYsAy+sWWv5kQXVg7UXHv4DcdX+4SKXaafL6zUFl/emmlglFuap0bw8rvg1xgbX2g+QRvyA1y1QcGUkXudRNeovoX+v90JtfkftZkMdFLen3XPJKvxbDfTif/d79pvRm4XiQQCqY4wDnsNZoLH3AQA342K+3Cdwa13ypcBQ+ssBOc7EQf6/apRnWRKlFmGdj+TecobD3reQu9/sivjenafS/mF7XapB+NOPNUHz+FTAv4oxCGs0lsjV3SLs0mmKIrsrtZ+uiT6PKIY8o972r8MLsYDY6skU/KRXzAF/evmqa0M51BM9i7SlYRIvCNYyAc5nWn4Iierp/VgHm4vhJszAx7N/wOWVpp2JK1kuCpoqzkgX4Rn2xF6UI++PDymPY/a9NqLpIbM/rEatKRxnIYIFMxMlZYSXio2eB2ZQGL/83rDfCBX3kziSx3SpmgRU88PX4Q9r4hi/RYfbKeL1iuDdisH5kfsaOLVNMutYdydru1ghOGOfaWR4To5HzG9XvdWrVlaJEIgV3/7PfA1HUQyMKOqG+ujyPWD36UgQa0UDdQePwZuMWI2vobz6cPqJ7ppyJo+tuXxZ7lKawr00mH7iOj/qt5uMMsAj7Bj3dPgDaFgNaf0TfDcORf4Vg39gSsqc32aqYx9o50UT1KsfsR5z4CfgVOvZn4n62TS/9I8BbtahaPUkd6QOT9w6EL1qMz1IzEowUGDgdGD+/mbNMHdO0B7FujYg9Ihw9Jwps1EyDGjngzhZ3ePKRsagb2yZ0RBM+/BJAuzPEB3zaEbWuXAzefC6T5NUBpaZVd/BSlKHswAzMOLHIGBlns06ZMxRyr3P5o2plhNPQt8nd3+THhPzpPj4NEWEBg7DnagJNjoCK0F+G6PPl3OTigR7lcnqbRyugAmXiB88hcFFj+f9Z/TOBRbb8kRonbCt1TNV3ERm1CkdmTjEuTluXjr+2pALuRNKVQDp+eVQBn4WJYOIp45qFItsbQO3OtB1ddgX1kCyarI9rKJfCnCSVVI0Grik95KJ67xRNBAJsdZZXzSf9HL65/tl8uidD0eiO5+qPRcj3j3J+2pLNO+FDvKr024bUGYnxNbamcYZrMmpNogYJ6k+RPeZLN+WrPLohr3bCz/nWCN2t6Wuo3sQ4UslC7ELly1SiYNr+VIB3j1alfAwK85Zacl2ktiv5mkzi4eIY2XczsSxYuyo X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7819dfd6-f9ba-470e-c8b4-08dd1e679561 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9448.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Dec 2024 06:53:59.5819 (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: vVVfAWM7slIwGAWbeI6zwF4s4LBSLTJV/q2712qm71r+sNH4j/plMKnGYMrU/iE1nYLtfb/M4dNRBrNmjQmJtw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB9009 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241216_225402_739724_D5EC85E8 X-CRM114-Status: GOOD ( 11.22 ) 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->v20: *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"; + };