Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp4838982imm; Mon, 17 Sep 2018 23:25:55 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbvErfJ6AnPmpgjaikonhBIkX9hW5Ww8Ft3GQzlxg+zlGl0DJs+Ybka8bw5Wu/PTPBF0wo3 X-Received: by 2002:a62:198e:: with SMTP id 136-v6mr29290781pfz.103.1537251955135; Mon, 17 Sep 2018 23:25:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537251955; cv=none; d=google.com; s=arc-20160816; b=N8CHCeOtd9jyCcNoB6kEVZRNlE7+2pYSHrMfqUsPrXdOp/826MlAuVfBkmjsls3Jtd v+BZGvXfg1v52DUBjwHhroR3S3747zTR9hbXahlUto1IOh4Jh6YtVfXAO9WUWbxxu9x8 DthoYiVb6KTpjqfvsENf2JWhPus87ABf1jBNdCXJqGsbL0v3aVaydar1aJmx3BPKqOBP SIKhzCpw6Vyc6PqTsuR9yILFxHeqVNI12rAJg2ZhJS+BW7vOpdN/PF6cwEAc/U/lAnRV pjjvtvU+86vrGK8MDGyxPzt63awv5eJr+oLeq+3DcIYGNv7BorKh1AVgO9EZuD6E41qI C6ug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=0KzZb6S2yciXf3W0EO6IdVNP5Zz8IzXObnLQF4G2G8Q=; b=gxFivJ7UY2Ak8rSlqgEGFbQGLDdC9qwMe5ZMEY07RiTZrISi3QtZWBnMM98wS3HJJ3 8dgy6rShnb5UkwGtlyek+bNHwN7fHaGc61wngeVO7FEu5cVQ+jVAw65df7XmXYmpwVKs FFb3lGk3CZKz/WUo0K5ZbtCMdHETMlBUs6/ROtXTueEUS8wo8aVdgnITUrdLAZ0pA1nT avQhvETDeiRszwhEXNin6sPcWg0/s96rQfc6rWWKRXGqxFMY+FhRipYgPRuyFeHw3kxW UEhmWHzt6XroWVTQ85+gn2zlJ0HKQgetyE33MHl6mBCgxiW+Ijnh2e6WbSoPJp5FnnxV s1Kw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=wfX0M1Bi; 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 b23-v6si16776339pls.349.2018.09.17.23.25.40; Mon, 17 Sep 2018 23:25:55 -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=selector1 header.b=wfX0M1Bi; 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 S1728985AbeIRL4M (ORCPT + 99 others); Tue, 18 Sep 2018 07:56:12 -0400 Received: from mail-eopbgr60062.outbound.protection.outlook.com ([40.107.6.62]:3250 "EHLO EUR04-DB3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728912AbeIRL4M (ORCPT ); Tue, 18 Sep 2018 07:56:12 -0400 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=0KzZb6S2yciXf3W0EO6IdVNP5Zz8IzXObnLQF4G2G8Q=; b=wfX0M1BiOItBdLOhzkeTVeIdokSYOC5L9kpg5JLxMoDQzasKnZxnqxa6MBwSMpRITvUG90YKkPIQGxY/R0T35Y0Rz7mUf30bAElHvtHuUU0HtifVvGjc7k0tky9uUXQ4PFUpYm2SOtwsgFL/Ph48D526cVT+RZuGizYNvwPl6rY= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=anson.huang@nxp.com; Received: from anson-OptiPlex-790.ap.freescale.net (119.31.174.66) by DB3PR0402MB3915.eurprd04.prod.outlook.com (2603:10a6:8:f::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1143.18; Tue, 18 Sep 2018 06:24:16 +0000 From: Anson Huang To: robh+dt@kernel.org, mark.rutland@arm.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, fabio.estevam@nxp.com, linux@armlinux.org.uk, mturquette@baylibre.com, sboyd@kernel.org, ping.bai@nxp.com, Aisheng.dong@nxp.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org Cc: Linux-imx@nxp.com Subject: [PATCH 3/4] clk: imx6ul: add i.mx6ulz support Date: Tue, 18 Sep 2018 14:19:07 +0800 Message-Id: <1537251548-27845-4-git-send-email-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1537251548-27845-1-git-send-email-Anson.Huang@nxp.com> References: <1537251548-27845-1-git-send-email-Anson.Huang@nxp.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: HK0PR01CA0039.apcprd01.prod.exchangelabs.com (2603:1096:203:3e::27) To DB3PR0402MB3915.eurprd04.prod.outlook.com (2603:10a6:8:f::30) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a252b704-1f54-4db8-aaee-08d61d2f5f83 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989299)(4534165)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020);SRVR:DB3PR0402MB3915; X-Microsoft-Exchange-Diagnostics: 1;DB3PR0402MB3915;3:ZT/KuyB1KCwN9FA1uKdy4ZspxJD5WSEw3BcskSG0LpWvAe0hSY5EwersW+Vn539qmsUlLqDeRxjefVbpkunfsq8b4NTi/WJKxGQohoapsaPBSesk0zYaf+omxH+pBJvNfGqmlFbk9OKcG+yvdjudrBQJW/6xZTRNxRxueK1PLfKDS9FnXkGwLaHC+Kp2ZwZsXj+58yFDNLiETb993HHYbyVdtL5n4YDczTdw5F25cqAmuPxf/Kj2T18Us+bfluBS;25:/ehxHcTs/DRq39ZXSY8X14gFZ1nXr/NyRuWjDcFJpuefBeFIX5CFYD9P+cwWnBQ8jIkUqy/9u8Vtt5KObikIvIlMiaZEfSFoHOro4pMjpIBx4Rx42ikDHZk3AFurBYawsSuQCcSE0qBEtlNmpDGz87Q29pcEYcfUu2R1lSOpmQksAmAS2eivJGy898c09aKCbMfL2F8f0b6ekLiOQLB0ZarEDyJLgL1xhNkVO01XJ9iWLf6HruclcF0/T6yGUaXnrgHodm9zHI8CG/vmPRR4TWfv+G2Fc69a+cXSX0TPofDTk2uJcUORU1HRYuhbZBVuc9MH0F+xCYk4ciiQ170TCQ==;31:aKChBiU8o95TNwMGkuWauTx44w/LuWO+F8B+072RWDEr4VOdRTNZN/RfCcpXC2tMqzuxGhEN3brJ8gIcNp6zw3sifPkipHzvQLZPXfuXldWKzUeH8kJi1D14vDbC4OuMWN8xeI6k2O6qkkJ6A5tJrooD3JXn06iAJjJuqHw+2nWX9J3g/b83jLv/nrq4pYVauVWNVNVRAFQGtrsBU/QIRgVhWE9bBFoWQpbDUsiB6QQ= X-MS-TrafficTypeDiagnostic: DB3PR0402MB3915: X-Microsoft-Exchange-Diagnostics: 1;DB3PR0402MB3915;20:JX3abhnHgNi7GW8HgvEfx3+VkmE3vgup2qXAVSOBnECGgI0jp1Q7KLh25FcxOA7EwT9xRtxPK10H3gEhdAvomxk074jSB9k5h/lPfPyIYgZMIsnqt6PZ0H7TDpVA6RKjOEDN3yBQjwzJ4r8gzNXiaDrZ5DtV/L05kBxPMDZ8aK42+/udB6CyxbBKLszjNlk1RqQzwjUqOQD4eM4/FKODitGaG0k59weM7b6GtUjc8KMVkGe+MAAzCaxsOVftZmJ/BxZ4tWlhVAs41hoUWy1gK4Af7Zd5sDbjm8J0wSuCh8LJQE+hpbgVeducOpdWVxcCu8UYxSXPa2DdjB6IV/UJyRd9aokE5UjkJJ9HBR3mjMK2xyF9s8DozOi2kUeSV8h9ms5qbdctPqUHv7RP1nJdNu265x4XhVQj/9Kd1Q5v2Gc55tc0uaMCMJ8w6xlP6L4NMRz88FUy3WlMImgQhpbiihpkL6wWOIpihorWfFMqYZjBTUGklBhFxVqyD+0CLwoW;4:rRIIosTwBcy0ST96ODXNPyeIZ5Vu3TyMbqtrsc2/D8Qt7Vh6uQ8FOI4xdiNuoSezsdxv0+L9+S5OV9FiyMODVIZKT8Gc4NYdjm1Vx1EORc34VlKh/DFlnA/YgGkhxvZfBskzP587u08iVD96VCGKi/aWAeHX0sSkbjTlF76xjyBvD7HGz94NNv0mFPmMbvRYR22ZiRKAEbUA+APo/R8GzxJcekC+qrCRpkCTaQOsyc5xOWcwJgCcYc/8VOTbgICS3//X/J2JJh3M6c16b82sN48wlY/xbT8cEw/DqAUBFysWyyLTtNx4c20I7APfW5bN X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(3231355)(944501410)(52105095)(93006095)(93001095)(10201501046)(6055026)(149027)(150027)(6041310)(20161123564045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123562045)(201708071742011)(7699050);SRVR:DB3PR0402MB3915;BCL:0;PCL:0;RULEID:;SRVR:DB3PR0402MB3915; X-Forefront-PRVS: 0799B1B2D7 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(346002)(366004)(39860400002)(376002)(396003)(136003)(199004)(189003)(186003)(50466002)(50226002)(8936002)(47776003)(105586002)(106356001)(478600001)(68736007)(52116002)(2906002)(76176011)(66066001)(5660300001)(97736004)(6666003)(25786009)(305945005)(4326008)(7736002)(51416003)(26005)(316002)(16526019)(14444005)(6486002)(3846002)(6116002)(476003)(2616005)(956004)(8676002)(7416002)(6512007)(53936002)(6506007)(386003)(486006)(86362001)(48376002)(16586007)(36756003)(81156014)(11346002)(81166006)(446003)(921003)(32563001)(1121003);DIR:OUT;SFP:1101;SCL:1;SRVR:DB3PR0402MB3915;H:anson-OptiPlex-790.ap.freescale.net;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-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;DB3PR0402MB3915;23:Vyi+SUpgJdjRqx+9u7rK7D7Ti+5zqVcz+l67RgL?= =?us-ascii?Q?m+SH1vBOh6hjRfYIcHy++Izftns+aFrcPqMG3oLsdT7kW+YYzfvke0OAmMUR?= =?us-ascii?Q?AgERpTps5iQ91sJYXYGWamF3o1zxcHuKjnJtGyEqQA4yqep8geu0D4i7lB+e?= =?us-ascii?Q?FB9OTzHUEUCMU0vX5jhT7ixT/dDzw5lkjouOlBMpNHUAmrCJFvxxjNYHHsXC?= =?us-ascii?Q?8ARGUy6BuffjfAhQgv5Dsx+cLmOj86FHDkG6sqS2HbM/UH8o0DR9cAdofIdE?= =?us-ascii?Q?7i+qDzVsck259OIFEQ8QXB0jb50qUZY2cNodTOImnGN+XMHARur8LGDgRCto?= =?us-ascii?Q?Wmk/J2p0yN+cuLbiju2vViW6mhfHHTCaDquBd4jCnRgnahvfmWUMivTpj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f4Cj0bbfSYgy+r/twWf2WubgQxfGXTEU5B2Rhr3R4yDRONERkG1PTZk1GRJ9oiyEfu383oxOuVg+HjgvzGVZrf88k4YR2ZMFQR1Wj3sYdGLDL1y61jZWPSILiMh7CXeNPLCB4VXoh5dKI/M/L66AKdRhKvpW4Zjgl7XMapVtA5aayAeg+sWeQ3A3EOMmOajgXzUXol2kh1ZhwNoI8ZslfKcNzYoZwSZZut8sYdyGuJJqR46 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Sep 2018 06:24:16.6206 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a252b704-1f54-4db8-aaee-08d61d2f5f83 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0402MB3915 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org i.MX6ULZ has same CCM IP as i.MX6ULL, and it reuses i.MX6UL clock driver, this patch adds support for it. Signed-off-by: Anson Huang --- drivers/clk/imx/clk-imx6ul.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/clk/imx/clk-imx6ul.c b/drivers/clk/imx/clk-imx6ul.c index 361b43f..42b857e 100644 --- a/drivers/clk/imx/clk-imx6ul.c +++ b/drivers/clk/imx/clk-imx6ul.c @@ -116,7 +116,8 @@ static inline int clk_on_imx6ul(void) static inline int clk_on_imx6ull(void) { - return of_machine_is_compatible("fsl,imx6ull"); + return of_machine_is_compatible("fsl,imx6ull") || + of_machine_is_compatible("fsl,imx6ulz"); } static void __init imx6ul_clocks_init(struct device_node *ccm_node) -- 2.7.4