From patchwork Wed Jan 10 01:08:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sandor Yu X-Patchwork-Id: 186648 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2411:b0:101:2151:f287 with SMTP id m17csp511304dyi; Tue, 9 Jan 2024 17:13:13 -0800 (PST) X-Google-Smtp-Source: AGHT+IGFOWa6MBUDIfP5R0vBlsK06o5fbXthe9ml7sAQUpAhepjVX2O5kz1A5YVAuV2XhK9kt4hJ X-Received: by 2002:a17:902:eb87:b0:1d4:f32f:16bc with SMTP id q7-20020a170902eb8700b001d4f32f16bcmr277590plg.123.1704849192768; Tue, 09 Jan 2024 17:13:12 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1704849192; cv=pass; d=google.com; s=arc-20160816; b=uB75tmt/z4v7X6VgwoQfYV0Uk1eZr4H+ZkHlgQAuxOcWXRC6LRa5ICb9ivWE3++6TW lgDzaswiyzdoV6/Dk0emVX+493EitdJhWuGsRAS1QmxRNLVSupTRyQVmg0bh6Mw/Iw2P peN1djWkeFv/Xq/uvG64EGmpw62kRwoEHeUOh/9Iqtxoo6HpU7Ch3p5+4wPC4eUImEeV LCcFIJpO/YEBVUls+uvXIC1SOaDRCLGdAKQUiXHHgqfLXXwNCnCtjTQgJDifSKMAovod 8uarJYiimRE9Bmn5Rme8TDVn1WNlHCU0UZVLwSNRQkGr3Z1ra2+tN8qajJkeyxv5KAxo AQjQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :content-transfer-encoding:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=rd7usJaLdryBjT3G1X6etJaKL386mOJKtm3NvXHFrIU=; fh=4b6mi0N9Wf5tTqS3YGBL3xHaw1QIdax3Ea/kge95nj0=; b=qZc2qnYIw//g2ZGcF/mdqzGud4PhoJupvRJ+Bu6phTldYncjSvhPq4B/3zkAuSwRL3 4wUQ94lo9tYCWOeocGFCu1dICo/qXq8dMn+CbrbdI/brAy/2loh15jD2pjR0+96WMcH6 tdZXpSTADGt6DXhS4jZRTIbg1DcZVp2CRmICkNfdxDozk2mrUJ2MOq0dPBZKDGj7IVk9 LeVBzDQLAg5nPqPmgYkQpivapJ54EbBTOwiu8MjHEDOIJqtpjfRue7jnr/pKiKyCOCsR vVoiDtQJRCW+XmAj/osBEU2YZCYn3LhuYjJPd6WU5ri/0M4n9vGwRi9tqZDmtF5Z9e6i qW+w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=j7hjr6XI; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel+bounces-21611-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21611-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id jv3-20020a170903058300b001d56d3bf8e0si637648plb.514.2024.01.09.17.13.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 17:13:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-21611-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=j7hjr6XI; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel+bounces-21611-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21611-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id F33E5B25AA5 for ; Wed, 10 Jan 2024 01:11:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A2CE06FAF; Wed, 10 Jan 2024 01:10:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="j7hjr6XI" Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2088.outbound.protection.outlook.com [40.107.21.88]) (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 8094C81F; Wed, 10 Jan 2024 01:10:29 +0000 (UTC) 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=DvIhASq3ujmMNxJWnu2a9cf/CARHNWCJpaP8DBTVX+gQ7cjMtIaOSeZLrUuZlFxFsuGqJ+vIkdi8mM/3D2RNAAE6IpssA4TNCjMOefo4OQg/8A5eW8ArfA1s2dYUVwWj5l9cqeEbHw7YMdph2UHN7n/lrlGFg8mZpiqeAWSuo64oO9HLaSGrSxPnHbWYkRoPFQNZGhgzkHxR9EALxaToSTbOdZEOun6395WwXQ0IXjPaWrcp3Z246v4EEqVht1/Nxv/xfAewxg37Z3VfEwbieBTVDB0X9E/3ZwFpydewKAErjmbRAZNV3GB5qp59tgQU5Nn82HJkLpfZZ7BqMiWrdA== 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=rd7usJaLdryBjT3G1X6etJaKL386mOJKtm3NvXHFrIU=; b=KlPCNDqUu0aicNx90g5fINdjX0nvZ9OwwCX1zUXLjet9XlixC/wTf3b+B8Ud1FEKqNvvReD0nteLq9D61AgnmvXgSNdYOYar0idSNWT4aSlGHNTINr8S+BaBTzCbL1D83Q5/Muu9FJqR28XgmHannV7KgQdXb1AIKjE9IGm3anTVZYfBhuzGfk5LluowU90pVGDTV0R5g0X6+Lv4fE5xcJ93NuKQeQat+fMU1JEYdVYn3Im8we4/9BczBH4L5MhX8oD4NzK8CAllzVMlenWJEPZw4gz38KKB3ta19r6PwqwI/JOTvV/+ZsC4IOaR/y/hrjfOfEuljxzIsdZvXpayEg== 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=rd7usJaLdryBjT3G1X6etJaKL386mOJKtm3NvXHFrIU=; b=j7hjr6XIB7XUEueouZ80zIn9AmIa3RPhkghCn9tI5JpT2XFJCD3HDW3e+UN4v5XIGGvnYkzn2nCoM4U3nyb5RHrDO5fH3WxoEga2dyBbVttLhTbsN/dHtJKEPSpLQcfcDfUOEIYEyO7IyjyN+4OT6/67zy+JqjnoKIqLo1RxB3w= 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 VI1PR04MB9836.eurprd04.prod.outlook.com (2603:10a6:800:1d9::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.23; Wed, 10 Jan 2024 01:10:26 +0000 Received: from PAXPR04MB9448.eurprd04.prod.outlook.com ([fe80::e6e0:d026:3089:17d5]) by PAXPR04MB9448.eurprd04.prod.outlook.com ([fe80::e6e0:d026:3089:17d5%5]) with mapi id 15.20.7159.020; Wed, 10 Jan 2024 01:10:26 +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 v12 5/7] dt-bindings: phy: Add Freescale iMX8MQ DP and HDMI PHY Date: Wed, 10 Jan 2024 09:08:46 +0800 Message-Id: <0c2215e627cc8253a041be503d31ba8751b13b31.1704785836.git.Sandor.yu@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: X-ClientProxiedBy: SI1PR02CA0045.apcprd02.prod.outlook.com (2603:1096:4:1f6::16) To PAXPR04MB9448.eurprd04.prod.outlook.com (2603:10a6:102:2b1::21) 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: PAXPR04MB9448:EE_|VI1PR04MB9836:EE_ X-MS-Office365-Filtering-Correlation-Id: 29aa7fdb-4b0a-4471-7e74-08dc1178eda3 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: 9r1dzVl7T0Z2cDEdhHwThKv5lvUwYr1SvFwzETXNWhYj3iKayRdn1VnX7Dz+UMRZwHXJYPJZmkA5LcHkXD52bHb2dX5/XTCRbm6KgTwZsF+7BwIspbSVeQTa/Q6K3TqkZ+oSxVHz1fXC+NUiZK3MJ7zsEqj26YktsBe/fulz5melnsqOvVFi+9pucS0nQsmYamb3A1LzI5ZEE1fUUJBHa99kAi7aroE5Sze4H8kd+104mqvo2/0eEceYh4oDOQkx7D7xGPHRtNmVAe8zEKTem6UDyXBFHAo1Q9fVX5E3FesXDsvnH1wT1liwFD88m3RONfHvn8+XJ799RKTcase4dDYM7AnWJqXIc8aHRCS7WkcnEZjdeXGSRATqIIIrbGmvXxb+bCcqzcKX5BVZZ10GDDsX6kDe5YCsXyPNHzEa3Tr+AuhOmK/7VbjxbgfZw/o/NbMr5FpCEh1jpqwS1n3qwIyW+QZhWSy0wzAwwnKG8jqxocQxYY893bJbgEgwqBtHbsDcShOmNZfKQVY+VRMHcmOWEdfzG+I59BnmEkakYdEuxxP3dLYUFFiOdU90zBX1Esz82vI/5wMk9CG7QEIaVx5c1ae0ZYYULp8Onxdqv7mQu1IxHWDBUo6H7MRhRT8DWALwbIuaBZuF6/+QYlD1hA== 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:(13230031)(39860400002)(376002)(366004)(396003)(136003)(346002)(230922051799003)(451199024)(1800799012)(64100799003)(186009)(83380400001)(38100700002)(38350700005)(36756003)(921011)(86362001)(26005)(2616005)(52116002)(6512007)(4326008)(316002)(66476007)(6486002)(8936002)(66556008)(66946007)(966005)(478600001)(6506007)(6666004)(8676002)(41300700001)(2906002)(5660300002)(7416002)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: DJbOzQx1sspw8w+Rdb9B8r4TRojIT+Tc8/whtZv8jMQKNByfsxVTqLtz97r0b3Q2iaNYO559UtgCOmmCrA/Ua8H9B++V46WkWW65BBM2RTTgT0FH0ecbDSw0cQ1g6nanvoJ32rH2BMJr9oLVFOsthPH5UJMmt9KD9I97bD1kt0T8j/we/gWjCps6Km6NBqPdADgdxOf0kcr3MrxTIW0ROyFlv0gTX4fvKhQAVLs9YKGNcAyc5UgMsDp/Fj9VGgy4kyuzUz24i3PpcaQyhWVmCLOjI95w8xc/9TcoxdD2v/QLq64kmRHO8vP2Bq/0PGx/59gRyuyfrTr9z4/HPpLfphYmdF7030yBRcgfCJN1hoAmniobk3YOe1sh0JUusnGyp3GxExZStGOfVM7ZY72OaL49C8naD5rr3CUbyGD1IylLGKwHw3WbRUsCADNlyjQyglmkP6h5ijRPYiA+NBXp94oCmCv6VGcGvXyHMcYCnJM5lcn32BwlVyyzhTZ5xqIRaPZ8C01ljKSaDXGi+KsUUiaM4jUsorNoh76kaPHzfy7f7swpjMX4ITlXXNxxDkCaA057U7M741gRGu6bW6FrvXF4YmjLdrcJRsEW3Fr6nfk/L1guY2vg9gkYpEA663VMsdP1ZFPQh0ynMY/6oqGc1LITj+wqhJ0C2eLcQ1zKP72AoYaRLWbfEAYMvqaQiKbxbD9zNA+lAiCZdmzgHO95m1+qHAyyIECJ+/b+pWV5GAhnr8ZSuoWjXsPWzrEw7jB7/eui/fxq6j52QHSubs8bt6ZfWs1ZwEBgmDWL9oIiZslMKmM0d4g4iJHAUhc57iL/lr4JJX4Ff9uZ3DF57T/Av9CLc/U2ZCW+nWTeIiNgrzEs1qJ6bjxBE2daja7JyjdokzVQwGbLSueTYnKYRV1WJeQCXaT3HN//sCJWaz9Lxu8YDdJS8IQa35LQAB27Om4W98ajEQpeER+PLOcfBKJuhusSRpmxaTwA2c9pJ3jueUbIaeETSmbytYyy8QMANATLO0KRUq6LBPygjBai9PxXt5L4SvNySxdRdNmHJGUEmsfCRqh0HnYbSjbkXfcG5qFC+4xQX9UXEYNz2HuE+oktAdqYD6U+JVFmcso1ID8Ne4O8HMW1i/Ki+toH+9zXBXXFd9RwF7apWS2XhFl9G2znHW/3UR+Ol0NKudeuOppC9jUvu3o8Cgu3v1sDHmMjWvPKpFNKRE+qS6A9fcgbQj+z91TWpU9PU/kSW2dWpfRq2f4DQ7iFMt+5tGY/dGrrXY8PbQQTtjDNseCUtLuuo48bAfURNjwTPV3h2Xo3cvubnHHap2jGViwg+0s3HncQRxcOplYe0zuPn4LGonRBI3Ac0+/kO1ONZxELdVj+eDfoI0fhXxkkcdYTnYchLd4Uiaatlpdl/u00YEQ+Ogppee/dl6pXs/SuJ6htccGWi16Nk9rfc8mtcgmRYTk42H8AX1otJoGKV4l+brGT1f7jP941xWXSeb42kvvK+ay5RBFn8rP2pRJwtfr4oaIsK5ErdVLcBtvfqwpyCue8P3xwa3igtgHZvg9vLxrqN8IeF4EBXL21CgASzdEupEFeXTxfHOAM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 29aa7fdb-4b0a-4471-7e74-08dc1178eda3 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9448.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jan 2024 01:10:26.2873 (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: BTZcDGSKiSWfpqXrRbAO+/Za7vdfv16AEliFGaO/0JMRlb4TpIKc0SkrECGTDb1Fzbja1AomkiftdSPL9fdGoQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB9836 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787663946984451594 X-GMAIL-MSGID: 1787663946984451594 Add bindings for Freescale iMX8MQ DP and HDMI PHY. Signed-off-by: Sandor Yu Reviewed-by: Rob Herring --- v9->v12: *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"; + };