From patchwork Mon Nov 28 07:36:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sandor Yu X-Patchwork-Id: 26570 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp5492260wrr; Sun, 27 Nov 2022 23:40:45 -0800 (PST) X-Google-Smtp-Source: AA0mqf5YANXZltjEbTkEbPfGqVSdD6MeFJmr37obeXhO52CWi+AvjZglFh4yrFpfCQ/0UI/V6zlI X-Received: by 2002:aa7:d1cc:0:b0:468:f964:372e with SMTP id g12-20020aa7d1cc000000b00468f964372emr43454900edp.326.1669621244994; Sun, 27 Nov 2022 23:40:44 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1669621244; cv=pass; d=google.com; s=arc-20160816; b=riPxgf4ZLsZIhS2IZZf7pQMIFzzKvLF/wTk0nPuvENzJ2QPArS5paR2P/2FH8beB2i qcujiqBmp6EaOMOLGl/KvuhqnMRNke8FtzyXIxCTjjo/uZh06mgtvLn/wF04PBoAs0Td 3wLzQx7//cAgkvYlA8c0PX52tqlNxsny/hSXMJWZWYkiK90XeYa0x+X82nVEzJ5vuQOY m7xVaqO/C9okRGYEkhFOf/lkix4divqNKtsgcILFzWGUU9afW98s6wlrkRfx1+fmfXCu pFZxmBZuY28wZjCdtoaIZXOtYSD/byTEdK1hXt9zjUT9O+fdYz/d52g8q1MjivRmSiFG 1/Cw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=CMptG3TVD2M2OHDRDc4ndsddNjJwE6SfQs5tEWY4NzY=; b=T6cc4Gb8kISosP+ACw27nZlAF6edjlbYXJkuYDqZO1RNfS4rcJuWVYNr1ezirIbY/f ZPBKV25ChIzpP+Ky9/JrvgtOHNVjRXGbelm5RToO4NF1xFxMLx279045tOBHDSzEGbWX oWK72V33ijdCeYznCYu0NqyGyXrud0GW3G34eHEu8xioIz/62XWqSyK8yzQJFtDOM4Am zLyzLE9zXVOECgUnkWAUFY+5oPpHmm99ZAr+Xt6pxAjrcbSf4sB4n0AtKYfScXuF5cBM ZriGS2zIcVCGfxrbpI/1diD4BObCZA7TdaZ0dSMD5xzcM4F36Uk+OCrtHr27SSdIJYNF pKDg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=cVhK1fyW; 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-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i20-20020aa7dd14000000b00461dca37cd0si8874179edv.126.2022.11.27.23.40.22; Sun, 27 Nov 2022 23:40:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=cVhK1fyW; 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-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230060AbiK1Hjg (ORCPT + 99 others); Mon, 28 Nov 2022 02:39:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42828 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230048AbiK1HjI (ORCPT ); Mon, 28 Nov 2022 02:39:08 -0500 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on2058.outbound.protection.outlook.com [40.107.8.58]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C96AA165A6; Sun, 27 Nov 2022 23:38:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fEenbYeJvpvtqTeYvi5gfQuw5+bSysCJF1qFb0CUkor0wFR18LFQjGbcdTkbTRPeMyaM76Zy9viSeRDnP/QFo6zTzM4kg6pMGR7vPJAtSXq4iKY2Yre3i4QZ+vxhIr1L9H4S+OAPPw6YMEeSUfTV5GfE5Ss6OO4Q8WL0/JsCF1bBuSMY0PYr8RPnxSCB7V0OnPpSy8Vf2SUN3L/ZDTKBi9Smcme3VD2/kHrgpHILLD8KU6wFE3TAWgf77puv90J8bwqqUbM7UU3CwQ+gT9tE4/07nt6MXRVRzrgoRhYT7CpfStyzp6U9KSa8TN63TYnvdOKqWTyGZmdIflqu8kLAEA== 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=CMptG3TVD2M2OHDRDc4ndsddNjJwE6SfQs5tEWY4NzY=; b=GeOYGWoRo6kL4myV7tZ9u9C2jFdgDZ9PW6pDZa8AoFeWrE/JsawOTgD0GDzeRRREb4QRt1N9PZipMpki+95MmXsL9xpKlAzgoUmz4MEMwegLtGTjKY/Z26yvgs+6Ayk9DiU+9KcvQiSNhTlZfVTTReMXagmJngiqGZnmStlJ7iP05iJBgOui9gC8nYOmiAZX6l/Ds11hKl93NhD7NkDhRyJM/ZiXqQeoEYCemlysvjbZ3TqRO3x/Z/OL/gl7wnlTD5gd68J+t9wLD2PVgDnMwbZECau0Lw8i7virAO2j1DVpCwNOZTxF2ix0xyvz1Ozyzdo9yWv3dfPIu+OWcDSrkw== 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=CMptG3TVD2M2OHDRDc4ndsddNjJwE6SfQs5tEWY4NzY=; b=cVhK1fyWoOSAU0aplvvwraxjCzs4bJ9Ypkl6tyonTWjXk35MOSmx+1+jjFEktpN5PWtsi8oRL7RLG7Wr9g2IYNqNTRa9vk02CdXHfahSHfjVYIkqK4ztk8YeLP80uYjeS/a9LHbDFKbjXUm6uSmdG705sVlHX3ZukYGCwgwBsFQ= 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 PAXPR04MB8366.eurprd04.prod.outlook.com (2603:10a6:102:1be::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5857.20; Mon, 28 Nov 2022 07:38:51 +0000 Received: from PAXPR04MB9448.eurprd04.prod.outlook.com ([fe80::d0c6:7b1d:6982:d400]) by PAXPR04MB9448.eurprd04.prod.outlook.com ([fe80::d0c6:7b1d:6982:d400%6]) with mapi id 15.20.5857.022; Mon, 28 Nov 2022 07:38:50 +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 v5 09/10] dt-bindings: phy: Add Cadence HDP-TX HDMI PHY Date: Mon, 28 Nov 2022 15:36:17 +0800 Message-Id: <2b9fc96b0340f05a2770ea2626e56e1ab6569dd5.1669620155.git.Sandor.yu@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: X-ClientProxiedBy: SI1PR02CA0051.apcprd02.prod.outlook.com (2603:1096:4:1f5::6) To PAXPR04MB9448.eurprd04.prod.outlook.com (2603:10a6:102:2b1::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9448:EE_|PAXPR04MB8366:EE_ X-MS-Office365-Filtering-Correlation-Id: 7361a6db-aaa1-41e5-ef27-08dad11397ae X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ex8E5iGz8LQwpHdkCgaWv/GJTyDgx05j5lQNI76vfOwdScHyTxK8nsbu17xMQcbnvqk0DqwcD3u76myiRSpm1p3ZZi47QiauH8UkvYek0uar0aD+LgkkzLfpXBkbpAe9RSOfaGqc/AHnJ8wVARTHbruQ5HDlkPLlHOhKUKHlHjN2DUn4GrA1iPGqLtuD/sC+vPOjr8WFJo3SmSrwhs0O9NxNehenVLUUtdabSdRZs5UdP/bei8VXm8/EB43jyaRTO8P2ibx2QOBQIm9455W8afFxc/t1EiJiILNEA2yXWPe5p0H8P5Il8FFSWsJC8fNcB9d4OuPUXzEN62XwIWcXVH4awAvvozCJ2CORuUEuzuAFK7y22JZ9dHsv422k4vE2HLd8NnDqs+sVR87+z1cZyB0qKR22facmu+9T3gr/wdIvOPIJjtg6MJFuTtcZO5Aw6DNm6Rn43S/J7b0A7D+NPV5qNBJW1yT5Zwn3Xe3QkEyK+qG3il9fR1W4qkMDKO6J16FkbBUDtqrjZX6JlRMvdFDILD8JD3oEX9n48dMyXJQF+1u09uhvgjbS16vmvi9HOrv22RT56H2Mjzvp85rekexBxUtklTokVCmxj+dzBVRc8JLZjOf1nfIFbFiSUNl5Zr/B3ICqBJ96i9Fw8NNszVWoVm6Ye3KJrtCO0mI9AjKGXhWjePsW7e5DywaN0stxjlof4N656Ao48FDuaC2yOe5R7vauMbgIEceiSbsIjPDduJe55xQfn+rSpRVph0JrGV/VIKa8iHBqSLg8/uP3Rerkk7n3T/DlC3cyqBrzocs= 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:(13230022)(4636009)(346002)(39860400002)(396003)(136003)(366004)(376002)(451199015)(38100700002)(38350700002)(478600001)(966005)(6486002)(83380400001)(7416002)(2906002)(921005)(186003)(6512007)(316002)(26005)(2616005)(86362001)(41300700001)(5660300002)(8936002)(36756003)(8676002)(66946007)(66476007)(66556008)(6506007)(52116002)(6666004)(4326008);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: TptJJcQDqKjS8XkovXXOG4AF560niDl6T64TnrJMylzMfDTX6IGJxm4sIkho6Wq7hcp08YQCIh4NlLxzZlHyjd3duzmKhIHuaZ6YknybNSRhn3/A7p/qa8XbtHgTNX4HE77arfNFOU2ZiTf1aT9lD4G41lF3EN+1TUfy0rOAoUtV/ZnqvOfS9jMOZK/si7p9YQZ1GqNKjdLkkDRjTbtDo0vx876E4HjuUsaFCsFX3vaCtwfOv0nqrMV23oB4LLE0SY3t2CFfSAmbxwqsyqPRcG0iDY54b6zsQ4FeMBpDHhRBASQK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88vfMaFXffSDWmXfkkOAuSpX8/rPXYWtK88XEcuQia5EUdW8Z7Sf8ETkNeMliTZrnFikTpIXKs8Xn23j9/Been50dLQjcwagFHt1OjPJOWz603hIYt9UT5Ilkhd8hpV8sya1REyi5gdugReTj+T0jKq3tN+k9isePydrnaUYCDDyj6OyatHUXYJzOPW64p5qqxErkyHlWp7tNtZuyniEgD1 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7361a6db-aaa1-41e5-ef27-08dad11397ae X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9448.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Nov 2022 07:38:50.9035 (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: AL9/gGnOKNfiPFYxY7+Ll9oc0EO5PzgQysj3uf+HojgWSwhwHsRJOabg2Ted7d7l95OtFQoRdk0goFcYK5nzAA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8366 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750724766850174563?= X-GMAIL-MSGID: =?utf-8?q?1750724766850174563?= Add bindings for Cadence HDP-TX HDMI PHY. Signed-off-by: Sandor Yu --- .../bindings/phy/cdns,hdptx-hdmi-phy.yaml | 52 +++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/cdns,hdptx-hdmi-phy.yaml diff --git a/Documentation/devicetree/bindings/phy/cdns,hdptx-hdmi-phy.yaml b/Documentation/devicetree/bindings/phy/cdns,hdptx-hdmi-phy.yaml new file mode 100644 index 000000000000..9de824635a03 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/cdns,hdptx-hdmi-phy.yaml @@ -0,0 +1,52 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/cdns,hdptx-hdmi-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Cadence HDP-TX(HDMI/DisplayPort) PHY for HDMI protocol + +maintainers: + - Sandor Yu + +properties: + compatible: + enum: + - cdns,hdptx-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 + hdmi_phy: phy@32c00000 { + compatible = "cdns,hdptx-hdmi-phy"; + reg = <0x32c00000 0x100000>; + #phy-cells = <0>; + clocks = <&hdmi_phy_27m>, <&clk IMX8MQ_CLK_DISP_APB_ROOT>; + clock-names = "ref", "apb"; + };