Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp890345rdb; Sat, 6 Jan 2024 14:19:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IETJpu2VA6wLy6h05d7f+etWmPfqCyPlhJa5Qc9w2FzNq0TJYyOEgE7Uw/VvzH7omj7ylH8 X-Received: by 2002:a05:6808:2f09:b0:3bb:ce0f:28d0 with SMTP id gu9-20020a0568082f0900b003bbce0f28d0mr1895911oib.67.1704579565125; Sat, 06 Jan 2024 14:19:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704579565; cv=none; d=google.com; s=arc-20160816; b=nxLFwd+PQ+p1YhK8HeXc0zgBw1SwF4RxJZnQKLUndLNuVdFWJW5aTB3pIaUk+q10tJ IPj1Kt6O1RwWUf99uYp/TVpYoBgI281CpKNSRsbpBUpzq1epyiBnjvmN5ssAlNZJgR6Q Lj4YeOcAwC/iJZqiYA3EwgyVHdzPyPRhLuSecpCHZDQHULJmTI0OrhjDXr9oTi+Kntgg ms84wm87mGtrkVVBckFVqMEwVEHKF9S0+Wv+cg7wUBW8CdMEQruClqnCHHkQC5WrpNRH Y8A/Qqfinp1+48VFXNBszMUMlV5B1OXH6c/K0eVWES2lLkXXAAvzRlCng0xCdP1/bDz0 A/qA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=TYXO0TXmrPEwqq+/MbuU+qZou0rkBxurEPhJUKxALbc=; fh=0Pme0bbsetw++wnG8lXYwxCNnZMYBrMy6gl23y2RtQc=; b=tllpxjXBDk5+I/32cVksxbgOxXw1WJE3rTlYtXMTU5bDeWbGM5Y6Z83xLcegQM99kd fjQLbF5uZEvLHa7xWRXzvOaVQ900AVMy+3VEAyDPncXh2+/HLyHapWU4WM2tsXnZH0m2 G1K2ACTI6VtkoUwFvfiOJpals+LJ2HussLilFrY8YR/ysTah+HgFFHPR7rz8BztyLG1E TYdl3gOzW+b3HSyo7gfuo2OWM0dlEW5/XnSuY/2v3ppSFIlO26Qd+6L2zGBx5elZBERI wxZ/SXpJ+Ny9tdjUgNewynd1Kkrv7GY2qgolO1ft9Z+IvC47ty28CVMUyXgSx8KmhMfz ssNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=g7SU09So; spf=pass (google.com: domain of linux-kernel+bounces-18728-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-18728-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id x6-20020a05620a258600b00781723e04a4si4760252qko.448.2024.01.06.14.19.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 06 Jan 2024 14:19:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-18728-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=g7SU09So; spf=pass (google.com: domain of linux-kernel+bounces-18728-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-18728-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id D97861C21017 for ; Sat, 6 Jan 2024 22:19:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3E899101E2; Sat, 6 Jan 2024 22:19:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="g7SU09So" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-il1-f172.google.com (mail-il1-f172.google.com [209.85.166.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1032F101C9; Sat, 6 Jan 2024 22:19:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-il1-f172.google.com with SMTP id e9e14a558f8ab-36071910050so4006655ab.1; Sat, 06 Jan 2024 14:19:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704579553; x=1705184353; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=TYXO0TXmrPEwqq+/MbuU+qZou0rkBxurEPhJUKxALbc=; b=g7SU09Soo/FaLOtSMKq7SLFcaSN/Ws/hkzr4e/gksHQD9MQAgtdqyu2eJY/a7zgbHY sM0Lj/vypNBrEAw2LHpd2UmhcQT3EAGPIMKLG22TmLHQlpRkNwC7JbigDS0LXL25VOmr vkRQzIQT0YWkbY20ZBMRdJmerHyXPIw0ha0pxnDqYLsKh+0NERbJmMSSBRal3J6H1ECg zXWt51/dsnFEPLePFmMHViEoPHotKAmxJOBFk1auowSXfaW9485hRBjkd7SY3iWMM74Y KG9XQHZp+neEscSfK16HWawAli1wz+kmA0XJH09j8R0bZbpR7wxp54YRftJz6GheMfCV fVxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704579553; x=1705184353; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=TYXO0TXmrPEwqq+/MbuU+qZou0rkBxurEPhJUKxALbc=; b=p/YzMUSu0a0QVWzR/pzIz4vLb2s2M59CmlRkMxJATJ2wPQh2uvOzDTibgeNEukXMg7 gmi/VFMxmt4XrKB74gOvytcL0i0iQVFBUj2gy1Fx7ksxT7EIWQqCkz8JFbI6bCVV7alE vKRyG0dwrK5GoEY9YMv/AeLp5wmWhmsn+G2Fa70RHVvyFifHucNbmCyvWWl/RqJ2MbTO NnYWxTOUjVjGX2ca+BowFKDQdePUi4+wUxGXZ7UjsnclK+s488H/vmMHDrflLr/daP6K QE6svBvJKreZWCvRwp4sBRfs72pfS25Bq0a2HuuXl0mvAhML+Oku/c4nYrmh+SDp33tF qjJg== X-Gm-Message-State: AOJu0YwqY3RcS2EGVbcMBOPRfNBydbTcfO+E4eH7SmpmvBqs9h+a7Oax fKw/uj4FFo1obdzQOOXbX40= X-Received: by 2002:a92:cd8c:0:b0:35f:e0a7:8892 with SMTP id r12-20020a92cd8c000000b0035fe0a78892mr2198542ilb.8.1704579552892; Sat, 06 Jan 2024 14:19:12 -0800 (PST) Received: from aford-System-Version.lan ([2601:447:d002:5be:af2f:17f0:33a3:d6fe]) by smtp.gmail.com with ESMTPSA id i13-20020a92c94d000000b003607ff64574sm679751ilq.64.2024.01.06.14.19.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 06 Jan 2024 14:19:12 -0800 (PST) From: Adam Ford To: dri-devel@lists.freedesktop.org Cc: Lucas Stach , Adam Ford , Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH V2 1/2] dt-bindings: phy: add binding for the i.MX8MP HDMI PHY Date: Sat, 6 Jan 2024 16:19:04 -0600 Message-ID: <20240106221907.325127-1-aford173@gmail.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Lucas Stach Add a DT binding for the HDMI PHY found on the i.MX8MP SoC. Signed-off-by: Lucas Stach Signed-off-by: Adam Ford --- V2: Rebase on Linux-Next Fix bot error due to the word 'binding' being in the description Add phy-cells to the required list diff --git a/Documentation/devicetree/bindings/phy/fsl,imx8mp-hdmi-phy.yaml b/Documentation/devicetree/bindings/phy/fsl,imx8mp-hdmi-phy.yaml new file mode 100644 index 000000000000..d1b941b48151 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/fsl,imx8mp-hdmi-phy.yaml @@ -0,0 +1,63 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/fsl,imx8mp-hdmi-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale i.MX8MP HDMI PHY + +maintainers: + - Lucas Stach + +properties: + compatible: + enum: + - fsl,imx8mp-hdmi-phy + + reg: + maxItems: 1 + + "#clock-cells": + const: 0 + + clocks: + minItems: 2 + maxItems: 2 + + clock-names: + items: + - const: apb + - const: ref + + "#phy-cells": + const: 0 + + power-domains: + maxItems: 1 + +required: + - compatible + - reg + - "#clock-cells" + - clocks + - clock-names + - "#phy-cells" + - power-domains + +additionalProperties: false + +examples: + - | + #include + #include + + phy@32fdff00 { + compatible = "fsl,imx8mp-hdmi-phy"; + reg = <0x32fdff00 0x100>; + clocks = <&clk IMX8MP_CLK_HDMI_APB>, + <&clk IMX8MP_CLK_HDMI_24M>; + clock-names = "apb", "ref"; + power-domains = <&hdmi_blk_ctrl IMX8MP_HDMIBLK_PD_HDMI_TX_PHY>; + #clock-cells = <0>; + #phy-cells = <0>; + }; -- 2.43.0