From patchwork Tue Mar 27 14:19:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 10310263 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 BDB3360212 for ; Tue, 27 Mar 2018 14:20:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AF38929C5E for ; Tue, 27 Mar 2018 14:20:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A3FAA29CE4; Tue, 27 Mar 2018 14:20:26 +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=-1.9 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 273AB29D5E for ; Tue, 27 Mar 2018 14:20:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=X1Cj2rtI0j/gEeSs9emHsE2LQOEoeZbk9txt+e/9uIk=; b=rt12xsM66ScfVM PSY2q+ZB63ZXogABbMJM+FDZ1iXvwTpFzfOwKEI+9QRRl0xqeI7xQP1u45QfEO+C5E43kFGAzIIMt jKtNBNeTNN7bjIUZWLsn+l/LYV1TNJwE9iQw/9XNMHjORdfxwx00KX5M2Hbn/1UbN9H6UzOcVC9bN DJ8W9YHjKTpB2UOdctqJpapv8D4tKjQQyEFcJEj7bMyeDUHApivRSBp3El08j9iOt/k/YSZtoCWea t+W2X2aFqx66Z0N4eSSCgmk3cqJpb6Dc2ODerV9YBVuNLBV6CesX8LmjTb9gHIIIkb/Bw6bGg0Z3/ ULRpfu8sXhwiXm4Nos8A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1f0pSR-0005w1-Db; Tue, 27 Mar 2018 14:20:15 +0000 Received: from mail-eopbgr10080.outbound.protection.outlook.com ([40.107.1.80] helo=EUR02-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1f0pSJ-0004bD-34 for linux-arm-kernel@lists.infradead.org; Tue, 27 Mar 2018 14:20:13 +0000 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; bh=db75OZgASRL/zdo/co44EQcnzwSEqu+a2aPUz3CYxig=; b=d2Wh5WS7zLGcCqT28fmCrNHi9TFv4BYw+Y7mdTOx5gNxco6svhzACSjm60tj5FDWHNVrbYW/+SytB65nnVq+O2zN+NQGNH60bhCRqWk6vpZ9yXQSbq3IMCPBvTkhLWD4StpdxI+nrJH73NEIYIi8bCMLHVh4tboXaouBKdeWfZM= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=abel.vesa@nxp.com; Received: from fsr-ub1664-175.ea.freescale.net (95.76.156.53) by DB5PR04MB2136.eurprd04.prod.outlook.com (2a01:111:e400:c582::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.609.10; Tue, 27 Mar 2018 14:19:49 +0000 From: Abel Vesa To: Shawn Guo , Sascha Hauer , Fabio Estevam , Michael Turquette , Stephen Boyd , Peter Chen , Irina Tirdea Subject: [PATCH] clk: imx7d: Correct ahb clk parent select Date: Tue, 27 Mar 2018 17:19:34 +0300 Message-Id: <1522160374-31894-1-git-send-email-abel.vesa@nxp.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-Originating-IP: [95.76.156.53] X-ClientProxiedBy: VI1PR0901CA0087.eurprd09.prod.outlook.com (2603:10a6:800:7e::13) To DB5PR04MB2136.eurprd04.prod.outlook.com (2a01:111:e400:c582::13) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 82dea8bb-9e8c-4a61-8849-08d593edcd73 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:DB5PR04MB2136; X-Microsoft-Exchange-Diagnostics: 1; DB5PR04MB2136; 3:/LlW9wbyn3SszycdN84W7lucVz8xvSJXzdwFZujVBbm4ywZZ2VMNeoriEN5VEufINE+CKLeU4Si/+FZSCK9Hwo0/HxW3KAX4f99TAkPNKLakKmRJ/ENpazXTzyJRxIl+koW64kIdNrHysaRT8miugZlHt2n6UvtwRud1/016MQbPeKCEHxw7OGNeeki+sFLgjoLcqNgGiBbupEenvO7owsovXKSNX9mPCwAmH6w+Cqyb7aRtyS8dOHHX9f8+OQtR; 25:Fv8BeaY0ve85Po2ynVH+4A8Gg9BPK+31gIGHpTo/LoeEHjPEXYS+yhMgu3WhnyXoWdWI1MT7DlGLpTeWBtKT4BRgnaRTR2vGgLEjH720VnmkFrzdgKyno2KYDBeJv7r+85j07UEUzzkcf9NkaC0cLsSKp8zIl5oYzIi0NpdebvEbEbiC8RQDfCJcrwkqAMn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YoyT5KQNjf6sEsQmEyN0/B48R/+iwBevsWLSCa3SugnyDhqgUX/IJFbjjKrY6InfjQOzsn8elifG3A5vXYyQX4mZEIATe4X4jI3bEJcMAlLugLJ1hQ93Pi2VmG030YTd/CipZRZHr+lL4rvO4+Hb6PIscVtR+Lfd06a2oprDlcZZ9U2qXULrOghq1MWW1GgksPTOqKWg7H0DGVOjFRO1LWmIikM/uPPWyj2CnxQSkvuUA96yy2TjIOFsxNyj7MBpEHV0y4uL6uP+IKdDBI0L92AsVkVv/XApUHDwRAotyRr3qLHr1W+LKU83K4jNi7t1a/s2wA= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197)(101931422205132); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(93001095)(3002001)(10201501046)(3231221)(944501327)(52105095)(6055026)(6041310)(20161123558120)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123562045)(6072148)(201708071742011); SRVR:DB5PR04MB2136; BCL:0; PCL:0; RULEID:; SRVR:DB5PR04MB2136; X-Forefront-PRVS: 0624A2429E X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(39380400002)(39860400002)(366004)(376002)(346002)(396003)(189003)(199004)(2616005)(305945005)(478600001)(6486002)(316002)(68736007)(47776003)(53936002)(956004)(8936002)(2906002)(7736002)(16586007)(6116002)(476003)(1857600001)(6666003)(25786009)(3846002)(106356001)(110136005)(6636002)(54906003)(86362001)(48376002)(6506007)(6512007)(50226002)(52116002)(97736004)(16526019)(386003)(186003)(66066001)(59450400001)(105586002)(50466002)(51416003)(8676002)(26005)(4326008)(36756003)(5660300001)(81156014)(81166006)(486005)(486005); DIR:OUT; SFP:1101; SCL:1; SRVR:DB5PR04MB2136; H:fsr-ub1664-175.ea.freescale.net; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DB5PR04MB2136; 23:cG+7+Ks2rr/dRU/bkp6zOCc8zxuIclYBWb1nAHCkH?= =?us-ascii?Q?77+4CJXubog+UnE4Ge8LlK+/PLnrR0RoWLt+Z74H0FRPdUZzndmp30zAE7HD?= =?us-ascii?Q?iSqiDNPOglJkPRniZD1ETTbKuUfluP6OI6lqLuaasgg0E60A+fBN4YpC1BEX?= =?us-ascii?Q?6BU3jRdeluP6L0GWYoTi1aCmlzGDkxiB/mBTChOae56Yep1vSrpyzmxeEMG7?= =?us-ascii?Q?yBrcXi1/v+X2uHSdyykIdnwcavCdFByFsVs0HHLkcyFyGgDxi+vPQzvw3D6b?= =?us-ascii?Q?WtFzP4Nje5V4haviwqIhsYLj96RtqPluWti3TEVubK4Db+NTVUsBaZRpCpoD?= =?us-ascii?Q?Tl9pBtRO3oX10wxnnYRSToYcxsdNHX7hrZPNBbx7StusOZavdv9e8zmFRjSm?= =?us-ascii?Q?Vit9rvhtG06sH7jJuTtM4eU66C4wjTmNyKzd0Gb7Ci2ownmXi7acqqoRB9gw?= =?us-ascii?Q?wZRRpwi7EnftWUnG7AEOlbckPMPor/NMnKfXXa9YJZnOjSWz/qxmzJnciqCO?= =?us-ascii?Q?DnBzhQmXztmilJ4HmrGruJRPyuSsNSszNkGRfZeHbi5+ESi0cQAC9vIt2hhS?= =?us-ascii?Q?2/qWtJmN1M+8KjiuhuvvhLKj9hW4wzRnCDRd6gSU/ABxl/tnCbVXU9cUym97?= =?us-ascii?Q?4JRmNSlACSdF0q/MH/YzJxG7BF+shyzvc5RiExoHRO6O7mFdVB+77qbir9Q5?= =?us-ascii?Q?I6zwqSbI+wAd8anFKFXAb+/j5l0inr8VZWcoTUwyEokDGR6umMFrOOKiOz1V?= =?us-ascii?Q?DIPYIvuvdiVzJGq8eoRorWX1vAg+afD18Xq/DcdypP4GjelzlsynHbtaXeKx?= =?us-asc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rJr7OYMZnvQvBY7NNkZLNsM7t8UQ9Ga7tQXGC3iEw5M+2ohB2KJHLPEjDzqP9gfYQIemgdJfETFj2WBNSQzrepQRdSyWxz5Hg4JfKkKPThWCYzwR+o2hjdTGfj/waYfjr7HA9dkaMwsobVnBWdF8FSPjivieraHS9RcWo5xAOvhaFGhcD29iqIR7IgQ==; 5:V/BPX2klaW552t4NBzDprHjGDnsowVJ8ljAHYERdiE6EwHlJNv2ejVFQhj3copW1ia3FKKYrbeaAVJOBUIanP9CcHFYai9/gpfb4G7hx+A8z/fi8ogdDMmckaoefL1+uj0j/d9gRHgMwVVO0Adkw335L1tEDhurXBExyiSYDpD8=; 24:LVyHc6EdSSAhpmjqLjiDYckpB+F7zqjbs8lmjFh8qHoASXbSIy8IMUNEzPHd6aMoFJN3YA2WQYfB9sRS1UFdij87QtwHhla+cjX4HIVhJ6A= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DB5PR04MB2136; 7:HWFmqr07NUKquSnQ2tk+vx2MR99plfas99gw+B7gfg5wfymR7qRYSTATymB/7nuZnMogty0C+LaoIY6M5n2QkNXgITtHK/Zr9dwOjf6kcREAaYVlOjUkbErHDkkYcH1fuUmlabNQHgiuApDHD5VBEUhxjuzASNTCFPf6rUTGijTLHEZuEKenrgFi6XwLbmdCSpQvBQlUPBmmXL5Hhx/DBHo5nO50C9mkduiePkrbWILer+9qqNMlPslKxgB00Efr X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Mar 2018 14:19:49.1538 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 82dea8bb-9e8c-4a61-8849-08d593edcd73 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR04MB2136 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180327_072007_313566_63F49DD7 X-CRM114-Status: GOOD ( 13.53 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Abel Vesa , Anson Huang , linux-kernel@vger.kernel.org, linux-imx@nxp.com, Anson Huang , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Anson Huang Design team change the ahb's clk parent options but did NOT update the DOC accordingly in time, so the AHB/IPG's clk rate in clk tree is incorrect, AHB is 67.5MHz and IPG is 33.75MHz, but using scope to monitor them, they are actually 135MHz and 67.5MHz, update the clk parent option to make clk tree info correct. Signed-off-by: Anson Huang Signed-off-by: Irina Tirdea Signed-off-by: Abel Vesa --- drivers/clk/imx/clk-imx7d.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/imx/clk-imx7d.c b/drivers/clk/imx/clk-imx7d.c index 89bfa75..4d020dd 100644 --- a/drivers/clk/imx/clk-imx7d.c +++ b/drivers/clk/imx/clk-imx7d.c @@ -74,7 +74,7 @@ static const char *nand_usdhc_bus_sel[] = { "osc", "pll_sys_pfd2_270m_clk", static const char *ahb_channel_sel[] = { "osc", "pll_sys_pfd2_270m_clk", "pll_dram_533m_clk", "pll_sys_pfd0_392m_clk", - "pll_enet_125m_clk", "pll_usb_main_clk", "pll_audio_post_div", + "pll_enet_250m_clk", "pll_usb_main_clk", "pll_audio_post_div", "pll_video_post_div", }; static const char *dram_phym_sel[] = { "pll_dram_main_clk",