Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp318016ybe; Mon, 2 Sep 2019 02:02:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqyh1zOpPEHH3xdV4HPVVkvw++/w/lZjgkXlvH9/SySrJA2NKqBMa+BzTqY9a4Jzi9i4xbv2 X-Received: by 2002:a63:904:: with SMTP id 4mr13743847pgj.36.1567414969292; Mon, 02 Sep 2019 02:02:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567414969; cv=none; d=google.com; s=arc-20160816; b=DomdmIbfBzdiOlb5yNkuJe2i0ZS+su3GmP2Thf6ocx+HNRjbHbG/q9OF+pn5jAGJ4Y DViJ/y0tL1HnYFmxdRWACP+f7f2HUWR15Gj0h9GG7pmOG3M3I+0gxWBszlCQkqyiX5fo 3MGKQBZ5VsP57SvIwLf6LAPoB/qKgUr6aQd0DlqUz5yNzIFn/B/UYyLfU0lqSmOR+1v5 ySVZyT8CZndCxylVcOE0tYlTuh8y/GYSIcv5iqy+3Lo2PPGoqJpvZYqJfSAfE1ukb9PF iLZPGPjNZBUExxq3qghkcLkqBIc9jzJ5CcLTQWu1iwlattdaLufy1KmtdwSsBbrdSt8J +I4Q== 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=7Y7gjmFjAcvPOY4K9P/QmjVqzoQWzWxT5q2FMCX/yiU=; b=KitOOz+Ob9+JV8zlV+f3jrp2AhRxRT8fK/XVrQU1V9QM0lceFFWX0x8II/JOJRtavL iYtPMih4WOxg2fIzvfc8Nfz+TCOVeZffbBqSO5Dg1XjSRM85Zh3V8kiW2TLoBcigO9la PuLIr/b4eRPeGPqknSAqTgTnc2rnU0ZimWZfkr/2nHJinxuI5BcDqSPcxuxjRo94qZxD ndiSgNDNqiP5BUguFe4ifhFQP8kx5RpGesylYqQNeGliQor6+MgeD3pbWerswIdFnS9v TMMq5z3l/bVoghn2IxXuJCvAHr2rcEXILFRZwS6osekV3Ef8qPsuvaUaU5Dl2rgyEsFN og9A== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bi3si6665212plb.423.2019.09.02.02.02.33; Mon, 02 Sep 2019 02:02:49 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730870AbfIBJBH (ORCPT + 99 others); Mon, 2 Sep 2019 05:01:07 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:39670 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1730727AbfIBJBH (ORCPT ); Mon, 2 Sep 2019 05:01:07 -0400 X-UUID: a9ec20a5817042588d6cd79b91edcfc1-20190902 X-UUID: a9ec20a5817042588d6cd79b91edcfc1-20190902 Received: from mtkcas09.mediatek.inc [(172.21.101.178)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1041834262; Mon, 02 Sep 2019 17:01:02 +0800 Received: from mtkcas09.mediatek.inc (172.21.101.178) by mtkmbs02n2.mediatek.inc (172.21.101.101) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Mon, 2 Sep 2019 17:01:01 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas09.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Mon, 2 Sep 2019 17:01:01 +0800 From: Weiyi Lu To: Nicolas Boichat , Matthias Brugger , Stephen Boyd , Rob Herring CC: James Liao , Fan Chen , , , , , , CK Hu , Weiyi Lu Subject: [RESEND PATCH v1 0/3] Runtime PM support for MT8183 mcucfg clock provider Date: Mon, 2 Sep 2019 17:00:56 +0800 Message-ID: <1567414859-3244-1-git-send-email-weiyi.lu@mediatek.com> X-Mailer: git-send-email 1.8.1.1.dirty MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: CED2E5001E391BB1FEC2C7595861BC005DBAAB114CC917788707A64A5447BC502000:8 X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series is based on v5.3-rc1 and Mediatek MT8183 scpsys support v7[1]. Since Runtime PM is supported in Common Clock Framework which keeps clock controller's power domain enabled to ensure clock status accessing correctly. [1] https://patchwork.kernel.org/cover/11118371/ --- Weiyi Lu (3): clk: mediatek: Register clock gate with device clk: mediatek: Runtime PM support for MT8183 mcucfg clock provider arm64: dts: Add power-domains properity to mfgcfg arch/arm64/boot/dts/mediatek/mt8183.dtsi | 1 + drivers/clk/mediatek/clk-gate.c | 5 +++-- drivers/clk/mediatek/clk-gate.h | 3 ++- drivers/clk/mediatek/clk-mt8183-mfgcfg.c | 7 +++++-- drivers/clk/mediatek/clk-mtk.c | 16 +++++++++++++--- drivers/clk/mediatek/clk-mtk.h | 5 +++++ 6 files changed, 29 insertions(+), 8 deletions(-)