Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1554590imu; Thu, 13 Dec 2018 18:05:49 -0800 (PST) X-Google-Smtp-Source: AFSGD/WRV1dbh5AN0/ZYdxFmXlkAvgovDNL/Ddc0VAuemrJOr/mUj2FkhUVVNuNLu1i55HOGHEN3 X-Received: by 2002:a62:c28e:: with SMTP id w14mr1075673pfk.115.1544753149895; Thu, 13 Dec 2018 18:05:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544753149; cv=none; d=google.com; s=arc-20160816; b=cmaTcbse5BaQ232nD1jboSjo1xHxXBVfbjjNoPS6GG8sV0pxsUtggfvITGXBM2vdZS EYXRJBF3OtnJ6Lnwva4LK9870UPajdDRti9ncuTj4ARNR+Dd01oV2JCrUd9xrqQdd3hs Oj/pcftm5XSUZ+4yq79VpA/b+fGbkCt0iqLKMBGV+56THHA0yzjp7/NmbWXBLifiNKjJ 8GrXk/PQfILhN4GDJ3mrQZ9o0BfKPKEvPrircedczWZfmqQ8Hf2s+jwh9WX+hlITvC9w cSMdZFQcmaS/9pqn6UUoWasc84l5HiTmcB1XyNeSI3kplpCpRnq2hjHjMNmwhPZVoRTb CmSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=ApeMmCX57lgrwg2b5Lbo0JBfI7nmebSzXkz9wl2eBes=; b=XJjPSya9GbjBrFvqULiQm6MjQ2tLDhSQu4Igm0KC40nrPii35oQlWZzEQG6IW3KNXw gitg4czBlSIOHXn4kmd5uqwBN4RHSzDxNHnEnEpWanwer6R00pZiGbr1d7CU2osM1gza 2vNEPS724/wLzr52fpUPOY8EVdLhMOXyJeP3nU4JXpgXWUA68rFb+yw/KnQ8u4RWBsVm mZxKNuvvD0GSxOFj3tjhw7gso0wmUgjXDG5pyXNCMzNilkppYjaoUH3MkgNllIryOpzJ oGU/gsHO5MIDBiXeCKHfFXgNkfoyVP3YMnoo1PiDKL9ujNVjmcmdS4XkShLuRSeD1VOk SuGg== 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 i6si2820495pgm.296.2018.12.13.18.05.33; Thu, 13 Dec 2018 18:05:49 -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 S1729208AbeLNCEk (ORCPT + 99 others); Thu, 13 Dec 2018 21:04:40 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:14396 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1728130AbeLNCEh (ORCPT ); Thu, 13 Dec 2018 21:04:37 -0500 X-UUID: 19ee1892613e45daa65a7b9c047d64a3-20181214 X-UUID: 19ee1892613e45daa65a7b9c047d64a3-20181214 Received: from mtkcas09.mediatek.inc [(172.21.101.178)] by mailgw01.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 744815289; Fri, 14 Dec 2018 10:04:24 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs01n2.mediatek.inc (172.21.101.79) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 14 Dec 2018 10:04:19 +0800 Received: from mtkslt210.mediatek.inc (10.21.14.14) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Fri, 14 Dec 2018 10:04:19 +0800 From: Weiyi Lu To: Matthias Brugger , Stephen Boyd , Rob Herring CC: James Liao , Fan Chen , , , , , , , Weiyi Lu Subject: [resend PATCH v1 2/2] clk: mediatek: update clock driver of MT2712 Date: Fri, 14 Dec 2018 10:04:17 +0800 Message-ID: <20181214020417.2871-4-weiyi.lu@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20181214020417.2871-1-weiyi.lu@mediatek.com> References: <20181214020417.2871-1-weiyi.lu@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: EF4EB2EA208F57F3D0056F890733E7F6D5DC0C35D23C0A7444B93812A9D9DE842000:8 X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org According to 3rd ECO design change, 1. Add new fixed factor clock of audio. 2. Add the parent clocks for audio clock mux. Signed-off-by: Weiyi Lu --- drivers/clk/mediatek/clk-mt2712.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/clk/mediatek/clk-mt2712.c b/drivers/clk/mediatek/clk-mt2712.c index 991d4093726e..e36f4aab634d 100644 --- a/drivers/clk/mediatek/clk-mt2712.c +++ b/drivers/clk/mediatek/clk-mt2712.c @@ -223,6 +223,8 @@ static const struct mtk_fixed_factor top_divs[] = { 4), FACTOR(CLK_TOP_APLL1_D3, "apll1_d3", "apll1_ck", 1, 3), + FACTOR(CLK_TOP_APLL2_D3, "apll2_d3", "apll2_ck", 1, + 3), }; static const char * const axi_parents[] = { @@ -594,7 +596,8 @@ static const char * const a1sys_hp_parents[] = { "apll1_ck", "apll1_d2", "apll1_d4", - "apll1_d8" + "apll1_d8", + "apll1_d3" }; static const char * const a2sys_hp_parents[] = { @@ -602,7 +605,8 @@ static const char * const a2sys_hp_parents[] = { "apll2_ck", "apll2_d2", "apll2_d4", - "apll2_d8" + "apll2_d8", + "apll2_d3" }; static const char * const asm_l_parents[] = { -- 2.18.0