From patchwork Thu Jun 15 01:38:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sandor Yu X-Patchwork-Id: 13280648 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 76355EB64D9 for ; Thu, 15 Jun 2023 01:42:23 +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=ax9LNbZUelU5ezXSfPgx4zDDjZVZJvEvShbLcZEjqPU=; b=YwNuZE6WuqWEm2 T9yJoFIAcYRCi52LcM/5PJl92Ya1+KyCQ8vjfJR9vLulv102W8xzMFqvCKZPVG8KH/7Il9BZ64wwo UI3gCnrK7PtxYJRGkymVr/3fR8sLjmeodqmG1ud1PU8N5MS5NJHr/Cnn4/79/evje51Yo6YhWNNSp ky2FEH8hsUtLfbwUNX4VD4SFolBQGbTpzJEMgV1MFR3bK2QQ6RsYA89xgnYSXTuWI+x8Prf8n7I8J PCYcZlA6lOHr2CSpOlmfCRK7bEXKTsJwyBHSu1oZZf6PghQS9LALsO0pVXpccte9CnGbnLKIt0To3 YqGQ2K6Pi86XdBrBk8xA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q9bzv-00DGsa-0X; Thu, 15 Jun 2023 01:42:03 +0000 Received: from mail-db5eur01on0607.outbound.protection.outlook.com ([2a01:111:f400:fe02::607] helo=EUR01-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q9bzj-00DGiZ-1Y; Thu, 15 Jun 2023 01:41:53 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=c6vbeH69KaZCswgLp6l5SZfhsHmKm/wTiVZyneZQlZJkYFmaf4DoFfvRmcvsGn3I37Rc6toB+LNPOjfgEZrbxa2Az3PmD37CJ1MWXsz5Qs2TWMCUMYgL9W2wqhPOWCVFlv7nT98+NvU9adGVJheOYLfZ4reuo7OYPBJdor1r/IDuTJc7TdnS1eSef6ySUhcJt8AAh+GmXL0sMycXQ+ayoul8boc7WG209NvS7R8VwMVb18qHlzc4g4t+bZ2EIAmruC3yIL19goQge4sJ20hXucsSFYQxlnmkNdW5aG6flAqTw9HSUzFgax7osxZrkZw5W6aWEG+l+Jh5DzruWlCjIA== 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=gEAButjKjZV6yIrjaRZKLOABAlIPEWIS0tVAbM4HBsg=; b=STKlGI5f77aFsJ5Vxl1cecvKaUQ6BDQRbt8o9XIqm3NPVc9DykDbydiwnyKQiPvVxddUGL40rFXgSNOtQabPt0OAnTbdLqYRxa9Dd3uJRePjLf2o+Xt1csbMb7XiZY23x1fQc/UsFPLumaLIb/dCBzQfW4/fJRrxxQEYq7H1gV/TKRk8xyfkiAeagyQKExMrcYTr6SGN4KWKVT4gsoWjKq+dyeCSWNIVRvWixjnpdqrBdZCeHfO2XDJFuNAS6g25ZAKA9fJWsUKMR9JF/li5iscgpjzDYTLaJ1RHt6kl6svD+CTmtlVd+JVCvYGuqkbXTR/snTSjlRWO5aBR/7NqqA== 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=gEAButjKjZV6yIrjaRZKLOABAlIPEWIS0tVAbM4HBsg=; b=GySavb9E+VtG7QLG/OEFJOhCEdj11DP3JkZfP1sGuCS2dIboqgWTOIJK/Oamlwu62khkWiAUGVYWT5V94Wr76X9s6jMkB//SbDyZod2A8aIJg0097gMStagr1Ox17u9pNb9zGPkxmT3iULjBcd2bSft7y02UcBAAbGiP6fx2I/Q= 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 AM8PR04MB8034.eurprd04.prod.outlook.com (2603:10a6:20b:249::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6500.25; Thu, 15 Jun 2023 01:41:49 +0000 Received: from PAXPR04MB9448.eurprd04.prod.outlook.com ([fe80::8af8:59df:c8ab:ff51]) by PAXPR04MB9448.eurprd04.prod.outlook.com ([fe80::8af8:59df:c8ab:ff51%5]) with mapi id 15.20.6477.037; Thu, 15 Jun 2023 01:41:49 +0000 From: Sandor Yu To: andrzej.hajda@intel.com, neil.armstrong@linaro.org, robert.foss@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 Subject: [PATCH v6 6/8] dt-bindings: phy: Add Freescale iMX8MQ DP and HDMI PHY Date: Thu, 15 Jun 2023 09:38:16 +0800 Message-Id: <2ccb849de420ced29b3f9be38e12664e1919b631.1686729444.git.Sandor.yu@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: X-ClientProxiedBy: SG2PR01CA0176.apcprd01.prod.exchangelabs.com (2603:1096:4:28::32) To PAXPR04MB9448.eurprd04.prod.outlook.com (2603:10a6:102:2b1::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9448:EE_|AM8PR04MB8034:EE_ X-MS-Office365-Filtering-Correlation-Id: cc2684ac-f2b3-4878-ffd8-08db6d41affe X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: v6Xa621iHbcmJBfqZmuFc8NCuAENxXcYsLHFqcO94GOwH3J5hg5GcxmGEra1AkWqHOlvbcQ6FClYim7o2ovyE5hajjTvXSpOCkeE5S+WhFdRlTRf7/3rX2+AvTJ23RB+DD11zRn9tM+hQVuFGgjF74CEIkMk/jS1JNLqU8oR+GqjjmdiL7LPYCrWElESX7K9UrNwEKIBDBpMGRkJMD9R7YSf0npm6LDseKwo6ePbBrBLEmI1GN8Jvcb9/kJCec1x3BHLIa109Rzq0bM7l0YT42tPZMiecvHVvFTgBRSWpMgA4oWnsCDdzMATQlvafVFlykm9QiUJKarZQkvY1ZFyZPXqVfmWqtbDCZbf9UFqSZStSO9V6fmiYrzEBAcT+6lXL/Zp3yAt253CevZeizloM9RFmI2ryLhBo+WW0psnrG9UZNrVCFELUen9zOdtAQ9lVkoz9810ONCC4HpUyaM/3l/CYEKCI1v7BB9GSu8+NEcxZ3Jh/wAsUooM11mYj2NgeRjvSz9+4NS0/Y1w8Lbif8IioHICX0fRDMVNGjM6uIgqpinu4ndS0GoqwLTfBLNkM/g9/gOIvID6ugp8mbaPe2NBXnioi1+WwlB4js5zYCU027QabrYnatr+6qZdfnqe7kqJeKUR0UbzkjpozxswzArR6bKEXy+Whg1o08glLx/QlBkl9TOUrNU8jzqIiOHH 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:(13230028)(4636009)(346002)(39860400002)(376002)(136003)(396003)(366004)(451199021)(2616005)(186003)(2906002)(83380400001)(6666004)(66476007)(66946007)(66556008)(52116002)(316002)(36756003)(8936002)(41300700001)(8676002)(6486002)(966005)(86362001)(4326008)(478600001)(26005)(6512007)(6506007)(7416002)(38100700002)(38350700002)(5660300002)(921005)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Q5cX8xlR82G736TMazrhxj0Rdh7JY1WZyxtiE+rJUvYAOP+xdLKQWonOhCeA55s98iZgww8MBTUMBr1KsaLJOMOn1ASwKIQ/ED6Rm1SELW0AlgEQkhsE/yyWbnlJESw+xReogFcWmDWER50yCWT4rQTG8jn91w8EQbC6nmrqms2iwhlKJg4poVXt62mXXqTDdpd1dtE3IVJR76JtKPBD1jL2PQ0DYZnZz4kCAfcNvwfDzQau1YkcOTNX5SUdgcGaaQg/5TO+NvHawJ42YvapLtW0oXpSJrxRmatwNivcNMrzGrYtD8JPrKnvwSdmyENNuY1S7lPaA/iPsir2iAVM8VzLfpWm5PrM4ZoxJp3/x5KyNkNgxqQsIaPujkZ1amVXAhPZfORasjFQKXPL8a3VuCIjURGrxEl/3ZThxmToEnrEj6wgj3QS7tikCzIj4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Pt0sYw0ysR0g+DBfKR0zncLBtnGJMqFAtOR5MjOEYODbWmEAWAdkPOf9oBd3G5JKdzMP X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: cc2684ac-f2b3-4878-ffd8-08db6d41affe X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9448.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Jun 2023 01:41:49.8172 (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: +99pvw3J875JzcJBBPeSI7J+ITpKFf6z9Sp+XnIfGeb4OjDSlO8YsFT2pAHzy9w1X+2VrDAtwKGAnb3/wBlXqA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR04MB8034 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230614_184151_544790_F59B50FD X-CRM114-Status: GOOD ( 11.14 ) 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 --- .../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"; + };