From patchwork Fri Dec 23 04:54:44 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zoran Markovic X-Patchwork-Id: 9487209 X-Patchwork-Delegate: sboyd@codeaurora.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 244EA601C0 for ; Fri, 23 Dec 2016 05:08:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1846827D29 for ; Fri, 23 Dec 2016 05:08:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0CD6727D76; Fri, 23 Dec 2016 05:08:39 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 862DD27D29 for ; Fri, 23 Dec 2016 05:08:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751260AbcLWFIh (ORCPT ); Fri, 23 Dec 2016 00:08:37 -0500 Received: from mail-by2nam03on0083.outbound.protection.outlook.com ([104.47.42.83]:25132 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751311AbcLWFIg (ORCPT ); Fri, 23 Dec 2016 00:08:36 -0500 X-Greylist: delayed 855 seconds by postgrey-1.27 at vger.kernel.org; Fri, 23 Dec 2016 00:08:36 EST DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=SierraWirelessInc.onmicrosoft.com; s=selector1-sierrawireless-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=82cLJK83Cflm/AiCnSarG9za1rOPMg0aPvqXC3X7p28=; b=kBDnqOKsQwWVyYU92ZVpNS9CYAjCs/voGF17H1ucN03YkrbWZpruPNVZdVKYuuImFUDmAOU1RpBuc7+PZNbPAHx43wFlGCl9A9MX/u6DhVm25i2ZjsteRm8dUsa+tlXNpcjxB+tm82Vc2UZ5QNEr8WrYDZhOSjwIz0etjnmW1QM= Received: from BY2PR02CA0018.namprd02.prod.outlook.com (10.242.32.18) by BY2PR0201MB1927.namprd02.prod.outlook.com (10.163.75.157) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.803.11; Fri, 23 Dec 2016 04:54:17 +0000 Received: from BY2FFO11FD047.protection.gbl (2a01:111:f400:7c0c::131) by BY2PR02CA0018.outlook.office365.com (2a01:111:e400:2c2a::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.747.13 via Frontend Transport; Fri, 23 Dec 2016 04:54:17 +0000 Authentication-Results: spf=pass (sender IP is 208.81.121.44) smtp.mailfrom=sierrawireless.com; vger.kernel.org; dkim=none (message not signed) header.d=none; vger.kernel.org; dmarc=bestguesspass action=none header.from=sierrawireless.com; Received-SPF: Pass (protection.outlook.com: domain of sierrawireless.com designates 208.81.121.44 as permitted sender) receiver=protection.outlook.com; client-ip=208.81.121.44; helo=mail.sierrawireless.com; Received: from mail.sierrawireless.com (208.81.121.44) by BY2FFO11FD047.mail.protection.outlook.com (10.1.15.175) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.789.10 via Frontend Transport; Fri, 23 Dec 2016 04:54:17 +0000 Received: from zm-legato.sierrawireless.local (10.1.20.244) by CARMD-EXCHHUB01.sierrawireless.local (10.0.6.2) with Microsoft SMTP Server (TLS) id 8.3.348.2; Thu, 22 Dec 2016 20:54:15 -0800 From: Zoran Markovic To: CC: Zoran Markovic , Andy Gross , David Brown , "Michael Turquette" , Stephen Boyd , Rob Herring , Mark Rutland , "Neil Armstrong" , , , , Subject: [RFC PATCHv2 2/4] clk: mdm9615: Add EBI2 clock Date: Thu, 22 Dec 2016 20:54:44 -0800 Message-ID: <1482468884-31027-1-git-send-email-zmarkovic@sierrawireless.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:208.81.121.44; IPV:NLI; CTRY:CA; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(39450400003)(39840400002)(39410400002)(39860400002)(39850400002)(2980300002)(438002)(189002)(199003)(104016004)(356003)(4326007)(246002)(77096006)(189998001)(50986999)(48376002)(38730400001)(92566002)(50466002)(47776003)(33646002)(7416002)(8936002)(86362001)(2351001)(6916009)(110136003)(8676002)(50226002)(36756003)(4720700003)(6666003)(5003940100001)(7636002)(2906002)(106466001)(5660300001)(305945005)(626004)(7099028)(5001870100001); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR0201MB1927; H:mail.sierrawireless.com; FPR:; SPF:Pass; PTR:carmdsmtp.sierrawireless.com,spf.sierrawireless.com; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD047; 1:pvAITTkf2vwvzNxdCZGj9SB5eieES2TXkp4H+dhU3qymwtaiQb9K+qWZgMe/uStp+udl1dGqInaDWaMUghZ3awmcNbZgQrYo70K5H6IX4DegTllQ3k2mYCOTigI0Ydt8BrO5f/JtBXDhyavZ0hfqKLapwt7hNJyNyD5qRC2GqB3UYQdnhgZRMowxIszT/x0+3ft4/FNp+pQQ2JrWFc6DXF8z7/ZXvPNxp9/l7ocoIyLiLfIpgIVW2SeEbQXByL0H1X6iG6PE1/Oil05tAmwCfHfCT0JoNxCV8jGDxEGbrNahDLo9J8HuolmE+S6DQ6tX3B7kBS2gDizRyc8eBxojC1TSG6Y2vyv9GLxjLook6Nkem3SIJ0zMXRUg4lG8+o2JIr+9klqN3MozGEWcZFxFV1sbmmDdSuNKFjUoNId4P6/mSoRDB44KA58bE4EKUyFjMBoFByFnAGGiSijFO3Z+1IM066O/LSJRn4QyWhFEdORibIH8/Uj1zmN6XXBmveEeyJxRT0iedz471pDrr8UtVwtqxIy8RBT2pWO/wNdqlkc6xsdNDkHiw8cjwKAxsMJsUpaVrmZtSqgRBPuf18U2Np7c4x1mnXownrqQ3WkR9uY= X-MS-Office365-Filtering-Correlation-Id: 991cb8dc-bcf0-4a0f-c2e5-08d42aefc01d X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002); SRVR:BY2PR0201MB1927; X-Microsoft-Exchange-Diagnostics: 1; BY2PR0201MB1927; 3:A6JTs7YudM0G+a1NE/Dt+RYwn5vjDqdS3H24Rl7UV9Sku9hpFLEs7tyeL14GYORpvd574TlPzPDB2JXG313W2LugCK5jFBCrSvFNkiu91Rnx7QXF+IFgNI00RFqcds3LN0+Ey0wANNuQmBycpucUDpM+cZKtZd4Bn55fmwYh9XGvPzAx88NjH4P4YlkU0wdrCg+3HNWEhirmFGMutWJWtr9yF7xHBR1Z+PCThJDY4oCpJB1JhxoP6yzYdD3rHQ+bkr61ayPhoAuupOOztycSuFxznTV0bO3gKHV5BwVtcrdgoJ8ac9gXZ9C7qu2TAv16OVNa3/kk8drxGkgpQbC7J22rHvVbZHx1svoDADsYPMjdn4LdKoHz2387Xh6UeT/tDeD+kwcYPcB7b3elyRnRVw== X-Microsoft-Exchange-Diagnostics: 1; BY2PR0201MB1927; 25:6A780CONL+gdNS4vRaOYjzZcqjzcIJNDH9GdtrPclq6v2NHReLkbsBBscDJ69WX/pcVqA+I1wUb8bUC2wHklajmQLB2jIWpTey1XLbq8TE9sbp3drOZ+1cRwq/arAZkbMRCBkge46C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GNvmoQpWhVUDvlstR9tad1QnLBobqMRrhDex2mA1OleqLKgYtC+9MhKxk/KaoJpELdM17kMXplPw9yrORCz1CiPLg4oW71wc8LL/FOgmq26zJMbY3D3HEucf/jdEwEXZ0prp28WDvCma8DkYu+SxSeUs2PTwhEGZeOdoRmbvEqlgb2jX1Tuv8G9qJMRWZBGgET17YaNZYZpGEUAmbLb9IbPBZqQJZzyW81xnt676T3vez7eSn5r0Igq1GquA3RGrZ4O996JH/3chhyI2xCO9Eo3Vac5pTsErfFI4s8cLKWq6q1/+76hUXxDmIn2MFLhE9msRgzKgNafFVBhXLHxpNLnmDC6mf2kMvayHxCbxea4HuZEWWJEpBcqbMYiGWymHe9mbdGGgv6Ben4P3IywylXMr7eb7Ic5P+96QD5B8/bNf4FES0mssk X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(180628864354917)(9452136761055); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(13017025)(13015025)(13018025)(13023025)(13024025)(8121501046)(5005006)(3002001)(10201501046)(6055026)(6041248)(20161123555025)(20161123564025)(20161123560025)(20161123562025)(6072148); SRVR:BY2PR0201MB1927; BCL:0; PCL:0; RULEID:; SRVR:BY2PR0201MB1927; X-Microsoft-Exchange-Diagnostics: 1; BY2PR0201MB1927; 4:yf6TNkpYGkZEdxBmvCGaBb8TVjYPPDLlP2JX5Hv/Xgk441yBhZtBfyrFlCHSICiBElxVmiR4/hdYhRukVmCKLX/1nYOqM4LFZmHNJufe/YgbMBfgq1wZm8Sw2h0vz8fkQBDtp5L+96A2dr0Lzqfuw9Xv+65wB8Uh2kH9O5TEnpcEQ104/0tFucGmWkkk757UVODYUG5dVf8GGQgGoE0WXiOYhn4O1P7vUeNwp/Z/Am2u5PtstxAv74MY9zBi1vCXdniP+dWX/Eiveir3xgWAkhHlF23dta7XRV5dO5B7xS2W1VgEBxVwAbtjIdBzwBeQCzlXH1TOPJWrkQmtbkiOC/S4zl7nJ1PzjPhYQT8VVhgqFCsj3/9RTaOBnx8o+XkZ5RwgIG9GlGb/qgHPAxE8jGUJbO+sKXthfQqCSJKUHEIL8cV9vwrLeZ00MpCbpk97PNMHxRW7tSXcENKas2Cz3oi0Dxr1gHd5hr8xlpZt1oQuXWwn4CFGULQTA9mVr72uy3oxjEc9h/fpp82BdPs472yG1QO4yy7izJLLoN5gIEjJTmpnmpcitrSIcWWJ/UGgmT30IMdsZp71oGDIG5oxJplbZEGQt+kvEcbssuowLDPmQR/U8KcJxNWOyaojtqL7D2Un01ugXN+zgwAzxGKECkAdVM4hMBcMHkeqptFb0gvvND4AwXNpMSLt4q69SS7fdwwXMLYeoj7DrUvduOk3WcPu/JRHE9YRz+x5s8SEyTbRpvkVclcrCc5NWa0faMTi X-Forefront-PRVS: 016572D96D X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR0201MB1927; 23:vSy+PaeyLzyCe2IZ5TaT8IWR2JubctPR+zsSPtj?= =?us-ascii?Q?XAaskVgGBZbcIZB6wtW/bWE589+gn43Oj38eSrCCn3UulVxq+RvN7Szq/CP9?= =?us-ascii?Q?f2V8atffTjz5ut0aoFdzVjHNGy7UghxQuAdbUEvvSFAnJSfB779tqjFOzGj/?= =?us-ascii?Q?Oyz/M+pVT63MUkZIW1UwLWZ2K94a9H1/DgkdsX4SYSmUthA/r4S/mvZUzE1G?= =?us-ascii?Q?Yij4ppngOzo98AZtp1ttpb6MLieuModViFVMAXNaplcFyKndYgwAwPo8FD8t?= =?us-ascii?Q?I8PbI0fo4eJ0GJ5OVooDj5+liHW4/KrNDtqTythLmIYJWwALNiRSH0W80YdV?= =?us-ascii?Q?4WNtrXj6uyy7945W75zG+3HVEohKwiwkUR+Gte5TmeEj4wwVfO8GPP+5vcbd?= =?us-ascii?Q?eTP0AgK1LDd53qSo44MwE1IW0yerVgibiBDNFVJr0504OJmbHU66XLaWJGsI?= =?us-ascii?Q?Ik2LtKgkQYdLzefmP+qqP4D6n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6xgvjnClcTwxO2zjbLXd9cNMsIztv1Q3nGaUrkAdPBinDZlvrddy8AX+S974PjA2HVs6/DdtlSXtzFN14eHvXqvPhrXpoS/bgtddTFJX6iiMJH6Cas16vQU1Z7q4zhASWUXrix2EqUhk7RT5PVyjX0NYqlF8b/9NSoqNu07RPW0jCJndeGg/s2K6myMJKijv+AstGAQe246FUMw==; 5:9Q8psfNMyOnelBN8yZsKUk2BIv7+Ki+1KX40gb8cm/KbTObAnuwblojkevnGydd4B9ObV/itOU8wTkyCSoFjzEE5KRqznJcP3oej/ykevl/K0gifDSPCQ65JgTiC2OBqx7jB0j3I0jp4A3uGsKagLg==; 24:e5V9Cl2cxRaqyEinqhg9QnOE5o9r9UffKfb2gYDjrSloB4W6Aj4j8dvpGXlMyvIAWG2nd2skDYd9bsb0Q4EZPEH1D/1ZCeDCdxAYUjavOmw= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY2PR0201MB1927; 7:CAZv4z+w5mUBIardKYrndnnjGJwTtWzgWY0tCkxHfD4wIUPzez8am89JJ3ZQj9lcZ4ETEZ+F3eo2aOlHT/vMjtGf8HNknrSGIRHJ0c8qBtZQ6tEBnnj0dRviH8QKg2WFkwaXVKLw21jTPak1+j4/cy97X6JEkOLgSl7kD6DbX4NAMBoeI/tg5gahh+oXcg5lw26OaepcniHlTXULWfdDj/QMQIcyAcOvl/CWiugkPrhn6kpZ7LLZ8gFwJWMbD0yEfAAtDz84nQhuseJmyRhCD/Y50G4b7DVM7LJU8o1Kz4WjLAtE0IiU4Z+B75VHk5jpinDMy9VK5XYiC0UO7IUs+wblhiCSkLG+1UefNO826sGEuh8rBj9mWS/fyrZvYSeFPhh8+qk95r7KSFPgrCnIk6ih+00eDVi5Ikvm/Ufo4yUFLwqhTdTYw7kwppVfSYMg/vj+VBc0mwTEqWz2DeCzkQ== X-OriginatorOrg: sierrawireless.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Dec 2016 04:54:17.2312 (UTC) X-MS-Exchange-CrossTenant-Id: 08059a4c-2486-43dd-89e3-3a747e0dcbe8 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=08059a4c-2486-43dd-89e3-3a747e0dcbe8; Ip=[208.81.121.44]; Helo=[mail.sierrawireless.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR0201MB1927 Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add definition of EBI2 clock used by MDM9615 NAND controller. Cc: Andy Gross Cc: David Brown Cc: Michael Turquette Cc: Stephen Boyd Cc: Rob Herring Cc: Mark Rutland Cc: Neil Armstrong Cc: linux-arm-msm@vger.kernel.org Cc: linux-soc@vger.kernel.org Cc: linux-clk@vger.kernel.org Cc: devicetree@vger.kernel.org Signed-off-by: Zoran Markovic Acked-by: Neil Armstrong --- drivers/clk/qcom/gcc-mdm9615.c | 30 ++++++++++++++++++++++++++ include/dt-bindings/clock/qcom,gcc-mdm9615.h | 3 +++ 2 files changed, 33 insertions(+) diff --git a/drivers/clk/qcom/gcc-mdm9615.c b/drivers/clk/qcom/gcc-mdm9615.c index 581a17f..e9e98b1 100644 --- a/drivers/clk/qcom/gcc-mdm9615.c +++ b/drivers/clk/qcom/gcc-mdm9615.c @@ -1563,6 +1563,34 @@ enum { }, }; +static struct clk_branch ebi2_clk = { + .hwcg_reg = 0x2664, + .hwcg_bit = 6, + .halt_reg = 0x2fcc, + .halt_bit = 23, + .clkr = { + .enable_reg = 0x2664, + .enable_mask = BIT(6) | BIT(4), + .hw.init = &(struct clk_init_data){ + .name = "ebi2_clk", + .ops = &clk_branch_ops, + }, + }, +}; + +static struct clk_branch ebi2_aon_clk = { + .halt_reg = 0x2fcc, + .halt_bit = 23, + .clkr = { + .enable_reg = 0x2664, + .enable_mask = BIT(8), + .hw.init = &(struct clk_init_data){ + .name = "ebi2_aon_clk", + .ops = &clk_branch_ops, + }, + }, +}; + static struct clk_hw *gcc_mdm9615_hws[] = { &cxo.hw, }; @@ -1637,6 +1665,8 @@ enum { [PMIC_ARB1_H_CLK] = &pmic_arb1_h_clk.clkr, [PMIC_SSBI2_CLK] = &pmic_ssbi2_clk.clkr, [RPM_MSG_RAM_H_CLK] = &rpm_msg_ram_h_clk.clkr, + [EBI2_CLK] = &ebi2_clk.clkr, + [EBI2_AON_CLK] = &ebi2_aon_clk.clkr, }; static const struct qcom_reset_map gcc_mdm9615_resets[] = { diff --git a/include/dt-bindings/clock/qcom,gcc-mdm9615.h b/include/dt-bindings/clock/qcom,gcc-mdm9615.h index 9ab2c40..57cdca6 100644 --- a/include/dt-bindings/clock/qcom,gcc-mdm9615.h +++ b/include/dt-bindings/clock/qcom,gcc-mdm9615.h @@ -323,5 +323,8 @@ #define CE3_H_CLK 305 #define USB_HS1_SYSTEM_CLK_SRC 306 #define USB_HS1_SYSTEM_CLK 307 +#define EBI2_CLK 308 +#define EBI2_AON_CLK 309 + #endif