Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7558860ybi; Tue, 9 Jul 2019 00:19:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqzlHJmqWeqoCZ2SDxfynym+NuZy5bYaQpoCqf1OOUp+bOTyQM6fdtm5t+8tazuDNQVj5aEJ X-Received: by 2002:a63:5a4b:: with SMTP id k11mr28974656pgm.143.1562656762110; Tue, 09 Jul 2019 00:19:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562656762; cv=none; d=google.com; s=arc-20160816; b=xNxw0SUcCTTUhWlqal2abtORHCZix7RfzOURiMlvz/KEnq7eCNVscOttYAVRT5fQjB yWpuZbx1XeVMcAhhDCdRQAlB1Ff0eHTU8/n1yzdTokbKDk9luRS62oUHzVr2MmeIIsmQ f/y9Cfe9ehZB5iC+CLA5yJjkxthUEXJ1L+RYUqSI1FJ6yh3aPAMsPuW3vmNqMjNkgow5 HlamGFwGoc0KPdERBhOlUczuBh2JwJXklb+D0iCDMNhS3S1VDuC9luZyYuhoyUbKBynT aiP6eVfWtLG7ceVwKbHN1XnHrd/4TDJ+pgkeBwjgYVDG3qT5sn8M3HqQlLDkJkUGwV9d pOYw== 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-language:accept-language:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature; bh=aA2knaqHcsWhG3WxuMgsw9SlhANhWDuoivatKmcXKuM=; b=d1RjqtKBUxmdVHyfUpUOl0h0x8hNr1rJBnhmF9nybfPWgbZN9Uaz31g3c2dvWirOVx dSbKaR5MfMZSXZyJWBkNi6gdYfhhOE0nE2qeHrjLNQ/K+jDGzqMSjMrBrojkzO+ACOu3 1g6t6rAIU+8xkJWqPjBOoN0IKbteXX+0Q0k8rgkBufQ9EQJ/G12Y5XHT2kyZ3PIAouXR j1iGTHvL0f898m/Dkur2ZKV2sMvfJmxituUjHzVXH/3xmoHfDS1joY0yJsLNLY4sYwIa RntHhPg0aFGt0B7UYYAANG9m3dZ4yZDsAVIzVGSbhcU21qj0d8331zUH8DZ8vQTF6LpX WEZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=VoUAknYW; 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 61si7478817ple.275.2019.07.09.00.19.06; Tue, 09 Jul 2019 00:19:22 -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=VoUAknYW; 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 S1726073AbfGIHSC (ORCPT + 99 others); Tue, 9 Jul 2019 03:18:02 -0400 Received: from mail-eopbgr20067.outbound.protection.outlook.com ([40.107.2.67]:64480 "EHLO EUR02-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725886AbfGIHSB (ORCPT ); Tue, 9 Jul 2019 03:18:01 -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=aA2knaqHcsWhG3WxuMgsw9SlhANhWDuoivatKmcXKuM=; b=VoUAknYWtDSDyrk+MsNWmVQYSkSb4sBAah5JFmq/MoOfNyRDsKglu2PSJatHUJOroJlR0y9178MHftpGCsW5rXhkFeIeUKKhKkfQDDfhoFgGfLJcenT/tCNYmb9wRi9768QPzGm+5OvItczcAfpyIY8cj7BL90rbdxGATGJVWIY= Received: from AM6PR04MB4936.eurprd04.prod.outlook.com (20.177.33.203) by AM6PR04MB5880.eurprd04.prod.outlook.com (20.179.3.97) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2052.17; Tue, 9 Jul 2019 07:17:57 +0000 Received: from AM6PR04MB4936.eurprd04.prod.outlook.com ([fe80::cd8e:f990:731d:a5b2]) by AM6PR04MB4936.eurprd04.prod.outlook.com ([fe80::cd8e:f990:731d:a5b2%7]) with mapi id 15.20.2052.020; Tue, 9 Jul 2019 07:17:57 +0000 From: Fancy Fang To: "mturquette@baylibre.com" , "sboyd@kernel.org" , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , Jacky Bai , "festevam@gmail.com" , "kernel@pengutronix.de" CC: "linux-clk@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , dl-linux-imx Subject: [PATCH 1/2] clk: imx8mm: rename lcdif pixel clock Thread-Topic: [PATCH 1/2] clk: imx8mm: rename lcdif pixel clock Thread-Index: AQHVNiZucEoeUC3dx0S5hLcPWPQBeQ== Date: Tue, 9 Jul 2019 07:17:56 +0000 Message-ID: <20190709071942.18109-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: HK0P153CA0007.APCP153.PROD.OUTLOOK.COM (2603:1096:203:18::19) To AM6PR04MB4936.eurprd04.prod.outlook.com (2603:10a6:20b:7::11) 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: 0c14cc16-b6c4-4c64-e5cc-08d7043d90e9 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:AM6PR04MB5880; x-ms-traffictypediagnostic: AM6PR04MB5880: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-forefront-prvs: 0093C80C01 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(136003)(396003)(39860400002)(376002)(346002)(366004)(199004)(189003)(6506007)(14454004)(2501003)(486006)(476003)(2616005)(2201001)(26005)(52116002)(110136005)(54906003)(36756003)(86362001)(5660300002)(3846002)(478600001)(4326008)(66066001)(186003)(7736002)(305945005)(102836004)(81166006)(25786009)(1076003)(6116002)(71190400001)(53936002)(71200400001)(50226002)(6486002)(66476007)(66446008)(2906002)(66946007)(73956011)(8936002)(64756008)(66556008)(68736007)(316002)(99286004)(256004)(386003)(6436002)(81156014)(6512007)(8676002)(32563001);DIR:OUT;SFP:1101;SCL:1;SRVR:AM6PR04MB5880;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: Ju6xHc2lPxpiZ26dYawoXHieXx1OcyJi6NZZa4/+jyOZHDXQnD6gFj2+xS0raNG5LYyygIMtjuNGDY4v+pvuVGYvz2Fj6+ISKZ8k0mj7DAaRy1yAqN+QcIjKkUq2/EaE9b/qtdtcKzGZ4izbtCxAYzIWtxtfvF9iz0TxciSzdxU/s0c0M3dnB6chLE9Xhiez9+XihY4CmeDigFzZ1CqWaKqNNULD1uD6Y7cY6UEaG8kN6n7/Y5LQEsLWoakvb8z8ExydsIOAKUDexxqnhZp7oHInHAvsu9u0NL5OP+7MLZseo/WgQO3y8r5H84ySffSbmMnXhr/NYex0n+h+jwTL50rxn4maFbhiwsHRR0AS7qE6ZY/U4yz7UUCuesUTcJAiMPfR8cf0ELrxL1YKruKM37pfOBEG+S69AlS9DZdCxrw= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0c14cc16-b6c4-4c64-e5cc-08d7043d90e9 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Jul 2019 07:17:57.0386 (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: chen.fang@nxp.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB5880 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Rename 'lcdif' pixel clock related names to 'disp' names, since: First, the lcdif pixel clock is not supplied to LCDIF controller directly, but to some LPCG clock in display mix. So rename it to 'disp' pixel clock is more accurate. Second, in the imx8mn CCM specification which is designed after imx8mm, this same pixel root clock name has been modified from 'LCDIF_PIXEL_CLK_ROOT' to 'DISPLAY_PIXEL_CLK_ROOT'. Signed-off-by: Fancy Fang --- drivers/clk/imx/clk-imx8mm.c | 4 ++-- include/dt-bindings/clock/imx8mm-clock.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/clk/imx/clk-imx8mm.c b/drivers/clk/imx/clk-imx8mm.c index 6b8e75df994d..42f1227a4952 100644 --- a/drivers/clk/imx/clk-imx8mm.c +++ b/drivers/clk/imx/clk-imx8mm.c @@ -210,7 +210,7 @@ static const char *imx8mm_pcie1_aux_sels[] =3D {"osc_24= m", "sys_pll2_200m", "sys_p static const char *imx8mm_dc_pixel_sels[] =3D {"osc_24m", "video_pll1_out"= , "audio_pll2_out", "audio_pll1_out", "sys_pll1_800m", "sys_pll2_1000m", "sys_pll3_out", "clk_ext4", }= ; =20 -static const char *imx8mm_lcdif_pixel_sels[] =3D {"osc_24m", "video_pll1_o= ut", "audio_pll2_out", "audio_pll1_out", +static const char *imx8mm_disp_pixel_sels[] =3D {"osc_24m", "video_pll1_ou= t", "audio_pll2_out", "audio_pll1_out", "sys_pll1_800m", "sys_pll2_1000m", "sys_pll3_out", "clk_ext4", }; =20 static const char *imx8mm_sai1_sels[] =3D {"osc_24m", "audio_pll1_out", "a= udio_pll2_out", "video_pll1_out", @@ -535,7 +535,7 @@ static int __init imx8mm_clocks_init(struct device_node= *ccm_node) clks[IMX8MM_CLK_PCIE1_PHY] =3D imx8m_clk_composite("pcie1_phy", imx8mm_pc= ie1_phy_sels, base + 0xa380); clks[IMX8MM_CLK_PCIE1_AUX] =3D imx8m_clk_composite("pcie1_aux", imx8mm_pc= ie1_aux_sels, base + 0xa400); clks[IMX8MM_CLK_DC_PIXEL] =3D imx8m_clk_composite("dc_pixel", imx8mm_dc_p= ixel_sels, base + 0xa480); - clks[IMX8MM_CLK_LCDIF_PIXEL] =3D imx8m_clk_composite("lcdif_pixel", imx8m= m_lcdif_pixel_sels, base + 0xa500); + clks[IMX8MM_CLK_DISP_PIXEL] =3D imx8m_clk_composite("disp_pixel", imx8mm_= disp_pixel_sels, base + 0xa500); clks[IMX8MM_CLK_SAI1] =3D imx8m_clk_composite("sai1", imx8mm_sai1_sels, b= ase + 0xa580); clks[IMX8MM_CLK_SAI2] =3D imx8m_clk_composite("sai2", imx8mm_sai2_sels, b= ase + 0xa600); clks[IMX8MM_CLK_SAI3] =3D imx8m_clk_composite("sai3", imx8mm_sai3_sels, b= ase + 0xa680); diff --git a/include/dt-bindings/clock/imx8mm-clock.h b/include/dt-bindings= /clock/imx8mm-clock.h index 07e6c686f3ef..91ef77efebd9 100644 --- a/include/dt-bindings/clock/imx8mm-clock.h +++ b/include/dt-bindings/clock/imx8mm-clock.h @@ -119,7 +119,7 @@ #define IMX8MM_CLK_PCIE1_PHY 104 #define IMX8MM_CLK_PCIE1_AUX 105 #define IMX8MM_CLK_DC_PIXEL 106 -#define IMX8MM_CLK_LCDIF_PIXEL 107 +#define IMX8MM_CLK_DISP_PIXEL 107 #define IMX8MM_CLK_SAI1 108 #define IMX8MM_CLK_SAI2 109 #define IMX8MM_CLK_SAI3 110 --=20 2.17.1