From patchwork Fri Nov 4 06:44:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sandor Yu X-Patchwork-Id: 13031461 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 C75B6C4332F for ; Fri, 4 Nov 2022 06:47:51 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1951C10E6CA; Fri, 4 Nov 2022 06:47:50 +0000 (UTC) Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2057.outbound.protection.outlook.com [40.107.21.57]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1DE7A10E6C9 for ; Fri, 4 Nov 2022 06:47:44 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=L90jcqxsvNfrZvIX1wXteHrFVvvb6EuqU05zk4ewiHyu3kV2rqdLCQe+0oVPPqLW5behaHPjjEESyQ238v9ODeaW8xwK2mRBcgHGIsm+8cIU79r+bUdU3JF5PGTmWmqFdOxU2BfbhGtJEpYBaz+Y66aZ72dEHTRXXQvS+zq4Bac7JNCytay8s59SP6+66wxkW5zoQ7WeLit7WdM1SfjZ3If7Qa/NV5wd/UzIi2OxEvTh2pfwrbzfJUPW/XvQMGeGtKOtg/hS7mFhdWitqbwsdqkdWI0boftdB/a3XlUkN8r5A+AzYIyhRwedZigpyi5mTYyw+If3VPjLb6ugvkxIZQ== 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=vhxMHNVkqbQwgbuwi9FxS3floekKWT8jcT1OWIzdxZ4=; b=I0GEV+Ahh63IztpPZe5abnf733hP57cnoVGBJbjLx2N9QTQBpMSG2Bt9HDzfktW1yRiT5hh77NIC9zaToa1PsuZkFjJSftvT827rlV16/cHAzIFjL9mMNqpDXdEbJOemZxKrp9H8ATadW7Er5P6ZTmN1CP6my+zYAiRmcqqHRJAImeD3BIZgtQJRqWOeK5EwZdRpwjcCJr+RudYyCyfa7oGSk3bAVvBT2ZlTjQnFONQFqSGn3mTyab++nRKAOL1q3cOwqy0P1kctdrXaGB4W3hOhXKXuD6qr7LAwTl6o3TUMTAeoUGvXfcj9Svxp3nWfBVvqUh7pUg7AiYwjSdpOqg== 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=vhxMHNVkqbQwgbuwi9FxS3floekKWT8jcT1OWIzdxZ4=; b=Dg0osJe00RHjTSNGPbkKIPdv0/g9N9Uhe0ijhfLFSkiwP1LHizBacNtyVOgIljNhZKZIzgCdMsYWThfJV53pxxwjeIXbAkyaFQ+otZOurvZlY9J+IiedIEBHUeCUrfGLu4tKm90J3FBldZ6JWIJ1hMU6/B1PXi+t+sZz/LwuD3I= 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 AM9PR04MB8081.eurprd04.prod.outlook.com (2603:10a6:20b:3e2::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5791.20; Fri, 4 Nov 2022 06:47:41 +0000 Received: from PAXPR04MB9448.eurprd04.prod.outlook.com ([fe80::88a0:57d8:2a57:3f4f]) by PAXPR04MB9448.eurprd04.prod.outlook.com ([fe80::88a0:57d8:2a57:3f4f%9]) with mapi id 15.20.5791.022; Fri, 4 Nov 2022 06:47:41 +0000 From: Sandor Yu To: 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, andrzej.hajda@intel.com, neil.armstrong@linaro.org, robert.foss@linaro.org, Laurent.pinchart@ideasonboard.com, jonas@kwiboo.se, jernej.skrabec@gmail.com, kishon@ti.com, vkoul@kernel.org Subject: [v2 09/10] dts-bindings: phy: Add Cadence HDP-TX HDMI PHY bindings Date: Fri, 4 Nov 2022 14:44:59 +0800 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: X-ClientProxiedBy: SG2PR06CA0194.apcprd06.prod.outlook.com (2603:1096:4:1::26) To PAXPR04MB9448.eurprd04.prod.outlook.com (2603:10a6:102:2b1::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9448:EE_|AM9PR04MB8081:EE_ X-MS-Office365-Filtering-Correlation-Id: 3af3b36e-f593-426f-e951-08dabe30785e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: eFXb5KUYqifrKZhtnw4m5o/rYo5pRybLzI0HNy2W0ZCgQH6P5NnYwwVrFW4XrY4G0zV0QKjJ9Anw6D+BB2yTbMJcokD8GeXRi4zv/kZ6QHLpxiAqLJFQ7OtlEoY+mojQDnd+JCg1U2nbCBN6P1iIknePpf8OrZBLpWvjpGYm+2bTKIxE4/bOn0fdCa23vusgG9wh45Mc3+dqZHcPsQTwKscCdXnoc/I4c9TJ12PW4ut3x9OQn7JAoDx8cpN6dlJZM0pWSp+xRwlRf3wveUN8NXiXjMtTMddhW12wZqw9zncpuME6DlNMS7tI2cZMxVVdWpdpFKdx8oAj6Vi5FYCARR7ZyVZUtS9v+IygVzbYymIytyv9NubDu2sESf0WoTirLGoxNE/3XH2sbnLRQu5JKe9m2CMR/sC8yRkR/6nGaqlbRdR/hjyxJo7MJ9GTD2dzjirrj6lJBEo5N5sbI2wV6w8BeE0z+lHn6lkWE52M2mAnNUozAQfXpgc92pObEi8HQe/SvoTJA/2dOsvNAOkhNSJ0bVI222sEj45AEbdjtak4hBCTwtaEx4wDOaOQb6w5cK/0nKiXjJKEfyQNwo2+g41JXXGKYAbR2G02lTMTn0+cRRQJv8zC1DgMTf6H/fjyX7pJfWwztScJ8xsvjgLZVFeRP+XGD2h5acc0Wfa+j62oUR0iIyt0437Fxrb76xTV+6zT2jar6Ef0RhA3ut/sDEtOqBO4p5PjpoR1JDyKrKJsZ/6aRvjZ9aUXcXPqko9NEv1xj389zFzY8goOKwlbi8HFgMhJ9hRiyMxp4AhH45YK4wxyH+SW8c/uH3VBJv9eB/NwVGsGrFF2qzrrYHDvCQ== 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)(376002)(39860400002)(366004)(136003)(396003)(451199015)(316002)(8676002)(38350700002)(7416002)(5660300002)(66556008)(66476007)(38100700002)(4326008)(66946007)(36756003)(8936002)(41300700001)(83380400001)(6666004)(921005)(186003)(2616005)(86362001)(6486002)(26005)(478600001)(6512007)(52116002)(6506007)(2906002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Se4mXwgTV/9vuMXXdh9zDQAlRGbW0Nt8DqIHA6TYIpKJMq2xyYGQnkmkWlOqV6XTQ4RgZoW9F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e5lD7BOlMdXxuCZ8zfOdPtNqxTUilNwbyYiVkbswxNmFgPd0YHess58KmM2kRscGfFJIV6Hd894a3t5/FHO6gcaFNlRQW27JjwSd4a5xjN+Qqd5oDbPHa2csEG7yzxDVy5i9Lie/8LGvLf5hJIkbpbwrbYd03NOn7dOgmHBEASRlLszy8C1R03DbmpkI+7Bd2AD2OLusyQYawqtUEGOc0DbqjsOM/mn5zjgcFfancSt95opy1JLIpi5zV5N5w5b8N9etSoWjcaYLZHRm/wBAv4QIPzANnjQFNFBN/47SypRlcdflvB1Egq3fyA9k8FDrIcishref0aKLKxqISrTqy10ef2RMJyn2Ltu3Q5H/r1sqqrP81pnNmlt8yrbshg8/9EdRYH0O8NdBFZ7TrNsCQiUy3tV8AM8dKDF+hqLg3TXE6MK2QNt0CbrWC6SuV3vrX+FcIioLHHbLAfhK0ttFs1Q X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3af3b36e-f593-426f-e951-08dabe30785e X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9448.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Nov 2022 06:47:41.5415 (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: HMevoGNNqJRIUJyiTKg121oyEC7AkVXlM4AXQSluVItjTMghtXDlDeVwlDEktTSPJxf2u1hjLgUpeckNebTtBQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8081 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, krzysztof.kozlowski+dt@linaro.org, sam@ravnborg.org, jani.nikula@intel.com, tzimmermann@suse.de, s.hauer@pengutronix.de, javierm@redhat.com, penguin-kernel@I-love.SAKURA.ne.jp, robh+dt@kernel.org, linux-imx@nxp.com, kernel@pengutronix.de, Sandor.yu@nxp.com, shawnguo@kernel.org, p.yadav@ti.com, maxime@cerno.tech Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Add bindings for Cadence HDP-TX HDMI PHY. Signed-off-by: Sandor Yu --- .../bindings/phy/phy-cadence-hdptx-hdmi.yaml | 54 +++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/phy-cadence-hdptx-hdmi.yaml diff --git a/Documentation/devicetree/bindings/phy/phy-cadence-hdptx-hdmi.yaml b/Documentation/devicetree/bindings/phy/phy-cadence-hdptx-hdmi.yaml new file mode 100644 index 000000000000..edd7bf1c8920 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/phy-cadence-hdptx-hdmi.yaml @@ -0,0 +1,54 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/phy/phy-cadence-hdptx-hdmi.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: Cadence HDP(HDMI/DisplayPort) TX PHY for HDMI protocol binding + +description: + This binding describes the Cadence HDP-TX PHY for HDMI protocol. + +maintainers: + - Sandor Yu + +properties: + compatible: + enum: + - cdns,hdptx-hdmi-phy + + reg: + description: + Offset of Cadence HDPTX APB configuration registers. + + clocks: + items: + description: + PHY reference clock. Must contain an entry in clock-names. + + clock-names: + items: + - const: refclk + + "#phy-cells": + const: 0 + +required: + - compatible + - reg + - clocks + - clock-names + - "#phy-cells" + +additionalProperties: false + +examples: + - | + #include + hdmi_phy: hdmi_phy@32c00000 { + compatible = "cdns,hdptx-hdmi-phy"; + reg = <0x32c00000 0x100000>; + #phy-cells = <0>; + clocks = <&hdmi_phy_27m>; + clock-names = "refclk"; + };