From patchwork Thu Sep 7 01:05:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sandor Yu X-Patchwork-Id: 13376051 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 3B32BEE14A9 for ; Thu, 7 Sep 2023 01:07:05 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2896E10E745; Thu, 7 Sep 2023 01:07:04 +0000 (UTC) Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on2054.outbound.protection.outlook.com [40.107.14.54]) by gabe.freedesktop.org (Postfix) with ESMTPS id 526F610E742 for ; Thu, 7 Sep 2023 01:07:00 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CaZeLjOETa+5itb0pZhQLDycISPF4Xg7AYKy9l92VgNG/VKKB5FJHvn5TJis4j0r0PQdxBtR4Y793TKLhJmPEAaz65te0wDeSz7ARnljUpWwdUTnjwuaXOzWnyhfV+wNbbi4IHbocydQoEJouw/ZiS/WJsOhazkBG4JpS0gkfThphyylt1H38rwl+BaGlJsf0KFh1kYamTROhhRip2n4VdiRtb9bbpT0hZQrsca0O8Ne5StJrOeQs3vkx6sYYln3yNMLdzIajSJgqRQsTrOMWhZj+f7Gwq5bF3ExN5FMmFuwEGEMGgdZx+po1iOgYjMYszl48LAjU4SzrMwhjASHlQ== 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=t7yt4tIqHRnYQsaQLC4K5Q1ygFBRFKKMW2c2+Jqh8yw=; b=Gtkwido+fbyrylx51Wf3RW7fIXbNYQOd7yg8P3f3Pt+vd897qid66NL6tJORxFesIlXa/zyHNlwGmONjg6KDa5DqQcbX3VPxK3UwZ+Yf19xNjygOqkQhN7aJPY7oaKEzhlzsfvjXe7CUtZvxmMwrm9GDLFjtPfkKibN5tUE83NuhQ5dYJ45o65aZfnzYFLVomrZN2xJVt5raPCkp+6fxhiPQFrcQHU9wTAyoUwRwG9Y1y93u/mHHpl+frNJXgAtsHVSv49YO7BYsnJ/E7HhRSaxxZ2Lfa8R7cJOB7dEKvJanS14kR3BcfLas4qe8GDnwhwB4YPazNsEOYje3oOqCHA== 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=t7yt4tIqHRnYQsaQLC4K5Q1ygFBRFKKMW2c2+Jqh8yw=; b=nGmmEAjUHYwILhGSliLwYmi70pdOI/RklW6ajE/FOzeWpm57qyROdXzRwZ1jiCH1ydcBAinmvONZJL7xkuB/SLaErNZiU90x8kuAeHF1x6AfauX+XPtU2aNrTXaKANdIbT2SOzTm/+VsKWYnGQmH+k9qTvyp6aIEPyzsN65py3Y= 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 AM0PR04MB6802.eurprd04.prod.outlook.com (2603:10a6:208:184::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6745.30; Thu, 7 Sep 2023 01:06:59 +0000 Received: from PAXPR04MB9448.eurprd04.prod.outlook.com ([fe80::3505:c499:96d4:1429]) by PAXPR04MB9448.eurprd04.prod.outlook.com ([fe80::3505:c499:96d4:1429%4]) with mapi id 15.20.6745.034; Thu, 7 Sep 2023 01:06:59 +0000 From: Sandor Yu To: 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 Subject: [PATCH v9 5/7] dt-bindings: phy: Add Freescale iMX8MQ DP and HDMI PHY Date: Thu, 7 Sep 2023 09:05:32 +0800 Message-Id: <9930a92bdda717883461ca11e1c7d0040f506982.1694047629.git.Sandor.yu@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: X-ClientProxiedBy: SG3P274CA0003.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:be::15) To PAXPR04MB9448.eurprd04.prod.outlook.com (2603:10a6:102:2b1::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9448:EE_|AM0PR04MB6802:EE_ X-MS-Office365-Filtering-Correlation-Id: 429379f4-40eb-4c85-f6f5-08dbaf3ebc7c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: uszqgXKMTgpNlYr5R+VbCEq0GuVVl1vMSrHR1139CwkWx1dtqqhKrVMaCsycx7NImmAbzz/+c8LG9lLdn+T2ls4cfdfUr7fOKngETiVcSsWuzzqZZzEK1gYQttq5H+Qgm7dJhaopr8pAFkFzkrR33FJ/dNKvX3xUCBzuFBl1HlT5jYQrQi6m52fzNh2keESw44M9i2Sz4NSkdlnYG1vRwNdpv4Mu9DkxnLDfut5bvjiIkrLLL+rOWow9/FdhnJqUvO2Ihb42Aow6upBjAVCXOGEmHvVdu4VKeeuykKq68PowMsZSHBFgHat67ahwBLBbEL8Mz9Id5L7otODGVdoFXX4mR1Nx6xEBJ5uRlSgNVBf+MOBWsdFnxUENFK46Zx93JQT6XHwxad1FalTriBthIJ5IxCxJauAKBZ0IA3Rvyg/k5nMzJMbtSJk7HNkMzwg2+5kYLY93L0c71S8eLsxqtPuA1V1zvxOon+M/+RItO0uiBT/B7Co8n1LrkBoYcnLGeixgqktHx2p1DDOPzajVGLMWmF5alyhVB9cRGg83z+EX/M5c62W/5O14ILQJHns+FF15vACAr5nt7kK8saHiLS8+VlS4QzHQ3cZO78AZkbgsK/QH8wjeJCnyiGCe5QjLYHJMJMSUh5wXxaUM7/5bEDn5KAx755LhGhkIMQgrZIB1fRdl/dJJnHJ2iGvKubZx 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)(366004)(39860400002)(136003)(376002)(346002)(396003)(1800799009)(186009)(451199024)(921005)(66476007)(6666004)(966005)(66946007)(26005)(66556008)(478600001)(2616005)(6486002)(6512007)(52116002)(8936002)(4326008)(8676002)(316002)(5660300002)(86362001)(83380400001)(38350700002)(38100700002)(7416002)(36756003)(41300700001)(6506007)(2906002)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: dYBUyE3MhWT9EiMK3bi/qL4KrmZm9wRUBSIEwCyszEt1PcSox4GBTcYPoaUsMaYs24RhX/kQCdhkcUmdW63WZI4jwC20Lk3FosNmnnMJ4/gaFB8fQjk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N+i8SpYbkZspGURTAlIrRk0o8/XnekEdEqFpgGQTCRkfh95BWEwanQPGOfwzIPr37aWPn7eQEdD8AFmDGouyzoX4YQh4VnXRltLAUS/oGSjAW8NcQg5aLTVO46cRKheRa23xX1Ozzq6xDm8eWZ0r93Axv0bKTlL6BOrO3kHjFVTaPDCmNj6xvCH1XLKU3myVk6hrOLB28dTyMRmJlqAVYUDzNsIbtlNV02Ppq1GV+e47fWBe0N1OL2BgnEJIyuMBush0GFltgeAtl2TaF3n67G5ugkpwplO5bmXvFaenESgBPFgVs0DcXxShVc8puWRTh9X8O48x+DcUxs1OMPjL+xkpTr8+MFYtuvVuhX1vO9Ejc4g8xuk/eQiNFs3MbHGQfwa6/8mHQLYMCs X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 429379f4-40eb-4c85-f6f5-08dbaf3ebc7c X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9448.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Sep 2023 01:06:59.0584 (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: lWQgAJ1JUP+DbFt4JR1CY6s/dON/bxu7d9awkO77S5s9s5fmkMEsyjj+I+GXhVcnmsJ8N0heGR2LrVaa4yFM1w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB6802 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: oliver.brown@nxp.com, alexander.stein@ew.tq-group.com, Sandor.yu@nxp.com, linux-imx@nxp.com, kernel@pengutronix.de, sam@ravnborg.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Add bindings for Freescale iMX8MQ DP and HDMI PHY. Signed-off-by: Sandor Yu Reviewed-by: Rob Herring --- .../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 000000000000..917f113503dc --- /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"; + };