From patchwork Fri Mar 22 15:37:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 10866055 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DBF53139A for ; Fri, 22 Mar 2019 15:37:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B4EBF290D1 for ; Fri, 22 Mar 2019 15:37:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A8D2F2A8B4; Fri, 22 Mar 2019 15:37:48 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5C97B28FD2 for ; Fri, 22 Mar 2019 15:37:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=0yvQgOKYAUTQvnWQI8dTtDsv8OuNUw25Ug/kglXcTw8=; b=s0cXP9wISvwTDo yvJ43js9JQFuxDG06B8XRUcPO1H9jeiGigJ/lwMgMlaPB4Lxde11Bjbb12+p7c2cWJKrvCE87Uwx5 +pCN0E9sARuFuhpP4FLzaRs/WZ+jZajXz18EcTW+Hn+KdvoU3Ub5IdJKAqKxomcb3JkHaby6/igby CXHWwcVrjDvooSaf/T7H3STgzK5s6f+UKeKIQ4oCDcjUHfSWWNCQsNNwzCUkgaDgpNnhu+JVpIAQA IkgFxnefoQRXAs0qMdp/4d/1xRyvY1m3nmDFmwCZNMb1bM39yIQkt2db74LPwUpHJgco9/d5wDmWf 2gMmBpG9chH+3yZvuXPw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h7MEr-0004in-6P; Fri, 22 Mar 2019 15:37:45 +0000 Received: from mail-db3eur04on0610.outbound.protection.outlook.com ([2a01:111:f400:fe0c::610] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h7MEI-0003y2-BB for linux-arm-kernel@lists.infradead.org; Fri, 22 Mar 2019 15:37:12 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=MSx/Y6F0AgWZF84jic2oulMzN9dre7gLsY4aJ6LL4JI=; b=szphEHBaz2+i+Di/QMa/595Tw6h7OTQxCytSMLYuUIe3xf3GbaPVHOhSsdyUmMjsXkJ6+DWUGDdUi4PImQYEl13G18p3vVE1okRyE+dyc5DzsyX0ousN1xKwo5R+9i0fIzefckWPVz9wNgNWpi6kJtPeP98R68ChmS++6uNvf6s= Received: from AM0PR04MB5779.eurprd04.prod.outlook.com (20.178.202.151) by AM0PR04MB5636.eurprd04.prod.outlook.com (20.178.202.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1709.15; Fri, 22 Mar 2019 15:37:03 +0000 Received: from AM0PR04MB5779.eurprd04.prod.outlook.com ([fe80::9579:32ab:898e:6769]) by AM0PR04MB5779.eurprd04.prod.outlook.com ([fe80::9579:32ab:898e:6769%2]) with mapi id 15.20.1709.017; Fri, 22 Mar 2019 15:37:03 +0000 From: Abel Vesa To: Stephen Boyd , Shawn Guo , Fabio Estevam , Aisheng Dong , Lucas Stach , Sascha Hauer Subject: [RFC 03/19] clk: imx6sx: Do not reparent to unregistered IMX6SX_CLK_AXI Thread-Topic: [RFC 03/19] clk: imx6sx: Do not reparent to unregistered IMX6SX_CLK_AXI Thread-Index: AQHU4MUYtbPO5pw8/UqQLW6Tt6IGKQ== Date: Fri, 22 Mar 2019 15:37:03 +0000 Message-ID: <1553269010-15591-4-git-send-email-abel.vesa@nxp.com> References: <1553269010-15591-1-git-send-email-abel.vesa@nxp.com> In-Reply-To: <1553269010-15591-1-git-send-email-abel.vesa@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: VI1PR08CA0170.eurprd08.prod.outlook.com (2603:10a6:800:d1::24) To AM0PR04MB5779.eurprd04.prod.outlook.com (2603:10a6:208:131::23) x-originating-ip: [212.146.100.6] authentication-results: spf=none (sender IP is ) smtp.mailfrom=abel.vesa@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.7.4 x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: eb5262e9-de93-4fcc-865b-08d6aedc3b2c x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM0PR04MB5636; x-ms-traffictypediagnostic: AM0PR04MB5636: x-microsoft-antispam-prvs: x-forefront-prvs: 09840A4839 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(366004)(39860400002)(376002)(396003)(136003)(199004)(189003)(106356001)(105586002)(54906003)(110136005)(316002)(52116002)(6512007)(81156014)(97736004)(53936002)(86362001)(81166006)(478600001)(8676002)(2906002)(14454004)(486006)(99286004)(36756003)(7736002)(71200400001)(44832011)(71190400001)(3846002)(5660300002)(4744005)(386003)(4326008)(6116002)(6486002)(50226002)(6506007)(66066001)(256004)(76176011)(446003)(186003)(25786009)(11346002)(68736007)(26005)(476003)(6436002)(2616005)(8936002)(102836004)(305945005)(32563001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR04MB5636; 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: 4wK3uu33YOkFcYLo9OTV4ycEWHDOQ6QtIC0wKFv1/KT2scGxOCOsg6R0qo2uDWN0lm1SoNQpwlWQaEC7cxxRIeXC3TJAthuEi9mFL+OxGQW2Wv+rIGkZ0bVLqq0+pJDwFlJKgQNrUZ5KdBzuxCUU4AttM4kOVAxBBD8UyAySbxCIZU7XSEjVfoHgx7B7sm3oi1mfuxHPCxh1ufc9DLxuG5B8QPraV8/40a1XMan0geayTaQl3nVI7zW6zgGgRkySTI3y3TxM3JhIKI/4ErsI0an09VdyItLjtwVfILBo/tbgXCEa7/PGHeYV+yx2Ei/QP+eUlM+qCbYB+6O++2Xfd2R0ONzf/P8RWUOMDtPUL3zdq9uJ13JrYxiWm+3/f5h2qM6bpbZWVNtfT5dpmwmvE4S7bfLT1PcnwzbyKxyUmYU= MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: eb5262e9-de93-4fcc-865b-08d6aedc3b2c X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Mar 2019 15:37:03.0357 (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: AM0PR04MB5636 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190322_083710_575057_21314589 X-CRM114-Status: GOOD ( 11.20 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Abel Vesa , "linux-clk@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , Linux Kernel Mailing List Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The clock IMX6SX_CLK_AXI is not registered at all. Signed-off-by: Abel Vesa --- drivers/clk/imx/clk-imx6sx.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/clk/imx/clk-imx6sx.c b/drivers/clk/imx/clk-imx6sx.c index 91558b0..4ed180c 100644 --- a/drivers/clk/imx/clk-imx6sx.c +++ b/drivers/clk/imx/clk-imx6sx.c @@ -512,8 +512,6 @@ static void __init imx6sx_clocks_init(struct device_node *ccm_node) /* Set the parent clks of PCIe lvds1 and pcie_axi to be pcie ref, axi */ if (clk_set_parent(clks[IMX6SX_CLK_LVDS1_SEL], clks[IMX6SX_CLK_PCIE_REF_125M])) pr_err("Failed to set pcie bus parent clk.\n"); - if (clk_set_parent(clks[IMX6SX_CLK_PCIE_AXI_SEL], clks[IMX6SX_CLK_AXI])) - pr_err("Failed to set pcie parent clk.\n"); /* * Init enet system AHB clock, set to 200MHz