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: 13515603 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 2D4B8C47077 for ; Wed, 10 Jan 2024 01:26:47 +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=ZTyhP8VD+08kW7j7YAb7AtARXYR5a4XV49H8+ZfkwHk=; b=REUOfumEJa7fzQ GfCm/F5cmVNUb5XmsLusrCc6Rkq0d9n/KXkZUyJ9NpvLJRZKnQe36rjQ8N9mmkBAF1uAUw9r3RRG8 NtxeJbxhzQRNkaqyBKIha+qVLuxbTeMQkjtjkTDo1nq3zRkOWh3xEgHzQzhCFbwb3xpK7uWSy0tuS nz/jV29ioVCxYqQi1suz0N+NF+jX8eThtV2Lzh9bP9FJEwHdSbSt3B54XlPVx0WwPPRV7cGQtUFGl bQ+9ZG5KPWKG4nfntYieRpuByhksEpihAQhZtPOGMB3Zbo1I7pohxfv8r4qKxfwVqnXqRbyH3TB6J T1FWu9kp6aBcOCZW75Dg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rNNMK-00A3V6-0C; Wed, 10 Jan 2024 01:26:20 +0000 Received: from mail-db5eur02on20600.outbound.protection.outlook.com ([2a01:111:f403:2608::600] helo=EUR02-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rNNMD-00A3Mm-0j; Wed, 10 Jan 2024 01:26:14 +0000 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) 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/HPpLfphYmdF7030yBRcg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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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240109_172613_363948_4AC8B638 X-CRM114-Status: GOOD ( 12.10 ) 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->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"; + };