From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qv1-f53.google.com (mail-qv1-f53.google.com [209.85.219.53]) (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 6AE5D14F9FA for ; Tue, 27 Feb 2024 22:05:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709071502; cv=none; b=T3Y9vmoBSMjdN7NdcJU9/6hxw1Frq93ioKh3ZVzygTt/gZjCYJfkBg2qi8wkY4LiD5LLJwgJndVK6XXrrZxBTgi7TJbs1Q4poNO81Ww/tSW+PIl9xhQsuklDehHgVXQ8LcXryvPQWqCxpoSHaIe9Scl7RDAIsiSaEzgS/uFPOuA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709071502; c=relaxed/simple; bh=XgqOTJb39qn6qfwvzC4Xjd8T0w2B1vbycueYW2K2slw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=a93i4upOVF2YWi1gBKd2s+Xhau2tB8VwTJQ3mcCOI8b/VdB7LeEJqiLncVXFGvoK1O/JxtiVIQmjdRcEJGf8zZQl3dEvKXidPD71niCLUSEHqwGvqC8/jaYziSezeM2Pn4nU1bzn9o8oak+wtMR9EcJimD+vw1YKxMjjCdC2mnc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=muFAemec; arc=none smtp.client-ip=209.85.219.53 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="muFAemec" Received: by mail-qv1-f53.google.com with SMTP id 6a1803df08f44-6902947c507so5835556d6.3 for ; Tue, 27 Feb 2024 14:05:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709071500; x=1709676300; darn=lists.linux.dev; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ENJCVwViqySP78QQC22e16vdfpVFUmVF6XiIGfyzNm8=; b=muFAemecxrerxV34xUnDFFZ6821IkVqlOFhBEKVaQVVhgb3NYWk3SnYQ4n4/qUSMtC LMrzG2l/1gzDFZF7OlR0xk0buJ2F/BfNxRrTde1d9vu69qxkW+7QM3x/ORX1wSQuAOtC I9qyj7XXfUXg+KPv/4l7LL7iD1jER5KFQxu2nkBipSDRyX5NmE3ElbV1YyKNM87eEFrq uIwrokASoA8uIznW0ZvuuOiGxC5ezbWtBqD8VuQL+sozbPJyu8pESHFiKnpgvI93T46Q L8XMhBGzEt6k9WBhw/JsLwX95U49OwWXPywQQKEpyOgXP7NzVV2tkDh+F1yNPkpoLqEU vXnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709071500; x=1709676300; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ENJCVwViqySP78QQC22e16vdfpVFUmVF6XiIGfyzNm8=; b=j2MaHQOcTsGpJ1t3PW54doSbrcouq8SVGtwOhXNd5tIp8Xz7iRKegWlZTWjTV9ym4/ NHgNNWrBp/9fbE+Ln2p91P3bPZIv4rOT3+aQNVXhyK+7sHWxxvqO21H3XI/LntdT4mK5 HFlAtybT7ZxAbh8Ph83CWJTzwz9jQiM4dogWv+kl1m1o+dzRrJJ1tNYk3R/UoiJrtBBs uOCGiSIetA+DQ4HMGED6yXQeuoRfVFvZckx8Qu39MI21OUqochdUXIqJvS/StCKR6ELS cN4LBZZCKkd9Ors+s90rQvoVdV2ELOZQcfB5BXbN+RdyN711+Evuq65qepKtJnZWqsEW kM0A== X-Forwarded-Encrypted: i=1; AJvYcCVOodgA9Zp0Z2EUCkq6RPVCcC+Fe5rYNjie3qXXlTwTh2kNIHz4cBOf1VdJRNLQUzH3N91Z6gWtAZfV/xjObPxuPrnk X-Gm-Message-State: AOJu0Ywbm6cu0QhC2JPKKU2sBia+SMZ3g90zqMzC72dw7owQFpZ1zYC/ 4vIohE9XCpPZEiAEzbX5WCXiOxKxKZICZtur/Fmm/HuHDOfO3hZd X-Google-Smtp-Source: AGHT+IEpZQhtRi5w5yIbBlDmAdFLeORFRaXPwFhoPznALYLBHwR3eVYMv/pDmm9JMFJsmDcE9UXAiA== X-Received: by 2002:a05:6214:518c:b0:68f:fe7f:abff with SMTP id kl12-20020a056214518c00b0068ffe7fabffmr3307878qvb.19.1709071500273; Tue, 27 Feb 2024 14:05:00 -0800 (PST) Received: from aford-System-Version.lan ([2601:447:d002:5be:9ee3:b2ab:6ca:180d]) by smtp.gmail.com with ESMTPSA id c12-20020a0ce14c000000b0068fc55bcf6asm4569556qvl.119.2024.02.27.14.04.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 14:04:59 -0800 (PST) From: Adam Ford To: linux-arm-kernel@lists.infradead.org, linux-phy@lists.infradead.org Cc: aford@beaconembedded.com, Lucas Stach , Adam Ford , Krzysztof Kozlowski , Luca Ceresoli , Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Catalin Marinas , Will Deacon , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH V7 1/6] dt-bindings: phy: add binding for the i.MX8MP HDMI PHY Date: Tue, 27 Feb 2024 16:04:35 -0600 Message-ID: <20240227220444.77566-2-aford173@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240227220444.77566-1-aford173@gmail.com> References: <20240227220444.77566-1-aford173@gmail.com> Precedence: bulk X-Mailing-List: imx@lists.linux.dev 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 Reviewed-by: Krzysztof Kozlowski Reviewed-by: Luca Ceresoli --- V6: No Change V5: No Change V4: No Change V3: Removed mintems at the request of Krzysztof and add his reviewed-by V2: I (Adam) tried to help move this along, so I took Lucas' patch and attempted to apply fixes based on feedback. I don't have all the history, so apologies for that. Added phy-cells to the required list and fixed an error due to the word 'binding' being in the title. --- .../bindings/phy/fsl,imx8mp-hdmi-phy.yaml | 62 +++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/fsl,imx8mp-hdmi-phy.yaml 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..c43e86a8c2e0 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/fsl,imx8mp-hdmi-phy.yaml @@ -0,0 +1,62 @@ +# 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: + 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 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 8EF34C54798 for ; Tue, 27 Feb 2024 22:05: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: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=0LwrJ8OosK8YYocEjQVmYmjN7+bA7qPXzUDtUjAD2Xk=; b=13qPPzmNxABMRi esA9DAHvCtk3SrRbIfB/kz4W9SpsLlnsxvu24e2Q05RoTbtBJVjdh501rK2O3iQXgFEnzvALgrQGN HyuXHTos5kV5qmP9pvq22euTN4juuxeVXaYbfP0nMjYEOQWbTbBWhMyCR4oLDMKoS5VQ9ArPEZn0v dRwzwMXU5Kpo18sZ1G59hkOciehYzjopMPoe/oU0dLUYPJNhiKBG0bOneTa+nSJ9k3WF0oO+p2DKx GiYCxYLPB9Jqqd/TX+e2ftFcn1TDUcTivWdL4CKUppf6FiSYzIYaOgSk+0wJMWv82ki8SsJLk5Hg/ h6j9GH3fhYAu11+3ijsQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rf5Zc-000000070Wd-0SXW; Tue, 27 Feb 2024 22:05:16 +0000 Received: from mail-qv1-xf2f.google.com ([2607:f8b0:4864:20::f2f]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rf5ZN-000000070Q5-2buV; Tue, 27 Feb 2024 22:05:03 +0000 Received: by mail-qv1-xf2f.google.com with SMTP id 6a1803df08f44-6900f479e3cso19342336d6.0; Tue, 27 Feb 2024 14:05:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709071500; x=1709676300; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ENJCVwViqySP78QQC22e16vdfpVFUmVF6XiIGfyzNm8=; b=Kd+7F/OTAzDA9gjEo05A0GKHMd8OdUO+5rb7weD5zf1kUsUYHplGbDJiHyXxK7WMNE 9ADuX0CY5fPrUkQb2qYqS4EibwtVJ/ZAto6s5ZYgoGrZoV9HwFrxv3OBxg/Fc1xcmNoo vzoLGIfaUHFEztgKSqry470pXJ5PwUnVbEdDtNTEsw3C4LavvyTZDEJPM+vlcLDVp3mu CIeK8UPWq+S8+2+RjakK+o73Wa1D2cjzQ4blh36hzht9Jrqoy1qi0sxaOMWrGVChwuT6 N/T78J3WVfzJaYuS+Bgu3opPhP0H4rX/C/4tndyqyai1eFRrDUgUOSwdwuTBHPg8gkWn aNVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709071500; x=1709676300; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ENJCVwViqySP78QQC22e16vdfpVFUmVF6XiIGfyzNm8=; b=h3Y/Z2wXn9mapTTBj3RDADsFqeVVViOdQqlv/CXJd5/veI1TGmT3/vfPTRS//CP73m k2NeatJ0KMiALxxfvU9dQJTxdH1BiR7vvDqSh0j0tHdJJp39JcIuzYjb4F/gaggTifhD hq8rKCvA86vWubccERL/Y3eD4qLksHOYlZ7P25KFOfCLPjmenK2I02mFO4WJyqZlpqr3 uzK5rp6OYuAdV9p92EKnEZ3pRK3yo4S5z7Dny0MG/N7h46WeYptjCO5vUpJHIljNUpY3 ykl5C4prsCgMqwto5OmZnl9CJBpgzl1jv3J+fTi2gOF3ZZeGDAXuyBk46GCOAi4v1Qtz zm5g== X-Forwarded-Encrypted: i=1; AJvYcCVlIGoCAmdpVyjbAzvSAPxn+MB85ygDjV1DM1ZDZ2gkdG5tVaFzysHBoGdJDBJkdfM3s7SdiQOoJQginO/bIqPPJfcFES+39D8E43BpyQ== X-Gm-Message-State: AOJu0YxkbLSyMUr9F+855OqVwDlayd1I0QUNIuaQyPzfjWtDaIXa0xXR CEhEslxwrSvAyo4+Ctfp2pi7W1/3LTxu9wd6S7f3jSoorM89FVNyZPYzrQAmkFZllbeu X-Google-Smtp-Source: AGHT+IEpZQhtRi5w5yIbBlDmAdFLeORFRaXPwFhoPznALYLBHwR3eVYMv/pDmm9JMFJsmDcE9UXAiA== X-Received: by 2002:a05:6214:518c:b0:68f:fe7f:abff with SMTP id kl12-20020a056214518c00b0068ffe7fabffmr3307878qvb.19.1709071500273; Tue, 27 Feb 2024 14:05:00 -0800 (PST) Received: from aford-System-Version.lan ([2601:447:d002:5be:9ee3:b2ab:6ca:180d]) by smtp.gmail.com with ESMTPSA id c12-20020a0ce14c000000b0068fc55bcf6asm4569556qvl.119.2024.02.27.14.04.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 14:04:59 -0800 (PST) From: Adam Ford To: linux-arm-kernel@lists.infradead.org, linux-phy@lists.infradead.org Cc: aford@beaconembedded.com, Lucas Stach , Adam Ford , Krzysztof Kozlowski , Luca Ceresoli , Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Catalin Marinas , Will Deacon , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH V7 1/6] dt-bindings: phy: add binding for the i.MX8MP HDMI PHY Date: Tue, 27 Feb 2024 16:04:35 -0600 Message-ID: <20240227220444.77566-2-aford173@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240227220444.77566-1-aford173@gmail.com> References: <20240227220444.77566-1-aford173@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240227_140501_668552_EC6D7221 X-CRM114-Status: GOOD ( 15.76 ) 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 Reviewed-by: Krzysztof Kozlowski Reviewed-by: Luca Ceresoli --- V6: No Change V5: No Change V4: No Change V3: Removed mintems at the request of Krzysztof and add his reviewed-by V2: I (Adam) tried to help move this along, so I took Lucas' patch and attempted to apply fixes based on feedback. I don't have all the history, so apologies for that. Added phy-cells to the required list and fixed an error due to the word 'binding' being in the title. --- .../bindings/phy/fsl,imx8mp-hdmi-phy.yaml | 62 +++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/fsl,imx8mp-hdmi-phy.yaml 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..c43e86a8c2e0 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/fsl,imx8mp-hdmi-phy.yaml @@ -0,0 +1,62 @@ +# 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: + 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 CA37AC54798 for ; Tue, 27 Feb 2024 22:05:27 +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=VZFGCEEFVRZ+L6LTJ96AcDTAGINUoRbxilDax99bEoM=; b=xhkH0Oawhbh2be E5zr/iwt48F5OGBGckh3Ah6B0TBTvp9Ut0gJ1v4nDL0UnbpCImn1DTxiO3o8y1OGfNlTToSBQrIfi 50qj6ciSHajoPlZ7YBSpOkhGlLtxmL73vnx9wAbFbK/FXFEZ2frWgsjWMkB/KvxAW3a8jbBUo8rHu hp3IvWhICO5z6WyaaBzMmtXAt121l0T+5eAtTAhXNvVfeA+nV6hz5vzuRzqGe91Up3uVbqMqkS+Z+ pL3IPUi/WlkG6bxMTqzijaywdVJW5G563qi9LcyRW2DkXwyFnHLkZHTRAlbmdbC0sJGX4WS8CVh4T 2YujeRWRyjb30V1zqCFw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rf5ZZ-000000070V9-44zh; Tue, 27 Feb 2024 22:05:14 +0000 Received: from mail-qv1-xf2f.google.com ([2607:f8b0:4864:20::f2f]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rf5ZN-000000070Q5-2buV; Tue, 27 Feb 2024 22:05:03 +0000 Received: by mail-qv1-xf2f.google.com with SMTP id 6a1803df08f44-6900f479e3cso19342336d6.0; Tue, 27 Feb 2024 14:05:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709071500; x=1709676300; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ENJCVwViqySP78QQC22e16vdfpVFUmVF6XiIGfyzNm8=; b=Kd+7F/OTAzDA9gjEo05A0GKHMd8OdUO+5rb7weD5zf1kUsUYHplGbDJiHyXxK7WMNE 9ADuX0CY5fPrUkQb2qYqS4EibwtVJ/ZAto6s5ZYgoGrZoV9HwFrxv3OBxg/Fc1xcmNoo vzoLGIfaUHFEztgKSqry470pXJ5PwUnVbEdDtNTEsw3C4LavvyTZDEJPM+vlcLDVp3mu CIeK8UPWq+S8+2+RjakK+o73Wa1D2cjzQ4blh36hzht9Jrqoy1qi0sxaOMWrGVChwuT6 N/T78J3WVfzJaYuS+Bgu3opPhP0H4rX/C/4tndyqyai1eFRrDUgUOSwdwuTBHPg8gkWn aNVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709071500; x=1709676300; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ENJCVwViqySP78QQC22e16vdfpVFUmVF6XiIGfyzNm8=; b=h3Y/Z2wXn9mapTTBj3RDADsFqeVVViOdQqlv/CXJd5/veI1TGmT3/vfPTRS//CP73m k2NeatJ0KMiALxxfvU9dQJTxdH1BiR7vvDqSh0j0tHdJJp39JcIuzYjb4F/gaggTifhD hq8rKCvA86vWubccERL/Y3eD4qLksHOYlZ7P25KFOfCLPjmenK2I02mFO4WJyqZlpqr3 uzK5rp6OYuAdV9p92EKnEZ3pRK3yo4S5z7Dny0MG/N7h46WeYptjCO5vUpJHIljNUpY3 ykl5C4prsCgMqwto5OmZnl9CJBpgzl1jv3J+fTi2gOF3ZZeGDAXuyBk46GCOAi4v1Qtz zm5g== X-Forwarded-Encrypted: i=1; AJvYcCVlIGoCAmdpVyjbAzvSAPxn+MB85ygDjV1DM1ZDZ2gkdG5tVaFzysHBoGdJDBJkdfM3s7SdiQOoJQginO/bIqPPJfcFES+39D8E43BpyQ== X-Gm-Message-State: AOJu0YxkbLSyMUr9F+855OqVwDlayd1I0QUNIuaQyPzfjWtDaIXa0xXR CEhEslxwrSvAyo4+Ctfp2pi7W1/3LTxu9wd6S7f3jSoorM89FVNyZPYzrQAmkFZllbeu X-Google-Smtp-Source: AGHT+IEpZQhtRi5w5yIbBlDmAdFLeORFRaXPwFhoPznALYLBHwR3eVYMv/pDmm9JMFJsmDcE9UXAiA== X-Received: by 2002:a05:6214:518c:b0:68f:fe7f:abff with SMTP id kl12-20020a056214518c00b0068ffe7fabffmr3307878qvb.19.1709071500273; Tue, 27 Feb 2024 14:05:00 -0800 (PST) Received: from aford-System-Version.lan ([2601:447:d002:5be:9ee3:b2ab:6ca:180d]) by smtp.gmail.com with ESMTPSA id c12-20020a0ce14c000000b0068fc55bcf6asm4569556qvl.119.2024.02.27.14.04.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 14:04:59 -0800 (PST) From: Adam Ford To: linux-arm-kernel@lists.infradead.org, linux-phy@lists.infradead.org Cc: aford@beaconembedded.com, Lucas Stach , Adam Ford , Krzysztof Kozlowski , Luca Ceresoli , Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Catalin Marinas , Will Deacon , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH V7 1/6] dt-bindings: phy: add binding for the i.MX8MP HDMI PHY Date: Tue, 27 Feb 2024 16:04:35 -0600 Message-ID: <20240227220444.77566-2-aford173@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240227220444.77566-1-aford173@gmail.com> References: <20240227220444.77566-1-aford173@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240227_140501_668552_EC6D7221 X-CRM114-Status: GOOD ( 15.76 ) 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 Reviewed-by: Krzysztof Kozlowski Reviewed-by: Luca Ceresoli --- V6: No Change V5: No Change V4: No Change V3: Removed mintems at the request of Krzysztof and add his reviewed-by V2: I (Adam) tried to help move this along, so I took Lucas' patch and attempted to apply fixes based on feedback. I don't have all the history, so apologies for that. Added phy-cells to the required list and fixed an error due to the word 'binding' being in the title. --- .../bindings/phy/fsl,imx8mp-hdmi-phy.yaml | 62 +++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/fsl,imx8mp-hdmi-phy.yaml 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..c43e86a8c2e0 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/fsl,imx8mp-hdmi-phy.yaml @@ -0,0 +1,62 @@ +# 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: + 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