From patchwork Sun Feb 4 10:21:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sandor Yu X-Patchwork-Id: 13544606 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 717BFC48297 for ; Sun, 4 Feb 2024 10:23:40 +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=pX43wib6grmAdzZxkAGa89X3y5EEzRq4rkgous1z+rM=; b=3TCjY60m/kkCB0 69C6I92MpBpwxychJgFAyulqmS2Gp8igFWyomsHsn9Z6a5ZJ/G4VthcbogO351zi+rWTOzTdUdeRV QY4EfrLUuTMVCk9AkGr1gYtOHX/MXXq6ChsNMa/MVsrZ9yvb/xbqDDk5DVtz70men6RCUJDPgJw2m U7TTirXR2j0IKcmiJ9IdeNIWrx3ngXJESOZm0ocTfVRXH0UD8+4+VRwvnkDXT40Xc7Tg+/qCVN9u/ y06F8MfNXCQXwsUBoOGYDTQzorjwsAefJKdUm/18iNXDjC9kPFCoGklWXtMotNh2e2BqijcSYgQJH naT41dGpE/87XegM89fA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rWZf2-00000000aCJ-0KwS; Sun, 04 Feb 2024 10:23:40 +0000 Received: from mail-dbaeur03on20600.outbound.protection.outlook.com ([2a01:111:f403:260d::600] helo=EUR03-DBA-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rWZey-00000000a16-0JoC; Sun, 04 Feb 2024 10:23:37 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UIJwC4yCH4dEf4F2Gfp9/OKcU6o/vnN40lwHtyRDUqZSsOiBa4PlqXEP21pGT1n2Oa5SYpGF5QkkM6mwbWUugYiPqOcyb/1tPLpDARCedkJvhUL5F1UxJpdNO0FE3hCXIVRbIss+WtWPU7zBgqFsM+nLlHmFe5qkLLNp3VKndcuGHunkPDHXPb4Er9/+M3WIpQSr3xhkr7JMw5bm3tpRjgAOWRoCvdbR4sXcYDwPs1f8URbAwRlZlArsyZYnz+fMUCyZvsTrwpmXGllpLnRzeQ8e3Cx/OAwo77AfTB/nqri80PZ0EatUbFyIp8FW8JW2T4YU0no44O8TfCHUrFuYYA== 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=AMPZd+QoxWfyGO/rFbFo4huGGwOeXiBhB2uOpeLL3Hw=; b=HoInj7odjfDj6hqyBD+Ai1hZxcGnxq7Ve2ceDx4e2E47+5H2lznPPFV1ZI9iSlFLzkMwe3Na9k013lf6a/LtGeZhRL0Eodrl8AueQ7BVk81v1Fq9V9h4X8OaxOsFlsBqjoIOWzRyZrYbrXMZwMc7WPMgGkq4LomOevHijIa9xZ2mSIPlqrwEBBd9a4Al/8OLPcvhH9x2CYcrWrZiiQD5qp7rEntHqZaaXH26xmDWOzqOTDoN1Z811GxlfSaZm8jrMQKfMxsMVk4ZktDdCQEAgqhXM+8SJZ6SvYKa1pXvpxu4riAwT8rq06sR12hHRxSC1eXunuz+rTcs8yP5YIzfYQ== 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=AMPZd+QoxWfyGO/rFbFo4huGGwOeXiBhB2uOpeLL3Hw=; b=qOuqQPqxfq68CcprlzblHj/HbXnmgLyChZlQUPYAdPQffsuL7EV6+LFJ/5cpuBjszYi38AiMUqW8inLaU67YSZ1U1rbk9YUAmjVFGMoGJJFVEk/ZA2c4iivx+nrQ8ueJ+CMeSNcXNhdXSxykQSNU/vf+aLGVJueihlb8rCYmINs= 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 AM7PR04MB6966.eurprd04.prod.outlook.com (2603:10a6:20b:109::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.33; Sun, 4 Feb 2024 10:23:26 +0000 Received: from PAXPR04MB9448.eurprd04.prod.outlook.com ([fe80::b24c:5d0d:bb15:3e9]) by PAXPR04MB9448.eurprd04.prod.outlook.com ([fe80::b24c:5d0d:bb15:3e9%5]) with mapi id 15.20.7249.025; Sun, 4 Feb 2024 10:23: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 v13 5/7] dt-bindings: phy: Add Freescale iMX8MQ DP and HDMI PHY Date: Sun, 4 Feb 2024 18:21:50 +0800 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: X-ClientProxiedBy: SI2P153CA0015.APCP153.PROD.OUTLOOK.COM (2603:1096:4:140::21) To PAXPR04MB9448.eurprd04.prod.outlook.com (2603:10a6:102:2b1::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9448:EE_|AM7PR04MB6966:EE_ X-MS-Office365-Filtering-Correlation-Id: 0a1610af-ddd9-4654-cd7a-08dc256b52e0 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: aDUQESttJWD3kPurYUlv/QpsjzgKuN8gntIujbDDbtpJW4lVPHWMjLcU4G7qQHh3ujHaYD0kLkWhw7arF0O5JNXkScwejdTEruzp8DvDv33ZKd4OeYIAVZD8PMAl7/LQQrPHMjOdxzveZrDkim8zE1MYg9qn+ryu2hk7pHT0SKS++Uk6NozxHa6A546FarL5hqBIOcyOxiqIbruUcNPRMBhwuU60DpgqmvR6uJLolevZDKauf2pUs/kIfXgq2yafd0l56LXJdnE0XRBjx27Wsv7UlJRf3QA7mWglSvvRM1+AGctBcf5xMd1pX84ib6+ttGuAJaZ5p4pnmygw6mJCDpJW8oOdJjI7exEAFppvzf2N2YUmk2dtuXcNaYTViKyvkI6sx91jNO/UzMifm4xN38juamfK/hWi65ULGTlBAuG5V0MZ9Q5eoYNyj/2WVT+ynaGE9HpcMfiRVWxmOoxcHPnUQOVbTMOYzFlCMYQf1xZqQZ6osPi6DEnlKraU8/x84YIGHiQL+cdFmpPWZUF2XwYrWLlctByyFbdBDxdJTKKCdUcuER7y5UTbK39/1kpeUKHRtMrmN6hLTKHq8hkLfsrelPQKTn9UphhSwwTNBzTV5VRrU3jtVBAI5OJkSEf1CnynpQm3kwBQ5peqbTVjNA== 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)(39850400004)(346002)(396003)(136003)(366004)(376002)(230922051799003)(186009)(64100799003)(1800799012)(451199024)(83380400001)(26005)(2616005)(6512007)(86362001)(6506007)(52116002)(478600001)(6486002)(966005)(38350700005)(66946007)(66556008)(66476007)(4326008)(8676002)(316002)(8936002)(6666004)(38100700002)(36756003)(41300700001)(2906002)(7416002)(5660300002)(921011)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: D71aN1MFEMs5nMIRCNqZWLG86KWGb7fO9dGomj7/2WIoxN+DbBPbM9bdXLQ09CPrIf/xOZVjTB+Ari0jrc6YZXUJuQlxMWFcXfm3qAiQvyZSmgcxmoD77BeCnthgGQ+Fw1i6IgKAuoVHGSeZp67hUUUmBb7yw/ywwIoNwwknt/GDHarfwykoj4KzHAdKyLwAJmlfoOqBvCdPV7BG3Itcej594MEDHzakJGoAcv+Gp2K17qhHtcrQL/BW9KzcjySzApfYsb88ePuVrrhf5We5GB/3+HHU8DPrybS1QEN6sGfAfLI+eQViPiQfNuWOqK49nms/OcPTgsk5hrB/o7CEEp8VJgWgwTOHWX0XcnqFtq3UvuxRWTIQI2N0jyUbG/m1qd6dCw+oIrZ1niEQC0Jg9J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xtGSnc6TInou+MmFkWgJd4JpZUAXwr3HeE6xlaiC/rMM1TwOwAHDdxXgOII1isqkA9fvnfjMVOsHNJPhWCr+PTLhW9ShN1Fq1PQJ9/j0DCIhzFIvhdEWa/Ic9/aCPFnpsFd4 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0a1610af-ddd9-4654-cd7a-08dc256b52e0 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9448.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Feb 2024 10:23:26.4843 (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: 21ycETjj44qUu59qRg7rMnUPuBk/GLOFaf2otSBKlo+YOglbCFzYgDeY/HhR4MNJOfK4eFtN9dJDdkZEglWVcQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR04MB6966 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240204_022336_202787_FF7E5206 X-CRM114-Status: GOOD ( 10.98 ) X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=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->v13: *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"; + };