Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3101171ybi; Fri, 5 Jul 2019 01:56:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqwe8YJlfdYsmKk8mkKUnIXY13gndHhuCZ62O3aMTFoIwMAqYZSY/IeOzRyfhj74TeD/EGOR X-Received: by 2002:a63:6ecf:: with SMTP id j198mr3945908pgc.437.1562317002113; Fri, 05 Jul 2019 01:56:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562317002; cv=none; d=google.com; s=arc-20160816; b=j7es33GIWkUiBBegvPuFSwCCSL/m5vqX+9uRXew76lrVAek4oBf4MV1RxaLS7DO2eG LzFOIMHiw3s2PmcgKWsdVbJQhy/4+s4mfo71Nli4dKgpCVlcvbGStEIUbIKegboZGxwm Xqlxiwx4teZOvoN6t3IesktKWHUj7qIOWgi0n9ZP5x7tOXjpTtoP6Ipy5yasWqOf/Qsg n3KVudgi862s30KcX3opTY1BUWtqEgANm4FTD+noUjlzw2hCotkmoeHoiF5L/RhcmU0K 0h1NWgPVZXARfOJAHKt3kmN9H6Q36NYpfbADg6FPr2of1SKXgK4gcEiNsRSbpfw7Zvcs 81ng== 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=1fgAuLLLFfyUVk/o5jZw3vrfUXIp2EBF7mInEqJ7ne0=; b=aNbFcOTLQ5lCiWmmAGNaFI8aekcFySQlDKlFA/PToZiVR0augWnCh0GjNbVhZ6SKwc uB2/zQ18sOFeatTvXPy4KPrKj9M4DNwGAsB16wF8CIW4ifKb09vm2KjKIfzDdxtCyMk4 8taHNUieprszrt/CwVoKESXTxM1yARsf7zh+6jSQi0Bp9ImZDiGeMJjun+sZoqxBEOs1 6e/CqlMHUHTevObm7ZfLYfz2GrBwL33PPAzIQ1lkuOrcXg6EJKXYent3SirM4uGOQJp1 LDpqf5UvjduWDYeZN8XLIlFpDhrplPPVXqErhvpKgwPnc9MiCBWq8c8GdoEUyhNRgGTT Uudw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=QCBUwvdy; 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 194si8348699pgc.511.2019.07.05.01.56.27; Fri, 05 Jul 2019 01:56:42 -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=QCBUwvdy; 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 S1728088AbfGEIwX (ORCPT + 99 others); Fri, 5 Jul 2019 04:52:23 -0400 Received: from mail-eopbgr80075.outbound.protection.outlook.com ([40.107.8.75]:49479 "EHLO EUR04-VI1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726427AbfGEIwW (ORCPT ); Fri, 5 Jul 2019 04:52:22 -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=1fgAuLLLFfyUVk/o5jZw3vrfUXIp2EBF7mInEqJ7ne0=; b=QCBUwvdyaFmjNuT7K285UCjZyE//6vRx/CWSiLsCVYh8QVwBzZObZWkMVnvdkJnfxE4anYvGwUjHAVNSzpFCbtqq7IM6HCLr3qm7GbaDF4/lB+SRrNB0ghpQDajPjNZ6hRjNM0pKw9+MTWbeZBbeQ/wpJ1s2B1LsxXLUpFronYs= Received: from AM0PR04MB5779.eurprd04.prod.outlook.com (20.178.202.151) by AM0PR04MB4050.eurprd04.prod.outlook.com (52.134.91.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2052.18; Fri, 5 Jul 2019 08:52:19 +0000 Received: from AM0PR04MB5779.eurprd04.prod.outlook.com ([fe80::a126:d121:200:367]) by AM0PR04MB5779.eurprd04.prod.outlook.com ([fe80::a126:d121:200:367%7]) with mapi id 15.20.2032.019; Fri, 5 Jul 2019 08:52:19 +0000 From: Abel Vesa To: Stephen Boyd CC: Anson Huang , Fabio Estevam , Mike Turquette , Sascha Hauer , Shawn Guo , dl-linux-imx , "linux-clk@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , Linux Kernel Mailing List Subject: Re: [PATCH] clk: imx8mq: Mark AHB clock as critical Thread-Topic: [PATCH] clk: imx8mq: Mark AHB clock as critical Thread-Index: AQHVKzSu7JwgQZ2S+Eecj9cXfCskNaas9UwAgA7SMQA= Date: Fri, 5 Jul 2019 08:52:19 +0000 Message-ID: <20190705085218.lvvqnqx6nfph2era@fsr-ub1664-175> References: <1561453316-11481-1-git-send-email-abel.vesa@nxp.com> <20190625223223.3B8EC2053B@mail.kernel.org> In-Reply-To: <20190625223223.3B8EC2053B@mail.kernel.org> 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: 371c65a2-b14a-4157-c108-08d701261696 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:AM0PR04MB4050; x-ms-traffictypediagnostic: AM0PR04MB4050: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3513; x-forefront-prvs: 008960E8EC x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(7916004)(4636009)(136003)(396003)(39860400002)(346002)(366004)(376002)(189003)(199004)(6512007)(68736007)(71190400001)(316002)(99286004)(476003)(9686003)(6506007)(478600001)(102836004)(76176011)(446003)(53546011)(8936002)(71200400001)(53936002)(186003)(54906003)(66066001)(44832011)(6916009)(7736002)(486006)(6246003)(305945005)(5660300002)(4326008)(6116002)(26005)(66946007)(76116006)(3846002)(14454004)(73956011)(66476007)(91956017)(66446008)(64756008)(11346002)(86362001)(66556008)(1076003)(6486002)(256004)(25786009)(229853002)(8676002)(2906002)(81156014)(33716001)(81166006)(14444005)(6436002)(32563001);DIR:OUT;SFP:1101;SCL:1;SRVR:AM0PR04MB4050;H:AM0PR04MB5779.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A: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: udm5GVIf1ptBRrhMoptsldP69SzdOKSceS9ONCPHnnsD2C17StC70B9y6Ty/01UXn+bkxp19IAr737+v4G3GCgynRv4s2ejtluw2gVVvD0pIjI8wb7j+8Zge6vYAcbc0SxqoYMb9AHQWryyJVDKtX5L3DQebPzDhNjeV0P1eMpwPpnQzTSEezglLq/DQ4Dqm42CdxtO/M4Wal1unObAEqVtXpaGe/zudOmItvv8FqTv8TM1u3OZvGBfaAHNTlxt0C0lfAfDOIoGo7JGkWHukl96soTvQTwrmtGN1wWeYDVd4SJwpcUNqHmQd+DiurH1NsWdPrBIv64ZNVwwFVe6uXdr79cf8kfIGIK/k+os5kda8aq6qz77WRolwjm8MUJsdXJUaWsNKJMf7RZ7DVmCpWPtc8JLa26VR40fpeBi++jU= Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 371c65a2-b14a-4157-c108-08d701261696 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Jul 2019 08:52:19.4278 (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: AM0PR04MB4050 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 19-06-25 15:32:22, Stephen Boyd wrote: > Quoting Abel Vesa (2019-06-25 02:01:56) > > Keep the AHB clock always on since there is no driver to control it and > > all the other clocks that use it as parent rely on it being always enab= led. > >=20 > > Signed-off-by: Abel Vesa > > --- > > drivers/clk/imx/clk-imx8mq.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > >=20 > > diff --git a/drivers/clk/imx/clk-imx8mq.c b/drivers/clk/imx/clk-imx8mq.= c > > index 5fbc2a7..b48268b 100644 > > --- a/drivers/clk/imx/clk-imx8mq.c > > +++ b/drivers/clk/imx/clk-imx8mq.c > > @@ -398,7 +398,7 @@ static int imx8mq_clocks_probe(struct platform_devi= ce *pdev) > > clks[IMX8MQ_CLK_NOC_APB] =3D imx8m_clk_composite_critical("noc_= apb", imx8mq_noc_apb_sels, base + 0x8d80); > > =20 > > /* AHB */ > > - clks[IMX8MQ_CLK_AHB] =3D imx8m_clk_composite("ahb", imx8mq_ahb_= sels, base + 0x9000); > > + clks[IMX8MQ_CLK_AHB] =3D imx8m_clk_composite_critical("ahb", im= x8mq_ahb_sels, base + 0x9000); >=20 > Please add a comment into the code why it's critical. Comment explaining why the AHB bus clock is critical ? Isn't that self-explanatory ? >=20 > > clks[IMX8MQ_CLK_AUDIO_AHB] =3D imx8m_clk_composite("audio_ahb",= imx8mq_audio_ahb_sels, base + 0x9100); > > =20 > > /* IPG */ > > --=20 > > 2.7.4 > > =