Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp6265568ybi; Wed, 29 May 2019 05:29:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqzEnsnIcL4HadDZ+A+52qX1fsYxKVlpsJlXK3UgP1qF4g5BDAEftkX8HgR1SI2h+IexiXXs X-Received: by 2002:a17:90a:364b:: with SMTP id s69mr12374171pjb.15.1559132999290; Wed, 29 May 2019 05:29:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559132999; cv=none; d=google.com; s=arc-20160816; b=D64nguInV9MzSDmgGbEuYtBA/C0qPG4d033shqOmVlwNqqy5JcmF5/y2xM1EuesCrX lXjiEzIlhX2m/HFE/44WqjmLsAn393hU+/DMYGp7GDPr6W0esIqbLr+Dqlw5C0a8a9zt oXxQLpzQJE6dwD/0vwH/SBjPAjame5wRiZeFatXP4JDpifQowkGafTNl98jxeRTosZ/K Zdj3HULuoSFktGaXdYOU4+LMW2LpYyq6sRV/K2wAh/b8klHZeKP6apfQGf/+haqUPdGb LacTddBVXq+ld8PF/RXxBeM9BqWDzu13ot1Ost24I5N/3YWr8nucDa4RkLpk5hX3J0Hl NDJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=ZSf4gKjs3zpyNPrKSJADkzRIyXHw5+kQmaxEOT+J0WU=; b=dYSUXaV8cm0FgXMgRWgNWb4/0KrhRI1gWXEX8kTqDMTiHwT+//4klpgdwb4j6pMH5B eXrEctzU+djiJ66tk5UTZXNXmJhyTQiq+mJaDjXM+cbldazi5JZeRBjHLfi7LUimEV9R 4dwV42Lij9qkdvEYNxdy1u3WZQ6tgX1h0YpHcwaLVJoDSV2ZsouLSZ7wfwxiaFJvxsug qkYp78+hTUxQAATkErKv3PpSJ5pAlPyNytoiFa0ckiPWeKl0TGKdy7ISdzZ2X2ySKQIi R+qqwm4Lp8SDvHHypU1zJ1caN/rGaobRTvIQ9FJZrQPTs1h9aszd8EVdwELzXSLo5RUy gLsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=Dl0GiIbi; 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 k21si4507667pgj.20.2019.05.29.05.29.42; Wed, 29 May 2019 05:29:59 -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=Dl0GiIbi; 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 S1727366AbfE2M2D (ORCPT + 99 others); Wed, 29 May 2019 08:28:03 -0400 Received: from mail-eopbgr30051.outbound.protection.outlook.com ([40.107.3.51]:23783 "EHLO EUR03-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727085AbfE2M0v (ORCPT ); Wed, 29 May 2019 08:26:51 -0400 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=ZSf4gKjs3zpyNPrKSJADkzRIyXHw5+kQmaxEOT+J0WU=; b=Dl0GiIbihkbBOcsAOvw2UiHoeukri5yljLb2w2/alciYPGvOzHQp67cLUzRuE557AO7TKrcb2dkLSpJQKcvF+7sZcXwqdxk8cEeMzGsx0SGchZWveQ7QB3ZIOR3a+p/hzB6wZiOjOmy29DkSDBaTGhg5FG10KcMksmgd7je+QVg= Received: from AM0PR04MB5779.eurprd04.prod.outlook.com (20.178.202.151) by AM0PR04MB6049.eurprd04.prod.outlook.com (20.179.32.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1922.17; Wed, 29 May 2019 12:26:40 +0000 Received: from AM0PR04MB5779.eurprd04.prod.outlook.com ([fe80::c19b:5964:bfcb:96a8]) by AM0PR04MB5779.eurprd04.prod.outlook.com ([fe80::c19b:5964:bfcb:96a8%7]) with mapi id 15.20.1922.021; Wed, 29 May 2019 12:26:40 +0000 From: Abel Vesa To: Mike Turquette , Stephen Boyd , Shawn Guo CC: Fabio Estevam , Aisheng Dong , Pengutronix Kernel Team , dl-linux-imx , "linux-clk@vger.kernel.org" , Jacky Bai , "linux-arm-kernel@lists.infradead.org" , Linux Kernel Mailing List , Abel Vesa Subject: [RESEND 03/18] clk: imx6q: Do not reparent uninitialized IMX6QDL_CLK_PERIPH2 clock Thread-Topic: [RESEND 03/18] clk: imx6q: Do not reparent uninitialized IMX6QDL_CLK_PERIPH2 clock Thread-Index: AQHVFhnE02Ous6iKsUun2H1sK1dYlQ== Date: Wed, 29 May 2019 12:26:40 +0000 Message-ID: <1559132773-12884-4-git-send-email-abel.vesa@nxp.com> References: <1559132773-12884-1-git-send-email-abel.vesa@nxp.com> In-Reply-To: <1559132773-12884-1-git-send-email-abel.vesa@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=abel.vesa@nxp.com; x-originating-ip: [89.37.124.34] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 26c69390-9ab3-46d2-2d9f-08d6e430e71d x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020);SRVR:AM0PR04MB6049; x-ms-traffictypediagnostic: AM0PR04MB6049: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1051; x-forefront-prvs: 0052308DC6 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(396003)(136003)(39860400002)(366004)(346002)(376002)(199004)(189003)(6436002)(476003)(73956011)(53936002)(486006)(11346002)(446003)(76116006)(186003)(5660300002)(102836004)(66446008)(66476007)(66946007)(26005)(44832011)(64756008)(36756003)(91956017)(66556008)(8936002)(316002)(2616005)(66066001)(99286004)(256004)(6116002)(6512007)(3846002)(76176011)(68736007)(305945005)(81156014)(81166006)(6486002)(6506007)(54906003)(110136005)(478600001)(2906002)(7736002)(8676002)(14454004)(86362001)(71190400001)(71200400001)(25786009)(4326008)(32563001);DIR:OUT;SFP:1101;SCL:1;SRVR:AM0PR04MB6049;H:AM0PR04MB5779.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-message-info: 5ERzVMJ8FwqLvnKZuSKCFP7a2unQEGjbva37jEQ5VXl26WPe0hJzUpVCZJptViNwmSy/gSxbvQ7bA4Okwzsj2xNrQCI12rF9d3SlquuRy7SkxlvOCUP72sspyOMoODdme6/9cbm4MNkxqW/jEJ/HPG4lv+b6vFebKW6NOsfgkTm9d9kz+YzzZGQph+v46u119O/NEQoFTureomE8jdgVMHnCxrr5wFwlsrR4KawvaZmNvCMP/YVwy92AKOd/NLFUGdS12KYwkEeYNjdAN6e/Gjzvv/OVfXnjhMM7kU8DDSKNseJ5ALCV5HHqiq0yX6jlMVATwhlzM1RxOQkqWCbeX4SHMdWIjCAzrAZdzrCBxzIzxhblF/CaO0KPLeP+9XAHEQ4wLzmFLU9yIrk8W6c4AwgE82U3303cC8MOdxEJ40g= Content-Type: text/plain; charset="iso-8859-1" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 26c69390-9ab3-46d2-2d9f-08d6e430e71d X-MS-Exchange-CrossTenant-originalarrivaltime: 29 May 2019 12:26:40.0899 (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: abel.vesa@nxp.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB6049 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The clock is registered later than these two re-parentings. Signed-off-by: Abel Vesa --- drivers/clk/imx/clk-imx6q.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/drivers/clk/imx/clk-imx6q.c b/drivers/clk/imx/clk-imx6q.c index 077276b..d90d54b 100644 --- a/drivers/clk/imx/clk-imx6q.c +++ b/drivers/clk/imx/clk-imx6q.c @@ -280,12 +280,6 @@ static void mmdc_ch1_disable(void __iomem *ccm_base) clk_set_parent(clk[IMX6QDL_CLK_PERIPH2_CLK2_SEL], clk[IMX6QDL_CLK_PLL3_USB_OTG]); =20 - /* - * Handshake with mmdc_ch1 module must be masked when changing - * periph2_clk_sel. - */ - clk_set_parent(clk[IMX6QDL_CLK_PERIPH2], clk[IMX6QDL_CLK_PERIPH2_CLK2]); - /* Disable pll3_sw_clk by selecting the bypass clock source */ reg =3D readl_relaxed(ccm_base + CCM_CCSR); reg |=3D CCSR_PLL3_SW_CLK_SEL; @@ -300,8 +294,6 @@ static void mmdc_ch1_reenable(void __iomem *ccm_base) reg =3D readl_relaxed(ccm_base + CCM_CCSR); reg &=3D ~CCSR_PLL3_SW_CLK_SEL; writel_relaxed(reg, ccm_base + CCM_CCSR); - - clk_set_parent(clk[IMX6QDL_CLK_PERIPH2], clk[IMX6QDL_CLK_PERIPH2_PRE]); } =20 /* --=20 2.7.4