From patchwork Tue Jul 2 12:22:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sandor Yu X-Patchwork-Id: 13719589 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 48DF3C3064D for ; Tue, 2 Jul 2024 12:39:49 +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=WQatCSkG1+sh11XWrUC1YE+6QYLEMVNEp9bie9OW3jM=; b=Nqib3wbZS3DoHoVfI0zzL1C0h8 b56Ftg2iUJhOT6dPR0zLEqTHMl2ieonFqlvDl8KyYKZtmPEJ7O9y85/RlYqSmhKkVn0UHdpZgY1yS 5AiMAWcaQVDi/V++vKaNkXE8zWgKgqC7Lv8s4XbFeh7juWW8m+eJNXlKhcNqeTc0zOGYEzprWvfpU mGdmmop4jU2lNaPXsrHPx72hMSIzyX/cXXqKB0CV3bE8/HlW+pd+Zl0J1sZ9mBL3JRpAApmfUYPko soxE5mIWv4pYKWgBrTmdlpZ78ebWH4do05nzaR/3UE54dpweqfehoPNhOG2QWRJXjiEGlRs6boPES vAeOZABg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sOcnG-00000006itN-0LB6; Tue, 02 Jul 2024 12:39:34 +0000 Received: from mail-am7eur03on20601.outbound.protection.outlook.com ([2a01:111:f403:260e::601] helo=EUR03-AM7-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sOcn2-00000006irX-1ZbK; Tue, 02 Jul 2024 12:39:23 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HM6QOeb0jBndKiLMA+GxbZSSvmDYNNTl4mNDZA/DbZruMG23X/O2V/xTttSn6eaD8kMehreNlUjrZ2uPmUL4yXDkeEj4I42jmT98qPraXDeFZ1PcjrpZDhIwdxqP8XHL9ZG39Gj0aFjV7Q0mtUlyvrsXIJpJ3m6OCQzEREfHYlKJ3fRlfdeFemCfZ8H8Hvpk1Uc8M5d7BjcT8bftXRrpOwWbnJtYZhjgwUOP6giHHkPeUmHRLBNzQFu8calBo4R8nB15RlrlGF3c5hwdAcINsQxRmHiT4ezdWgsS4iYDOpGnoZmvSes70CVOUvjhUNND7HTk/ijYV9R0j6tF1N+5WQ== 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=WQatCSkG1+sh11XWrUC1YE+6QYLEMVNEp9bie9OW3jM=; b=Ly/Qh0kWQ+fd2TxxmwMqVC1R52g9JKyFDGyoSnjics9ihxjQZCB8Lj2PSwYUTEL78G/Hw4m4felykdyGK6/P8w9NOVEca5xQ1zNhS7un8sazGkII2Nlb0O1uVDMlzAx+bAquOdRB9PEjFLe4gqr0YUwWRtfaJaQEIUyLwrHAHMHIC4UIl5b1B1PcTFlA2rOm3G8doGV9rBCDvz3Hx1ARt7Y0ArJwa2te51EZg19Cnn3LasZvh25LW+rnRe1x5Eh8yIA52yDwdGC8et7eAPu0Js10erg6x+ymWzt7YkU8HavGMyQMsXHOMGzztZzSx0lJJagga7TRjWlPGmjitp7j6Q== 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=WQatCSkG1+sh11XWrUC1YE+6QYLEMVNEp9bie9OW3jM=; b=pLscqtP5GMFHJNKUV/dNxnS6Ew2XPFUaFjrcpVu7mIsDWe9HeTH79lL+WCs5lkDNuHBs0WGoAi6lOC17F1rvtut58uuDvxOEQg8JxIqQFWORLwJPf2Ob6Yafmqfb915fEjuI71WjRwoiDRucMwzFZa7KKrfkh0j6NfVXHFF2Gzs= 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 AM7PR04MB6870.eurprd04.prod.outlook.com (2603:10a6:20b:107::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7719.33; Tue, 2 Jul 2024 12:24:27 +0000 Received: from PAXPR04MB9448.eurprd04.prod.outlook.com ([fe80::51ae:5f12:9744:1abc]) by PAXPR04MB9448.eurprd04.prod.outlook.com ([fe80::51ae:5f12:9744:1abc%4]) with mapi id 15.20.7719.028; Tue, 2 Jul 2024 12:24:27 +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 v16 5/8] dt-bindings: phy: Add Freescale iMX8MQ DP and HDMI PHY Date: Tue, 2 Jul 2024 20:22:37 +0800 Message-Id: <3f942b32bc3d34dcd922a6e4a5924c7ebfede2ef.1719903904.git.Sandor.yu@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: X-ClientProxiedBy: SI1PR02CA0031.apcprd02.prod.outlook.com (2603:1096:4:1f6::11) To PAXPR04MB9448.eurprd04.prod.outlook.com (2603:10a6:102:2b1::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9448:EE_|AM7PR04MB6870:EE_ X-MS-Office365-Filtering-Correlation-Id: c9b16499-86eb-43e1-be3b-08dc9a91ea53 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|376014|52116014|1800799024|7416014|366016|921020|38350700014; X-Microsoft-Antispam-Message-Info: miE7rJTm8TVD5pIQoUEhoPUWlkRn6CKwZK2y5MWDTIaUpjjx1Oas/llii3YcZKUR9Dsiqcyz/iDXcQRRGNDF/8VNTW/hsHI+MEQb6bRJ4iMAdRkUfzuXQIo0K1+yVwbVCkaMkvus44wajj14H9OWSAtx1KgAajJXLBwyn5Irh66SMScLTyrI+1FWsuavBRh/r7/L3g3jVqADz1m9pTfPrfHQQFw51g3aJFSn6a+yA/O2Xp9Clg3I1fPpqor4KduySQ7JowuZE7/ABCcNFF2x3Ema/O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HO+ziQmSZNMoJfX4EXsjQ1I/qPGeg= 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)(376014)(52116014)(1800799024)(7416014)(366016)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: wwN3euRpNX7/pQjNTVqxKxNaERokuzUcfKPsAX/9WRa2EQSEO91RPntdr3g6vIFxF/tpOcGyANWsELoY3vtGIpEs6vZmfnAsD9fEY3co0SIO8Z0ayEegXB/jrhoSkt1TB9vxuNcNKprXarWRbFBHKtFmbnFdyaXDC/Ug3clJmz8ViGgK9IZpqsbxpZPWeyaf2o6Wt2UkQ9qywLkRp91Snx6a1P332X3ZHkk3AXfGsCr5XUEhpCQ+EYLT1CGgu4KZvsK2xZ7fX8GOJiC1PykYA8cGqnFfmbAv7bKD6ukEcCyEaBIahALCKGDgWM1oJh+CtKsMX1SvyoxG+Oejhs1MT4oftFt2zG7dIPKLmBOPRw3ta1WG98gebV4SVPf3dTb3Zs6Cf4HyKs1kObWGVrhqhUy9ACpmvV4INk/UDyaiJXrj4NIIpUaAOG2HVVCn+UpUQyDhKQVspTfziFE8wXie4wkfx5iG+uu38GrTHNI63Xld4dywb6rMLdkKgm8L1LNOaqdQPfp/fNAkM0o4i3GtOfx3JQT+/egkkznz0T1s6Qx2vovdWpsGOjuAz1o6IWMC+iV6mvTqCeCJSiSRIJEeLUlvJ3kQpm+n1F0tdozkrVEs7AJYg96RNnoO/6SgFySRwPIjE5TfxKs1r8bih3c06lc3EszhLGIU1OlvKAgaTPyoT5wPfL5e5NSzc7f6D08xnxKp4rZKJQpnLrZfVF+Q7+ErVGZJB5OjZDl1tdeTXRfJGk8hKsRoNdM+aM3HbiiJ3bKEDDBZW9FhDcsX0O5yAYdXRyN7iyzq0OX0RFXKvsW8XKV7W6L2V5KXWQ1xMvjxwtejtB3Nnv14obMmtOcKPh2WElH00IfOonJOnb2Rf5dm3jJeOjEeB3SAg81hGzVTujRvHTptwO1K2HHq9oD9JoNp5rVr7USM/aeMqtvNc2fSGIlcTuqGxAZAqahI9ClIkPveR/GX7IeQ//7gCLxBo3xt/JeRxSGUZYHBINk4qgWP4DL9olkuU0R31BMbg/ftBd9YHLOhBnDycT4S+I+mg+l8z6el8TYrfVXMWvPa6QZ9RcXIDVhzU7m8k/8EeF5TbS1v7FkyM8gOTGZ+wXUcNWnkiCIYxrDgHwbLjHRpWlAiEjdd3yJZjxW7JvRgbxzu1qufe1d5glAPAv6NvIpBAZuveMCs9KAWX4Xxb1qIc1OdGJspZx1I4on4nvwJtcCZP2K6UJqyQSw7R3F4mKyZL/37Oj7cyfaBzscsdY8udKWqdMQXMKl2zRtKwpymqZ/jCu9ftlm/HiRS9lzZzR8LTM9l1EH6moPs9rSNvNkRT8aoLm/Vqx88CIMTJeArIn8hmdwpiaPxSE4PwVhrNW8T04EoyNK4iIpC0N9jyzowJ2te0RrMzZjbp2GbN7vjgBLI859rbjTU87o8uk7BqNH0XNbe2lcadFYSKoFxLDKUzzgKa7fxUV4VJYMNhCXmfMoV0fuxvt7AMJ1uTNY3MQZRubw9Yec9yHYy3BvAZU2MmEkNL1pf72ClxC+Efov8QvBYdW9aJF6dq0W1zKapE03aGQVLIs13RZwbZx+OXXS+Reo8AacXzZ8sdcQzYnAwmPnd X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: c9b16499-86eb-43e1-be3b-08dc9a91ea53 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9448.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Jul 2024 12:24:27.3857 (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: XmQI17HmCVqwU5H0GJILeq/2F8GCHpCkw5v01GjHhqOWC5HDG8RAMNasNWLk2JhOtmJnGXlOf+P0CMwh4z+KBg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR04MB6870 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240702_053920_428328_D70DFD93 X-CRM114-Status: GOOD ( 11.43 ) 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->v16: *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 000000000000..c17a645e71ba --- /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"; + };