From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5E1E1C433DF for ; Wed, 20 May 2020 06:14:27 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1E5C320748 for ; Wed, 20 May 2020 06:14:27 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="VQqCyqyz"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="sMl5hqx0" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1E5C320748 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=samsung.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:References:In-Reply-To:MIME-Version: Date:Message-ID:From:To:Subject:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=uwyigzpC9Atvw9DlSTk4fW+AQUUAFUhOvpmr0bNL0uo=; b=VQqCyqyzK19Uwy Aval0g9JtXOyLVap+COxkir6k2dm6+Z2a7aIt1YE2MhfajCmOMfmLp+Hwh90oLYxP8WFVaf6lTozp WGxZ0/jqIN100pdQUma3BmbRSbJnQ6Z7yghFJ9rVEIA/bXI2t86ETH/xpbaJ3rLR7Cj6TohhYHU39 m+8eamAfii0j2D4wIZei12wGu8enr6A9WOuUW4I66Yp98Z1GgGTR9PeRCgafln2XWxFKkeR+GQuQW FBdfIwdFhkGgFWXl3rvJlg3OtpEwvgWmH26nJts3qxxmmunq1xpBcrbHDFScuMLQRYLJgM2p03esN bO3Thp6eTKRptN+XyOLQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jbHzb-0005Gu-Bh; Wed, 20 May 2020 06:14:15 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jbHzR-00057m-0x for linux-mediatek@lists.infradead.org; Wed, 20 May 2020 06:14:07 +0000 Received: from epcas1p1.samsung.com (unknown [182.195.41.45]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20200520061355epoutp037d1c32382c85d83da6bf51eaba1ef381~Qp9znfR9C2461824618epoutp03k for ; Wed, 20 May 2020 06:13:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20200520061355epoutp037d1c32382c85d83da6bf51eaba1ef381~Qp9znfR9C2461824618epoutp03k DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1589955235; bh=j6EMd3fu4ZC9Mt1Myz68nMqMHxJem37XjOfFnUWSRf0=; h=Subject:To:Cc:From:Date:In-Reply-To:References:From; b=sMl5hqx00hsfAyUbXUk60lbVLYuLRqk0alkO9Pl+gXDjbuBnQIGSk8nfuTmZTW3rX f8Zmtt6MEHiOeOgOctadcgYzCB+Ij+ugE547yA2cs8KfLEYNtl/Mmej1OYY2tHuBAQ zGRIwIIiJpWF8b1tZQQ9wC/b8MIqnf2mGaeMXu7g= Received: from epsnrtp3.localdomain (unknown [182.195.42.164]) by epcas1p4.samsung.com (KnoxPortal) with ESMTP id 20200520061354epcas1p42297987f27134fb99194273cdfaeefe4~Qp9ywDPao1265112651epcas1p4b; Wed, 20 May 2020 06:13:54 +0000 (GMT) Received: from epsmges1p4.samsung.com (unknown [182.195.40.153]) by epsnrtp3.localdomain (Postfix) with ESMTP id 49RjB76RKbzMqYkn; Wed, 20 May 2020 06:13:51 +0000 (GMT) Received: from epcas1p4.samsung.com ( [182.195.41.48]) by epsmges1p4.samsung.com (Symantec Messaging Gateway) with SMTP id 2F.89.04744.F9AC4CE5; Wed, 20 May 2020 15:13:51 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas1p2.samsung.com (KnoxPortal) with ESMTPA id 20200520061350epcas1p21aefa74e9894fda67a27f2adc5d23ea3~Qp9uzdn510451704517epcas1p2g; Wed, 20 May 2020 06:13:50 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20200520061350epsmtrp2818a76d04777bc8af2beff39b6a9e70d~Qp9uyVMIt1432414324epsmtrp2U; Wed, 20 May 2020 06:13:50 +0000 (GMT) X-AuditID: b6c32a38-26bff70000001288-8f-5ec4ca9fe776 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 2C.58.18461.E9AC4CE5; Wed, 20 May 2020 15:13:50 +0900 (KST) Received: from [10.113.221.102] (unknown [10.113.221.102]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20200520061350epsmtip16646910b2dc9e7fbed9ce66c5c58a21c~Qp9ud9XWS2709127091epsmtip1L; Wed, 20 May 2020 06:13:50 +0000 (GMT) Subject: Re: [PATCH 00/12] Add cpufreq and cci devfreq for mt8183, and SVS support To: "andrew-sh.cheng" From: Chanwoo Choi Organization: Samsung Electronics Message-ID: <852af745-dfb7-6bb5-da7e-798d166a3370@samsung.com> Date: Wed, 20 May 2020 15:24:03 +0900 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Thunderbird/59.0 MIME-Version: 1.0 In-Reply-To: <1589953015.8243.2.camel@mtksdaap41> Content-Language: en-US X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrEJsWRmVeSWpSXmKPExsWy7bCmge78U0fiDLr3GlpsX/+C1WLqwyds FvOPnGO1ONv0ht3i25UOJotNj6+xWlzeNYfN4nLzRUaLz71HGC2WXr/IZNHUYmxxu3EFm8Wb H2eZLM6cvsRq0br3CLvFv2sbWSym3xWy2PjVw0HIY828NYweO2fdZffYtKqTzePOtT1sHpuX 1Hu0nNzP4rHlajuLR9+WVYwex29sZ/L4vEkugCsq2yYjNTEltUghNS85PyUzL91WyTs43jne 1MzAUNfQ0sJcSSEvMTfVVsnFJ0DXLTMH6CUlhbLEnFKgUEBicbGSvp1NUX5pSapCRn5xia1S akFKToFlgV5xYm5xaV66XnJ+rpWhgYGRKVBhQnbGyXUrmAv+y1fcnTKJrYHxjHgXIyeHhICJ xNVl65m7GLk4hAR2MEq8vfiEBcL5xCixZN1NZpAqIYFvjBJ7ejNhOjYv/w7VsZdRYta172wQ zntGiWf3X4B1CAuESKzdsR7MFgHq2DFzNiNIEbPACxaJ5e/ngCXYBLQk9r+4wQZi8wsoSlz9 8ZgRxOYVsJPY824iC4jNIqAq8ezGSzBbVCBM4uS2FqgaQYmTM5+AxTkFDCXOzfkCFmcWEJe4 9WQ+E4QtL7H97RywUyUE2jklLj06wATxg4vE/e0zWCBsYYlXx7ewQ9hSEp/f7WWDsKslVp48 wgbR3MEosWX/BVaIhLHE/qWTgQZxAG3QlFi/Sx8irCix8/dcq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MH4/ZVH/QOMTJxMB5ilOBgVhLhnfDiUJwQb0pi ZVVqUX58UWlOavEhRmkOFiVx3huFC+OEBNITS1KzU1MLUotgskwcnFINTId7dnzlfVhuzZf8 S2FJJb+Z9T6mhediev5d+cRb57nwpuaJt7brms1nTcqSuZuua1bj/PQeR+UNDl6nbc4q4nF9 fW0LfsaFBz29yMYRMz+idePbM2vFnGOMPqtvf9LBpXH6O2dyyXQ+0/Qtmzcu9e9I3P9Oqkuj 7YD6ww+X65pm5vc2JPFJaPNIpbBNkZcX6rHsznlVmvR/Q/fvk7XrThRs8Q1Rtev1C7BrnHzY 6O6agw+Zk1JvR3iFu7XHHCoRTHq8s1VW5dvkgikZSTmdJXIvLN8eKl2tJpntLKQfWr52/YE8 od3HWj9w3Fj/Y+O8LDeWk4c4FHabWOgoW3+5fHtiSGZxEJPdTn9nu3VKLMUZiYZazEXFiQC5 rZF4YQMAAA== X-CMS-MailID: 20200520061350epcas1p21aefa74e9894fda67a27f2adc5d23ea3 X-Msg-Generator: CA X-Sendblock-Type: SVC_REQ_APPROVE CMS-TYPE: 101P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20200520034324epcas1p3affbd24bd1f3fe40d51baade07c1abba References: <20200520034307.20435-1-andrew-sh.cheng@mediatek.com> <1589953015.8243.2.camel@mtksdaap41> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200519_231405_416191_00F509C2 X-CRM114-Status: GOOD ( 22.38 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Nishanth Menon , srv_heupstream@mediatek.com, linux-pm@vger.kernel.org, Stephen Boyd , Viresh Kumar , Mark Brown , "Rafael J . Wysocki" , Liam Girdwood , Rob Herring , linux-kernel@vger.kernel.org, Kyungmin Park , MyungJoo Ham , linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Matthias Brugger , devicetree@vger.kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org Hi, On 5/20/20 2:36 PM, andrew-sh.cheng wrote: > On Wed, 2020-05-20 at 13:10 +0900, Chanwoo Choi wrote: >> Hi Andrew, >> >> Could you explain the base commit of these patches? >> When I tried to apply them to v5.7-rc1 for testing, >> the merge conflict occurs. >> >> Thanks, >> Chanwoo Choi > > Hi Chanwoo Choi, > > My base commit is > commit 8f3d9f354286745c751374f5f1fcafee6b3f3136 > Author: Linus Torvalds > Date: Sun Apr 12 12:35:55 2020 -0700 > > Linux 5.7-rc1 > > Could you show me the conflict error? When I tried to apply first patch with 'git am', the merge conflict occurred. git am \[PATCH\ 01_12\]\ OPP\:\ Allow\ required-opps\ even\ if\ the\ device\ doesn\'t\ have\ power-domains.eml Applying: OPP: Allow required-opps even if the device doesn't have power-domains error: patch failed: drivers/opp/core.c:755 error: drivers/opp/core.c: patch does not apply error: patch failed: drivers/opp/of.c:195 error: drivers/opp/of.c: patch does not apply Patch failed at 0001 OPP: Allow required-opps even if the device doesn't have power-domains Use 'git am --show-current-patch' to see the failed patch When you have resolved this problem, run "git am --continue". If you prefer to skip this patch, run "git am --skip" instead. To restore the original branch and stop patching, run "git am --abort". Regards, Chanwoo Choi > > BR, > Andrew-sh.Cheng >> >> On 5/20/20 12:42 PM, Andrew-sh.Cheng wrote: >>> MT8183 supports CPU DVFS and CCI DVFS, and LITTLE cpus and CCI are in the same voltage domain. >>> So, this series is to add drivers to handle the voltage coupling between CPU and CCI DVFS. >>> >>> For SVS support, need OPP_EVENT_ADJUST_VOLTAGE and corresponding reaction. >>> >>> Change since v5: >>> - Changing dt-binding format to yaml. >>> - Extending current devfreq passive_governor instead of create a new one. >>> - Resend depending patches of Sravana Kannan base on kernel-5.7 >>> >>> >>> Andrew-sh.Cheng (6): >>> cpufreq: mediatek: add clock and regulator enable for intermediate >>> clock >>> dt-bindings: devfreq: add compatible for mt8183 cci devfreq >>> devfreq: add mediatek cci devfreq >>> opp: Modify opp API, dev_pm_opp_get_freq(), find freq in opp, even it >>> is disabled >>> cpufreq: mediatek: add opp notification for SVS support >>> devfreq: mediatek: cci devfreq register opp notification for SVS >>> support >>> >>> Saravana Kannan (6): >>> OPP: Allow required-opps even if the device doesn't have power-domains >>> OPP: Add function to look up required OPP's for a given OPP >>> OPP: Improve required-opps linking >>> PM / devfreq: Cache OPP table reference in devfreq >>> PM / devfreq: Add required OPPs support to passive governor >>> PM / devfreq: Add cpu based scaling support to passive_governor >>> >>> .../devicetree/bindings/devfreq/mt8183-cci.yaml | 51 ++++ >>> drivers/cpufreq/mediatek-cpufreq.c | 122 ++++++++- >>> drivers/devfreq/Kconfig | 12 + >>> drivers/devfreq/Makefile | 1 + >>> drivers/devfreq/devfreq.c | 6 + >>> drivers/devfreq/governor_passive.c | 298 +++++++++++++++++++-- >>> drivers/devfreq/mt8183-cci-devfreq.c | 233 ++++++++++++++++ >>> drivers/opp/core.c | 85 +++++- >>> drivers/opp/of.c | 108 ++++---- >>> drivers/opp/opp.h | 5 + >>> include/linux/devfreq.h | 42 ++- >>> include/linux/pm_opp.h | 11 + >>> 12 files changed, 874 insertions(+), 100 deletions(-) >>> create mode 100644 Documentation/devicetree/bindings/devfreq/mt8183-cci.yaml >>> create mode 100644 drivers/devfreq/mt8183-cci-devfreq.c >>> > -- Best Regards, Chanwoo Choi Samsung Electronics _______________________________________________ Linux-mediatek mailing list Linux-mediatek@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-mediatek