Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp242147ybv; Tue, 18 Feb 2020 22:11:57 -0800 (PST) X-Google-Smtp-Source: APXvYqwNTseH0amnCfFdIpbQwh2GU2+icBaqXZevfzOjzycdezDxeN78bdR+AmsUtJ3f09jizsEM X-Received: by 2002:aca:f20b:: with SMTP id q11mr3498042oih.78.1582092717353; Tue, 18 Feb 2020 22:11:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582092717; cv=none; d=google.com; s=arc-20160816; b=zIvIwKwrJLVdRdrCjDmtEX1QOozuP0QKszFQjPpPzxn84lfw5fVNMMtcLByE2GQjXm JxHUQcqJMrrWSw6Yi71ReIG/bS5saDdGzvTn1JVJbVNg1Xs/quKzj7ui8xhtciXIARpd EhCU5LtYFUvMVBqiSzHJFEN6hX323xhcPgJ4ziYDUhQ+3yFqSRVbXjnYeyNiph55MgqA yagZgAAFsWeHEvTKjYAfXG3Zbu1gW9/xy1k+MDG4lvIDszojMqljJzTrA+k9WvDC3/ck +jhHESAhINqr1irJAqqku9aJyXZ/XYgbo6JOekl/6ADj7S3ULLWaxB8VPOGBM7Mt+nXq gQMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=lDV3NLM9FhSVhrxgjmjYBLxQHf0N2y6v8ussF6gQsEw=; b=sYVWXEzEqHG0MAi7obeOok4srGOLLk9PbcBgbxYpZSmwZ4YrBOFqymrGzX6i9w0DLC NbIYZ84WxO/covxddg7gcJ08WPP8aUF38eYSsiVHAp7gNuGNsz2Um6dexUTmStPJRqLq CZi+w6tQ25Hfe3Ji+Y4Ihip7tAaleJodMgXgKOcqUWFtlUHhu5QL4MD3q+ZfuRUaavnY R9b/EVCDLJYbrrr4MZ2jiP8QJmbWoU732OqODl4Q6SvVq7FmPE88TDOeVWKwhSHsO7Zj ormD4JCwUCpcP4biMw5vmVustNif7zdPEmunawDxx9FPdfjJLZLqtPG/lqYR+WLd1gov SuQQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 77si9448284oie.10.2020.02.18.22.11.45; Tue, 18 Feb 2020 22:11:57 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726297AbgBSGKK (ORCPT + 99 others); Wed, 19 Feb 2020 01:10:10 -0500 Received: from inva021.nxp.com ([92.121.34.21]:45338 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726096AbgBSGKK (ORCPT ); Wed, 19 Feb 2020 01:10:10 -0500 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 202CA2032CA; Wed, 19 Feb 2020 07:10:08 +0100 (CET) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 97E6C201283; Wed, 19 Feb 2020 07:10:00 +0100 (CET) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 756AF402A0; Wed, 19 Feb 2020 14:09:51 +0800 (SGT) From: Anson Huang To: mturquette@baylibre.com, sboyd@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, robh+dt@kernel.org, mark.rutland@arm.com, abel.vesa@nxp.com, peng.fan@nxp.com, fugang.duan@nxp.com, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Linux-imx@nxp.com Subject: [PATCH 1/3] clk: imx8mp: Rename the IMX8MP_CLK_HDMI_27M clock Date: Wed, 19 Feb 2020 14:04:09 +0800 Message-Id: <1582092251-19222-1-git-send-email-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.7.4 X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On i.MX8MP, internal HDMI 27M clock is actually 24MHz, so rename the IMX8MP_CLK_HDMI_27M to IMX8MP_CLK_HDMI_24M. Signed-off-by: Anson Huang --- drivers/clk/imx/clk-imx8mp.c | 4 ++-- include/dt-bindings/clock/imx8mp-clock.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/clk/imx/clk-imx8mp.c b/drivers/clk/imx/clk-imx8mp.c index 3adc8aa..a6313cf 100644 --- a/drivers/clk/imx/clk-imx8mp.c +++ b/drivers/clk/imx/clk-imx8mp.c @@ -342,7 +342,7 @@ static const char * const imx8mp_hdmi_fdcc_tst_sels[] = {"osc_24m", "sys_pll1_26 "sys_pll1_800m", "sys_pll2_1000m", "sys_pll3_out", "audio_pll2_out", "video_pll1_out", }; -static const char * const imx8mp_hdmi_27m_sels[] = {"osc_24m", "sys_pll1_160m", "sys_pll2_50m", +static const char * const imx8mp_hdmi_24m_sels[] = {"osc_24m", "sys_pll1_160m", "sys_pll2_50m", "sys_pll3_out", "audio_pll1_out", "video_pll1_out", "audio_pll2_out", "sys_pll1_133m", }; @@ -632,7 +632,7 @@ static int imx8mp_clocks_probe(struct platform_device *pdev) hws[IMX8MP_CLK_IPP_DO_CLKO1] = imx8m_clk_hw_composite("ipp_do_clko1", imx8mp_ipp_do_clko1_sels, ccm_base + 0xba00); hws[IMX8MP_CLK_IPP_DO_CLKO2] = imx8m_clk_hw_composite("ipp_do_clko2", imx8mp_ipp_do_clko2_sels, ccm_base + 0xba80); hws[IMX8MP_CLK_HDMI_FDCC_TST] = imx8m_clk_hw_composite("hdmi_fdcc_tst", imx8mp_hdmi_fdcc_tst_sels, ccm_base + 0xbb00); - hws[IMX8MP_CLK_HDMI_27M] = imx8m_clk_hw_composite("hdmi_27m", imx8mp_hdmi_27m_sels, ccm_base + 0xbb80); + hws[IMX8MP_CLK_HDMI_24M] = imx8m_clk_hw_composite("hdmi_24m", imx8mp_hdmi_24m_sels, ccm_base + 0xbb80); hws[IMX8MP_CLK_HDMI_REF_266M] = imx8m_clk_hw_composite("hdmi_ref_266m", imx8mp_hdmi_ref_266m_sels, ccm_base + 0xbc00); hws[IMX8MP_CLK_USDHC3] = imx8m_clk_hw_composite("usdhc3", imx8mp_usdhc3_sels, ccm_base + 0xbc80); hws[IMX8MP_CLK_MEDIA_CAM1_PIX] = imx8m_clk_hw_composite("media_cam1_pix", imx8mp_media_cam1_pix_sels, ccm_base + 0xbd00); diff --git a/include/dt-bindings/clock/imx8mp-clock.h b/include/dt-bindings/clock/imx8mp-clock.h index 2fab631..00d4d22 100644 --- a/include/dt-bindings/clock/imx8mp-clock.h +++ b/include/dt-bindings/clock/imx8mp-clock.h @@ -173,7 +173,7 @@ #define IMX8MP_CLK_IPP_DO_CLKO1 164 #define IMX8MP_CLK_IPP_DO_CLKO2 165 #define IMX8MP_CLK_HDMI_FDCC_TST 166 -#define IMX8MP_CLK_HDMI_27M 167 +#define IMX8MP_CLK_HDMI_24M 167 #define IMX8MP_CLK_HDMI_REF_266M 168 #define IMX8MP_CLK_USDHC3 169 #define IMX8MP_CLK_MEDIA_CAM1_PIX 170 -- 2.7.4