Message ID | 1461566510-49107-1-git-send-email-yuantian.tang@nxp.com (mailing list archive) |
---|---|
State | Superseded, archived |
Delegated to: | Stephen Boyd |
Headers | show
Return-Path: <linux-clk-owner@kernel.org> X-Original-To: patchwork-linux-clk@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 6962EBF29F for <patchwork-linux-clk@patchwork.kernel.org>; Mon, 25 Apr 2016 07:05:18 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8036A201BB for <patchwork-linux-clk@patchwork.kernel.org>; Mon, 25 Apr 2016 07:05:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 94F63201E4 for <patchwork-linux-clk@patchwork.kernel.org>; Mon, 25 Apr 2016 07:05:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752182AbcDYHFQ (ORCPT <rfc822;patchwork-linux-clk@patchwork.kernel.org>); Mon, 25 Apr 2016 03:05:16 -0400 Received: from mail-bn1on0078.outbound.protection.outlook.com ([157.56.110.78]:55424 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751756AbcDYHFO (ORCPT <rfc822;linux-clk@vger.kernel.org>); Mon, 25 Apr 2016 03:05:14 -0400 X-Greylist: delayed 832 seconds by postgrey-1.27 at vger.kernel.org; Mon, 25 Apr 2016 03:05:13 EDT Received: from BN3PR0301CA0043.namprd03.prod.outlook.com (10.160.152.139) by CY1PR0301MB1227.namprd03.prod.outlook.com (10.161.212.149) with Microsoft SMTP Server (TLS) id 15.1.466.19; Mon, 25 Apr 2016 06:51:18 +0000 Received: from BN1BFFO11FD056.protection.gbl (2a01:111:f400:7c10::1:128) by BN3PR0301CA0043.outlook.office365.com (2a01:111:e400:401e::11) with Microsoft SMTP Server (TLS) id 15.1.477.8 via Frontend Transport; Mon, 25 Apr 2016 06:51:18 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=none action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BN1BFFO11FD056.mail.protection.outlook.com (10.58.145.11) with Microsoft SMTP Server (TLS) id 15.1.472.8 via Frontend Transport; Mon, 25 Apr 2016 06:51:13 +0000 Received: from titan.ap.freescale.net ([10.192.208.233]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id u3P6p9wO028684; Sun, 24 Apr 2016 23:51:10 -0700 From: <yuantian.tang@nxp.com> To: <mturquette@baylibre.com> CC: <sboyd@codeaurora.org>, <linux-clk@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <scottwood@nxp.com>, Tang Yuantian <Yuantian.Tang@nxp.com>, Tang Yuantian <yuantian.tang@nxp.com> Subject: [PATCH] clk: qoriq: added the third frequency support on ls1021a Date: Mon, 25 Apr 2016 14:41:50 +0800 Message-ID: <1461566510-49107-1-git-send-email-yuantian.tang@nxp.com> X-Mailer: git-send-email 2.1.0.27.g96db324 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131060406784428134; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.158.2; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(19580405001)(586003)(19580395003)(33646002)(47776003)(81166005)(6806005)(36756003)(110136002)(85426001)(2876002)(77096005)(5008740100001)(50226001)(189998001)(1096002)(104016004)(92566002)(2906002)(86152002)(86362001)(1220700001)(11100500001)(87936001)(50466002)(5003940100001)(105606002)(50986999)(48376002)(229853001)(106466001)(2351001)(4326007)(7059030); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0301MB1227; H:az84smr01.freescale.net; FPR:; SPF:Fail; MLV:sfv; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD056; 1:2Fo0m2DPgMKoj2aWhX3VqZKH7jAUf0/98kvE4UB5DoE7flWE9V3NDNOnjR4oOeo3Yz+dDsOAtT86XvTg1pLD07FuAc1KMxWf4HwJ5qSAE94kWNnjgxZopwSqmgYOJ8+IO8LO1GKmyBg1VeMkC5c2whcAL9YeeyJI3lZ+DfaiIbqmELvT5kVcS3Mex8Zb3nvHwxqC5x7uke1By7Y8JdlQfpRbnukB4PerbOwsna1A0YxCfeRNkRqHzZPOvIaLSxTZ6xAPPgG++PcHKO3JpDVJYp57NVVvaSNEPvnSGrmLDn2YFJOtFW6sNFsxdQoWe0o42waM8XnvHwLMGgG7fqYTQRnZsSqJc9vY7DcG/kPOq2GhuJF95S4KCdr8XnKXUe7XdpC7W+pSwnLRlx36edsAwLJsveZgHERyVG3hJPrRwAIHwJcr0X3diJ/MXTCoJdarkWiiaSMkh+NseI3gAImZp4Pz1ugZODOtqeo45OC3ssCnjts5wfmVTEvZ6bThICiRScI2lsp0lK0MRfjdaJk4gS8PrTJ2yFFW4lYl6oGMhuUIRJ5CDh3rI2+l6lvKxpXHFspS0dHfsVI8ZbKLj0/SPRmZhlbJuAcpsCtC3BKGlbizsz4aLZoRumo/FH2T6am+UhwXAVt4uSXUXQ9ujOQU4md5AkW3ydA89Ci0d6WZgOZCarvoz40UK63QPcv3KHDS MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: ddc045c2-d35d-4028-0866-08d36cd600f8 X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB1227; 2:Ft3aaEsafwY2awfz6Y7NOGEa7QBwtmENYANyFBO9FK0jjxLTy8tnajKfXDiDuE4Ix/uAnmItpMY9rQRa3fMVyYx4A+meTajMDkUPpUiYsXBUJHxemP5TBBmua2m704NV3WaTE/FbY/7a2eB1AR53Ik30+MHtt4opshoN+v1/IHev3RSW/5J+mSOvA9uE7ZH2; 3:AHrH20/GiDIjyhgB+bJd/7qxx5NwwonbKQ+lZVzA+53o4egLsSVpBy/yDuNzMZMBLMjeslkljJwX54Y35MPG9+zVXrzGwjcWhWhMQ/7hdcZbeXMFac5Ojrt48ufoBi731KStHtFDAxjmMCrokksIq7ZCkhzsLI4yT6G9CtwPZKU78yD329kylmPapVPN1bouuq4jow8w+HDqBOhMwPob3iVRHJ/tNNyFbE2yXWMhCjc=; 25:QHkidBVkd8XrrZBB+dBWsDEfTzm44elLfbgUhi+/1VLXrVKv1qGX9Wo71RmGGsVwf5LEtMhUtSvAbOEgZKPtNFiGeucTxnJJfaDTbzt4IU3defIZZNi8gxo6LJ/nVXtnZVUXsAjfWgGqEvjsn7AnYTABYGx2CDYBNPOxO6purlxgqhtEiyZkeGxSw/DZaBaZJU1hX3d2C7Qfz0P9xNcqwH9HWdmp9XoJRtPpdW3fNFkGpetzrTka9p35w3luKKSRlSYPB6194KBFhPdtMnQg+AVHBLdcK62dhXX7LgdsGsEUmxjnPiH5Q6cPEIDpIc1R2xCwbHfqv10wboHRAV2g+g== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY1PR0301MB1227; X-Microsoft-Antispam-PRVS: <CY1PR0301MB12276C68EFDDCCB96EA3D85DF0620@CY1PR0301MB1227.namprd03.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(13017025)(13024025)(13018025)(13023025)(13015025)(5005006)(8121501046)(3002001)(10201501046)(6055026); SRVR:CY1PR0301MB1227; BCL:0; PCL:0; RULEID:(400006); SRVR:CY1PR0301MB1227; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB1227; 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TlzRNX5Ee/TWb4/lO8arSqHAK4UDyLWuCVfZOcoH3J13raD7vfLS52VFmXYsBp9ptwebrEltZV/+58zrOivujR5qo6268VSRXUe+7JP6Rdk=; 7:9NeDNUgDv6SMRmXCPoGBjmgp6ygH7kAlLUEl4bIlKSejwG6I5v9pUsZKg4WgKKP6L7ZJt7Ety28mr/R2a0h1pzLF3GQjcidlh+yJ1FZveKyefbMdnqkO4WOerTPEOv7vrwaJBEA6mfziQd+/kGduhp+ELKYVOHrDsXqeQiBy4uN9Ggpeq1kP2dXNEaPmxe6Lrim1/j3Ezcg/oe+i2GhZASuncQwywa5YGrMeVuNg/7w=; 23:Ck4DZBkJvCjOcQzZgQLryM3akvSBeEPqUCamaoyhxE9n1AgxDqvMxy5gX6vBHSxn7F0FV1EohJwwn7eQV7nU0xPW3QALiiFofW+G1ZUXv69z/fuA6xIEAbtTOCReIRMlzAwAhoU6dJxqql3QJtZFQyHN3uVp1DrCmBdNsL3veno= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Apr 2016 06:51:13.2502 (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.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0301MB1227 Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: <linux-clk.vger.kernel.org> X-Mailing-List: linux-clk@vger.kernel.org X-Spam-Status: No, score=-7.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/clk/clk-qoriq.c b/drivers/clk/clk-qoriq.c index 7bc1c45..2a9d952 100644 --- a/drivers/clk/clk-qoriq.c +++ b/drivers/clk/clk-qoriq.c @@ -194,6 +194,14 @@ static const struct clockgen_muxinfo t1023_cmux = { } }; +static const struct clockgen_muxinfo ls1021a_cmux = { + { + [0] = { CLKSEL_VALID, CGA_PLL1, PLL_DIV1 }, + [1] = { CLKSEL_VALID, CGA_PLL1, PLL_DIV2 }, + [2] = { CLKSEL_VALID, CGA_PLL1, PLL_DIV4 }, + } +}; + static const struct clockgen_muxinfo t1040_cmux = { { [0] = { CLKSEL_VALID, CGA_PLL1, PLL_DIV1 }, @@ -466,7 +474,7 @@ static const struct clockgen_chipinfo chipinfo[] = { { .compat = "fsl,ls1021a-clockgen", .cmux_groups = { - &t1023_cmux + &ls1021a_cmux }, .cmux_to_group = { 0, -1