From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9E0B5C4CEC9 for ; Thu, 19 Sep 2019 03:11:31 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 703F1217D6 for ; Thu, 19 Sep 2019 03:11:31 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="nKl5xolT"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="O+uq3jic" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 703F1217D6 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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=WwWCvOvIhJm9U90tILh/NV6F+3JKqxhKVwccugLaXW0=; b=nKl5xolTxiux5I DWbTZfA1YMG/U4uP8LBjV8xTSEJd7H3t8Qqh6GTwJxb+lyRZtMTu6a5SLV2CT6RBk9YrU2WuQZKaQ KeBEho8i0cvHro4ZrG7zGTOT5x8H7cOXrjYPJbKHANAOSkPfUaNxB4IXN3ypIL/irtdrgfDk8w+02 XH1kl6wvEpjk8KHKcld9fYvLldPh6HRBUMCMPhVFh5ujZf96kw8uLP8mLL7aEHgsGxASPhyQ6ip2t I5L39Z3SW0BtY4SYTZAwDF/IMaluw+AjiIIGRgDZn2r+i/ZGFvexmn134jPamBaorywOA0iJWQldu pbDWkKrMJQgEL5WLdakg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1iAmqq-0001fs-Lk; Thu, 19 Sep 2019 03:11:24 +0000 Received: from mail-eopbgr20057.outbound.protection.outlook.com ([40.107.2.57] helo=EUR02-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1iAmqO-0001Vb-BL for linux-arm-kernel@lists.infradead.org; Thu, 19 Sep 2019 03:10:57 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mzs8QR72k5qJBGKvvYDuE0ScZbQV7eIXnw5k2V3Oa/axZApMqBsrz5AFN7cyt6A2jhyLQkq0CAijt6hLTeVbefUk3K9HFsda7Be9cUosXRcQ0Sh0FuL+eZj5o0HfHSiSC5uW5+Hh6G0oIAZced7RLpgL8ElBU5VEPGiskheqzWqsCmAKChyym/ZKIDT1M9ZFiqOJAvrknG+IipLKQ9VHv7vTKJLusHAi15zHVasOJhmtzR+44jpDRz5omhTsqmEU/AYsMwVEpS+6tJtFRbZE3njMrsRmMJASnD+VKr6Zhe6ClB//F+x/TclqNg+YdHE1+cwH1LQOvNV2xwe+1uozrg== 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=eOGt3H3vBAfiZrsFDseE/JdGtm+1S4KWNhXyHFTMbuk=; b=MQ6AADlqpUGgd8mlQERmnDP64tF6Ms1aW/97YVl7593PUolPTCsvYylAvMCpNfnw5iilJ4Xzc2OYXNQGxE2Tr6CWW/kSJGRdDYCn/zm1ZMngTU1PvlsbHFFz+F/KGUDhRIL1uWuYb/POd3ADWu5gGZUqd1QrLFCOpGXV9RGUl3CE++5qar3teNL7q/dZDah/p8M2SnA4EmAlQhAFy0m5uL+aYmZn/FhIJE74f9VhTbPmrREKPqzRAKmbECCtzo5O2s7lM2Q0TKUXHKJK6Aiua6k4dnM/zVDT1E3llUolxCAiPmeU0arvz4lA9g6MEZt3rUFAulObYI8ZINuZRapO7g== 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=eOGt3H3vBAfiZrsFDseE/JdGtm+1S4KWNhXyHFTMbuk=; b=O+uq3jicBYLner6Ig7M2yI5c4F9fsG1LmLBy3xJfpR6NE0JCwou4iDBnWc2ycHeQl2qwBurZj9uWCyRJZ2baOg4luY9YBC13itGTgXrhaZDYhG+1I2Kcl92AeyruSO9fsQzZZ+/nwpeA3j/HVAsxXXNohkBMVpD6N4So3jw28QI= Received: from AM6PR04MB4936.eurprd04.prod.outlook.com (20.177.34.20) by AM6PR04MB3992.eurprd04.prod.outlook.com (52.135.169.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2263.17; Thu, 19 Sep 2019 03:10:48 +0000 Received: from AM6PR04MB4936.eurprd04.prod.outlook.com ([fe80::3069:86de:e199:8abe]) by AM6PR04MB4936.eurprd04.prod.outlook.com ([fe80::3069:86de:e199:8abe%7]) with mapi id 15.20.2263.023; Thu, 19 Sep 2019 03:10:48 +0000 From: Fancy Fang To: "shawnguo@kernel.org" Subject: [PATCH v2] clk: imx7ulp: remove IMX7ULP_CLK_MIPI_PLL clock Thread-Topic: [PATCH v2] clk: imx7ulp: remove IMX7ULP_CLK_MIPI_PLL clock Thread-Index: AQHVbpfTBWkVGhuNzkmN4Sgwz3kphKcyUgkA Date: Thu, 19 Sep 2019 03:10:48 +0000 Message-ID: <20190919030912.16957-2-chen.fang@nxp.com> References: <20190919030912.16957-1-chen.fang@nxp.com> In-Reply-To: <20190919030912.16957-1-chen.fang@nxp.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.17.1 x-clientproxiedby: HK2PR02CA0178.apcprd02.prod.outlook.com (2603:1096:201:21::14) To AM6PR04MB4936.eurprd04.prod.outlook.com (2603:10a6:20b:8::20) authentication-results: spf=none (sender IP is ) smtp.mailfrom=chen.fang@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [119.31.174.66] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 3b59a15b-779c-485f-de7b-08d73caef811 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600167)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020); SRVR:AM6PR04MB3992; x-ms-traffictypediagnostic: AM6PR04MB3992:|AM6PR04MB3992: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; x-forefront-prvs: 016572D96D x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(376002)(136003)(366004)(346002)(396003)(39860400002)(199004)(189003)(54534003)(8936002)(186003)(50226002)(1730700003)(8676002)(81156014)(81166006)(14454004)(66556008)(66446008)(64756008)(66476007)(66946007)(1076003)(4326008)(102836004)(76176011)(52116002)(25786009)(386003)(3846002)(2351001)(2906002)(6506007)(6116002)(6916009)(26005)(316002)(478600001)(5640700003)(2501003)(6486002)(476003)(6436002)(86362001)(54906003)(486006)(7736002)(5660300002)(36756003)(2616005)(305945005)(11346002)(99286004)(256004)(6512007)(71190400001)(71200400001)(66066001)(446003); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR04MB3992; H:AM6PR04MB4936.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: 5hG4g1tyWH2qjk1nGdM0lK1Ahmpmn4aShdUHR2E8qDVwJi86s3owvzT3ACHrSkszGX+XLsPn1gDS7KIu42ldg6olWpVblC6FamA/lVeqiGZAX00FnuDdPr+hmwicDNwd2WGWnwiX7qNS2PUsChwRnSXA0JiAMTWcOf8i6vi5ICxOZnUYK0qenj/qNdQEZU+S0B8kD8eQ3ePnM/OtPc3jSwKX+p74WLpzsXhfDXvWUgEhaENPPTLPD5Isvg3mK78DBz3ISPjUl4SzeN5C2qaW8UWl9qEloWoLsXWSBKFWM1qpR8N9rNFdG4hIUsfnc9AW27w4H6fzb5l/EQMjH8mBWqLB3fF+VC0Mq6ak7KfQwk9NUXHKz4EfUlibHABGTUdmNT1Bs9L8alydryMQiaDly1HwyGpBi6WSZKrX+tOb5yE= MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3b59a15b-779c-485f-de7b-08d73caef811 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Sep 2019 03:10:48.1470 (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: 0nZWvkdTtRl89spKeDHUAJT+4rM5EREFGn8SIfRRC+z6SXrs8tCasDni0MaCLF1p1sZfOlN7nQp09wWXz6EF5Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB3992 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190918_201056_391838_276E126E X-CRM114-Status: GOOD ( 14.18 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "sboyd@kernel.org" , "mturquette@baylibre.com" , "linux-kernel@vger.kernel.org" , "linux-clk@vger.kernel.org" , dl-linux-imx , "kernel@pengutronix.de" , "s.hauer@pengutronix.de" , "linux-arm-kernel@lists.infradead.org" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org The mipi pll clock comes from the MIPI PHY PLL output, so it should not be a fixed clock. MIPI PHY PLL is in the MIPI DSI space, and it is used as the bit clock for transferring the pixel data out and its output clock is configured according to the display mode. So it should be used only for MIPI DSI and not be exported out for other usages. Signed-off-by: Fancy Fang --- ChangeLog v1->v2: * Keep other clock indexes unchanged as Shawn suggested. Documentation/devicetree/bindings/clock/imx7ulp-clock.txt | 1 - drivers/clk/imx/clk-imx7ulp.c | 3 +-- include/dt-bindings/clock/imx7ulp-clock.h | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/clock/imx7ulp-clock.txt b/Documentation/devicetree/bindings/clock/imx7ulp-clock.txt index a4f8cd478f92..93d89adb7afe 100644 --- a/Documentation/devicetree/bindings/clock/imx7ulp-clock.txt +++ b/Documentation/devicetree/bindings/clock/imx7ulp-clock.txt @@ -82,7 +82,6 @@ pcc2: pcc2@403f0000 { <&scg1 IMX7ULP_CLK_APLL_PFD0>, <&scg1 IMX7ULP_CLK_UPLL>, <&scg1 IMX7ULP_CLK_SOSC_BUS_CLK>, - <&scg1 IMX7ULP_CLK_MIPI_PLL>, <&scg1 IMX7ULP_CLK_FIRC_BUS_CLK>, <&scg1 IMX7ULP_CLK_ROSC>, <&scg1 IMX7ULP_CLK_SPLL_BUS_CLK>; diff --git a/drivers/clk/imx/clk-imx7ulp.c b/drivers/clk/imx/clk-imx7ulp.c index 995a4ad10904..936c39f767df 100644 --- a/drivers/clk/imx/clk-imx7ulp.c +++ b/drivers/clk/imx/clk-imx7ulp.c @@ -28,7 +28,7 @@ static const char * const scs_sels[] = { "dummy", "sosc", "sirc", "firc", "dumm static const char * const ddr_sels[] = { "apll_pfd_sel", "upll", }; static const char * const nic_sels[] = { "firc", "ddr_clk", }; static const char * const periph_plat_sels[] = { "dummy", "nic1_bus_clk", "nic1_clk", "ddr_clk", "apll_pfd2", "apll_pfd1", "apll_pfd0", "upll", }; -static const char * const periph_bus_sels[] = { "dummy", "sosc_bus_clk", "mpll", "firc_bus_clk", "rosc", "nic1_bus_clk", "nic1_clk", "spll_bus_clk", }; +static const char * const periph_bus_sels[] = { "dummy", "sosc_bus_clk", "dummy", "firc_bus_clk", "rosc", "nic1_bus_clk", "nic1_clk", "spll_bus_clk", }; static const char * const arm_sels[] = { "divcore", "dummy", "dummy", "hsrun_divcore", }; /* used by sosc/sirc/firc/ddr/spll/apll dividers */ @@ -75,7 +75,6 @@ static void __init imx7ulp_clk_scg1_init(struct device_node *np) clks[IMX7ULP_CLK_SOSC] = imx_obtain_fixed_clk_hw(np, "sosc"); clks[IMX7ULP_CLK_SIRC] = imx_obtain_fixed_clk_hw(np, "sirc"); clks[IMX7ULP_CLK_FIRC] = imx_obtain_fixed_clk_hw(np, "firc"); - clks[IMX7ULP_CLK_MIPI_PLL] = imx_obtain_fixed_clk_hw(np, "mpll"); clks[IMX7ULP_CLK_UPLL] = imx_obtain_fixed_clk_hw(np, "upll"); /* SCG1 */ diff --git a/include/dt-bindings/clock/imx7ulp-clock.h b/include/dt-bindings/clock/imx7ulp-clock.h index 6f66f9005c81..a39b0c40cb41 100644 --- a/include/dt-bindings/clock/imx7ulp-clock.h +++ b/include/dt-bindings/clock/imx7ulp-clock.h @@ -49,7 +49,6 @@ #define IMX7ULP_CLK_NIC1_DIV 36 #define IMX7ULP_CLK_NIC1_BUS_DIV 37 #define IMX7ULP_CLK_NIC1_EXT_DIV 38 -#define IMX7ULP_CLK_MIPI_PLL 39 #define IMX7ULP_CLK_SIRC 40 #define IMX7ULP_CLK_SOSC_BUS_CLK 41 #define IMX7ULP_CLK_FIRC_BUS_CLK 42 -- 2.17.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel