Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp662198ybx; Tue, 5 Nov 2019 03:37:51 -0800 (PST) X-Google-Smtp-Source: APXvYqxRUZvoGpibrb59a6UiSZPWgZq+5b58hyhuRfMiAwxcGCRNVL4QFfKtbEYV3yw+Ku8RpKin X-Received: by 2002:aa7:d496:: with SMTP id b22mr13343914edr.122.1572953871439; Tue, 05 Nov 2019 03:37:51 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1572953871; cv=pass; d=google.com; s=arc-20160816; b=xM8/Ea7NYsmHXEwddFQ/vngeqiCT+v+2WUrq6tqm+KIWsh4Qhl/Ko4j2S/CxMMU9fu 1ef56gswxLDnUzQmcw0G22wwisRss6bgdODVFNdxkS7ZB8/ByNsgei5xQqiSEiI8BJwY B01CHim27QziJStwozoHmfHpKxTMJIVtrIiqpBGi2OKOYCxm8MOtbEVNIYEBdARvZtNw 1aPvk/4ow/Xr+fwyljWKJUD3u0w0WijKAMEDYXPsoM8DyI7aOz9UEXHIKUNYHXSXY5WY aSu0gYfV6E99R1jVwAh6HBuJGemp0s2vomU1b+sMdU/HPzpArx4Ck1WDJVKLTNgJWOTA OCuA== 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-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=f5GK/SRnyvxDk0UH/yjYL38NqanFe4eDxBiMo/yr8fg=; b=xJ1qlPyHecGgxIWGNauT3aVO4K8j7PYKyFG+JU4qG/x+0ftElvv4SMDSNnZrB+8pLn N73afYQSDnn+lKFsIqQCDgwxtX8LSTvXeAV0uY21GwREtpLgGTn05vjwgOeJmrIB4/cb e/cMVi5s6tMQVlacgN03khg4G3fAgZ472IFDYQ4fK+w3h0u0BBtYwfVeNSQEqkphsSvP cw9i4ATq4EOkMVbwqRKjjkSDnumKBtnBjTo1fVlUA9GaPr99nvBfyqvB+RE54lo7qQ0O DwzzWL6AN8Zaucnq0vkZkZ39IiDRBiEv69DJqge9TOwH2M7H62/dBvr3uHQaTYxnk+/6 /1jQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=KiuoMFEU; 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 h16si13026613ejj.352.2019.11.05.03.37.26; Tue, 05 Nov 2019 03:37:51 -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; dkim=pass header.i=@nxp.com header.s=selector2 header.b=KiuoMFEU; 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 S1730884AbfKELgs (ORCPT + 99 others); Tue, 5 Nov 2019 06:36:48 -0500 Received: from mail-eopbgr140044.outbound.protection.outlook.com ([40.107.14.44]:61989 "EHLO EUR01-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730636AbfKELgr (ORCPT ); Tue, 5 Nov 2019 06:36:47 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eNk5ZXRN8tbuJTqMz02r+cbh87OiYCSIwfRhs5ZnGpS5q8aR90GP8HOGHLyUELg/i1DnZpNypSpH7x2WEZsgBsbVfEUHtnGOanK25Ra92mSOoEU/dovTDrb+fL3reNLExqaifuc+tn1WfeH9FzU9bJsTiBvXm+lVYGhGF9GU1GCfI7eWsQlNeVdm+hBEAGjzU2MUxEVXghxRWO573t43id6OMCp0ksKRt2U4DRbBUjdcDzmvU2lYfUutjfj2UHCHXGC2mLoUu/ghU7fMNQSqPVZgqIXJRs5k61fy2h2NiAD/cCCVGVRT94CmGFJc28bTWB18UQw/hLbqqgqCgrQ/5A== 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=f5GK/SRnyvxDk0UH/yjYL38NqanFe4eDxBiMo/yr8fg=; b=DogFVzbLsPL8Gi7N+4B04KiiZy2FweGg9AEbXGhLTBfd59b2KOdrZTO7wlm1A1Lw4GsqeUMHPqStcoV+7WSa2atHqNDqj3qJtTUJovs4x4d2nd4IbSDpiY28hgHDDyvPTsIz8ZMCsu3BZRAY7b6GvDgQ9D7iP43OQVv/9ximzuR72PFO+ecnIKDXUjXN7YAS34Q2Fpc2gdd8U0j2w9Q3NR4oVHvPiBPPj3f6f9ppNTFywJw4tOoxPjGiVr7FS/4HhCaBOTXeYMEvChUycOpjSTlyUEp9BaVRy/bkUyQdFIrKAr6i2L2xrNIU5qMlSbK/lLDf2t9Qktm2NbTZJBR6qg== 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=f5GK/SRnyvxDk0UH/yjYL38NqanFe4eDxBiMo/yr8fg=; b=KiuoMFEUt9dJziYshMlUv+wSQBolN5oQ+A6er/e3h+EWLMTdjn0lMiVuBrzdl/WGjS50KzjwggFoJ+qfA5Usz7rwxL4GTrcWgyTPEG464jhxxt1OLJ15lkyzrvavBts25JGJP0JQFHy4hj5IGQh/z5jDZdYvvd3htps6Swb5GR8= Received: from AM0PR04MB5779.eurprd04.prod.outlook.com (20.178.202.151) by AM0PR04MB5201.eurprd04.prod.outlook.com (20.177.42.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2408.24; Tue, 5 Nov 2019 11:36:44 +0000 Received: from AM0PR04MB5779.eurprd04.prod.outlook.com ([fe80::fd44:1b14:587c:9fde]) by AM0PR04MB5779.eurprd04.prod.outlook.com ([fe80::fd44:1b14:587c:9fde%7]) with mapi id 15.20.2430.020; Tue, 5 Nov 2019 11:36:44 +0000 From: Abel Vesa To: Peng Fan CC: "sboyd@kernel.org" , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "festevam@gmail.com" , "kernel@pengutronix.de" , dl-linux-imx , Anson Huang , Jacky Bai , "linux-clk@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Leonard Crestez Subject: Re: [PATCH] clk: imx: imx8mn: add IMX8MN_CLK_SAI7_IPG clk Thread-Topic: [PATCH] clk: imx: imx8mn: add IMX8MN_CLK_SAI7_IPG clk Thread-Index: AQHVkuiWYOV+kg2wl0yC3cmY9ucIdad8dMaA Date: Tue, 5 Nov 2019 11:36:44 +0000 Message-ID: <20191105113643.542aaahiiabccrm7@fsr-ub1664-175> References: <1572855483-10624-1-git-send-email-peng.fan@nxp.com> In-Reply-To: <1572855483-10624-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-clientproxiedby: AM0PR10CA0059.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:150::39) To AM0PR04MB5779.eurprd04.prod.outlook.com (2603:10a6:208:131::23) x-originating-ip: [89.37.124.34] authentication-results: spf=none (sender IP is ) smtp.mailfrom=abel.vesa@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: cfb30290-4e7f-4b22-c155-08d761e46f6e x-ms-traffictypediagnostic: AM0PR04MB5201:|AM0PR04MB5201: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2803; x-forefront-prvs: 0212BDE3BE x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(7916004)(136003)(396003)(376002)(366004)(39860400002)(346002)(199004)(189003)(66556008)(64756008)(66066001)(54906003)(476003)(102836004)(7736002)(6636002)(76176011)(256004)(8936002)(66476007)(478600001)(6486002)(8676002)(386003)(26005)(66446008)(6246003)(71190400001)(71200400001)(81166006)(6436002)(2906002)(6116002)(99286004)(1076003)(3846002)(6512007)(9686003)(229853002)(6506007)(4326008)(305945005)(86362001)(5660300002)(52116002)(316002)(186003)(446003)(486006)(44832011)(81156014)(11346002)(66946007)(25786009)(53546011)(14454004)(6862004)(33716001)(32563001);DIR:OUT;SFP:1101;SCL:1;SRVR:AM0PR04MB5201;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: BCL:0; x-microsoft-antispam-message-info: fAXWuLVaXwe+As2wxEqp3IVM+ePW0hzEEZUczrcrjdIs2enmAXNIv1NOqruPr3xnIO+/877EOoxPlNoIOtO2numhpLJnzI5BjcMLjjO8VTWFRD5jeOI7eEOEPhowSGMUje6drfpAoHdpCBn3tg9yJpMLsE1Vl5SCEDaZTa35NN08CN8IAF5RSMuuWTc4+I/pRE9BubUouCM/6A3wzYy2uGazThU/Vv8zvuwNQaDxi+noVyCU/QlW3N8BpL9eZn/eGYvNFNTVcWRgdPpW0fcJzGGAyzD0hv0J//ksqVoFtSlug0U1knIb5L1Exeyxv0CXZeiyOGA17Yr8GKPyRdEMPRBbamnvKK8HX8yrTP4pxgu3ACnsAHOw95mCCEl5xoFPRxjGi2P9mLQVMqwJLlm2efV+r2RdpAFG4WOl8F/Mh7XoGOvTDy7I4+d1PifcD7iq 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: cfb30290-4e7f-4b22-c155-08d761e46f6e X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Nov 2019 11:36:44.8190 (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: gciK5sSkgLDeMppey5ojrx1hkKbw4QNao7hjEB0as2uxY1MKtamJmmfh5pdYg+8g874amkJ6V2usxvrHJa/L3g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB5201 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 19-11-04 08:19:33, Peng Fan wrote: > From: Peng Fan >=20 > It does not make sense to use shared count for IMX8MN_CLK_SAI7_ROOT > without ipg clk. Actually there are ipg clks for other sai clks, > let's add IMX8MN_CLK_SAI7_IPG clk. >=20 > Signed-off-by: Peng Fan Reviewed-by: Abel Vesa > --- > drivers/clk/imx/clk-imx8mn.c | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/drivers/clk/imx/clk-imx8mn.c b/drivers/clk/imx/clk-imx8mn.c > index 838f6e2347f1..5e801892c631 100644 > --- a/drivers/clk/imx/clk-imx8mn.c > +++ b/drivers/clk/imx/clk-imx8mn.c > @@ -556,6 +556,7 @@ static int imx8mn_clocks_probe(struct platform_device= *pdev) > clks[IMX8MN_CLK_SDMA2_ROOT] =3D imx_clk_hw_gate4("sdma2_clk", "ipg_audi= o_root", base + 0x43b0, 0); > clks[IMX8MN_CLK_SDMA3_ROOT] =3D imx_clk_hw_gate4("sdma3_clk", "ipg_audi= o_root", base + 0x45f0, 0); > clks[IMX8MN_CLK_SAI7_ROOT] =3D imx_clk_hw_gate2_shared2("sai7_root_clk"= , "sai7", base + 0x4650, 0, &share_count_sai7); > + clks[IMX8MN_CLK_SAI7_IPG] =3D imx_clk_hw_gate2_shared2("sai7_ipg_clk", = "ipg_audio_root", base + 0x4650, 0, &share_count_sai7); > =20 > clks[IMX8MN_CLK_DRAM_ALT_ROOT] =3D imx_clk_hw_fixed_factor("dram_alt_ro= ot", "dram_alt", 1, 4); > =20 > --=20 > 2.16.4 >=20