Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp390823imm; Tue, 31 Jul 2018 21:21:27 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeFAwxv5ujyLwdC6xWAnI9NRnYiNpnWBHudNvpZ5UhkLLyeYm0dqK7dwdj8qyRmvpWhXJ1T X-Received: by 2002:a65:448a:: with SMTP id l10-v6mr23200384pgq.382.1533097287193; Tue, 31 Jul 2018 21:21:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533097287; cv=none; d=google.com; s=arc-20160816; b=b58BAQ/uxF3DTZ3pBRDaoN1tXKZtJ6L6WYXgRfez/IlGrhm35FPUWWf7kuvYNwDt64 eFY4uBLaVtsbcIr6XO/J5LAveo7jgObz2rMGiR9u6AUldJCjARY5Ai3VlaPkq5Tffk4q vMEDNLi/Exe6CUlAnGuwuB/Njni09c/MDumwnoeJ5sCA8WkFatQKJsl1zuAzvNky91KF iEcwNdII7KEsV4DEhnDeAe08AyqW89VWQvugnIzDfeYFt0gPKkCq4vS2On3wKBjeavdW HxU3FmYVtZpVMgBSAefKtuhzyl7/vrSC+j2gpq/SCIdaqOxJI9HJlEAY7i84NHSGGEOt MIjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:arc-authentication-results; bh=vVurW/sult7Y23nqQhsZ4jEB6OfiB0IpxUab7PTzEh8=; b=yYzuWmwKHfy9Tqa7nWHKa6J72IEs8WGjFHY/S9uxo/5zIn6PEsE5QVK5/Wiv3ngvvR 6TYkByD7c1y0k+IKWxeolO+URkek1NR5zhbq7zSycz7iq60eVuUlTJqtyQVW/WJ5vQaF RLGd1GYGS/kVSUA+Fgf/1TpXKc5OeK6Hk19b2B3sBimitXEqjAIyOoVh5QDfyIxUmQgx lbjMvWeagjji/DgvHD2AjhT8baWgIq4g7WFC5+SF8uBlkLIMB0XJgi31oNj0ba6e8zoL gi86nQ3fDeOl8u8BjxP37DcZ1CQeXRG5KltuyU4gGFz4xfMizdecj0uh0P5TNJFXjoB1 CG6A== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q23-v6si15571859pgl.275.2018.07.31.21.21.11; Tue, 31 Jul 2018 21:21:27 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732717AbeHAGDz (ORCPT + 99 others); Wed, 1 Aug 2018 02:03:55 -0400 Received: from mail-sh2.amlogic.com ([58.32.228.45]:60485 "EHLO mail-sh2.amlogic.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731199AbeHAGDz (ORCPT ); Wed, 1 Aug 2018 02:03:55 -0400 Received: from localhost.localdomain (10.18.20.250) by mail-sh2.amlogic.com (10.18.11.6) with Microsoft SMTP Server id 15.0.1320.4; Wed, 1 Aug 2018 12:20:13 +0800 From: Yixun Lan To: Jerome Brunet , Neil Armstrong CC: Yixun Lan , Kevin Hilman , Michael Turquette , Stephen Boyd , Qiufang Dai , Jianxin Qin , Jian Hu , , , , Subject: [PATCH] clk: meson-axg: pcie: drop the mpll3 clock parent Date: Wed, 1 Aug 2018 12:16:24 +0000 Message-ID: <20180801121625.9488-1-yixun.lan@amlogic.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.18.20.250] Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org We found the PCIe driver doesn't really work with the mpll3 clock which is actually reserved for debug, So drop it from the mux list. Fixes: 33b89db68236 ("clk: meson-axg: add clocks required by pcie driver") Tested-by: Jianxin Qin Signed-off-by: Yixun Lan --- hi Jerome: I'm sorry we found this during latest PCIe driver test. I'm fine with either pull this as a fixup for 4.18 or queued for next 4.19, since the PCIe driver is not merged yet, just do as you feel what's fit best, thanks. Yixun --- drivers/clk/meson/axg.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/clk/meson/axg.c b/drivers/clk/meson/axg.c index 2d458092884a..246c23df64a8 100644 --- a/drivers/clk/meson/axg.c +++ b/drivers/clk/meson/axg.c @@ -700,12 +700,14 @@ static struct clk_regmap axg_pcie_mux = { .offset = HHI_PCIE_PLL_CNTL6, .mask = 0x1, .shift = 2, + /* skip the parent mpll3, reserved for debug */ + .table = (u32[]){ 1 }, }, .hw.init = &(struct clk_init_data){ .name = "pcie_mux", .ops = &clk_regmap_mux_ops, - .parent_names = (const char *[]){ "mpll3", "pcie_pll" }, - .num_parents = 2, + .parent_names = (const char *[]){ "pcie_pll" }, + .num_parents = 1, .flags = CLK_SET_RATE_PARENT, }, }; -- 2.18.0