Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp9138827imu; Tue, 4 Dec 2018 22:44:13 -0800 (PST) X-Google-Smtp-Source: AFSGD/Wecjr8nGzlmDf6GCx9mBkY22vEQFQ2zm9LSZNXKTC7sbRta2/j9t95OWKoNV3QoHS2ReQH X-Received: by 2002:a17:902:bb98:: with SMTP id m24mr22436335pls.71.1543992253919; Tue, 04 Dec 2018 22:44:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543992253; cv=none; d=google.com; s=arc-20160816; b=FcyBX33AtJNAnI1UAqwQJf8SW6+d7aBfPWFJuvfo1Yz/5PetRRcl16HMmUpkotOXqG HqIxjaS8s89ElHljc+g/IHDjA2tWCyt6sOXp04ZHR9rpqfU30Uii9JrU8XtP2tUH55mx sSSu0ec4WAlIgcMjPikX0sZIMkITna4snR624kYoWcD6mlbbG+ZXe5it+W/l8pJ7qBKO 86L4NqlbixjBRNIrKCAekF08Upv9IGLwSrRtbtUwFyu0n2/K5ourJ2xO6gUgMsUUebl1 imtycbw7tqphgt3y2p543i5QRkstTOCudbvrMNc4c11B6w1uJO0cvKhMeLPDXNfyIgyU J0Jw== 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; bh=MPPTRqcQrCdCefKIH8NhMLbNfoEVytSIRNxobTAESJc=; b=bL5H1AG/iVh9iWqbpr395odEpkud5sk3qMA6K1F81o+hortFeZfuMiywv0PIAUwUih ZpTX7SWbhQpONTMCEg2LjswIT8M6onwnOr0NFPa1b2HU0kkfxzV+Z86H+lXoTI3Dn0yY cb/8bvDbD2y9ZVvJLPz2PsDTWKYZ+WHCcH+JpDNwD2xLZrH9Lg5GSa6b4iRxzGChnBbH dKP0NHYSmolHHP4naErc00brnJFNqfI/9UXHMMl4qitQT9Zoih2J74bqWRg+AW9ychu0 Uz5ks1cVrSG600WMiXQbKSCKAYVv/eO4Yuaxsr4MyOhqIumHl5IpUSMfJpVdKiRKMLYv rGdQ== 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 k14si18049863pll.346.2018.12.04.22.43.59; Tue, 04 Dec 2018 22:44:13 -0800 (PST) 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 S1727066AbeLEGl4 (ORCPT + 99 others); Wed, 5 Dec 2018 01:41:56 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:53834 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726866AbeLEGl4 (ORCPT ); Wed, 5 Dec 2018 01:41:56 -0500 X-UUID: 5c7e1529137d4a2c90eeb9353aa17171-20181205 X-UUID: 5c7e1529137d4a2c90eeb9353aa17171-20181205 Received: from mtkcas08.mediatek.inc [(172.21.101.126)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 224579953; Wed, 05 Dec 2018 14:41:31 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs08n1.mediatek.inc (172.21.101.55) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 5 Dec 2018 14:41:20 +0800 Received: from mtkslt306.mediatek.inc (10.21.14.136) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Wed, 5 Dec 2018 14:41:20 +0800 From: Ryder Lee To: Stephen Boyd CC: Matthias Brugger , Weijie Gao , , , , , , Ryder Lee Subject: [PATCH] clk: mediatek: fix the PCIe MAC clock parent Date: Wed, 5 Dec 2018 14:41:10 +0800 Message-ID: <2e828830d051ae641cfd55a6590cb243539d6ca8.1543991319.git.ryder.lee@mediatek.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The PCIe function doesn't work as the clock tree of MAC layer is wrong. Hence fix the clock table. Fixes: 3b5e748615e7 ("clk: mediatek: add clock support for MT7629 SoC") Signed-off-by: Ryder Lee --- drivers/clk/mediatek/clk-mt7629.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/mediatek/clk-mt7629.c b/drivers/clk/mediatek/clk-mt7629.c index 200ba14..d623399 100644 --- a/drivers/clk/mediatek/clk-mt7629.c +++ b/drivers/clk/mediatek/clk-mt7629.c @@ -446,8 +446,8 @@ FACTOR(CLK_TOP_TO_USB3_DMA, "to_usb3_dma", "hif_sel", 1, 1), FACTOR(CLK_TOP_FROM_TOP_AHB, "from_top_ahb", "axi_sel", 1, 1), FACTOR(CLK_TOP_FROM_TOP_AXI, "from_top_axi", "hif_sel", 1, 1), - FACTOR(CLK_TOP_PCIE1_MAC_EN, "pcie1_mac_en", "univpll1_d4", 1, 1), - FACTOR(CLK_TOP_PCIE0_MAC_EN, "pcie0_mac_en", "univpll1_d4", 1, 1), + FACTOR(CLK_TOP_PCIE1_MAC_EN, "pcie1_mac_en", "sata_sel", 1, 1), + FACTOR(CLK_TOP_PCIE0_MAC_EN, "pcie0_mac_en", "sata_sel", 1, 1), }; static const struct mtk_gate peri_clks[] = { -- 1.9.1