From mboxrd@z Thu Jan 1 00:00:00 1970 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 A5129C46CD2 for ; Sat, 6 Jan 2024 22:19:16 +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: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:In-Reply-To:References: List-Owner; bh=WvYqMkRgjCInxHamQtq9kxkzAtVjAK+pCowKquBtgjA=; b=eYtdrMH7JdZE56 wS3CPIdVSYWGLURYoXznNSIn5OK3/jH+lneEPvQaD1Z57xETLlYU9VHYCxOSTMt9t+kLf1l8pmzvt IaigcsDijLUhA3+bsxbwqBxajSUyZwGcHkoKXeB9Vt2X9KZutgwY9zXWkHn/lAHxj11GHk0Wk0miC idjlo0/xjl+p8/lCh6Kch4m77AjLA+5lE2SJ0G+T/hNWQbvCg7XaClXVkpNjNjxEkA2c92YevEVkq bxksWsoPyKbK8f/4fOTM9dtFlQ04ierBJDwSitzhj7lO6j7YsnjmvHAMheVHlYu4DWn7iqXUwqQVQ 0/yyz7SOax7bey22TAEA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rMF0e-001x9o-13; Sat, 06 Jan 2024 22:19:16 +0000 Received: from mail-io1-xd34.google.com ([2607:f8b0:4864:20::d34]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rMF0c-001x9L-0V; Sat, 06 Jan 2024 22:19:15 +0000 Received: by mail-io1-xd34.google.com with SMTP id ca18e2360f4ac-7ba8e33dd0cso39908039f.0; 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=lists.infradead.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=UmWPCf8d7VW8+v7spBKeflZL9QIlcFIS5sX9wRG28RFJ0EgizRNFdEIOqPoqJVwv8X YRFqOaLn6tnkpUz5nzOLw3hn9q8XWMSQzJ6HvFmFbj9YFLLdWrKlr7dK+j8Odq7x3/2i Idfm2eU343OPJItWvxlP0qukpaNJByjkxjJBJb8N5Z5flL3x5xQq8BSY2VKaDp87iwUY fHuenyx5egSjkae2uj1t7I5iR5r4DWnKt7f8b2WCVAiZ7bam4YTtraw0R8KwGyk/mUE6 YPbVtoCM/5RZavj2fcTD3a9vWOtQIg5CfyDHwmnP4+5MCnhghtVuzgL2aYi+kczpmn0n uW5A== 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=ReeQX9m6sFDL4bidO+GjmhP50DMpEO5bTsRqBFQpwVHFdSd5SlLJyt+UasNGFPlQED /3pvK0f0hGYkraCISHJ4oOE59VcoPGtwpjEeiGUJZUMJiF3VwxoOpE+gb2n+44ymsPTU gkaAPOc4qZ3m0KNoluRaVZhWf0jPJIgFtByfdIODKae2yd0ODDDEj3+fuVPYv4fgbrOa oZny4ZMi9lRlY/KS8gY16VuOFs4wltePKwj69qIfHNVitQvev/CRZMWKpMdGbMrCDFuc aCIXiTS3zi1ffe9uflIqNs/aTOqwZIb98YVHKI/yBB1bmc8/shpce6vd8YNFS1feMZNU sAMg== X-Gm-Message-State: AOJu0YwdW2I/Nacb95DnHToLJENLzN6W747OUG8ZS1DGuhXRfHwlfl3a KZlJUTJmK3gckxN7QrXJbaX8HkucjgMj+A== X-Google-Smtp-Source: AGHT+IGIt5Rt7HY/t7nCMCZDgRKKmmyUrOXO7GhHrgaSGRvAS7zb2V9Gd2Gt5+TSM/tEeODoTGFjeA== 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 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240106_141914_213471_95AB7D71 X-CRM114-Status: GOOD ( 11.70 ) X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org 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 -- linux-phy mailing list linux-phy@lists.infradead.org https://lists.infradead.org/mailman/listinfo/linux-phy From mboxrd@z Thu Jan 1 00:00:00 1970 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 8A5A1C46CD2 for ; Sat, 6 Jan 2024 22:19:42 +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: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:In-Reply-To:References: List-Owner; bh=fMUik9yS8g0VjZqj+SXS8wl5BJJIaTZlK80RsfRRqQk=; b=Ha1qIPvFv2fEEC oRTkpdtVckDu8PPP8nn1jnRs7Zs0xTHFMBmlaU2st/h13oCJX+Ro79d9Lp7iIJONGSPd9YgiQCTzm pJ+xBecvO9osSvD7kSR48Y3qoMfvbEE947qDbLX8mQIkyuGdT0wPx+g66Z+nVGwJ7dLTDWaLJEer3 7O0r3bYvc+o/Si+zhF0zsH5elr/7CBDg5adOlA3BiVRM1bBYIt+rFWi6FxRRuR9cv/pksavv/jTU4 dJVnH1iqkAVjkAUA6XedJxj/EYLFGNLpeYiFg9DGtpkKxO4pkbuV9Wl7jcXVOLlmyzDHtG63KYaA/ dgwLPCPBVrqvlLvSaVxQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rMF0e-001xAD-2H; Sat, 06 Jan 2024 22:19:16 +0000 Received: from mail-io1-xd34.google.com ([2607:f8b0:4864:20::d34]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rMF0c-001x9L-0V; Sat, 06 Jan 2024 22:19:15 +0000 Received: by mail-io1-xd34.google.com with SMTP id ca18e2360f4ac-7ba8e33dd0cso39908039f.0; 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=lists.infradead.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=UmWPCf8d7VW8+v7spBKeflZL9QIlcFIS5sX9wRG28RFJ0EgizRNFdEIOqPoqJVwv8X YRFqOaLn6tnkpUz5nzOLw3hn9q8XWMSQzJ6HvFmFbj9YFLLdWrKlr7dK+j8Odq7x3/2i Idfm2eU343OPJItWvxlP0qukpaNJByjkxjJBJb8N5Z5flL3x5xQq8BSY2VKaDp87iwUY fHuenyx5egSjkae2uj1t7I5iR5r4DWnKt7f8b2WCVAiZ7bam4YTtraw0R8KwGyk/mUE6 YPbVtoCM/5RZavj2fcTD3a9vWOtQIg5CfyDHwmnP4+5MCnhghtVuzgL2aYi+kczpmn0n uW5A== 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=ReeQX9m6sFDL4bidO+GjmhP50DMpEO5bTsRqBFQpwVHFdSd5SlLJyt+UasNGFPlQED /3pvK0f0hGYkraCISHJ4oOE59VcoPGtwpjEeiGUJZUMJiF3VwxoOpE+gb2n+44ymsPTU gkaAPOc4qZ3m0KNoluRaVZhWf0jPJIgFtByfdIODKae2yd0ODDDEj3+fuVPYv4fgbrOa oZny4ZMi9lRlY/KS8gY16VuOFs4wltePKwj69qIfHNVitQvev/CRZMWKpMdGbMrCDFuc aCIXiTS3zi1ffe9uflIqNs/aTOqwZIb98YVHKI/yBB1bmc8/shpce6vd8YNFS1feMZNU sAMg== X-Gm-Message-State: AOJu0YwdW2I/Nacb95DnHToLJENLzN6W747OUG8ZS1DGuhXRfHwlfl3a KZlJUTJmK3gckxN7QrXJbaX8HkucjgMj+A== X-Google-Smtp-Source: AGHT+IGIt5Rt7HY/t7nCMCZDgRKKmmyUrOXO7GhHrgaSGRvAS7zb2V9Gd2Gt5+TSM/tEeODoTGFjeA== 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 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240106_141914_213471_95AB7D71 X-CRM114-Status: GOOD ( 11.70 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel From mboxrd@z Thu Jan 1 00:00:00 1970 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="g7SU09So" 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-Google-Smtp-Source: AGHT+IGIt5Rt7HY/t7nCMCZDgRKKmmyUrOXO7GhHrgaSGRvAS7zb2V9Gd2Gt5+TSM/tEeODoTGFjeA== 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: devicetree@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 From mboxrd@z Thu Jan 1 00:00:00 1970 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 BBA1DC47079 for ; Sat, 6 Jan 2024 22:19:16 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1C24F10E0E6; Sat, 6 Jan 2024 22:19:16 +0000 (UTC) Received: from mail-io1-xd2e.google.com (mail-io1-xd2e.google.com [IPv6:2607:f8b0:4864:20::d2e]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1AE2010E0E6 for ; Sat, 6 Jan 2024 22:19:14 +0000 (UTC) Received: by mail-io1-xd2e.google.com with SMTP id ca18e2360f4ac-7b913830d8eso39451239f.1 for ; Sat, 06 Jan 2024 14:19:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704579553; x=1705184353; darn=lists.freedesktop.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=IdssUEpKbJ8sGNf/ED5CTp0dfu05mgHZSOpxwrgGMjk/C+e/HR7P5yXNOTHCdGNYxL KZMyj4Va5bsOsZqvMLpHJu8j6/Rz4qJMV5kU3fiH7quQMZvdmIOa/7dxcTguP10J50Q5 oT1QpuC1WXsV6IUBnDYfujUmJHQYtk1DaN08Si6ySdJOK9/48UlxZPGhj9QM0du4oFdB aRyahNX44VwseoLiTau7Zlf4LeXQ7bZ63jxQoR91nVF85N5TshfBYacISSTuxiVUNqoH zpBk6VRl+7Y5GkKVhMdN025hRkhkYd4WHkgCW79ruvpl2OkEfzrgDaYA3/H/syWKwfxV kAOA== 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=vMnFNjkCZWmwXcGx1ev3hP9yA40tonEj58gnKmnU4Q2EBOmzfGxh1sIxBGH+QWbP10 i+M+7/XQWpVzVjADGWh7B2NjcS+onV5W1m6mthADqoeCs+4yShvYUR4TO6MKyBjKR00b 6zPuxsrpXqR4U/OisyfnChS22M01VEWxxcFDaANgh6HEJXmHJASKfAdeNDpwncQbu/gJ ELFqcoTzjA3Ci32KzUMyOIISti1BNaMAgqBmfwYgRGny5fCmy01S43sLNkadFjwZOK3A QIZwllMD43vXNqjn1Oqxg0/pKXNf3aBWvzW/0CNn8T+RhH/QWc0Lc8Dd+ELYL4YruQ0u sx5g== X-Gm-Message-State: AOJu0YzZ433Pxm330zq/8njObyKUDKifgGrFePpZuKjMSg/xvdGH5Od2 /5f3oaB/Mw+Rf8tmZViJycvV4UU9xQ8XFQ== X-Google-Smtp-Source: AGHT+IGIt5Rt7HY/t7nCMCZDgRKKmmyUrOXO7GhHrgaSGRvAS7zb2V9Gd2Gt5+TSM/tEeODoTGFjeA== 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 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 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: Kishon Vijay Abraham I , devicetree@vger.kernel.org, Conor Dooley , Fabio Estevam , Pengutronix Kernel Team , Shawn Guo , Sascha Hauer , linux-kernel@vger.kernel.org, Vinod Koul , Rob Herring , NXP Linux Team , Krzysztof Kozlowski , linux-phy@lists.infradead.org, Adam Ford , linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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