Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp2045228ybg; Thu, 24 Oct 2019 04:04:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqz66X9xi5EwYv5PnJg1C+6r6IJcx/dIOxcwY9if/TrT2syA8LYDUMnicuWW0TZeEE7ZwzlL X-Received: by 2002:a17:906:3488:: with SMTP id g8mr36800361ejb.162.1571915062269; Thu, 24 Oct 2019 04:04:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1571915062; cv=pass; d=google.com; s=arc-20160816; b=SoxKi6W43vu8ogobcRkLpxO7oU27XZV402GSbQ97unryegQoZqcNclgInr6y0vwNTt FK75yK373FNUbRToDt1CNt0WojEs3ZbkXIoGJaSVDc1ofAj6flU3ajfUBMavGqj48L5M W4klyINDrZuTUSx+L/gcXzKw0JNM7RBof8AJeEoTmfm9UhI4ny6XcgrGC4RuZW6mrIHj Kf5+/9+k+CuUxtrxW2x+zAV8G65aGeHI6EfK9hQGZiLRGIXxm9bEnvQqK67+o3qsF+2k NFAYxYYRZ4z2Kkqe6Pn35mBOdYfLvybw4qM+jJdAR4MSGkc5EaRmGpQZ8jeg0y30/HVf Am2Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=AdwFpOOQQAxrAxE9yVpjHUfb4Eck97SrQBfAPjSXg8U=; b=ZxJGZX9FDGY53kvAR5XDQpGvTdV59PmPqh+pKgN5dE+zCKS64HzxHjxQHBppNIe7IA MvEF47epBvqnlWsytG8eTyilHz0WmUGKlpsm7JIBNXNPIgjUugxPEQsaacB9ex8lANQT gABior7awXXvirYX68fR4poGQqfPOLnPAT7ogzp8iEFiCG++J2DCR3/wjx/hMn0BPoYd 5u62l0MfJGr9olddx9ZGN+08VKoQRPUJigwtt1hpTR0y9nK+ItJMDIYoHsUzjD+7amSd UMTABaBYBvoPIJ758DVNZ93NDaJP3Ix+Akxy5peuXclBNvzw1HkKMKNMWMBIzvXwW7xK HEHg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=EoHz3Xp+; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.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=pass (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 h7si5072389ejp.203.2019.10.24.04.03.55; Thu, 24 Oct 2019 04:04:22 -0700 (PDT) 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; dkim=pass header.i=@nxp.com header.s=selector2 header.b=EoHz3Xp+; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.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=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2408108AbfJXB6p (ORCPT + 99 others); Wed, 23 Oct 2019 21:58:45 -0400 Received: from mail-eopbgr00044.outbound.protection.outlook.com ([40.107.0.44]:33668 "EHLO EUR02-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726925AbfJXB6p (ORCPT ); Wed, 23 Oct 2019 21:58:45 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dt0sUf5eqk6DDLoMNLttsKxfP3KHDWQzMkCICMzZtU1g6YW2O9VB8oq2s0yvPIbiuypHZKLy9/RrG+62gKpn2keZa2yOmA0lNLH4b/0N2lnyvwwlmAXlnAGSFThcB+YWh+GCYIsUeOii7i1/E7fgj2JVzg8ij4+MXKE6zHc/2EolO/JAH4Rnhjb0xbscrnMuziKTvupYqZzUx0ZUyQNbr5HujGglMQXxkyXE0ko3xjK4AXzmHQQTpl6raWXrPa3IO7/Nq7fp3GPp9Liif0a3nuzlPWA46omanIHI26KfewvPExQcOoxmQEHVSd6lMCTaD84f3OPqn0d0cPKXce1ReQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=AdwFpOOQQAxrAxE9yVpjHUfb4Eck97SrQBfAPjSXg8U=; b=QsRiynI6vJhRXrLa40yKkICsPMOKnlmZtWnee3ahDe2/BlxasRHOcZNwEqNTPcTW1MHp2aU5oe0dpXMStbqwsb6D57McKMtEA+qa5/U39Vr1gBm8d5cSmsb02XJ86nqseabJSqLfgdpOUaL/tGkM2w8urrSrTK0bG6FZhkLCqtzLG+aeX224TFUO9FAzD+fBUk6Te3sUSu/GhMNBNki9e36BoDuSU3XOeKJxudJ/iuaTzfXLcw2fhrqONu6V314fHok8Yr4O+3okLWrIlE6qVEDXvZ0+51ZhnOMo4lrPehnZPSNzwoBv24OCAYmjveqGUSVuxyN2ApfPTt9ylYjYyA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=AdwFpOOQQAxrAxE9yVpjHUfb4Eck97SrQBfAPjSXg8U=; b=EoHz3Xp+YxbcWtGj8RuFFeI9fb2d6ddy51mBYnj6cCE8CExOgpNVm0j42291sOrqm7Mf/c6/wjCwb5Aa4RcnZm4I7FtzAYRPc8JLm3R8DlRgfUMIBFb5AgIlU0uimJ3gf0PRxEPpASXjMPGaYFq5qmCW1P7euhW1p+GJwmLvFEI= Received: from AM0PR04MB4481.eurprd04.prod.outlook.com (52.135.147.15) by AM0PR04MB5988.eurprd04.prod.outlook.com (20.178.115.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2387.20; Thu, 24 Oct 2019 01:58:37 +0000 Received: from AM0PR04MB4481.eurprd04.prod.outlook.com ([fe80::843c:e722:27cb:74e1]) by AM0PR04MB4481.eurprd04.prod.outlook.com ([fe80::843c:e722:27cb:74e1%5]) with mapi id 15.20.2347.030; Thu, 24 Oct 2019 01:58:37 +0000 From: Peng Fan To: "mturquette@baylibre.com" , "sboyd@kernel.org" , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "festevam@gmail.com" CC: "kernel@pengutronix.de" , dl-linux-imx , Anson Huang , Jacky Bai , Abel Vesa , "linux-clk@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Leonard Crestez , Peng Fan Subject: [PATCH V2 1/3] clk: imx: imx8mm: mark sys_pll1/2 as fixed clock Thread-Topic: [PATCH V2 1/3] clk: imx: imx8mm: mark sys_pll1/2 as fixed clock Thread-Index: AQHVig6MQ103hGnd4Ee+AlCTudVChg== Date: Thu, 24 Oct 2019 01:58:37 +0000 Message-ID: <1571882110-10191-2-git-send-email-peng.fan@nxp.com> References: <1571882110-10191-1-git-send-email-peng.fan@nxp.com> In-Reply-To: <1571882110-10191-1-git-send-email-peng.fan@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.7.4 x-clientproxiedby: HK2PR04CA0082.apcprd04.prod.outlook.com (2603:1096:202:15::26) To AM0PR04MB4481.eurprd04.prod.outlook.com (2603:10a6:208:70::15) authentication-results: spf=none (sender IP is ) smtp.mailfrom=peng.fan@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [119.31.174.66] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: a391c253-1b64-4dd3-7021-08d75825af20 x-ms-traffictypediagnostic: AM0PR04MB5988:|AM0PR04MB5988: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2399; x-forefront-prvs: 0200DDA8BE x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(136003)(39860400002)(366004)(396003)(376002)(346002)(199004)(189003)(186003)(26005)(316002)(4326008)(64756008)(6116002)(71190400001)(6512007)(6436002)(2201001)(76176011)(305945005)(25786009)(36756003)(14454004)(54906003)(71200400001)(478600001)(110136005)(2501003)(5660300002)(7736002)(52116002)(66556008)(2616005)(99286004)(6486002)(476003)(446003)(8936002)(256004)(44832011)(386003)(86362001)(50226002)(6506007)(486006)(102836004)(2906002)(11346002)(66946007)(81156014)(81166006)(66066001)(66476007)(8676002)(66446008)(3846002)(32563001);DIR:OUT;SFP:1101;SCL:1;SRVR:AM0PR04MB5988;H:AM0PR04MB4481.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 2vxNC8d+We1h/TJlE7fnajgZgTHs3u4QSW2+/mxMzfr+WxM/gNGWYKnErZRJNN9UnFZeecKEGL0GY8tvA+TbevO1Kxu3rYtNBsySRjgmRzfvb7ffssg+KoUkQZJ9DQij4vE/g4zBeq9s0/1kwvQiDpstbQQXwJAEO5brguDB4bhaI6cZiZpKYjx/kZZq7wLXmMnTK4YUW3s3Ml3DPsSsDZQHX6pIA4Xb8ng4k4W6G1XxYK8d4b3G6V5KnvvK6+NOs9BaZfZxZQ+nFHm05HqCKIU0Brtepz5Tn7Q0XTshQOJzoCjiMlOg8UpQYyOwiXgdZMKyoHp1iS9Yv84r44MMmaMHS+Nyu2ny147kNYrrbrvmppcdKcL2DzXwez9fH6frJpXXt2k/Qp0Eogi4aPDrzVBRAc/iN0lJjTFeWt33Ky1pKEKfznno4PplSV/7vm7m Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a391c253-1b64-4dd3-7021-08d75825af20 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Oct 2019 01:58:37.2926 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: hOMgRNTHaJ+Z8cbmbHvYBxhgrSzkgKN9C5wqxlsYQXqQaD9bDD5GAOOHy/FPBuc4Tz4Bwq+SLy4nmAYyRFVHLg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB5988 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Peng Fan According Architecture definition guide, SYS_PLL1 is fixed at 800MHz, SYS_PLL2 is fixed at 1000MHz, so let's use imx_clk_fixed to register the clocks and drop code that could change the rate. Reviewed-by: Abel Vesa Signed-off-by: Peng Fan --- drivers/clk/imx/clk-imx8mm.c | 46 +++++++++++++++++++---------------------= ---- 1 file changed, 20 insertions(+), 26 deletions(-) diff --git a/drivers/clk/imx/clk-imx8mm.c b/drivers/clk/imx/clk-imx8mm.c index bbd212eb904e..ef307145e5d3 100644 --- a/drivers/clk/imx/clk-imx8mm.c +++ b/drivers/clk/imx/clk-imx8mm.c @@ -34,8 +34,6 @@ static const char *dram_pll_bypass_sels[] =3D {"dram_pll"= , "dram_pll_ref_sel", }; static const char *gpu_pll_bypass_sels[] =3D {"gpu_pll", "gpu_pll_ref_sel"= , }; static const char *vpu_pll_bypass_sels[] =3D {"vpu_pll", "vpu_pll_ref_sel"= , }; static const char *arm_pll_bypass_sels[] =3D {"arm_pll", "arm_pll_ref_sel"= , }; -static const char *sys_pll1_bypass_sels[] =3D {"sys_pll1", "sys_pll1_ref_s= el", }; -static const char *sys_pll2_bypass_sels[] =3D {"sys_pll2", "sys_pll2_ref_s= el", }; static const char *sys_pll3_bypass_sels[] =3D {"sys_pll3", "sys_pll3_ref_s= el", }; =20 /* CCM ROOT */ @@ -325,8 +323,6 @@ static int imx8mm_clocks_probe(struct platform_device *= pdev) clks[IMX8MM_GPU_PLL_REF_SEL] =3D imx_clk_mux("gpu_pll_ref_sel", base + 0x= 64, 0, 2, pll_ref_sels, ARRAY_SIZE(pll_ref_sels)); clks[IMX8MM_VPU_PLL_REF_SEL] =3D imx_clk_mux("vpu_pll_ref_sel", base + 0x= 74, 0, 2, pll_ref_sels, ARRAY_SIZE(pll_ref_sels)); clks[IMX8MM_ARM_PLL_REF_SEL] =3D imx_clk_mux("arm_pll_ref_sel", base + 0x= 84, 0, 2, pll_ref_sels, ARRAY_SIZE(pll_ref_sels)); - clks[IMX8MM_SYS_PLL1_REF_SEL] =3D imx_clk_mux("sys_pll1_ref_sel", base + = 0x94, 0, 2, pll_ref_sels, ARRAY_SIZE(pll_ref_sels)); - clks[IMX8MM_SYS_PLL2_REF_SEL] =3D imx_clk_mux("sys_pll2_ref_sel", base + = 0x104, 0, 2, pll_ref_sels, ARRAY_SIZE(pll_ref_sels)); clks[IMX8MM_SYS_PLL3_REF_SEL] =3D imx_clk_mux("sys_pll3_ref_sel", base + = 0x114, 0, 2, pll_ref_sels, ARRAY_SIZE(pll_ref_sels)); =20 clks[IMX8MM_AUDIO_PLL1] =3D imx_clk_pll14xx("audio_pll1", "audio_pll1_ref= _sel", base, &imx_1443x_pll); @@ -336,8 +332,8 @@ static int imx8mm_clocks_probe(struct platform_device *= pdev) clks[IMX8MM_GPU_PLL] =3D imx_clk_pll14xx("gpu_pll", "gpu_pll_ref_sel", ba= se + 0x64, &imx_1416x_pll); clks[IMX8MM_VPU_PLL] =3D imx_clk_pll14xx("vpu_pll", "vpu_pll_ref_sel", ba= se + 0x74, &imx_1416x_pll); clks[IMX8MM_ARM_PLL] =3D imx_clk_pll14xx("arm_pll", "arm_pll_ref_sel", ba= se + 0x84, &imx_1416x_pll); - clks[IMX8MM_SYS_PLL1] =3D imx_clk_pll14xx("sys_pll1", "sys_pll1_ref_sel",= base + 0x94, &imx_1416x_pll); - clks[IMX8MM_SYS_PLL2] =3D imx_clk_pll14xx("sys_pll2", "sys_pll2_ref_sel",= base + 0x104, &imx_1416x_pll); + clks[IMX8MM_SYS_PLL1] =3D imx_clk_fixed("sys_pll1", 800000000); + clks[IMX8MM_SYS_PLL2] =3D imx_clk_fixed("sys_pll2", 1000000000); clks[IMX8MM_SYS_PLL3] =3D imx_clk_pll14xx("sys_pll3", "sys_pll3_ref_sel",= base + 0x114, &imx_1416x_pll); =20 /* PLL bypass out */ @@ -348,8 +344,6 @@ static int imx8mm_clocks_probe(struct platform_device *= pdev) clks[IMX8MM_GPU_PLL_BYPASS] =3D imx_clk_mux_flags("gpu_pll_bypass", base = + 0x64, 28, 1, gpu_pll_bypass_sels, ARRAY_SIZE(gpu_pll_bypass_sels), CLK_SE= T_RATE_PARENT); clks[IMX8MM_VPU_PLL_BYPASS] =3D imx_clk_mux_flags("vpu_pll_bypass", base = + 0x74, 28, 1, vpu_pll_bypass_sels, ARRAY_SIZE(vpu_pll_bypass_sels), CLK_SE= T_RATE_PARENT); clks[IMX8MM_ARM_PLL_BYPASS] =3D imx_clk_mux_flags("arm_pll_bypass", base = + 0x84, 28, 1, arm_pll_bypass_sels, ARRAY_SIZE(arm_pll_bypass_sels), CLK_SE= T_RATE_PARENT); - clks[IMX8MM_SYS_PLL1_BYPASS] =3D imx_clk_mux_flags("sys_pll1_bypass", bas= e + 0x94, 28, 1, sys_pll1_bypass_sels, ARRAY_SIZE(sys_pll1_bypass_sels), CL= K_SET_RATE_PARENT); - clks[IMX8MM_SYS_PLL2_BYPASS] =3D imx_clk_mux_flags("sys_pll2_bypass", bas= e + 0x104, 28, 1, sys_pll2_bypass_sels, ARRAY_SIZE(sys_pll2_bypass_sels), C= LK_SET_RATE_PARENT); clks[IMX8MM_SYS_PLL3_BYPASS] =3D imx_clk_mux_flags("sys_pll3_bypass", bas= e + 0x114, 28, 1, sys_pll3_bypass_sels, ARRAY_SIZE(sys_pll3_bypass_sels), C= LK_SET_RATE_PARENT); =20 /* PLL out gate */ @@ -363,15 +357,15 @@ static int imx8mm_clocks_probe(struct platform_device= *pdev) clks[IMX8MM_SYS_PLL3_OUT] =3D imx_clk_gate("sys_pll3_out", "sys_pll3_bypa= ss", base + 0x114, 11); =20 /* SYS PLL1 fixed output */ - clks[IMX8MM_SYS_PLL1_40M_CG] =3D imx_clk_gate("sys_pll1_40m_cg", "sys_pll= 1_bypass", base + 0x94, 27); - clks[IMX8MM_SYS_PLL1_80M_CG] =3D imx_clk_gate("sys_pll1_80m_cg", "sys_pll= 1_bypass", base + 0x94, 25); - clks[IMX8MM_SYS_PLL1_100M_CG] =3D imx_clk_gate("sys_pll1_100m_cg", "sys_p= ll1_bypass", base + 0x94, 23); - clks[IMX8MM_SYS_PLL1_133M_CG] =3D imx_clk_gate("sys_pll1_133m_cg", "sys_p= ll1_bypass", base + 0x94, 21); - clks[IMX8MM_SYS_PLL1_160M_CG] =3D imx_clk_gate("sys_pll1_160m_cg", "sys_p= ll1_bypass", base + 0x94, 19); - clks[IMX8MM_SYS_PLL1_200M_CG] =3D imx_clk_gate("sys_pll1_200m_cg", "sys_p= ll1_bypass", base + 0x94, 17); - clks[IMX8MM_SYS_PLL1_266M_CG] =3D imx_clk_gate("sys_pll1_266m_cg", "sys_p= ll1_bypass", base + 0x94, 15); - clks[IMX8MM_SYS_PLL1_400M_CG] =3D imx_clk_gate("sys_pll1_400m_cg", "sys_p= ll1_bypass", base + 0x94, 13); - clks[IMX8MM_SYS_PLL1_OUT] =3D imx_clk_gate("sys_pll1_out", "sys_pll1_bypa= ss", base + 0x94, 11); + clks[IMX8MM_SYS_PLL1_40M_CG] =3D imx_clk_gate("sys_pll1_40m_cg", "sys_pll= 1", base + 0x94, 27); + clks[IMX8MM_SYS_PLL1_80M_CG] =3D imx_clk_gate("sys_pll1_80m_cg", "sys_pll= 1", base + 0x94, 25); + clks[IMX8MM_SYS_PLL1_100M_CG] =3D imx_clk_gate("sys_pll1_100m_cg", "sys_p= ll1", base + 0x94, 23); + clks[IMX8MM_SYS_PLL1_133M_CG] =3D imx_clk_gate("sys_pll1_133m_cg", "sys_p= ll1", base + 0x94, 21); + clks[IMX8MM_SYS_PLL1_160M_CG] =3D imx_clk_gate("sys_pll1_160m_cg", "sys_p= ll1", base + 0x94, 19); + clks[IMX8MM_SYS_PLL1_200M_CG] =3D imx_clk_gate("sys_pll1_200m_cg", "sys_p= ll1", base + 0x94, 17); + clks[IMX8MM_SYS_PLL1_266M_CG] =3D imx_clk_gate("sys_pll1_266m_cg", "sys_p= ll1", base + 0x94, 15); + clks[IMX8MM_SYS_PLL1_400M_CG] =3D imx_clk_gate("sys_pll1_400m_cg", "sys_p= ll1", base + 0x94, 13); + clks[IMX8MM_SYS_PLL1_OUT] =3D imx_clk_gate("sys_pll1_out", "sys_pll1", ba= se + 0x94, 11); =20 clks[IMX8MM_SYS_PLL1_40M] =3D imx_clk_fixed_factor("sys_pll1_40m", "sys_p= ll1_40m_cg", 1, 20); clks[IMX8MM_SYS_PLL1_80M] =3D imx_clk_fixed_factor("sys_pll1_80m", "sys_p= ll1_80m_cg", 1, 10); @@ -384,15 +378,15 @@ static int imx8mm_clocks_probe(struct platform_device= *pdev) clks[IMX8MM_SYS_PLL1_800M] =3D imx_clk_fixed_factor("sys_pll1_800m", "sys= _pll1_out", 1, 1); =20 /* SYS PLL2 fixed output */ - clks[IMX8MM_SYS_PLL2_50M_CG] =3D imx_clk_gate("sys_pll2_50m_cg", "sys_pll= 2_bypass", base + 0x104, 27); - clks[IMX8MM_SYS_PLL2_100M_CG] =3D imx_clk_gate("sys_pll2_100m_cg", "sys_p= ll2_bypass", base + 0x104, 25); - clks[IMX8MM_SYS_PLL2_125M_CG] =3D imx_clk_gate("sys_pll2_125m_cg", "sys_p= ll2_bypass", base + 0x104, 23); - clks[IMX8MM_SYS_PLL2_166M_CG] =3D imx_clk_gate("sys_pll2_166m_cg", "sys_p= ll2_bypass", base + 0x104, 21); - clks[IMX8MM_SYS_PLL2_200M_CG] =3D imx_clk_gate("sys_pll2_200m_cg", "sys_p= ll2_bypass", base + 0x104, 19); - clks[IMX8MM_SYS_PLL2_250M_CG] =3D imx_clk_gate("sys_pll2_250m_cg", "sys_p= ll2_bypass", base + 0x104, 17); - clks[IMX8MM_SYS_PLL2_333M_CG] =3D imx_clk_gate("sys_pll2_333m_cg", "sys_p= ll2_bypass", base + 0x104, 15); - clks[IMX8MM_SYS_PLL2_500M_CG] =3D imx_clk_gate("sys_pll2_500m_cg", "sys_p= ll2_bypass", base + 0x104, 13); - clks[IMX8MM_SYS_PLL2_OUT] =3D imx_clk_gate("sys_pll2_out", "sys_pll2_bypa= ss", base + 0x104, 11); + clks[IMX8MM_SYS_PLL2_50M_CG] =3D imx_clk_gate("sys_pll2_50m_cg", "sys_pll= 2", base + 0x104, 27); + clks[IMX8MM_SYS_PLL2_100M_CG] =3D imx_clk_gate("sys_pll2_100m_cg", "sys_p= ll2", base + 0x104, 25); + clks[IMX8MM_SYS_PLL2_125M_CG] =3D imx_clk_gate("sys_pll2_125m_cg", "sys_p= ll2", base + 0x104, 23); + clks[IMX8MM_SYS_PLL2_166M_CG] =3D imx_clk_gate("sys_pll2_166m_cg", "sys_p= ll2", base + 0x104, 21); + clks[IMX8MM_SYS_PLL2_200M_CG] =3D imx_clk_gate("sys_pll2_200m_cg", "sys_p= ll2", base + 0x104, 19); + clks[IMX8MM_SYS_PLL2_250M_CG] =3D imx_clk_gate("sys_pll2_250m_cg", "sys_p= ll2", base + 0x104, 17); + clks[IMX8MM_SYS_PLL2_333M_CG] =3D imx_clk_gate("sys_pll2_333m_cg", "sys_p= ll2", base + 0x104, 15); + clks[IMX8MM_SYS_PLL2_500M_CG] =3D imx_clk_gate("sys_pll2_500m_cg", "sys_p= ll2", base + 0x104, 13); + clks[IMX8MM_SYS_PLL2_OUT] =3D imx_clk_gate("sys_pll2_out", "sys_pll2", ba= se + 0x104, 11); =20 clks[IMX8MM_SYS_PLL2_50M] =3D imx_clk_fixed_factor("sys_pll2_50m", "sys_p= ll2_50m_cg", 1, 20); clks[IMX8MM_SYS_PLL2_100M] =3D imx_clk_fixed_factor("sys_pll2_100m", "sys= _pll2_100m_cg", 1, 10); --=20 2.16.4