Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp13655yba; Tue, 14 May 2019 18:11:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqwBaOr4vtq35dSRnVrzUYJPQCqu1VcAc3r8ViMZvKo0rQ4BZd/MwG5+K8+M4T6ttJue+2Yl X-Received: by 2002:aa7:93ba:: with SMTP id x26mr43973842pff.238.1557882695511; Tue, 14 May 2019 18:11:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557882695; cv=none; d=google.com; s=arc-20160816; b=EbRq9d2ZyTBssoY/4NoGgR8Wm68rvh+6O3WupEafGHfurQRDg9tMlHtEfuEVvXQAG0 qT53mr03GEeeQbOBOpfu6o5paJtwG4cLkbYUWb285h43Zzww2qTWk0uL/Cp2ioS56aff JVWkmLxYjbEV8yaGxZYmgxg6oCpDCLS87vjvRfSAS+ACrGEn5GyhvU67ouHcHSEugK7S v2YNzjDJLpScKtMir01j7hDwpDwr5vs8IxauceqfaBR5hf1CFaC6hfvxFe19bIVhwQPu iblQT04btjq86v7hOrhhX4RX0RLn+XM8IuRZJGrLk07fk9vv5eZ8UyRPxIPQT7XY5xID WhBA== 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=FRbs1pr6B8sfv1AKZ1cdaEUG+tmcWVwhk4xFeovt1Vs=; b=hmSpjLWfhP86+mqHU4XqsvynkeQDvgvNNokaeoUr8o0kEXDAAxEMgGx2O6/sPXdexz fWex6Stk28wEvgw3Fq8tqly9rdE9M3cIGzcrYkjSfPLx+yB+AuCUIsGhrqkChxTH1sY9 VfHT5TNvNCvmhCYGmXWLozglVoWotkiW2txWantD/BiOnJyRE7171CjyX/n8iYB850cQ sB+nImMAzUes/i3TH9U1F4ez9C+gX7xVm252KFnBeEa7EH50SfcXugsYwaioUU/io+tB KPYaeI+Lj6061ceiP/lpNussB9xw9gcUEzmF3oA0fUyxE0WDkfItTEw+ifUDdCYsIThr xPIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=pVSfLARv; 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 b129si487353pfa.254.2019.05.14.18.11.20; Tue, 14 May 2019 18:11:35 -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=pVSfLARv; 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 S1726744AbfEOBJe (ORCPT + 99 others); Tue, 14 May 2019 21:09:34 -0400 Received: from mail-eopbgr40057.outbound.protection.outlook.com ([40.107.4.57]:61702 "EHLO EUR03-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726148AbfEOBJe (ORCPT ); Tue, 14 May 2019 21:09:34 -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=FRbs1pr6B8sfv1AKZ1cdaEUG+tmcWVwhk4xFeovt1Vs=; b=pVSfLARvmn7IKmtVry7t4+HnqHFAPcEAel0PX3M5ErZmNnAwuXwL54fjV9kQA847OflVHWB5+hVl5qDo22c3KgeUsdrrvE9oNI2NXXPgCdSSyC3DIVsrMmOhqj1mH15qTIVlobFgm9Dc7t8oW8WpdGUoyNDn1eCabwTJQ9i5tnI= Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com (52.134.72.18) by DB3PR0402MB3675.eurprd04.prod.outlook.com (52.134.69.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1900.16; Wed, 15 May 2019 01:09:30 +0000 Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::d035:3bd0:a56a:189d]) by DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::d035:3bd0:a56a:189d%2]) with mapi id 15.20.1900.010; Wed, 15 May 2019 01:09:30 +0000 From: Anson Huang To: "robh+dt@kernel.org" , "mark.rutland@arm.com" , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , "festevam@gmail.com" , "mturquette@baylibre.com" , "sboyd@kernel.org" , "l.stach@pengutronix.de" , Abel Vesa , "andrew.smirnov@gmail.com" , "ccaione@baylibre.com" , "angus@akkea.ca" , "agx@sigxcpu.org" , "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "linux-clk@vger.kernel.org" CC: dl-linux-imx Subject: [PATCH 2/3] clk: imx8mq: add SNVS clock to clock tree Thread-Topic: [PATCH 2/3] clk: imx8mq: add SNVS clock to clock tree Thread-Index: AQHVCrrZmC/NKvYR60OugnleaOrRig== Date: Wed, 15 May 2019 01:09:30 +0000 Message-ID: <1557882259-3353-2-git-send-email-Anson.Huang@nxp.com> References: <1557882259-3353-1-git-send-email-Anson.Huang@nxp.com> In-Reply-To: <1557882259-3353-1-git-send-email-Anson.Huang@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: HK2PR06CA0022.apcprd06.prod.outlook.com (2603:1096:202:2e::34) To DB3PR0402MB3916.eurprd04.prod.outlook.com (2603:10a6:8:10::18) authentication-results: spf=none (sender IP is ) smtp.mailfrom=anson.huang@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [119.31.174.66] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: d3740044-e484-4f71-9e8e-08d6d8d1fb93 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(4618075)(2017052603328)(7193020);SRVR:DB3PR0402MB3675; x-ms-traffictypediagnostic: DB3PR0402MB3675: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1728; x-forefront-prvs: 0038DE95A2 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(396003)(346002)(376002)(39860400002)(136003)(366004)(199004)(189003)(76176011)(386003)(6506007)(26005)(7736002)(305945005)(68736007)(81166006)(99286004)(81156014)(73956011)(66946007)(8676002)(52116002)(186003)(5660300002)(486006)(102836004)(36756003)(476003)(446003)(2616005)(11346002)(71200400001)(71190400001)(256004)(2906002)(66476007)(6116002)(6486002)(6436002)(316002)(3846002)(6512007)(478600001)(14454004)(66446008)(64756008)(66556008)(8936002)(50226002)(110136005)(2501003)(7416002)(53936002)(25786009)(86362001)(4326008)(66066001)(2201001)(32563001)(921003)(1121003);DIR:OUT;SFP:1101;SCL:1;SRVR:DB3PR0402MB3675;H:DB3PR0402MB3916.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: Z9sLdTp5B3uoJcujOXDSW/+3hy8t944escWCQNDPXEQGGaIarT5n4d/NrUoEzS36RufjoBu5oZt2bp/Jkl9QuvFxoCHdfZ/LDIPAC6+rFch7KWaJ9Z8ESmp0E//+o4T+7ZVj22zJ+PqHJ6pakCvZznbNKb1UshOjOdIcRPkt4pZkS/aVDarTjGyyWaf/I5z6K3s/DgjXyJEh/IQ4UVlS++R37ayzXO2dOHxr90r+xsBrp8uZ8wKeo00TDn948BQiT1e9RFpj8x05Fo7CDKHR+p1KoZ4RHnHKIsJvkoSWJqveXeWc8MllaCc8Nf+RgB6c1D3Cgk9w/hqm+kPl9p0tDeOM99OuahE+3pvjJzFKidA9nxm3HZ5hipgVrqDSTTbXqVELHQs1yBIYDIt2uG1O1Dos9dJ+89u6XN4IYAKAizY= Content-Type: text/plain; charset="iso-8859-1" Content-ID: <1C0BF2B9E1E4374D8BFA89240D903AAB@eurprd04.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: d3740044-e484-4f71-9e8e-08d6d8d1fb93 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 May 2019 01:09:30.4997 (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-Transport-CrossTenantHeadersStamped: DB3PR0402MB3675 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org i.MX8MQ has clock gate for SNVS module, add it into clock tree for SNVS RTC driver to manage. Signed-off-by: Anson Huang --- drivers/clk/imx/clk-imx8mq.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/imx/clk-imx8mq.c b/drivers/clk/imx/clk-imx8mq.c index daf1841..24c3464 100644 --- a/drivers/clk/imx/clk-imx8mq.c +++ b/drivers/clk/imx/clk-imx8mq.c @@ -507,6 +507,7 @@ static int imx8mq_clocks_probe(struct platform_device *= pdev) clks[IMX8MQ_CLK_SAI5_IPG] =3D imx_clk_gate2_shared2("sai5_ipg_clk", "ipg_= audio_root", base + 0x4370, 0, &share_count_sai5); clks[IMX8MQ_CLK_SAI6_ROOT] =3D imx_clk_gate2_shared2("sai6_root_clk", "sa= i6", base + 0x4380, 0, &share_count_sai6); clks[IMX8MQ_CLK_SAI6_IPG] =3D imx_clk_gate2_shared2("sai6_ipg_clk", "ipg_= audio_root", base + 0x4380, 0, &share_count_sai6); + clks[IMX8MQ_CLK_SNVS_ROOT] =3D imx_clk_gate4("snvs_root_clk", "ipg_root",= base + 0x4470, 0); clks[IMX8MQ_CLK_UART1_ROOT] =3D imx_clk_gate4("uart1_root_clk", "uart1", = base + 0x4490, 0); clks[IMX8MQ_CLK_UART2_ROOT] =3D imx_clk_gate4("uart2_root_clk", "uart2", = base + 0x44a0, 0); clks[IMX8MQ_CLK_UART3_ROOT] =3D imx_clk_gate4("uart3_root_clk", "uart3", = base + 0x44b0, 0); --=20 2.7.4