Received: by 10.223.164.202 with SMTP id h10csp2715006wrb; Mon, 27 Nov 2017 23:30:11 -0800 (PST) X-Google-Smtp-Source: AGs4zMYvc3oMpzJfZDunsxitF3uqsym5ytKkYwGWbvKAlRFFKhcGH0kvcEdfqEPboc8tjoG/c7Ou X-Received: by 10.84.242.75 with SMTP id c11mr10075211pll.399.1511854210963; Mon, 27 Nov 2017 23:30:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511854210; cv=none; d=google.com; s=arc-20160816; b=A3dld42kqvb1Wfp0WQHxfYquuS2ZdKJyXPGwbOTtXsT8ipT0n6Hd4XBzG2tBkJrdBe 8VJEc3htOXr1v8K8ED3MlmUTQnqf/XA1yPdbzD0rb9nyBmuJbr9lTKQYOrthLB4DEXS+ ONY6gUaCPJjkTlDlFYFftbllBr10gmVfjX5R68jO1Y1n/GrXO/lD0Z6St+dpUvccXL1G aOko324BqR53nzL+p3YcA7dmAwL36jqT1QWTfLkdoRgqvMeOtSq7Dr9Nm0HHLdG9gHx+ A06Rh2aRadl5ceJdIUbbe6bjNHh4DqgseMSnhKcyEF55/5OlVb+yeb112xgGcDmVqcBu GILw== 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:arc-authentication-results; bh=4htjKr0TEj9xmjITBbn8TDSfx16PK65frpfiFiQldG4=; b=l5THXw+0nlDKz8bVL2TLJqs7MvN331USYB+oj+jkHWW9yYnzKGh15nmKooPztcKGho pEAEhNSGQ3o7KHnz8JQoUH//s/R4oVGzETmmOCBUzibcRPe31M3BvHt/a5oP0UUcg7aD ehMZD9tLhGzfSy1ZRan6isZIhFlL2ilycNXernJ11YqgK3oI0kkc1ZFun8a0GLZ2xHT4 2Mpzv1R16koGx+vTkLFX7t5MZRM81n4mriNuvsWDtCyVqmnzIvvLiyWJqRIPsL9T0Egc /Xp3MsE/4AEcfsVcEmZFF2x7XCr7F7eCTcX+4OND1wobufy0HrQ5dAwiqoouWPxzf2xA 1j7g== 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 n2si9120904pgs.338.2017.11.27.23.29.59; Mon, 27 Nov 2017 23:30:10 -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 S1752069AbdK1H3L (ORCPT + 78 others); Tue, 28 Nov 2017 02:29:11 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:45787 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751790AbdK1H3I (ORCPT ); Tue, 28 Nov 2017 02:29:08 -0500 X-UUID: 69db5d6556bf46eba179a690a74adfdd-20171128 Received: from mtkcas08.mediatek.inc [(172.21.101.126)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1014104236; Tue, 28 Nov 2017 15:29:02 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs01n1.mediatek.inc (172.21.101.68) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Tue, 28 Nov 2017 15:29:02 +0800 Received: from mtkslt210.mediatek.inc (10.21.14.14) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1210.3 via Frontend Transport; Tue, 28 Nov 2017 15:29:02 +0800 From: Weiyi Lu To: Matthias Brugger , Stephen Boyd , Mike Turquette , Rob Herring CC: James Liao , Fan Chen , , , , , , , Weiyi Lu Subject: [PATCH v7 3/6] soc: mediatek: add dependent clock jpgdec/audio for scpsys Date: Tue, 28 Nov 2017 15:28:19 +0800 Message-ID: <1511854102-23195-5-git-send-email-weiyi.lu@mediatek.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1511854102-23195-1-git-send-email-weiyi.lu@mediatek.com> References: <1511854102-23195-1-git-send-email-weiyi.lu@mediatek.com> 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 There are dependent clock jpgdec/audio in scpsys on MT2712, and will exist three dependent clocks on MT2712 VDEC. Signed-off-by: Weiyi Lu --- drivers/soc/mediatek/mtk-scpsys.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/soc/mediatek/mtk-scpsys.c b/drivers/soc/mediatek/mtk-scpsys.c index 4c484b1..c0f3219 100644 --- a/drivers/soc/mediatek/mtk-scpsys.c +++ b/drivers/soc/mediatek/mtk-scpsys.c @@ -84,6 +84,8 @@ enum clk_id { CLK_ETHIF, CLK_VDEC, CLK_HIFSEL, + CLK_JPGDEC, + CLK_AUDIO, CLK_MAX, }; @@ -96,10 +98,12 @@ enum clk_id { "ethif", "vdec", "hif_sel", + "jpgdec", + "audio", NULL, }; -#define MAX_CLKS 2 +#define MAX_CLKS 3 struct scp_domain_data { const char *name; -- 1.9.1 From 1585312703132205938@xxx Tue Nov 28 12:26:48 +0000 2017 X-GM-THRID: 1585304823995859463 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread