Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753388AbdDFCgQ (ORCPT ); Wed, 5 Apr 2017 22:36:16 -0400 Received: from mail-cys01nam02on0086.outbound.protection.outlook.com ([104.47.37.86]:60224 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752635AbdDFCgH (ORCPT ); Wed, 5 Apr 2017 22:36:07 -0400 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com; From: Yuantian Tang To: , CC: , , , Yuantian Tang Subject: [PATCH 1/2] clk: qoriq: add clock configuration for ls1088a soc Date: Thu, 6 Apr 2017 10:21:22 +0800 Message-ID: <1491445283-13053-1-git-send-email-andy.tang@nxp.com> X-Mailer: git-send-email 2.1.0.27.g96db324 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131359197640372987;(91ab9b29-cfa4-454e-5278-08d120cd25b8);() X-Forefront-Antispam-Report: CIP:192.88.168.50;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(336005)(39380400002)(39850400002)(39450400003)(39860400002)(39840400002)(39400400002)(39410400002)(2980300002)(1110001)(1109001)(339900001)(199003)(189002)(9170700003)(5660300001)(77096006)(54906002)(47776003)(106466001)(8656002)(305945005)(4326008)(85426001)(38730400002)(8676002)(48376002)(33646002)(53936002)(356003)(81166006)(105606002)(104016004)(50466002)(50986999)(5003940100001)(36756003)(86362001)(8936002)(2906002)(6666003)(50226002)(189998001);DIR:OUT;SFP:1101;SCL:1;SRVR:BN1PR03MB282;H:tx30smr01.am.freescale.net;FPR:;SPF:Fail;MLV:ovrnspm;A:1;MX:1;PTR:InfoDomainNonexistent;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BY2FFO11OLC002;1:gyM6e1D0/pvz9YsH6jykrwkUzib4rWdizSDEqobLt5BdgX/NzC+DKYj9W1PcqSk1zNMSEjyV2FJ/IVMkNGkiFwR/FVc25mqU5ovM7GCobUPiNPyTUxWQ9Ehj38VPuzowP+KqqACkp4GOP3cHo6qip7yDmEBB3UA2dwiV+dRX5t60Lu6Hon8pQRh3Vv1dWL4HZLK06gVLN3ajveBdyqVjB5Q60IAdLDOSQogXpu/4jkRS6jRGT8+hjxHhflWWvmGVAJN3iAnMqqnuks+nR3ltspY9OwiafUtlQrUYiJMCR3bxFqpVGfCKt8WeFpjOElXda6vFReYyD0fZ7X65rgNH0/ylRANDfrWI2UXyA+vNP9zded/2kpUYL5R4QuQFyqfIq3rxyOekbHzxF7NPYuEfwstXjvaSwmpbsN0ebZbhZqjoZ8asHadFo2PTwCSKo2Ni/PeM/xswWe6dbwfNtIjOtmLjnj92X8YUZn1bjpJvlmScdD3JeOuIOBJjUpkMBF5cjZmRL1YCOvox5JqsroIdQ+wKGYIIPdhMq+nvBJRlMfVANAxu5mIoXpxg3mZxqJawULzzdPCd/F6NnMh9mhhlhK4qhVBwimqIfXQiW78Q1jcrF2lxHPimyVo7YkAIjl1P7Fdhm1QPiO1DT6rL0IEVJP047XJMIxX7J+w4pguDBuKE8E+6l5420rxtRO2UV+QuS81M/Ct9WmZJJftsH9J6KgT4FVB/AJDxoMlkcmcCx9A= MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 8f807e47-22ff-4a6d-b2fb-08d47c95abcc X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(201703131430075)(201703131517081);SRVR:BN1PR03MB282; X-Microsoft-Exchange-Diagnostics: 1;BN1PR03MB282;3:tJ6KSb0ARwtkwuF2iufZJCMjiGKXtiIXtOBsfTv2Rsp1kro2nv6l7n61dPfJXT6bbIlYRZpw2A5pFJoivms53cY6MRvKm/T7D8pycw4SB0e5eC/mfgp0VlRFGcMVtakFbb6zyY47pkqu+/2PsgnRvxwgXHfkj4fcalyPL+oqMBju2vd3XgC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: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6095135)(601004)(2401047)(13023025)(13024025)(13018025)(5005006)(13015025)(8121501046)(13017025)(93006095)(93001095)(10201501046)(3002001)(6055026)(6096035)(20161123561025)(201703131430075)(201703131433075)(201703131441075)(201703131448075)(201703161259075)(20161123565025)(20161123556025)(20161123563025);SRVR:BN1PR03MB282;BCL:0;PCL:0;RULEID:(400006);SRVR:BN1PR03MB282; X-Microsoft-Exchange-Diagnostics: 1;BN1PR03MB282;4:fPIo/soNhYUoRY+jVqHUZHBOgtzKDjOHPo3eHbc5zSbIU6aHelJtDg2P6p7qxpCAvsrB6VxzN8FDbx2Hy3fy/mnBLHnrsl8HgtONB90kpNIzbYdamPwpMTaXBLZOv6fbbPbos8bql3zrkCZ6tR8EzEtAU3S8XpHq03Xu4b+qRkMEOZSmvuuL/ZBXAGUgZw+HCfK+k1t0VfJduf/9X/VXEkfNmBWxar3mQjiITtnb09Dtjs7coR7LaOQYdb54uvfCvcOqWE8nV0zFBkxpeiKlYaD6xsycEiyhjtBjAlio2SIoo99NoT2Mhg3b4BfBfDOTnRnxPMZYkYKxQqTAy4iVcmfVQSB8/qaGQCAfG+5aR2lKJXBgbI7uxgGnhWKRG05m9HIPzEodjE6x2YmKexXmeBytRts33f3Q4PQBGYoRUtNJ3jLFxZWsPQ7hO4XbWYOn8eALZjpppc/DBd1t/X1KhciDFi2BZopAHdBDsWARJRrJr05kz1vuPM5r5mdrZ9OLpUsmQxTiTzNGl7CAM4YlXhxxGaxZm4yGV6N0H3fiViYvFy+qPrRWpRvGDJM2ucO/xC4BaDo5j+CcPuveKm5LGXC5csQPYg3M66kYM0CO563185gVGcJLICmtyqwHkRpsIKgBADLLB6R+OBR+UbB4E6B4uOOxNPJloyFLGJcaM9VI83Krcq3JqEks1ZgXxXbecb2gcN6EycuJVQ/fL8Rsr6k8c4HT2q7ht3dFQ05qQHN1ryLqpbeyaafgVuHRXdY/hGl69wb2XYyq2Pc6sGWYQHK/UWrIkzctD3PbW4DD+4GQYA3UzyMZ0dOKvzx1jVQOpvalgTjele+9pE7uM16uucN1KgubTEaWOmy/cCheSi/HTsodhuNuk0O5TJzGI9hjDRApcK01BxgfWC2tzUmr20KLuCXkrdnWh9cnSJHcbMw= X-Forefront-PRVS: 02698DF457 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BN1PR03MB282;23:lyaC76rQT5OaBZD68yNmmGsSa7kVpSA2azHHhGWyku?= =?us-ascii?Q?WOTrtd8Bv5UthqfCDZzgr4/DxcRHRyyzfBR6wnD7hhvspYXXosEf6fVBDE6K?= =?us-ascii?Q?ZKQx12IPt7iBC8GrXkdjgu7fPyRivKA/G8zH87kV2LKAFxRFdQMrGE/j7O6q?= =?us-ascii?Q?RAATJtP3e3VV32zKqDLB5izwq3E1bI3Qnur90QjWuDY/realMGavOlSqhmcS?= =?us-ascii?Q?T3tVBUGo0sUdz4dLxskbB6Jze427GpZqEivhg7/UWhZ7pKFKl8xFs5Y+t2g+?= =?us-ascii?Q?61cNRf6GFVCrtspAHH4cOxkyqg2MKEY+/theqn6omjcXIZLXLQNOlJ1zGJ89?= =?us-ascii?Q?hLWb1Qnecj1tognR83b+O0yRhLt9is4ErnhzjRmOZHxDTbb/RywA2kwv/Xrk?= =?us-ascii?Q?4FzfoUJsunf4Yo+zljCdGoLYpKONE1UT5y0HS48Odu0aMEAMYM57BUuZK3NY?= =?us-ascii?Q?V//BQBe4xhN/CnnXseDa82LOnuif493fRhw9M10sdAkbdoMu22P5hKK1KQWS?= =?us-ascii?Q?PzG4kq8klomm1MSLAsenSaT8O08VfbdG9tJ9bIFIMA3orOelmADMK6AhJQ57?= =?us-ascii?Q?/S2WiexuzJ7Nk0LVjl61AgM+F1wwBA7nAPRaMhbSZCo1ll8vrLQjCJ3Yh4o8?= =?us-ascii?Q?250JsJ7dUg0VtdNYP4p1r6Ty9VCE1kIii85CNkVpn/awGRYcQUkS5fdOp1qT?= =?us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MMAGTF1WDjVrwhUox1q1ue0ifvPFShJWlBOFWkKw/a7UQiK8iiEM0bmcj81lFuvmntVz5QmZEKu8r4uBeSNcdOAEgfwV2gwTIvHGvxq3eaWy0iBT8rw6YY;24:rZfuEVyyDROAnrhQD4AWvW36vCg83boTaQ1OR1qy1nG0s+DXpAUikKQp+04EsD58DhL36upUOQUjQvws4h4ZcEmbJRjyw4RXl1GBNnmCuiU= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;BN1PR03MB282;7:OXua4rFXaHJrk1Vq0ubUfQHkE7yczt5XswYb1aMfImFUrw4CH11RWHNt6R0gjgUqSW06jeDCWaR+8VdgpEinBBxb1iQhAY0K/FXfYFmQeo9zghTaVunlTJn/tq2WPtGJzngVh53vcJuyOEva7li/kNXRF3y0SsW2nCrmQ3eFVA8ILHhzc7AJepivPRr//Wa8KQhhylctGCcNs+8NLiZrPjg7uV5OCdEgWUSFsbVC4z2C0Ppv42uYknRb1/ZObaWAYmFr5xG0GdM89bMhH8okX2LnX+Yk1XbdCiL+P9hfgVXiRFqjlsCerXUH5GGP2Kk/q1cLKxoOAHv9ugC1jsnC+A== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Apr 2017 02:36:03.8344 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e;Ip=[192.88.168.50];Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN1PR03MB282 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1515 Lines: 43 Clock on ls1088a chip takes primary clocking input from the external SYSCLK signal. The SYSCLK input (frequency) is multiplied using multiple phase locked loops (PLL) to create a variety of frequencies which can then be passed to a variety of internal logic, including cores and peripheral IP modules. Signed-off-by: Tang Yuantian --- drivers/clk/clk-qoriq.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/drivers/clk/clk-qoriq.c b/drivers/clk/clk-qoriq.c index f3931e3..62cf32f 100644 --- a/drivers/clk/clk-qoriq.c +++ b/drivers/clk/clk-qoriq.c @@ -537,6 +537,17 @@ static const struct clockgen_chipinfo chipinfo[] = { .flags = CG_PLL_8BIT, }, { + .compat = "fsl,ls1088a-clockgen", + .cmux_groups = { + &clockgen2_cmux_cga12 + }, + .cmux_to_group = { + 0, 0, -1 + }, + .pll_mask = 0x07, + .flags = CG_VER3 | CG_LITTLE_ENDIAN, + }, + { .compat = "fsl,ls1012a-clockgen", .cmux_groups = { &ls1012a_cmux @@ -1398,6 +1409,7 @@ CLK_OF_DECLARE(qoriq_clockgen_ls1012a, "fsl,ls1012a-clockgen", clockgen_init); CLK_OF_DECLARE(qoriq_clockgen_ls1021a, "fsl,ls1021a-clockgen", clockgen_init); CLK_OF_DECLARE(qoriq_clockgen_ls1043a, "fsl,ls1043a-clockgen", clockgen_init); CLK_OF_DECLARE(qoriq_clockgen_ls1046a, "fsl,ls1046a-clockgen", clockgen_init); +CLK_OF_DECLARE(qoriq_clockgen_ls1088a, "fsl,ls1088a-clockgen", clockgen_init); CLK_OF_DECLARE(qoriq_clockgen_ls2080a, "fsl,ls2080a-clockgen", clockgen_init); /* Legacy nodes */ -- 2.1.0.27.g96db324