From patchwork Tue Sep 27 14:06:38 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 12990663 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 B2ED8C6FA82 for ; Tue, 27 Sep 2022 14:08:01 +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=uisBMpJh7egCWb1npC6ljsQsVNJ5Pj62ZVxJjJtkdks=; b=zl5QQPz+WAnAYP 0EHtp2uF8zKqqnEBAYb/9AdYrCGDYl/kHFsX7w8Gx9KmONWRH4gsZoufJr04xU/xRj+YifkRnXjR/ B8CoJ8fI5LVvL8TwzZHZazr/PXHTCYGVpSyaVWgcCR2f3fV+MvZaZnVAVUWP+DZLQ0HXmPz/O14po LFsP3tPssvUPOT4g/gLTIu7sHkxYroybdBqVplBCnlFQANSPKrfTAd7oo7wzS1rDUIUoXH/545KhJ WUtuJJ4wLiAuBeO2gxRnktJX1sWfG/+xvcVIX7oKEn8CO02GLc5chysSGHGTMIouENUl6lYj3OVUI RtTKxQr4TQdY72q17JhA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1odBEj-00B9IB-MW; Tue, 27 Sep 2022 14:07:01 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1odBEZ-00B9FI-8r for linux-arm-kernel@lists.infradead.org; Tue, 27 Sep 2022 14:06:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1664287611; x=1695823611; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=EJD2YZgUmAt335tKHDPSaO3745w3AHIoRQ6NPXdMp0o=; b=gxWSDYcROS3y+FE34vbp5Du1fbhR5hx1zy6nuPAtpZmNP9l9FkSmYANr kaIx5ObpcVhBVjo0dvc4lTC7b70pererYs2s8UJR7a4sv3nSuTBNNm0i0 +kPUBGjPbKWFa7O4zjK7qy6izJZ6EUKlLDmSUhOxjsyeUjCU2ybwq1iAi qKCwGXLBODjI5oY3lPanrM+6WmQ7Gc9iZXltM5eYQPh1vjG5zzlTYeepn cCxtV8hwc+y4W0ffuT0qaENoAN6cAbYxqGOPCQSFWLHyFEk9xvtH3LWiz h7lhXU/uf5Wmdv0zEosnrio1XXV4BcWDnzsZVuw6yxNXpSSAUT/73rw49 Q==; X-IronPort-AV: E=Sophos;i="5.93,349,1654552800"; d="scan'208";a="26429607" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 27 Sep 2022 16:06:43 +0200 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Tue, 27 Sep 2022 16:06:43 +0200 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Tue, 27 Sep 2022 16:06:43 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1664287603; x=1695823603; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=EJD2YZgUmAt335tKHDPSaO3745w3AHIoRQ6NPXdMp0o=; b=CJdyLca1j4fD28N9Y3hVN0EqMZryymNJG4KUXa2OZH9jhD+S014Iov5X qu2eh36AfbzTupIjAkPCCXzdDoYOxPtvJRaMTTp0kGk7E7k20KBTmOBjc xhDBRY5hlrVPB5OkjnhFpe0Yq6bsweiprAHMiQm4Yf8oJF7ziddRLJCdq Oi3HiWjYR6dlxLD9PBHIZmh4/cXibAKY3SV22ffdvtPK582XofE9onPZd I1+x+/SZp9iif8vPNsfZYOIaCd9v32skeSCrSDREETSGFw3n7jwEgZZQ0 z/gP4fpfzKgvoxUCnsvFX1yU0ca2q2J2qkd3LrG8FMPcQ7j/jUhNkDDwh g==; X-IronPort-AV: E=Sophos;i="5.93,349,1654552800"; d="scan'208";a="26429606" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 27 Sep 2022 16:06:43 +0200 Received: from steina-w.tq-net.de (unknown [10.123.49.11]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id 51E61280072; Tue, 27 Sep 2022 16:06:43 +0200 (CEST) From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Abel Vesa , Michael Turquette , Stephen Boyd Cc: Alexander Stein , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org Subject: [PATCH 2/2] clk: imx: imx8mq: Add hdmi phy 27m as proper hw clock Date: Tue, 27 Sep 2022 16:06:38 +0200 Message-Id: <20220927140638.2759111-2-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220927140638.2759111-1-alexander.stein@ew.tq-group.com> References: <20220927140638.2759111-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220927_070651_645332_1936F365 X-CRM114-Status: GOOD ( 15.52 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org So it can be referenced by IMX8MQ_CLK_HDMI_PHY_27MHZ in device tree files. Signed-off-by: Alexander Stein --- drivers/clk/imx/clk-imx8mq.c | 1 + include/dt-bindings/clock/imx8mq-clock.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/clk/imx/clk-imx8mq.c b/drivers/clk/imx/clk-imx8mq.c index 783f98b05441..7cecb964cf1f 100644 --- a/drivers/clk/imx/clk-imx8mq.c +++ b/drivers/clk/imx/clk-imx8mq.c @@ -305,6 +305,7 @@ static int imx8mq_clocks_probe(struct platform_device *pdev) hws[IMX8MQ_CLK_EXT2] = imx_obtain_fixed_clk_hw(np, "clk_ext2"); hws[IMX8MQ_CLK_EXT3] = imx_obtain_fixed_clk_hw(np, "clk_ext3"); hws[IMX8MQ_CLK_EXT4] = imx_obtain_fixed_clk_hw(np, "clk_ext4"); + hws[IMX8MQ_CLK_HDMI_PHY_27MHZ] = imx_obtain_fixed_clk_hw(np, "hdmi_phy_27m"); np = of_find_compatible_node(NULL, NULL, "fsl,imx8mq-anatop"); base = of_iomap(np, 0); diff --git a/include/dt-bindings/clock/imx8mq-clock.h b/include/dt-bindings/clock/imx8mq-clock.h index afa74d7ba100..6401cc836c31 100644 --- a/include/dt-bindings/clock/imx8mq-clock.h +++ b/include/dt-bindings/clock/imx8mq-clock.h @@ -425,7 +425,8 @@ #define IMX8MQ_CLK_MON_VIDEO_PLL2_DIV 300 #define IMX8MQ_CLK_MON_SEL 301 #define IMX8MQ_CLK_MON_CLK2_OUT 302 +#define IMX8MQ_CLK_HDMI_PHY_27MHZ 303 -#define IMX8MQ_CLK_END 303 +#define IMX8MQ_CLK_END 304 #endif /* __DT_BINDINGS_CLOCK_IMX8MQ_H */